CN103187003B - A kind of access method of electronic chart, equipment and system - Google Patents

A kind of access method of electronic chart, equipment and system Download PDF

Info

Publication number
CN103187003B
CN103187003B CN201110460709.6A CN201110460709A CN103187003B CN 103187003 B CN103187003 B CN 103187003B CN 201110460709 A CN201110460709 A CN 201110460709A CN 103187003 B CN103187003 B CN 103187003B
Authority
CN
China
Prior art keywords
map
common point
client
identifier
slice
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.)
Active
Application number
CN201110460709.6A
Other languages
Chinese (zh)
Other versions
CN103187003A (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.)
Alibaba China Co Ltd
Original Assignee
Beijing Mapabc Technology Co 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 Beijing Mapabc Technology Co Ltd filed Critical Beijing Mapabc Technology Co Ltd
Priority to CN201110460709.6A priority Critical patent/CN103187003B/en
Publication of CN103187003A publication Critical patent/CN103187003A/en
Application granted granted Critical
Publication of CN103187003B publication Critical patent/CN103187003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Instructional Devices (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a kind of access method of electronic chart, equipment and system, its main contents comprise: the map stored according to this locality by rendering server cut into slices mark and general point identify between corresponding relation, determine the map section mark corresponding to general point mark of client-requested, and cut into slices cutting into slices with this map in the map section represented by the map determined section mark and electronic chart other maps adjacent and send to client, identify in the displaying of its coordinate position owing to having illustrated general point in the map section that client receives, therefore, the map received section directly can be combined into electronic chart by client, and without the need to the general point coordinate by sending rendering server with show that mark is carried out loading and obtained electronic chart, considerably reduce the data processing amount of client, it also avoid to load in the general point information process of magnanimity in client and occur that electronic chart loads response and slowly even loads failed problem.

Description

Electronic map access method, device and system
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method, a device, and a system for accessing an electronic map.
Background
The map is a miniature of the real world and is closely related to the daily life of people. The network service provided by the electronic map becomes an extension of the traditional map by virtue of real-time performance, large information amount and rich functions, and simultaneously embodies the practicability and the rapid convenience which cannot be replaced by the traditional map.
With the continuous development of internet technology, electronic maps have become one of the internet services that people often use. The user needs to obtain the required information through the electronic map, and the specific steps comprise:
the first step is as follows: the client sends a map access request to a website server with a map function through a map engine.
The second step is that: after receiving the access request, the website server searches map information including a common point (namely a position point in a map) requested by the client by using locally stored map information, and returns common point coordinates representing the common point in the searched map information and a display identifier displayed on the map by each common point to a map engine of the client.
The third step: after receiving the common point coordinates and the display marks of the common points displayed on the map, a map engine of the client determines the display positions of the common points in the map according to the common point coordinates, loads the display marks of the common points on the corresponding positions of a display interface of the client by calling a Marker function, and displays the electronic map loaded with the common points and the display related icons, characters and the like at the specific positions for a user.
As shown in fig. 1, when a client initiates an access request for "lucky car distribution" to a website server through a map engine, the website server searches map information including the "lucky car distribution" according to a preset map scale, and returns common point coordinates (such as coordinates of lucky car distribution, coordinates of a navy place, coordinates of a grand building, and the like) included in the searched map information and a display identifier of each common point displayed on the map to the map engine of the client.
After receiving the information sent by the website server, the map engine of the client loads and displays the display identifier of the common point according to the coordinates of the common point, so as to obtain the electronic map shown in fig. 1. The electronic map shown in fig. 1 includes a large number of common points, and when a common point is shown in the electronic map according to the coordinates of the common point, the contents of the shown common point include:
the icon is loaded on the electronic map and represents a mark of the position of the common point;
text loaded next to the icon to annotate the descriptive text portion;
an icon frame, a frame loaded on the icon;
a text box, a box loaded on the text;
and rendering a frame, and loading the icon frame and the frame on the text frame, namely the smallest circumscribed rectangle formed by combining the icon frame and the text frame.
With the reduction of the scale of the electronic map and the improvement of the positioning precision of the geographic position, the number of the common points in the map is more and more, and when the number of the common points in the map reaches a certain value, for example, when the number of the common points in the map with a certain area reaches 1000, the electronic map can be considered to need to record a large number of common points.
When the map engine in the client loads the electronic map by using the above method, if the electronic map needs to be loaded according to the coordinates and the display identifiers of a large number of common points, the map engine is limited by the performance of the device due to the excessive amount of data to be processed, and the problem of delayed loading and even failed loading of the electronic map occurs. Meanwhile, with the improvement of the positioning precision of the geographic position, more and more information needs to be loaded in the electronic map, so that the current method for loading the electronic map by the map engine in the client cannot meet the browsing requirement of the user on the electronic map, and other effective methods need to be found to solve the problem.
Disclosure of Invention
The embodiment of the invention provides an electronic map access method, electronic map access equipment and an electronic map access system, which are used for solving the problems that when a user accesses an electronic map, the electronic map response is slow and even a map engine fails to load information when a client loads a large number of common points in the prior art.
An access method of an electronic map, the method comprising:
a rendering server receives an electronic map access request which is initiated by a client and contains a common point identifier;
the rendering server determines a map slice identifier corresponding to the common point identifier in the electronic map access request according to the corresponding relation between the locally stored map slice identifier and the common point identifier;
and the rendering server sends the map slice corresponding to the determined map slice identification and other map slices adjacent to the map slice in the electronic map to the client.
An access method of an electronic map, the method comprising:
the method comprises the steps that a client sends an electronic map access request containing a common point identifier to a rendering server;
the method comprises the steps that a client receives a map slice returned by a rendering server, wherein the map slice is a map slice represented by a map slice identifier corresponding to a common point identifier in an electronic map access request and other map slices adjacent to the map slice in the electronic map according to the corresponding relation between the locally stored map slice identifier and the common point identifier;
and the client combines the received map slices into the electronic map.
An access server of an electronic map, the server comprising:
the receiving module is used for receiving an electronic map access request which is initiated by a client and contains a common point identifier;
the searching module is used for determining a map slice identifier corresponding to the common point identifier in the electronic map access request according to the corresponding relation between the locally stored map slice identifier and the common point identifier;
and the sending module is used for sending the map slice corresponding to the determined map slice identification and other map slices adjacent to the map slice in the electronic map to the client.
An access client of an electronic map, the client comprising:
the request sending module is used for sending an electronic map access request containing the common point identifier to the rendering server;
the receiving module is used for receiving the map slice returned by the rendering server, wherein the map slice is the map slice represented by the map slice identifier corresponding to the common point identifier in the electronic map access request and other map slices adjacent to the map slice in the electronic map according to the corresponding relation between the map slice identifier and the common point identifier stored locally by the rendering server;
and the combination module is used for combining the received map slices into the electronic map.
An electronic map access system, the system comprising:
the rendering server is used for receiving an electronic map access request which is initiated by a client and contains a common point identifier, determining a map slice identifier corresponding to the common point identifier in the electronic map access request according to the corresponding relation between the locally stored map slice identifier and the common point identifier, and sending a map slice corresponding to the determined map slice identifier and other map slices adjacent to the map slice in the electronic map to the client;
and the client is used for initiating the electronic map access request and combining the received map slices into the electronic map.
The invention has the following beneficial effects:
the embodiment of the invention determines the map slice identifier corresponding to the common point identifier requested by the client by the rendering server according to the corresponding relation between the map slice identifier and the common point identifier stored locally, and transmits the map slice represented by the determined map slice identification and other map slices adjacent to the map slice in the electronic map to the client, because the display identification of the common point at the coordinate position is already displayed in the map slice received by the client, the client can directly combine the received map slices into the electronic map, the electronic map is obtained without loading the common point coordinates and the display identification sent by the rendering server, the data processing amount of the client is greatly reduced, even if the electronic map displayed by the client contains massive common points, the client can quickly respond to obtain the electronic map combined by the map slices.
Drawings
FIG. 1 is an electronic map with common point coordinates and display identifiers locally loaded at a client;
FIG. 2 is an electronic map sliced and assembled from maps after gridding by a rendering server;
fig. 3 is a flowchart of an access method of an electronic map according to a first embodiment;
FIG. 4(a) is a schematic of adjacent slices;
FIG. 4(b) is an electronic map of a client assembly;
FIG. 5 is a flowchart of the second embodiment;
fig. 6 is a schematic structural diagram of an access server of an electronic map according to a third embodiment;
fig. 7 is a schematic structural diagram of an access client of an electronic map according to a fourth embodiment;
fig. 8 is a schematic structural diagram of an access system of an electronic map according to a fifth embodiment.
Detailed Description
In order to achieve the purpose of the present invention, embodiments of the present invention provide an electronic map access method, device, and system, where after a rendering server receives an electronic map access request that includes a common point identifier and is initiated by a client, the rendering server determines, according to a correspondence between a locally stored map slice identifier and the common point identifier, a map slice identifier corresponding to the common point identifier requested by the client, and sends a map slice represented by the determined map slice identifier and other map slices adjacent to the map slice in the electronic map to the client, and the client combines the received map slices into an electronic map.
Compared with the prior art, when the client side accesses the electronic map, the client side can acquire the map slices which show the display marks of the common points at the coordinate positions of the common points in the form of pictures from the rendering server, the client side can obtain the electronic map which can be displayed to a user on the display interface of the client side after combining the received map slices, and even if the displayed electronic map contains massive common points, the process of displaying the electronic map by the client side cannot be influenced by the performance of map engine equipment in the client side.
It should be noted that the common points referred to in the embodiments of the present invention indicate points (e.g., buildings) existing on the electronic map.
Before a client side initiates an electronic map access request to a rendering server, the rendering server can preprocess locally stored electronic maps with various scales:
the rendering server may store a plurality of electronic maps in advance, and since each electronic map may include a plurality of common points, the rendering server also stores common point information for each common point. The common point information includes:
a common point identifier for uniquely identifying the common point, such as "1234", "lucky car bond";
common point coordinates such as longitude and latitude coordinates for representing a position of the common point in the map;
and the display identifier is used for representing the display content of the common point in the map.
The display identifier comprises content of an icon and text;
the display identifier also comprises a dimension range of the rendering frame relative to the common point coordinate, the position and the size of the rendering frame can be determined according to the common point coordinate and the relative dimension range, and the common point coordinate is a reference for determining the position and the size of the rendering frame, so the common point coordinate can be called as a reference point of the rendering frame area;
the display identifier further comprises a coordinate size range of the icon frame and the text frame relative to the upper left corner point of the rendering frame, and the positions and the sizes of the icon frame and the text frame can be determined according to the coordinates and the relative size range of the upper left corner point of the rendering frame.
In order to improve the information storage efficiency, the rendering server can perform gridding operation on the electronic map to obtain a plurality of pictures with the same size, namely map slices; after a certain electronic map is subjected to gridding operation, the obtained map slices can be spliced into the electronic map. The map slices after gridding are numbered and marked as slice identifiers, as shown in fig. 2.
And the rendering server renders the display identifier in the common point information to the map slice containing the common point according to the common point coordinate in the common point information represented by the corresponding common point identifier aiming at each map slice, so that the map slice in the rendering server is a picture which already displays the display identifier of the common point at the coordinate position of the common point.
As can be seen from fig. 2, one map slice may include one common point, may also include a plurality of common points, and may not include a common point, and in particular, since a common point includes an icon box, a text box, and a rendering box when being displayed in an electronic map, a situation may also occur in which the rendering box of a common point is divided into different map slices.
After the rendering server gridds the electronic map into a map slice, the rendering server can store the common point information of the common points contained in the map slice by taking the map slice as a unit, and the specific mode is as follows:
the rendering server establishes and stores a corresponding relation between the map slice identifier and the common point identifier according to the common points contained in the map slice, and the common point identifier is a part of common point information and can uniquely represent one common point, so that the common point information represented by the common point identifier corresponding to the map slice identifier, namely the corresponding relation between the map slice and the common point information, can be determined through the corresponding relation.
When the rendering server stores the common point information by taking a map slice as a unit, aiming at a certain common point information, the storage format is as follows:
specifically, when a rendering frame of a common point is divided into different map slices, it is assumed that an icon frame and a text frame of a common point 1111 are divided into two map slices adjacent to each other on the left and right (a map slice identifier on the left is a, and a map slice identifier on the right is B), and at this time, the map slice identifier a and the map slice identifier B both establish a corresponding relationship with 1111; among 1111 common point information corresponding to the map slice identifier a, there is "id": 1111. "pos": { "lng": 116, "lat": 39}, "bounds": [111, 222, 333, 444], "Icon": { "px": 5, "py": 8, "width": 12, "height": 12}, however, the content of "text" is false; among 1111 common point information corresponding to the map slice identifier B, there is "id": 1111. "bounds": [111, 222, 333, 444], "text", however, the contents of "Icon" and "pos" are false.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The first embodiment is as follows:
as shown in fig. 3, a flowchart of an access method of an electronic map according to a first embodiment is shown, where the method includes:
step 101: and the rendering server receives an electronic map access request which is initiated by the client and contains the common point identification.
In the scheme of this step 101, the common point identifier in the electronic map access request initiated by the client may be a numeric identifier similar to "1111" or a character string identifier similar to "good luck automobile fittings".
The rendering server may be a web server having an electronic map and having a map rendering function.
Step 102: and the rendering server determines the map slice identifier corresponding to the common point identifier in the electronic map access request according to the corresponding relation between the locally stored map slice identifier and the common point identifier.
Since the rendering server grids the electronic map into a plurality of map slices during preprocessing, and stores the corresponding relationship between the map slice identifier and the common point identifier, in this step 102, the rendering server may locally search for the map slice identifier corresponding to the common point identifier according to the common point identifier in the electronic map access request, and the map slice represented by the searched map slice identifier is a map slice in the electronic map accessed by the client.
Because the electronic map can be formed by splicing a plurality of map slices, according to a map scale carried in an electronic map access request initiated by a client, a plurality of map slices around the map slice with the slice identifier of 6741.3102 are determined by taking the map scale carried in the electronic map access request as the center, so that the electronic map formed by splicing the determined map slices can be correctly displayed in a display interface of the client by taking the map scale carried in the electronic map access request as the center.
Preferably, after determining the map slices that need to be returned to the client, the rendering server may further determine that the map slices contain common point information of common points.
Still taking the level 13 view level of the electronic map shown in fig. 2 as an example, the rendering server queries that the map slice identifier corresponding to "mansion building" is 6741.3102, and simultaneously determines that the map slice identifier 6741.3102 also corresponds to other common point identifiers: "newsstand" and "permanence of civilian beauty", and further, it can be determined that the common points included in the map slice identified as 6741.3102 are "mansion", "newsstand" and "permanence of civilian beauty".
Step 103: and the rendering server sends the map slice corresponding to the determined map slice identification and other map slices adjacent to the map slice in the electronic map to the client.
The adjacent other map slices refer to: the positions of the map slices corresponding to the determined map slice identifications in the electronic map are in an adjacent relationship, generally refer to the map slices on the upper part, the lower part, the left part and the right part of the determined map slices, and may further include the map slices on the upper left part, the lower left part, the upper right part and the lower right part of the determined map slices according to different viewing ranges of the electronic map, as shown in fig. 4 (a).
In addition, depending on the range of the electronic map that the user needs to view, the adjacent other map slices may be not limited to the map slices in the eight directions described above, and may be a map slice related to drawing a circle on the electronic map with a set value as a radius around a specific map slice.
Step 104: and the client combines the received map slices into the electronic map.
Specifically, when receiving the map slices sent by the rendering server, the client combines the map slices into the electronic map in the order of the slice identifiers in the map slices, as shown in fig. 4 (b).
The scheme of the first embodiment realizes that the rendering server determines the map slice identifier corresponding to the common point identifier requested by the client according to the corresponding relationship between the locally stored map slice identifier and the common point identifier, and sends the map slice represented by the determined map slice identifier and other map slices adjacent to the map slice in the electronic map to the client, because the display identifier of the common point at the coordinate position is already displayed in the map slice received by the client, the client can directly combine the received map slices into the electronic map without loading the common point coordinate and the display identifier sent by the rendering server to obtain the electronic map, thereby greatly reducing the data processing amount of the client and avoiding the electronic map loading delay in the process of locally loading massive common point information by the client, and even the loading failure of the electronic map.
Example two:
in the scheme of the first embodiment of the invention, the rendering server sends the map slices to the client, the client combines the received map slices into the electronic map and displays the electronic map, and a user can conveniently operate the electronic map displayed by the client.
As shown in fig. 5, which is a flowchart of the second embodiment, the method includes the following steps:
step 201: after receiving the map slices sent by the rendering server and combining the map slices into the electronic map, the client acquires the common point information of the common points contained in the received map slice identifiers from the rendering server.
The specific implementation process of this step 201 includes, but is not limited to, the following two ways:
the first mode is as follows:
after the client end is combined into the electronic map, the slice identifiers of all maps contained in the currently displayed electronic map are determined, the determined slice identifiers of the map are sent to the rendering server, and the rendering server is requested to send the common point information represented by the common point identifiers corresponding to the determined slice identifiers of the map to the client end.
For example: the client sends a request message containing a slice identifier to the rendering server as follows: http:// xxx. mapabc. com? tile 6741.3102, 6741.3103, 6741.3104& z 13& rid 782699, where 6741.3102 is a slice id.
The second mode is as follows:
after the client side is combined into the electronic map, the rendering server determines the map slice sent to the client side at this time and sends the common point information of the common points contained in the map slice to the client side.
After receiving the common point information sent by the rendering server, the client can take the map slice as a unit and locally store the common point information.
Step 202: the client monitors a mouse move event, judges whether the mouse is located in a rendering frame area in an electronic map displayed by the client, and if so, executes step 203; otherwise, continuing to monitor the MouseMOVE.
Since the electronic map displayed by the client includes the display identifiers of the multiple common points, that is, the displayed electronic map has rendering frames of the multiple common points, in this step 202, an area occupied by the rendering frame in the electronic map may be referred to as a rendering frame area.
Specifically, in step 202, when the client monitors a mouse displacement event, the step of determining whether the current position of the mouse belongs to any rendering frame area in the electronic map includes:
the first step is as follows: and acquiring the position information of the mouse in the electronic map.
The second step is that: and determining a map slice identifier corresponding to the position information.
The third step: judging whether the position information belongs to the range covered by the common point represented by the common point identifier corresponding to the map slice identifier, if so, determining that the mouse is positioned in a rendering frame area in the displayed electronic map; otherwise, determining that the mouse is not located in the rendering frame area in the displayed electronic map.
Step 203: the client determines common point information represented by a rendering frame area where the mouse is currently located according to the common point information acquired from the rendering server, and determines whether coordinates of a common point (i.e., coordinates of a reference point of the rendering frame area) in the common point information exist, if so, the step 205 is executed; otherwise, step 204 is performed.
In the scheme of this step 203, the client may first determine a map slice corresponding to a position in the rendering frame area where the mouse is currently located, and then determine common point information of a common point represented by the rendering frame area where the mouse is currently located according to a corresponding relationship between the map slice identifier and the common point identifier.
If the coordinate of the reference point in the common point information of the common point represented by the rendering frame area where the mouse is currently located exists, the current position of the mouse and the reference point of the rendering frame area are in the same map slice; otherwise, the current position of the mouse and the reference point of the rendering frame area are not in the same map slice.
Step 204: and the client determines the reference point of the rendering frame area from other map slices adjacent to the map slice according to the map slice where the mouse is currently located.
The adjacent map slices refer to the map slices which are used for splicing the electronic map and are positioned on the left, the right, the upper and the lower parts of the map slices in position.
Specifically, when it is determined that the position of the current rendering frame area of the mouse is not in the same map slice as the reference point of the rendering frame area, the method for determining the reference point of the rendering frame area includes:
the first step is as follows: the client reads a first common point identifier, wherein the first common point identifier is a common point identifier corresponding to a rendering frame area determined in a map slice where the mouse is located currently.
The second step is that: and the client reads the common point information with the same identification as the first common point identification from the adjacent map slice.
The third step: and the client acquires the coordinate of the reference point of the rendering frame area where the mouse is currently positioned from the read common point information.
Step 205: the client determines a reference point of a rendering frame area where the mouse is located currently, and generates a covering layer covering the rendering frame area according to the reference point and the size of the rendering frame area.
In this step 205, the overlay layer has operability, where the size of the overlay layer is the same as the size of the rendering frame where the mouse is currently located, and changes with the change of the size of the rendering frame to which the mouse is shifted. The attribute information of the overlay layer may be, but is not limited to, a transparent rectangular frame.
Specifically, the client calls a Marker function once to generate an overlay layer of the rendering frame area according to the determined reference point and the size of the rendering frame area.
And when the client determines that the mouse is displaced from one rendering frame area to another rendering frame area, the client moves the generated position of the coverage layer according to the reference point of the rendering frame area to which the mouse is most recently displaced. That is to say, the position of the overlay layer may move with the change of the rendering frame area where the mouse is located.
Step 206: after generating a coverage layer covering a rendering frame area where a mouse is currently located, a client monitors whether an operation aiming at the coverage layer exists currently; if yes, go to step 207; otherwise, the monitoring is continued.
The monitored operation may be whether a Click event for the overlay layer occurs with the mouse, and if so, it is determined that there is an operation for the overlay layer; otherwise, it indicates that there is no operation for the overlay layer.
Step 207: and the client initiates a query request to the local or through an API, wherein the query request contains the determined common point information.
In this step 207, when the client monitors the Click event, it initiates a query request containing common point information, and obtains related information corresponding to the common point information carried in the query request, where the common point information carried in the query request is an identifier or a common point coordinate of a common point covered by the coverage layer.
The related information refers to information loaded in the electronic map and associated with common point information, such as: position information, traffic information, public transportation information, surrounding entertainment information, etc. related to a certain general point.
Specifically, if the client locally stores the corresponding relationship between each piece of common information and the relevant information of the common point information, when the client monitors the Click event of the current mouse for the overlay layer, the relevant information corresponding to the locally stored common point information is loaded on the overlay layer and displayed to the user.
If the client does not locally store the corresponding relation between each common information and each related information, when the client monitors the Click event of the current mouse aiming at the overlay layer, a query request containing the common point information is initiated, information interaction is carried out with a corresponding operator server through an API (application programming interface), the related information corresponding to the determined common point information is obtained, and the determined related information is loaded on the overlay layer by a local map engine of the client.
Preferably, after the client sends the electronic map access request to the rendering server, the rendering server determines that the common point information is limited according to the target information carried in the received access request, the rendered electronic map has a limited map range, so that when the client monitors the drag event of the mouse on the currently displayed electronic map, that is, when the electronic map displayed by the client to the user changes (for example, when the currently displayed electronic map is dragged upwards by the mouse, a part of the map slice originally displayed on the upper portion of the electronic map is not displayed any more, and a non-existent map slice needs to be displayed on the lower portion of the electronic map after being dragged), at this time, the client can delete the map slice which is not displayed any more and the corresponding common point information, and notify the rendering server that the newly added map slice and the corresponding common point information are needed.
And after receiving the notification of the client, the rendering server generates the map slice to be displayed after the dragging and the corresponding common point information to the client, the client uses the newly received map slice as a part of the electronic map displayed after the dragging and stores the common point information represented by the common point identifier corresponding to the identifier of the newly received map slice, and then the scheme of the second embodiment can be repeatedly executed so that the user can conveniently operate the new electronic map displayed after the dragging.
Specifically, if the user wants to view the electronic map of other scales, a new electronic map access request is initiated to the client, and the parameters and the target information of the scales which the user wants to view are carried in the new electronic map access request. The client sends the electronic map access request to the rendering server, the rendering server sends a new electronic map to the client again according to the scheme of the first embodiment, and the client can also execute the operation of the second embodiment on the newly received electronic map.
Example three:
as shown in fig. 6, which is a schematic structural diagram of an access server of an electronic map according to a third embodiment, the server includes: a receiving module 61, a searching module 62 and a sending module 64. Wherein,
the receiving module 61 is used for receiving an electronic map access request which is initiated by a client and contains a common point identifier;
the searching module 62 is configured to determine, according to a correspondence between a locally stored map slice identifier and a common point identifier, a map slice identifier corresponding to the common point identifier in the electronic map access request;
and a sending module 64, configured to send the map slice corresponding to the determined map slice identifier and other map slices adjacent to the map slice in the electronic map to the client.
Preferably, the server further comprises:
the dividing module 65 is configured to perform meshing operation on the stored electronic map to obtain a plurality of map slices;
the determining module 66 is configured to establish a corresponding relationship between a map slice identifier and a common point identifier according to common points included in a map slice, where common point information corresponding to the common point identifier includes common point coordinates in an electronic map and a display identifier displayed on the electronic map by each common point;
and the rendering module 63 is configured to render the display identifier in the common point information to the map slice including the common point according to the common point coordinate in the common point information represented by the corresponding common point identifier.
Specifically, the sending module is further configured to send, to the client, common point information of common points included in each map slice sent to the client.
Example four:
as shown in fig. 7, which is a structural diagram of an access client of an electronic map according to a fourth embodiment, the client includes: a request sending module 71, a receiving module 72 and a combining module 73. Wherein,
a request sending module 71, configured to send an electronic map access request including a common point identifier to a rendering server;
a receiving module 72, configured to receive a map slice returned by the rendering server, where the map slice is a map slice represented by a map slice identifier corresponding to a common point identifier in the electronic map access request and is determined by the rendering server according to a correspondence between the locally stored map slice identifier and the common point identifier, and other map slices adjacent to the map slice in the electronic map;
and a combining module 73 for combining the received map slices into an electronic map.
Specifically, the receiving module 72 is further configured to, after receiving the map slice, obtain, from the rendering server, common point information of common points included in the received map slice, where the common point information includes common point coordinates in the electronic map and a display identifier that each common point displays on the electronic map.
Preferably, the client further comprises: a listening module 74, a determining module 75, and a querying module 76. Wherein,
a monitoring module 74, configured to monitor a mouse displacement MouseMove event;
the judging module 75 is configured to judge whether the mouse is located in a rendering frame area in the electronic map displayed by the client;
and the query module 76 is configured to, when the determination result of the determination module is yes, determine, according to the received common point information, common point information indicated by the rendering frame area where the mouse is currently located, and query, locally or through an application interface API, related information corresponding to the determined common point information.
Specifically, the query module 76 is specifically configured to generate an overlay layer covering a rendering frame area where the mouse is currently located, and monitor whether there is an operation on the overlay layer, and if so, initiate a query request to a local area or through an API, where the query request includes the determined common point information.
The query module 76 is specifically configured to determine a reference point of a rendering frame area where the mouse is currently located, and generate a coverage layer covering the rendering frame area according to the reference point and the size of the rendering frame area.
The query module 76 is further configured to determine, when the position in the rendering frame area where the mouse is currently located is not in the same map slice as the reference point of the rendering frame area, a map slice to which the position in the rendering frame area where the mouse is currently located belongs, and determine the reference point of the rendering frame area from the map slices adjacent to the determined map slice.
Preferably, the client further comprises: and an adjustment module 77. Wherein,
an adjusting module 77, configured to determine that, when the mouse is shifted from one rendering frame area to another rendering frame area, the client moves the generated position of the overlay layer according to the reference point of the rendering frame area to which the mouse is most recently shifted, and adjusts the generated size of the overlay layer according to the size of the rendering frame area to which the mouse is most recently shifted.
Example five:
as shown in fig. 8, which is a schematic structural diagram of an access system of an electronic map according to a fifth embodiment of the present invention, the system includes: a rendering server 81 and a client 82. Wherein,
the rendering server 81 is configured to receive an electronic map access request including a common point identifier initiated by a client, determine a map slice identifier corresponding to the common point identifier in the electronic map access request according to a correspondence between a locally stored map slice identifier and the common point identifier, and send a map slice corresponding to the determined map slice identifier and other map slices adjacent to the map slice in the electronic map to the client;
and the client 82 is used for initiating the electronic map access request and combining the received map slices into the electronic map.
Specifically, the rendering server 81 is further configured to perform a meshing operation on the locally stored electronic map to obtain a plurality of map slices, and establish a corresponding relationship between a map slice identifier and a common point identifier according to common points included in the map slices, where common point information corresponding to the common point identifier includes common point coordinates in the electronic map and a display identifier displayed on the electronic map by each common point.
The rendering server 81 is further configured to render, for each map slice, the display identifier in the common point information to the map slice including the common point according to the common point coordinate in the common point information indicated by the corresponding common point identifier.
The rendering server 81 is further configured to send common point information that each map slice sent to the client includes common points to the client.
The client 82 is configured to obtain, from the rendering server, common point information of common points included in the received map slice, where the common point information includes common point coordinates in the electronic map and a display identifier displayed on the electronic map by each common point.
The client 82 is further configured to monitor a mouse displacement event, determine whether the mouse is located in a rendering frame area in the electronic map displayed by the client, if so, determine, according to the received common point information, common point information represented by the rendering frame area where the mouse is currently located, and query, locally or through an application interface API, related information corresponding to the determined common point information.
The client 82 is specifically configured to determine a reference point of a rendering frame area where the mouse is currently located, and generate a covering layer covering the rendering frame area according to the reference point and the size of the rendering frame area.
The client 82 is specifically configured to generate a coverage layer covering a rendering frame area where the mouse is currently located, and monitor whether an operation is performed on the coverage layer, if yes, initiate a query request to a local or through an API, where the query request includes the determined common point information.
The client 82 is specifically configured to determine a map slice to which a position in the rendering frame area where the mouse is currently located belongs when the position in the rendering frame area where the mouse is currently located is not in the same map slice as the reference point of the rendering frame area, and determine the reference point of the rendering frame area from the map slices adjacent to the determined map slice.
The client 82 is further configured to, when determining that the mouse is displaced from one rendering frame area to another rendering frame area, move the position of the generated overlay layer according to the reference point of the rendering frame area to which the mouse is most recently displaced, and adjust the size of the generated overlay layer according to the size of the rendering frame area to which the mouse is most recently displaced.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (21)

1. An electronic map access method, comprising:
a rendering server receives an electronic map access request which is initiated by a client and contains a common point identifier;
the rendering server determines a map slice identifier corresponding to a common point identifier in the electronic map access request according to a corresponding relation between the locally stored map slice identifier and the common point identifier, wherein the map slice identifier is obtained by numbering gridded map slices, and the map slices are obtained by gridding an electronic map to obtain a plurality of pictures with the same size;
and the rendering server sends the map slice corresponding to the determined map slice identification and other map slices adjacent to the map slice in the electronic map to the client.
2. The method of claim 1, wherein prior to the rendering server receiving the electronic map access request, the method further comprises:
the rendering server carries out gridding operation on the locally stored electronic map to obtain a plurality of map slices, and establishes a corresponding relation between a map slice identifier and a common point identifier according to common points contained in the map slices, wherein common point information corresponding to the common point identifier comprises common point coordinates in the electronic map and a display identifier displayed on the electronic map by each common point;
and rendering the display identifier in the common point information to the map slice containing the common point by the rendering server according to the common point coordinate in the common point information.
3. The method of claim 2, wherein after the rendering server returns the electronic map to the client, the method further comprises:
and the rendering server sends the common point information of the common points contained in each map slice sent to the client.
4. An electronic map access method, comprising:
the method comprises the steps that a client sends an electronic map access request containing a common point identifier to a rendering server;
the method comprises the steps that a client receives a map slice returned by a rendering server, wherein the map slice is a map slice represented by a map slice identifier corresponding to a common point identifier in an electronic map access request and other map slices adjacent to the map slice in the electronic map according to the corresponding relation between the map slice identifier and the common point identifier stored locally by the rendering server, the map slice identifier is obtained by numbering the map slices after gridding, and the map slice is obtained by gridding the electronic map to obtain a plurality of pictures with the same size;
and the client combines the received map slices into the electronic map.
5. The method of claim 4, wherein after the client receives the map slice, the method further comprises:
the method comprises the steps that a client side obtains common point information of common points contained in a received map slice from a rendering server, wherein the common point information comprises common point coordinates in an electronic map and display marks of each common point displayed on the electronic map.
6. The method of claim 5, further comprising:
the client monitors a mouse displacement mouse event and judges whether the mouse is positioned in a rendering frame area in an electronic map displayed by the client;
if yes, determining the common point information represented by the rendering frame area where the mouse is currently located according to the received common point information, and inquiring related information corresponding to the determined common point information locally or through an application interface API.
7. The method of claim 6, wherein the client queries, locally or through an API, related information corresponding to the determined common point information, specifically including:
the client generates a covering layer covering the rendering frame area where the mouse is currently located, and monitors whether operation on the covering layer exists or not;
if yes, initiating a query request to the local or through an API, wherein the query request contains the determined common point information.
8. The method of claim 7, wherein the client generates an overlay layer covering a rendering frame area where the mouse is currently located, and specifically includes:
the client determines a reference point of a rendering frame area where the mouse is located currently, and generates a covering layer covering the rendering frame area according to the reference point and the size of the rendering frame area.
9. The method of claim 8, wherein when the position of the current rendering frame area of the mouse is not in the same map slice as the reference point of the rendering frame area, the determining, by the client, the reference point of the rendering frame area includes:
the client determines a map slice to which the position in the rendering frame area where the mouse is located currently belongs, and determines a reference point of the rendering frame area from the map slice adjacent to the determined map slice.
10. The method of claim 8, wherein the method further comprises:
when the client determines that the mouse is displaced from one rendering frame area to another rendering frame area, the client moves the position of the generated covering layer according to the reference point of the rendering frame area to which the mouse is most recently displaced, and adjusts the size of the generated covering layer according to the size of the rendering frame area to which the mouse is most recently displaced.
11. An access server for an electronic map, the server comprising:
the receiving module is used for receiving an electronic map access request which is initiated by a client and contains a common point identifier;
the searching module is used for determining a map slice identifier corresponding to a common point identifier in the electronic map access request according to a corresponding relation between the locally stored map slice identifier and the common point identifier, wherein the map slice identifier is obtained by numbering gridded map slices, and the map slices are obtained by gridding an electronic map to obtain a plurality of pictures with the same size;
and the sending module is used for sending the map slice corresponding to the determined map slice identification and other map slices adjacent to the map slice in the electronic map to the client.
12. The server of claim 11, wherein the server further comprises:
the dividing module is used for carrying out meshing operation on the stored electronic map to obtain a plurality of map slices;
the map slicing system comprises a determining module, a displaying module and a processing module, wherein the determining module is used for establishing a corresponding relation between a map slicing identifier and a common point identifier according to common points contained in a map slice, and common point information corresponding to the common point identifier comprises common point coordinates in an electronic map and a display identifier displayed on the electronic map by each common point;
and the rendering module is used for rendering the display identifier in the common point information to the map slice containing the common point according to the common point coordinate in the common point information represented by the corresponding common point identifier for each map slice.
13. The server according to claim 11,
the sending module is further configured to send common point information of common points included in each map slice sent to the client.
14. An access client of an electronic map, the client comprising:
the request sending module is used for sending an electronic map access request containing the common point identifier to the rendering server;
the receiving module is used for receiving a map slice returned by the rendering server, wherein the map slice is a map slice represented by a map slice identifier corresponding to a common point identifier in the electronic map access request and other map slices adjacent to the map slice in the electronic map according to a corresponding relation between the map slice identifier and the common point identifier stored locally by the rendering server, the map slice identifier is obtained by numbering the map slices after gridding, and the map slice is obtained by gridding the electronic map to obtain a plurality of pictures with the same size;
and the combination module is used for combining the received map slices into the electronic map.
15. The client of claim 14,
the receiving module is further configured to, after receiving the map slice, obtain, from the rendering server, common point information that the received map slice includes common points, where the common point information includes common point coordinates in the electronic map and a display identifier that each common point shows on the electronic map.
16. The client of claim 14, wherein the client further comprises:
the monitoring module is used for monitoring a mouse displacement mouse event;
the judging module is used for judging whether the mouse is positioned in a rendering frame area in the electronic map displayed by the client;
and the query module is used for determining the common point information represented by the rendering frame area where the mouse is currently located according to the received common point information when the judgment result of the judgment module is yes, and querying related information corresponding to the determined common point information locally or through an application interface API.
17. The client of claim 16,
the query module is specifically configured to generate a coverage layer covering a rendering frame area where a mouse is currently located, monitor whether an operation is performed on the coverage layer, if yes, initiate a query request to a local or through an API, where the query request includes determined common point information.
18. The client of claim 17,
the query module is specifically configured to determine a reference point of a rendering frame area where the mouse is currently located, and generate a covering layer covering the rendering frame area according to the reference point and the size of the rendering frame area.
19. The client of claim 18,
the query module is further configured to determine a map slice to which the position in the rendering frame area where the mouse is currently located belongs when the position in the rendering frame area where the mouse is currently located and the reference point of the rendering frame area are not in the same map slice, and determine the reference point of the rendering frame area from the map slices adjacent to the determined map slice.
20. The client of claim 19, wherein the client further comprises:
and the adjusting module is used for determining that when the mouse is displaced from one rendering frame area to another rendering frame area, the client moves the generated position of the coverage layer according to the reference point of the rendering frame area to which the mouse is most recently displaced, and adjusts the generated size of the coverage layer according to the size of the rendering frame area to which the mouse is most recently displaced.
21. An electronic map access system, comprising:
the rendering server is used for receiving an electronic map access request which is initiated by a client and contains a common point identifier, determining a map slice identifier corresponding to the common point identifier in the electronic map access request according to the corresponding relation between the locally stored map slice identifier and the common point identifier, and sending a map slice corresponding to the determined map slice identifier and other map slices adjacent to the map slice in the electronic map to the client;
and the client is used for initiating the electronic map access request and combining the received map slices into the electronic map, wherein the map slice identifier is obtained by numbering the gridded map slices, and the map slices are obtained by gridding the electronic map to obtain a plurality of pictures with the same size.
CN201110460709.6A 2011-12-31 2011-12-31 A kind of access method of electronic chart, equipment and system Active CN103187003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110460709.6A CN103187003B (en) 2011-12-31 2011-12-31 A kind of access method of electronic chart, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110460709.6A CN103187003B (en) 2011-12-31 2011-12-31 A kind of access method of electronic chart, equipment and system

Publications (2)

Publication Number Publication Date
CN103187003A CN103187003A (en) 2013-07-03
CN103187003B true CN103187003B (en) 2015-08-05

Family

ID=48678154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110460709.6A Active CN103187003B (en) 2011-12-31 2011-12-31 A kind of access method of electronic chart, equipment and system

Country Status (1)

Country Link
CN (1) CN103187003B (en)

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598060A (en) * 2013-10-31 2015-05-06 南京思润软件有限公司 Method for obtaining live map of building object in system through address interface
CN105022730A (en) * 2014-04-16 2015-11-04 北京极海纵横信息技术有限公司 Method and system generating geography network according to browser
CN104504103B (en) * 2014-12-04 2018-05-15 中移全通***集成有限公司 A kind of track of vehicle point insertion performance optimization method and system, information acquisition device, database model
US10185775B2 (en) * 2014-12-19 2019-01-22 Qualcomm Technologies, Inc. Scalable 3D mapping system
CN105337779A (en) * 2015-11-30 2016-02-17 成都广达新网科技股份有限公司 Network topology display system based on hierarchical rendering technology and working method thereof
CN105718514B (en) * 2016-01-14 2019-05-17 中国科学院计算机网络信息中心 A kind of remote sensing image multiband independent assortment rendering method based on WEB
CN107220264A (en) * 2016-03-22 2017-09-29 高德软件有限公司 A kind of map rendering intent and device
CN106323300A (en) * 2016-08-19 2017-01-11 深圳市元征科技股份有限公司 Offline map acquiring method and vehicle-mounted unit
CN108573000A (en) * 2017-03-14 2018-09-25 阿里巴巴集团控股有限公司 A kind of method for exhibiting data, device, system and electronic equipment
CN110309243A (en) * 2018-03-22 2019-10-08 杭州海康威视***技术有限公司 Obtain method, apparatus, equipment and the storage medium of outdoor scene electronic map
CN110647597B (en) * 2018-06-11 2022-04-08 百度在线网络技术(北京)有限公司 Rendering method and device of electronic map
CN109260708B (en) 2018-08-24 2020-01-10 腾讯科技(深圳)有限公司 Map rendering method and device and computer equipment
CN109446287A (en) * 2018-10-12 2019-03-08 成都北科维拓科技有限公司 A kind of load of map, rendering method and system
CN109657023B (en) * 2018-12-11 2020-02-07 山东慧行天下文化传媒有限公司 Scenic spot dynamic electronic map drawing method, server and system
CN109710722A (en) * 2018-12-27 2019-05-03 北斗天地股份有限公司 A kind of method and device of electronic map blind area data processing
CN111121794B (en) * 2019-12-31 2022-01-04 广州文远知行科技有限公司 Map rendering method and device, terminal equipment and storage medium
CN111984890B (en) * 2020-07-03 2024-06-25 北京字节跳动网络技术有限公司 Method, device, medium and electronic equipment for generating display information
CN112667941B (en) * 2021-03-15 2021-07-16 智道网联科技(北京)有限公司 Webpage map processing method and device based on vehicle-mounted intelligent equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971560A (en) * 2006-09-28 2007-05-30 江苏天泽信息产业有限公司 Method of generating and organizing source data of grid electron map and method of generating target data
CN101872492A (en) * 2010-06-09 2010-10-27 中国科学院深圳先进技术研究院 Multi-angle map implementation method of three-dimensional simulation city
CN102163193A (en) * 2010-02-24 2011-08-24 朱新芳 Hyperlink map information system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001092765A (en) * 1999-07-16 2001-04-06 Canon Inc Information processor, device, network system, information processing method, device control method, device retrieving method and storage medium
WO2007007373A1 (en) * 2005-07-07 2007-01-18 Matsushita Electric Industrial Co., Ltd. Position information transmission device and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1971560A (en) * 2006-09-28 2007-05-30 江苏天泽信息产业有限公司 Method of generating and organizing source data of grid electron map and method of generating target data
CN102163193A (en) * 2010-02-24 2011-08-24 朱新芳 Hyperlink map information system
CN101872492A (en) * 2010-06-09 2010-10-27 中国科学院深圳先进技术研究院 Multi-angle map implementation method of three-dimensional simulation city

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
利用BingMap s地图切片实现网络地图服务;王晓东等;《国土资源遥感》;20100615;第2卷(第84期);正文第1节-3节 *
基于地图切片预取的WebGIS***;李学俊等;《计算机应用研究》;20091030;第26卷(第10期);第1349页-1351页 *

Also Published As

Publication number Publication date
CN103187003A (en) 2013-07-03

Similar Documents

Publication Publication Date Title
CN103187003B (en) A kind of access method of electronic chart, equipment and system
US9798819B2 (en) Selective map marker aggregation
US20150370828A1 (en) Tile-Based Distribution of Searchable Geospatial Data to Client Devices
US8745516B2 (en) Real time map rendering with data clustering and expansion and overlay
US8108416B2 (en) System and method for updating a search results page in response to a user map interaction
EP2380096B1 (en) Computer-implemented method for providing location related content to a mobile device
US8122341B1 (en) Sharing geographical information between users
US8037166B2 (en) System and method of displaying search results based on density
US8005612B2 (en) Map data distribution system
US20090183083A1 (en) Method and system for displaying information on a map
US20080133462A1 (en) System for remote data geocoding
US20130073988A1 (en) Acquiring, ranking and displaying points of interest for use in an augmented reality service provisioning system and graphical user interface for displaying such ranked points of interest
US20120306922A1 (en) Systems and methods for collecting and providing map images
KR20010014618A (en) System and method for automatic managing geolocation information and associated references for geographic information systems
US20140295891A1 (en) Method, server and terminal for information interaction
JP5054234B2 (en) System and method for displaying search results based on density
CN114238935A (en) Method and device for managing and controlling spatial data in user-defined range
CN105992153A (en) Positioning information display method and positioning information display device
CN113656527A (en) Map resource processing method and device, computer equipment and storage medium
KR20080051442A (en) Contents registering and displaying method on the map
JP2007101682A (en) Map display system, map display method, client terminal of map display system and its program
CN107027056B (en) Desktop configuration method, server and client
KR20130083004A (en) Apparatus and method for providing gis service, computer readable recording medium
US20150130817A1 (en) Generating a sidebar from vector tiles
CN111966853B (en) Management method of remote sensing image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20160602

Address after: 100102 Beijing City, Chaoyang District Wangjing Fu Tong East Street Fangheng International Center A block 16 layer

Patentee after: Gaode Information Technology Co., Ltd.

Address before: 100080, Haidian District, Suzhou Street, No. 14, floor 1402, room 3, Beijing

Patentee before: Beijing Mapabc Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200423

Address after: 310012 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100102, Beijing, Chaoyang District, Wangjing, Tong Tung Street East Square International Center, block A, 16

Patentee before: AUTONAVI INFORMATION TECHNOLOGY Co.,Ltd.