CN104468820A - Map service resource obtaining method and client - Google Patents

Map service resource obtaining method and client Download PDF

Info

Publication number
CN104468820A
CN104468820A CN201410810737.XA CN201410810737A CN104468820A CN 104468820 A CN104468820 A CN 104468820A CN 201410810737 A CN201410810737 A CN 201410810737A CN 104468820 A CN104468820 A CN 104468820A
Authority
CN
China
Prior art keywords
request
tile
client
tilc
feedback
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410810737.XA
Other languages
Chinese (zh)
Other versions
CN104468820B (en
Inventor
陈泓坤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Technologies Ltd
Original Assignee
Vtron Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201410810737.XA priority Critical patent/CN104468820B/en
Publication of CN104468820A publication Critical patent/CN104468820A/en
Application granted granted Critical
Publication of CN104468820B publication Critical patent/CN104468820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Abstract

The embodiment of the invention discloses a map service resource obtaining method used for reducing the times of interaction between a client and a server, saving time of the client for obtaining map tiles from the server and reducing burdens of the server. The method includes the steps that the client determines the number of requested tiles and request information, the request information is sent to the server, and the request information is used for representing the number of the map tiles requested by the client from the server. The invention further provides the relative client.

Description

A kind of Map Services resource acquiring method and client
Technical field
The present invention relates to the communications field, particularly relate to a kind of Map Services resource acquiring method and client.
Background technology
Along with the development of science and technology, the mankind to the exploration means of the earth also perfect gradually, as GIS-Geographic Information System (GIS, Geographic Information System).GIS is a kind of specific space information system, under supporting in computer hardware and software system, the relevant geographic distributed data in epigeosphere (comprising atmosphere) space all or in part gathered, stores, manage, computing, analysis, display and description.
When GIS uses, client map tile information as required, be configured to corresponding URL(uniform resource locator) (URL, Uniform Resource Locator) request Concurrency and give server, after this request of server process, just related data is returned to client.Wherein, the corresponding URL of map tile is often opened.Due to client, individual can make the interaction times of client and server more to server request map tile, therefore comparatively consuming time, and therefore, multiple request is middlely put in different threads by improving one's methods of prior art, carries out multithreading download.
But even if existing GIS carries out multiple threads to request, single request still correspond to single map tile in each thread.Therefore, the interaction times of improve one's methods middle client and the server of prior art does not reduce in fact, very limited to the saving of time, and can not reduce the burden of server.
Summary of the invention
Embodiments provide a kind of Map Services resource acquiring method and client, just can reduce the interaction times of client and server, alleviate the burden of server.
The Map Services resource acquiring method that the embodiment of the present invention provides comprises:
Client determination tile number of request, described tile number of request will to the quantity of the map tile of server request for representing that described client is treated;
Described client determination solicited message, and described request information is sent to described server, described request information is for representing that described client is to the several map tile of tile request described in described server request.
The client that the embodiment of the present invention provides comprises:
Tile number of request determination module, for determining tile number of request, described tile number of request will to the quantity of the map tile of server request for representing that described client is treated;
Request message determination module, for determining solicited message, and sends to described server by described request information, and described request information is for representing that described client is to the several map tile of tile request described in described server request.
In the Map Services resource acquiring method that the embodiment of the present invention provides, client determination tile number of request, client determination solicited message, and solicited message is sent to server, this solicited message is for representing the several map tile of user end to server request tile request.By such method, make client can pass through once request just to multiple map tile of server request, which reduces the interaction times of client and server, saved client obtains map tile time from server, and alleviated the burden of server.
Accompanying drawing explanation
Fig. 1 is Map Services resource acquiring method embodiment flow chart in the embodiment of the present invention;
Fig. 2 is another embodiment flow chart of Map Services resource acquiring method in the embodiment of the present invention;
Fig. 3 is client example structure figure in the embodiment of the present invention.
Embodiment
Embodiments providing a kind of Map Services resource acquiring method, for reducing the interaction times of client and server, alleviating the burden of server.The embodiment of the present invention additionally provides relevant client, will be described respectively below.
The basic procedure of the Map Services resource acquiring method that the embodiment of the present invention provides refers to Fig. 1, mainly comprises:
101, client determination tile number of request;
Client determination tile number of request, this tile number of request will to the quantity of the map tile of server request for representing that client is treated.Do not limit in value the present embodiment of tile number of request, preferably, the numerical value of tile number of request is greater than 1.
Wherein, the method for client determination tile number of request has a lot, comprises the tile number of request etc. that client calculates tile number of request, client setting acquiescence tile number of request, the artificial setting of client reception, does not limit in the present embodiment.
Preferably, client can determine the maximum of the map tile number that server can provide, and this maximum is defined as tile number of request.The method of the maximum of the map tile number that client determination server can provide describes in detail in the embodiment below, does not limit in the present embodiment.
102, client determination solicited message, and this solicited message is sent to server.
Client determination solicited message, and this solicited message is sent to server.This solicited message is used for representing: the several map tile of user end to server request tile request.
Wherein, client can determine solicited message as follows, and this solicited message is sent to server:
Step one: in the several map tile of client structure tile request, the URL corresponding to each map tile.Concrete, client can according to the information such as ip, port of the line number of each map tile, row number, rank and service, the URL that structure is corresponding.
Step 2: the URL corresponding to each map tile is associated with a local simple sentence handle object by client.Concrete, each URL can be associated with a local simple sentence handle object by CURL by client.Wherein, curl is the file transfer conveyance of increasing income utilizing URL grammer to work under command line mode.Each URL also can be associated with a local simple sentence handle object by other instruments by client, does not limit herein.Understandable, the total several local simple sentence handle object of tile request is associated.
Step 3: the local simple sentence handle object that all and that each map tile is corresponding URL is associated by client is associated with this locality many handles object.Concrete, client by CURL or other instruments by several for the tile request described in step 3 local simple sentence handle object association in this locality many handles object.
Step 4: client determination solicited message, and this solicited message is sent to described server, this solicited message comprises described this locality many handles object.Concrete, the solicited message comprising this local many handles object can be sent to server by CURL or other instruments by client.After server receives solicited message, this local many handles object can be obtained from this solicited message, and then obtain multiple local simple sentence handle object, finally obtain the URL that each map tile is corresponding.The URL that server is corresponding according to each map tile, determines map tile, and the map tile determined is fed back to client.
This solicited message also to pass through other step determination solicited messages, and is sent to server by client, does not limit in the present embodiment.
In the present embodiment, client determination tile number of request, client determination solicited message, and solicited message is sent to server, this solicited message is for representing the several map tile of user end to server request tile request.By such method, make client can pass through once request just to multiple map tile of server request, which reduces the interaction times of client and server, saved client obtains map tile time from server, and alleviated the burden of server.
Embodiment above gives the basic procedure of the Map Services resource acquiring method that the embodiment of the present invention provides, and wherein, client is by once asking, to multiple map tile of server request, to reduce the interaction times with server.But the network bandwidth between client and server is constantly change, the map tile number that therefore server can provide also is constantly change.If the map tile number of user end to server request is excessive, then client can waste memory source because of too much structure URL on the one hand, can increase the load of server on the other hand, even causes service abnormal; If the map tile number of user end to server request is too small, then the whole efficiency of Map Services resource acquiring method can be caused not high.Therefore, in order to adapt with the network constantly changed, the map tile that client needs reception server to feed back, and the tilc feedback number determining the map tile of server feedback, then according to tilc feedback number correction tile number of request.Wherein, tilc feedback number is for representing the number of the map tile of server feedback.Concrete modification method refers to Fig. 2, and the flow process of the Map Services resource acquiring method of a kind of more refinement that the embodiment of the present invention provides comprises:
201, the client determination server maximum of map tile number that can provide;
Concrete, client can determine the maximum of the map tile number that server can provide as follows:
Step one: client obtains the width of single map tile and height from server.Usually, with in a map datum, the size of map tile is all identical, is all such as 256*256 pixel.
Step 2: client, according to the width of described single map tile and height, calculates the size of single map tile.Wherein, the method calculating the size of single map tile has a lot, does not limit in the present embodiment.If such as calculate according to bmp form, because a pixel needs 4 byte representations, therefore: the height of the width × single map tile of the size=4 × single map tile of single map tile.
Step 3: client determines the current network bandwidth.Wherein, step 3 does not limit before also can being placed on step 2 or step one herein.
Step 4: client, by the ratio of the size of the current network bandwidth and single map tile, is defined as the maximum of the map tile number that server can provide.Understandable, the ratio of the size of the current network bandwidth and single map tile, is ideally, client very take the network bandwidth and service tile situation as much as possible can be provided again under, the map tile number that client receives.
The maximum of the map tile number that client also can be able to be provided by other step determination servers, does not limit in the present embodiment.
202, client determination tile number of request;
203, client determination solicited message, and this solicited message is sent to server.
Step 202,203 substantially identical with step 101,102, do not repeat herein.
Preferably, in step 202, the numerical value of the maximum of map tile number of tile number of request for being not more than server and can providing.
204, the map tile of client reception server feedback, and determine the tilc feedback number of the map tile of server feedback;
Understandable, tilc feedback number is not more than tile number of request, if current network conditions is undesirable, tilc feedback number can be less than tile number of request.Tilc feedback number is also not more than the maximum of the map tile number that server can provide.
Wherein, if tilc feedback number is less than the maximum determined in step 201, then perform step 205;
If tilc feedback number is not less than the maximum determined in step 201, then perform step 206.
205, client using increase tilc feedback number as revised tile number of request;
If tilc feedback number is less than the maximum determined in step 201, then client using increase tilc feedback number as revised tile number of request.Wherein, the tilc feedback number of increase has a lot as the method for revised tile number of request by client, does simple example below with an example:
Client can be passed through default setting, receive the modes such as artificial setting, and set a preset value, the numerical value of this preset value does not limit herein.After determining tilc feedback number, client calculates the difference of tile number of request and tilc feedback number.If the difference of tile number of request and tilc feedback number is not more than this preset value, then tile number of request is modified to by client: tilc feedback number adds 1; If the difference of tile number of request and tilc feedback number is greater than this preset value, then tile number of request is modified to by client: tilc feedback number adds this preset value.By such mode, can make when network condition is undesirable, server can not provide enough map tile resources, when the number of the map tile of feedback differs more with the number of the map tile of user end to server request, the number of the map tile of user end to server request is pressed close to current network condition fast; When network condition is ideal, server can provide enough map tile resources, when the number of the map tile of feedback differs less with the number of the map tile of user end to server request, the number of the map tile of user end to server request is pressed close to current network condition comparatively accurately.
Client also can by other method using increase tilc feedback number as revised tile number of request, do not limit in the present embodiment.
206, client using tilc feedback number as revised tile number of request.
If tilc feedback number is not less than the maximum determined in step 201, then client using tilc feedback number as revised tile number of request.That is, if server feedback reaches the maximum of the map tile number that server can provide to the map tile number of client, then client using tilc feedback number as revised tile number of request.
Understandable, after obtaining revised tile number of request in step 205 or 206, the tile number of request this revised tile number of request client in step 202 can determined, circulation performs step 202 to 206, obtains Map Services resource endlessly to make client from server.Mathematically can prove, when take steps in 205 for the method that provides of example, and circulation perform step 202 to 206 time, when tilc feedback number=tile number of request-1, the method reaches stable state.
In the present embodiment, client determination tile number of request, client determination solicited message, and solicited message is sent to server, this solicited message is for representing the several map tile of user end to server request tile request.By such method, make client can pass through once request just to multiple map tile of server request, which reduces the interaction times of client and server, saved client obtains map tile time from server, and alleviated the burden of server.Meanwhile, client by the mode soundd out, according to the number of the map tile of server feedback, progressively can be determined the tile number of request of pressing close to current network conditions most, reasonably can utilize the network bandwidth like this, improve the utilization ratio of network.
For the ease of understanding above-described embodiment, be described for a concrete application scenarios below.
In generalized information system, client obtains the bandwidth of current network, is 100Mb/s.Client obtains the width of the single map tile of bmp form and is highly 256 pixels from server, so calculate size=256*256*4=262144 byte of single map tile.So the maximum of the map tile number that client determination server can provide is 100M ÷ 262144=381.47 open/s, after fractions omitted part, the maximum obtaining the map tile number that server can provide is 381.
Client determination tile number of request is this maximum 381, and constructs the URL of 381 tiles, utilize CURL by this each URL respectively simple sentence handle object local be associated, then these 381 local simple sentence handle objects to be associated with this locality many handles object.Client uses the execution function of CURL, generates solicited message, to server request 381 map tile data according to this local simple sentence handle object.After server receives solicited message, this local many handles object can be obtained from this solicited message, and then obtain 381 local simple sentence handle objects, finally obtain the URL that each map tile is corresponding.The URL that server is corresponding according to each map tile, determines map tile, and the map tile determined is fed back to client.
The map tile of client reception server feedback, and determine that the tilc feedback number of the map tile of server feedback is 360.
Wherein, in client people for being provided with preset value 10.Because the difference of tile number of request and tilc feedback number is 21, be greater than 10, therefore tile number of request is modified to 360+10=370 by client, and using revised tile number of request 370 as up-to-date tile number of request, again to server request map tile data.This time the tilc feedback number of the map tile of client reception server feedback is 367.
Because the difference of new tile number of request and tilc feedback number is 3, be less than 10, therefore tile number of request is modified to 367+1=368 by client, and using revised tile number of request 368 as up-to-date tile number of request, again to server request map tile data.This time the tilc feedback number of the map tile of client reception server feedback is 368.
Because the difference of new tile number of request and tilc feedback number is 0, but new tilc feedback number is less than the maximum 381 of the map tile number that server can provide, therefore tile number of request is modified to 368+1=369 by client, and using revised tile number of request 369 as up-to-date tile number of request, again to server request map tile data.This time the tilc feedback number of the map tile of client reception server feedback is still 368.
Afterwards, client, at every turn to server request 369 map tile, obtains 368 map tile of server feedback, obtains Map Services resource endlessly from server like this.
The embodiment of the present invention additionally provides a kind of client, is applied to Map Services resource acquisition system, refers to Fig. 3, comprising:
Tile number of request determination module 301, for determining tile number of request, described tile number of request will to the quantity of the map tile of server request for representing that described client is treated;
Request message determination module 302, for determining solicited message, and sends to described server by described request information, and described request information is for representing that described client is to the several map tile of tile request described in described server request.
In the present embodiment, tile number of request determination module 301 determines tile number of request, request message determination module 302 determines solicited message, and solicited message is sent to server, this solicited message is for representing the several map tile of user end to server request tile request.By such method, make client can pass through once request just to multiple map tile of server request, which reduces the interaction times of client and server, saved client obtains map tile time from server, and alleviated the burden of server.
Wherein, request message determination module 302 can have various structures.Such as comprise:
URL structural unit 3021, for constructing in the several map tile of described tile request, the URL corresponding to each map tile;
Simple sentence handle associative cell 3022, for being associated the URL corresponding to described each map tile with a local simple sentence handle object;
Many handles associative cell 3023, is associated with this locality many handles object for the local simple sentence handle object be associated by URL corresponding for all and described each map tile;
Request message determining unit 3024, for determining solicited message, and sends to described server by described request information, and described request information comprises described this locality many handles object.
In order to adapt with the network constantly changed, the map tile that client needs reception server to feed back, and the tilc feedback number determining the map tile of server feedback, then according to tilc feedback number correction tile number of request.Preferably, client can also comprise:
Tilc feedback number determination module 303, for receiving the map tile of described server feedback, and determine the tilc feedback number of the map tile of described server feedback, described tilc feedback number is for representing the number of the map tile of described server feedback;
Tile number of request correcting module 304, for according to described tilc feedback number, revises described tile number of request.
Wherein, described client can also comprise maximum determination module 305, for determining the maximum of the map tile number that described server can provide;
If client comprises maximum determination module 305, then tile number of request correcting module specifically may be used for:
If described tilc feedback number is less than described maximum, then using increase tilc feedback number as revised tile number of request;
If described tilc feedback number is not less than described maximum, then using described tilc feedback number as revised tile number of request.
Preferably, described tile number of request correcting module can also be used for: if the difference of described tile number of request and described tilc feedback number is not more than preset value, then described tile number of request be modified to: described tilc feedback number adds 1.
Preferably, described tile number of request correcting module can also be used for: if the difference of described tile number of request and described tilc feedback number is greater than preset value, then described tile number of request be modified to: described tilc feedback number adds described preset value.
For the ease of understanding above-described embodiment, be described for a concrete application scenarios below.
In generalized information system, maximum determination module 305 obtains the bandwidth of current network, is 100Mb/s.Client obtains the width of the single map tile of bmp form and is highly 256 pixels from server, so calculate size=256*256*4=262144 byte of single map tile.So the maximum of the map tile number that client determination server can provide is 100M ÷ 262144=381.47 open/s, after fractions omitted part, the maximum obtaining the map tile number that server can provide is 381.
Tile number of request determination module 301 determines that tile number of request is this maximum 381, URL structural unit 3021 constructs the URL of 381 tiles, simple sentence handle associative cell 3022 utilize CURL by this each URL respectively simple sentence handle object local be associated, these 381 local simple sentence handle objects are associated with this locality many handles object by many handles associative cell 3023.Request message determining unit 3024 uses the execution function of CURL, generates solicited message, to server request 381 map tile data according to this local simple sentence handle object.After server receives solicited message, this local many handles object can be obtained from this solicited message, and then obtain 381 local simple sentence handle objects, finally obtain the URL that each map tile is corresponding.The URL that server is corresponding according to each map tile, determines map tile, and the map tile determined is fed back to client.
The map tile of tilc feedback number determination module 303 reception server feedback, and determine that the tilc feedback number of the map tile of server feedback is 360.
Wherein, in client people for being provided with preset value 10.Because the difference of tile number of request and tilc feedback number is 21, be greater than 10, therefore tile number of request is modified to 360+10=370 by tile number of request correcting module 304, tile number of request determination module 301 is using revised tile number of request 370 as up-to-date tile number of request, and request message determination module 302 is again to server request map tile data.This time the tilc feedback number of the map tile of client reception server feedback is 367.
Because the difference of new tile number of request and tilc feedback number is 3, be less than 10, therefore tile number of request is modified to 367+1=368 by tile number of request correcting module 304, tile number of request determination module 301 is using revised tile number of request 368 as up-to-date tile number of request, and request message determination module 302 is again to server request map tile data.This time the tilc feedback number of the map tile of client reception server feedback is 368.
Because the difference of new tile number of request and tilc feedback number is 0, but new tilc feedback number is less than the maximum 381 of the map tile number that server can provide, therefore tile number of request is modified to 368+1=369 by tile number of request correcting module 304, tile number of request determination module 301 is using revised tile number of request 369 as up-to-date tile number of request, and request message determination module 302 is again to server request map tile data.This time the tilc feedback number of the map tile of client reception server feedback is still 368.
Afterwards, request message determination module 302 is each obtains 368 map tile of server feedback to server request 369 map tile, obtains Map Services resource endlessly from server like this.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (10)

1. a Map Services resource acquiring method, is characterized in that, comprising:
Client determination tile number of request, described tile number of request will to the quantity of the map tile of server request for representing that described client is treated;
Described client determination solicited message, and described request information is sent to described server, described request information is for representing that described client is to the several map tile of tile request described in described server request.
2. Map Services resource acquiring method according to claim 1, is characterized in that, described client determination solicited message, and sends to described server to comprise described request information:
Described client constructs in the several map tile of described tile request, the URL corresponding to each map tile;
URL corresponding to described each map tile is associated with a local simple sentence handle object by described client;
The local simple sentence handle object that URL corresponding for all and described each map tile is associated by described client is associated with this locality many handles object;
Described client determination solicited message, and described request information is sent to described server, described request information comprises described this locality many handles object.
3. Map Services resource acquiring method according to claim 1 and 2, is characterized in that, described client determination solicited message, and also comprises after described request information is sent to described server:
Described client receives the map tile of described server feedback, and determines the tilc feedback number of the map tile of described server feedback, and described tilc feedback number is for representing the number of the map tile of described server feedback;
Described client, according to described tilc feedback number, revises described tile number of request.
4. Map Services resource acquiring method according to claim 3, is characterized in that, also comprises before described client determination tile number of request:
Described client determines the maximum of the map tile number that described server can provide;
Described client, according to described tilc feedback number, is revised described tile number of request and is comprised:
If described tilc feedback number is less than described maximum, then described client using increase tilc feedback number as revised tile number of request;
If described tilc feedback number is not less than described maximum, then described client using described tilc feedback number as revised tile number of request.
5. Map Services resource acquiring method according to claim 4, is characterized in that, if described tilc feedback number is less than described maximum, then the tilc feedback number of increase comprises as revised tile number of request by described client:
If the difference of described tile number of request and described tilc feedback number is not more than preset value, then described tile number of request is modified to by described client: described tilc feedback number adds 1;
And/or,
If the difference of described tile number of request and described tilc feedback number is greater than preset value, then described tile number of request is modified to by described client: described tilc feedback number adds described preset value.
6. a client, is applied to Map Services resource acquisition system, it is characterized in that, comprising:
Tile number of request determination module, for determining tile number of request, described tile number of request will to the quantity of the map tile of server request for representing that described client is treated;
Request message determination module, for determining solicited message, and sends to described server by described request information, and described request information is for representing that described client is to the several map tile of tile request described in described server request.
7. client according to claim 6, is characterized in that, described request message determination module comprises:
URL structural unit, for constructing in the several map tile of described tile request, the URL corresponding to each map tile;
Simple sentence handle associative cell, for being associated the URL corresponding to described each map tile with a local simple sentence handle object;
Many handles associative cell, is associated with this locality many handles object for the local simple sentence handle object be associated by URL corresponding for all and described each map tile;
Request message determining unit, for determining solicited message, and sends to described server by described request information, and described request information comprises described this locality many handles object.
8. the client according to claim 6 or 7, is characterized in that, described client also comprises:
Tilc feedback number determination module, for receiving the map tile of described server feedback, and determine the tilc feedback number of the map tile of described server feedback, described tilc feedback number is for representing the number of the map tile of described server feedback;
Tile number of request correcting module, for according to described tilc feedback number, revises described tile number of request.
9. client according to claim 8, is characterized in that, described client also comprises:
Maximum determination module, for determining the maximum of the map tile number that described server can provide;
Described tile number of request correcting module specifically for:
If described tilc feedback number is less than described maximum, then using increase tilc feedback number as revised tile number of request;
If described tilc feedback number is not less than described maximum, then using described tilc feedback number as revised tile number of request.
10. client according to claim 9, is characterized in that, described tile number of request correcting module also for:
If the difference of described tile number of request and described tilc feedback number is not more than preset value, then described tile number of request is modified to: described tilc feedback number adds 1;
And/or,
If the difference of described tile number of request and described tilc feedback number is greater than preset value, then described tile number of request is modified to: described tilc feedback number adds described preset value.
CN201410810737.XA 2014-12-23 2014-12-23 A kind of Map Services resource acquiring method and client Active CN104468820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410810737.XA CN104468820B (en) 2014-12-23 2014-12-23 A kind of Map Services resource acquiring method and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410810737.XA CN104468820B (en) 2014-12-23 2014-12-23 A kind of Map Services resource acquiring method and client

Publications (2)

Publication Number Publication Date
CN104468820A true CN104468820A (en) 2015-03-25
CN104468820B CN104468820B (en) 2018-05-22

Family

ID=52914171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410810737.XA Active CN104468820B (en) 2014-12-23 2014-12-23 A kind of Map Services resource acquiring method and client

Country Status (1)

Country Link
CN (1) CN104468820B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6650998B1 (en) * 1996-03-11 2003-11-18 At&T Corp. Information Search System for enabling a user of a user terminal to search a data source
CN102968442A (en) * 2012-10-22 2013-03-13 武大吉奥信息技术有限公司 Network map tile service aggregation method and system
CN103177577A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Dynamic traffic information service providing method based on map layer overlapping
CN103744995A (en) * 2014-01-23 2014-04-23 广东中科遥感技术有限公司 Thematic map building method and mobile terminal applying same
CN104079672A (en) * 2014-07-22 2014-10-01 江苏省城市规划设计研究院 Client monitoring based method for dynamically selecting on-line tile map servers

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6650998B1 (en) * 1996-03-11 2003-11-18 At&T Corp. Information Search System for enabling a user of a user terminal to search a data source
CN103177577A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Dynamic traffic information service providing method based on map layer overlapping
CN102968442A (en) * 2012-10-22 2013-03-13 武大吉奥信息技术有限公司 Network map tile service aggregation method and system
CN103744995A (en) * 2014-01-23 2014-04-23 广东中科遥感技术有限公司 Thematic map building method and mobile terminal applying same
CN104079672A (en) * 2014-07-22 2014-10-01 江苏省城市规划设计研究院 Client monitoring based method for dynamically selecting on-line tile map servers

Also Published As

Publication number Publication date
CN104468820B (en) 2018-05-22

Similar Documents

Publication Publication Date Title
CN106843828B (en) Interface display and loading method and device
CN110737658A (en) Data fragment storage method, device, terminal and readable storage medium
CN103136338B (en) A kind of metadata distribution method based on catalogue division and device
CN104601736A (en) Method and device for realizing short uniform resource locator (URL) service
CN103812888A (en) Information pushing, receiving and transmitting method, server, client and system
CN102662993A (en) A method for providing page data
CN102857578A (en) File uploading method and file uploading system of network drive and network drive client
CN105577763A (en) Dynamic duplicate consistency maintenance system and method, and cloud storage platform
CN105635323A (en) Data transmission control method and device
CN104391748A (en) Mapreduce computation process optimization method
CN104361065A (en) Orderly sequence number generating method of Zookeeper-based distributed system
CN104346345A (en) Data storage method and device
CN105022619A (en) Code processing method and device
US20140344447A1 (en) Method and apparatus for executing application
CN103530178A (en) Screen locking method and device of Android system intelligent device
CN111125093B (en) Data processing method and device based on hash storage
US11307781B2 (en) Managing replicas of content in storage systems
CN104320458A (en) Informatization achieving system based on Domino servers and Nginx server
CN106502842B (en) Data reconstruction method and system
CN102880596A (en) Method and system for converting document format
CN106101710A (en) A kind of distributed video transcoding method and device
CN109725913A (en) The method and apparatus that data update
CN101419618B (en) In-text information displaying method and apparatus
CN104468820A (en) Map service resource obtaining method and client
CN103825922A (en) Data updating method and web server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant