CN110245206B - Map style acquisition method and device, server, terminal and storage medium - Google Patents

Map style acquisition method and device, server, terminal and storage medium Download PDF

Info

Publication number
CN110245206B
CN110245206B CN201910538535.7A CN201910538535A CN110245206B CN 110245206 B CN110245206 B CN 110245206B CN 201910538535 A CN201910538535 A CN 201910538535A CN 110245206 B CN110245206 B CN 110245206B
Authority
CN
China
Prior art keywords
map
style
map style
identifier
client
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
CN201910538535.7A
Other languages
Chinese (zh)
Other versions
CN110245206A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910538535.7A priority Critical patent/CN110245206B/en
Publication of CN110245206A publication Critical patent/CN110245206A/en
Application granted granted Critical
Publication of CN110245206B publication Critical patent/CN110245206B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a map style acquisition method, a map style acquisition device, a map style acquisition server, a map style acquisition terminal and a map style acquisition storage medium, and belongs to the technical field of Internet. The method comprises the following steps: receiving a map style acquisition request sent by a client, wherein the map style acquisition request comprises a map style identifier; acquiring a corresponding map style according to the map style identification; and sending the map style to the client, and displaying the map style by the client. According to the client type identifier, the corresponding map style is acquired, and the acquired map style is sent to the client, so that the client acquires the requested map style. Because the repeated configuration and iterative verification are not needed by adopting a manual mode, the map style is simpler to acquire, and the resource consumption is smaller.

Description

Map style acquisition method and device, server, terminal and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a map style obtaining method, a device, a server, a terminal, and a storage medium.
Background
With the development of internet technology, a single map style cannot meet the use requirement of users, users in different industries all have their own specific map style use requirement aiming at industry characteristics, for example, users in shared bicycle want the map style to highlight urban roads, LBS (Location Based Service, location-based service) game users want the color matching of the map style to be more consistent with the game style, smart scenic spot users want the color of the map style to be matched with the theme color of a scenic spot park, and O2O (Online To Offline, online offline) users want the map style to show different service features.
Often the base pattern will involve many map element attributes, such as points, lines, faces, etc. Each major class can in turn be subdivided into a number of minor classes. The POI (Point of Interest, interest point) points of different categories display different font sizes, colors, tracing, icon (icon style) and the like on the base pattern; different types of lines are used for displaying different marked font sizes, colors and tracing lines on the base pattern aiming at the subclasses such as national roads, provincial roads, county roads, high-speed roads, internal roads, railways, ferry lines and the like, and the display of the lines can be divided into different colors, widths, tracing colors, filling colors, textures and the like; different classes of faces display different labeling font sizes, colors, and stroked edges on the base pattern, and the display of the faces can also be divided into different background colors, stroked edges, transparency, textures, and the like.
At present, the related art adopts a manual mode to repeatedly configure and iteratively verify each map element in the base map style so as to obtain the map style meeting the use requirement of a user.
However, since repeated configuration and iterative verification are required manually, the map style acquisition method is complicated, and the resource consumption is high.
Disclosure of Invention
In order to solve the problems of the related art, the embodiment of the invention provides a map style acquisition method, a map style acquisition device, a map style acquisition server, a map style acquisition terminal and a map style storage medium. The technical scheme is as follows:
in one aspect, a map style obtaining method is provided, and the method includes:
receiving a map style acquisition request sent by a client, wherein the map style acquisition request comprises a map style identifier;
acquiring a corresponding map style according to the map style identification;
and sending the map style to the client and displaying the map style by the client.
In another aspect, a map style obtaining method is provided, and the method includes:
when detecting the selection operation of any map style template on a map style selection interface, displaying a map style editing interface of the map style template, wherein the map style editing interface comprises at least one editing item, each editing item is used for setting one type of map element, each editing item comprises at least one editing sub-item, and each editing sub-item is used for setting the point, the line and the surface of each geographic position mark in each type of map element;
When detecting a setting operation of an editing sub-item in any editing item, sending a map style acquisition request to a server, wherein the map style acquisition request comprises a map style identifier, and the map style acquisition request is used for returning a map style matched with a client by the server;
and displaying the map style.
In another aspect, there is provided a map style acquisition apparatus, the apparatus including:
the receiving module is used for receiving a map style acquisition request sent by the client, wherein the map style acquisition request comprises a map style identifier;
the acquisition module is used for acquiring a corresponding map style according to the map style identification;
and the sending module is used for sending the map style to the client and displaying the map style by the client.
In another aspect, there is provided a map style acquisition apparatus, the apparatus including:
the display module is used for displaying a map style editing interface of any map style template on the map style selection interface when detecting the selection operation of the map style template, wherein the map style editing interface comprises at least one editing item, each editing item is used for setting one type of map element, each editing item comprises at least one editing sub-item, and each editing sub-item is used for setting a point, a line and a plane marked by each geographic position in each type of map element;
The sending module is used for sending a map style acquisition request to the server when detecting the setting operation of the editing sub-item in any editing item, wherein the map style acquisition request comprises a map style identifier, and the map style acquisition request is used for returning a map style matched with the client side by the server;
the display module is used for displaying the map style.
In another aspect, a server is provided, the server including a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions are loaded and executed by the processor to implement a map style acquisition method.
In another aspect, a terminal is provided, the terminal including a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement a map style acquisition method.
In another aspect, a computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions loaded and executed by a processor to implement a map style acquisition method is provided.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
and acquiring the corresponding map style according to the client type identifier, and transmitting the acquired map style to the client, so that the client acquires the requested map style. Because the repeated configuration and iterative verification are not needed by adopting a manual mode, the map style is simpler to acquire, and the resource consumption is smaller.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is an implementation environment related to a map style obtaining method provided by an embodiment of the present invention;
fig. 2 is an overall architecture diagram of a map style acquisition method according to an embodiment of the present invention;
fig. 3 is a flowchart of a map style obtaining method provided in an embodiment of the present invention;
FIG. 4 is an interface diagram of several map style templates provided by embodiments of the present invention;
FIG. 5 is an interface diagram for editing four major classes of a background surface, a background line, a road and a POI provided by an embodiment of the present invention;
FIG. 6 is a map interface diagram for modifying a background surface provided by an embodiment of the present invention;
FIG. 7 is a map interface diagram for modifying a background line according to an embodiment of the present invention;
FIG. 8 is a map interface diagram for modifying a road provided by an embodiment of the present invention;
FIG. 9 is a map interface diagram for modifying a POI provided by an embodiment of the present invention;
FIG. 10 is an interface diagram of a map style highlighting points provided by an embodiment of the present invention;
FIG. 11 is an interface diagram of a map style highlighting dining according to an embodiment of the present invention;
FIG. 12 is a user-defined map style saving interface diagram provided by an embodiment of the present invention;
FIG. 13 is a flowchart of another map style acquisition method according to an embodiment of the present invention;
fig. 14 is a schematic diagram of an overall flow of a map style obtaining method provided by an embodiment of the present invention;
fig. 15 is a schematic structural diagram of a map style acquiring apparatus according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of a map style acquiring apparatus according to an embodiment of the present invention;
FIG. 17 is a server for map style acquisition, shown in accordance with an exemplary embodiment;
Fig. 18 is a block diagram illustrating a structure of a terminal according to an exemplary embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, an implementation environment related to a map style obtaining method provided by an embodiment of the present invention is shown, where the implementation environment includes: a client 101 and a server 102.
Wherein the client 101 installs a map service application, and can acquire the map service from the server 102 based on the map service application. Types of the client 101 include an SDK (Software Development Kit ) client, a javascript api client, and a unit client. The SDK client comprises an IOS client, a Windows client, an Android client and the like.
The server 102 is a background server of a map service application installed by the client 101, and the server 102 may provide services to the client 101 based on the map service application.
The client 101 and the server 102 may communicate with each other via a wired network or a wireless network.
Fig. 2 is an overall architecture diagram of a map style obtaining method provided in an embodiment of the present invention, referring to fig. 2, an sdk client, a javascript api client, a unit client, and a style platform may all send a map style obtaining request to a server to obtain a requested map style. After receiving the requests sent by the clients, the server acquires the map style requested by the client from the memory, the distributed database or the relational database, and returns the map style to the client.
Considering that the SDK client carries the user quantity of the social application, if a large number of users of the SDK client simultaneously send map style acquisition requests to the server, the huge request quantity not only increases the processing pressure of the server, but even causes service unavailability. In order to solve the problem, when the client is an SDK client, the embodiment of the present invention further adds a CDN (Content Delivery Network ) to the service front end of the SDK client, and based on the CDN, may perform current limiting protection on the map style acquisition request sent by the SDK client. In addition, the embodiment of the invention also carries out current limiting protection on the server aiming at the map style acquisition request sent by the SDK client side in the service level. The specific contents of the two protection mechanisms are as follows:
the first protection mechanism: a current limiting and speed limiting protection mechanism.
The current limiting and speed limiting protection mechanism mainly aims at the situation that after a map template style file is updated, a user using a personalized customized map needs to update a map style, but a CDN temporarily does not cache the map style file generated in real time, in this situation, a large number of users simultaneously send requests to a server, the server can judge whether the flow of the current user exceeds a threshold value in real time through the current limiting and speed limiting protection mechanism, if the flow of the current user exceeds the threshold value, the updating process of the map style is paused, and when the next time the user requests to update the map style again, the updating process is performed. By adopting the protection mechanism, the pressure of the server is greatly relieved. The current limiting mode of the current limiting and speed limiting protection template comprises social application current limiting, current limiting generation, current limiting downloading and the like. Based on the divided current limiting mode, current limiting protection can be performed for different scenes without affecting other scenes.
The second protection mechanism: a multi-level caching mechanism.
The caching medium of the map style in the embodiment of the invention comprises a memory, a distributed database, a relational database and the like. The memory is used for storing a map style template, and in the embodiment of the invention, the LRU memory is taken as an example; the distributed database is used for storing customized map patterns, and Dcache is taken as an example in the embodiment of the invention; the relational database is used for storing attribute information of the map style currently edited, and Mysql is taken as an example in the embodiment of the invention. Details of LRU memory, dcache and Mysql are provided below.
LRU memory: because most of the time users use the map pattern requested by the SDK client as the map template pattern, the map template pattern does not need to be generated in real time every time, and can be generated when the service is started and loaded into the memory LRU. When the map style acquisition request sent by the SDK client does not hit the CDN and does not hit the current limiting and speed limiting module, the server can directly acquire the result from the LRU memory and return the acquired result to the SDK client. By adopting the mode, the average response time of the server and the concurrency capacity of the whole system are greatly improved.
Dcache: for the map style customized by the user, when the user does not edit the map style again or the map template style is not changed, the map style does not need to be generated in real time each time, and the map style can be written into the dcache when being generated for the first time. When the user gets the request based on the map style sent by the SDK client again and does not hit the CDN and does not hit the current limiting and speed limiting module, the server can obtain the result from the dcache and return to the SDK client. Meanwhile, the server also writes the acquired result into the LRU memory, and when the same request is received next time, the server can acquire the result from the LRU memory preferentially. By adopting the mode, the average response time of the server and the concurrency capacity of the whole system are greatly improved.
Mysql: the attribute information of the map style generated when the user edits the map style is stored in Mysql each time, when the service is restarted or the map style template is updated, a new map style needs to be generated again in real time, at this time, the attribute information of the map style edited by the user can be obtained from Mysql, further, the map style is generated in real time based on the attribute information of the map style, and the generated map style is written in the dcache and the LRU.
Based on the implementation environment shown in fig. 1, the embodiment of the invention provides a map style obtaining method, and referring to fig. 3, the method provided by the embodiment of the invention includes the following steps:
301. when detecting the selection operation of any map style template on the map style selection interface, the client displays a map style editing interface of the map style template.
In an embodiment of the invention, the map service provider provides at least one map style template for the user, each map style template having a different style. When the map service application is running, the client may display at least one map style template on the map style selection interface. Based on at least one map style template displayed on the map style selection interface, a user can select any map style template, and when detecting the selection operation of any map style template on the map style selection interface, the client displays a map style editing interface of the map style template, and based on the map style editing interface, the map style meeting the user requirement can be obtained by editing the map style template.
Referring to fig. 4, the map service provider provides 6 sets of map style templates of different styles which can be customized by a user, and the user can select the map style templates of different styles and customize personalized map styles according to own needs and favorites on the basis of the map style templates.
The map style templates of different styles are unique in style, and personalized map styles are customized based on the styles, so that the manual configuration period can be shortened, and the iteration complexity can be reduced. The 6 sets of map style templates presented in fig. 4 are characterized as follows:
classical: classical color matching, clear elements and clear cognition of users, and is suitable for most map scenes;
ink: the dark theme style is comfortable in the night environment, and the superposition of the bright elements is obvious;
white and light: the light color system style is simple and fresh, the core element is outstanding, and the light color system style is suitable for the small fresh UI style;
green tobacco: deep grey tone and soft color matching, and can more reflect the stereoscopic impression of the building;
jade dew: the green color is matched, and the page is flexible and active, which is similar to a map world of a secondary element;
and (3) month: the silent blue is used as the bottom, such as the calm moon night, and is suitable for visual display application.
The map style editing interface comprises at least one editing item, wherein the at least one editing item can be a background surface, a background line, a road, a POI and the like. Each editing item is used to set a class of map elements, for example, a background-face editing item is used to set a background face in a map, a background-line editing item is used to set a background line in the map, a road editing item is used to set a road in the map, and a POI editing item is used to set a POI in the map.
For example, based on the 6 map style templates shown in fig. 4, the user may select a set of map style templates to enter a what you see is what you get editing mode, in which, referring to fig. 5, the user may edit four editing items, such as a background surface, a background line, a road, and a POI, in the selected map style template on the map style editing interface, so as to make a map style that meets the use requirement.
To better serve the user, each editing project includes at least one editing sub-project, each editing sub-project for setting a point, line, plane identified for each geographic location in each class of map elements. Based on the editing sub-items, a user can edit more finely according to own needs and preference, so that a map style meeting the use needs is created.
Taking a background surface, a background line, a road and four editing items of a POI as examples, each editing item comprises the following editing sub-item contents:
background surfaces include greenbelts, water systems, land, communities, hospitals, parks, schools, airport areas, sports grounds, parking lots, subway access surfaces, other areas, buildings, and the like.
The background lines comprise railway lines, subway lines, overpasses, underground passages and the like.
Roads include highways, expressways, major roads (provincial roads, national roads), minor roads (county roads, rural roads), ferry lines, regional interior roads, pedestrian roads, and the like.
POIs include oceans, rivers, lakes, continents, countries, islands, district cities, counties, villages, regional characters, bridges, overpasses, restaurants, scenic spots, traffic settings, healthcare, scientific and educational cultures, shopping, recreational entertainment, business housing, subway stations, subway station entrances and exits, and the like.
For each editing sub-item included in each editing item, the user can directly edit the sub-item on the map style editing interface. For example, fig. 6 shows editing of a green space editing sub-item in a background plane editing item; FIG. 7 illustrates editing of a subway line editing sub-item in a background line editing item; FIG. 8 illustrates editing a highway editing sub-item in a road editing item; fig. 9 shows editing of a ground city editing sub-item in a POI editing item.
302. When detecting a setting operation for an editing sub-item in any editing item, the client transmits a map style acquisition request to the server.
When detecting a setting operation of the user on an editing sub-item in any editing item, the client transmits a map style acquisition request to the server based on the setting operation of the user to acquire the requested map style from the server. Wherein the map style acquisition includes a map style identification.
In addition, in order to enable different types of clients logging in the same user account to apply the map style edited by the user, after the map style is edited based on the map style editing page, the client can also send the attribute information of the currently edited map style to the relational database of the server, and the attribute information is stored in the relational database.
303. When a map style acquisition request sent by a client is received, the server acquires a corresponding map style according to the map style identification.
The server obtains the corresponding map style according to the map style identification, including but not limited to the following cases:
in the first case, when the map style identifier is a template map style identifier, the server acquires a map style template corresponding to the map style identifier from the memory.
The memory is used for storing a map style template.
In the second case, when the map style identifier is a customized map style identifier, the server acquires the customized map style corresponding to the map style identifier from the distributed database.
Wherein the distributed database is used for storing customized map patterns.
And in the third case, when the map style mark is the currently edited map style mark, the server acquires the attribute information of the map style corresponding to the map style mark from the relational database, and generates the map style according to the attribute information of the map style.
The relational database is used for storing attribute information of the map style which is currently edited.
304. The server sends the map style to the client.
When the map style requested by the client is acquired, the server transmits the map style to the client through a wired network or a wireless network.
305. The client displays the map style.
When receiving the map style sent by the server, the client displays the map style on the client of the map service application.
Because the map style is repeatedly configured and verified in an iterative manner without manual operation, the map style full of individuality can be configured by editing the editing sub-items in each editing item, so that the map style is obtained in a simpler manner and the resource consumption is less. For example, by editing the green land editing sub-item in the background editing item, a map style highlighting green land scenic spots shown in fig. 10 can be obtained, and for example, by editing the restaurant editing sub-item in the POI editing item, a map style highlighting restaurants shown in fig. 11 can be obtained.
For facilitating the subsequent application, after the user has customized the map style, the user may also save the customized map style, and when the save operation of the map style is detected, the client saves the map style and displays the map style on the map style selection interface, for example, the map style editing page shown in fig. 12 displays not only the map style template in 6 but also the user-customized map style. Based on the saved map style, the map style can be directly used by a subsequent user or edited.
According to the method provided by the embodiment of the invention, the corresponding map style is acquired according to the client type identifier, and the acquired map style is sent to the client, so that the client acquires the requested map style. Because the repeated configuration and iterative verification are not needed by adopting a manual mode, the map style is simpler to acquire, and the resource consumption is smaller.
Based on the implementation environment shown in fig. 1, an embodiment of the present invention provides a map style obtaining method, referring to fig. 13, and a method flow provided by the embodiment of the present invention includes:
1301. and the server receives a map style acquisition request sent by the client.
The statement form of the map style acquisition request sent by the client received by the server can be https:// vector sdk.map.qq.com/fileupdatekver=4.0.0, https:// vector.spark.html 5.qq.com/fileupdate/jsapi/styleid=0 & version= -1, https:// vector, spark.html 5.qq.com/fileupdate/jsapid=0 & gtmethyl = -1, https =/vector, and https =0 & ltzvid.spark/fileupdate/fileupid=0 & jclamp = -1, https:// vector.spark.spark/fileid=0. The received sentence of the map style acquisition request is analyzed, so that the map style acquisition request comprises a client type identifier, a map style identifier, a sum of map style version numbers and the like, and can also comprise a user account and the like. The client type identifier includes an SDK client identifier, a unit client identifier, a javascript api client identifier, and the like.
It should be noted that, the map style identifiers included in the map style obtaining request may be 1 or more, and when the number of the map style identifiers is 1, the sum of the version numbers of the map styles is the version number of the map style corresponding to the map style identifier; when the number of map style identifications is a plurality of, the sum of the version numbers of the map styles is the sum of the version numbers of the corresponding map styles of the plurality of map style identifications.
1302. And the server determines the types of map elements constituting the map style according to the client type identifier.
The server determines the map element types constituting the map style according to the client type identifier, including but not limited to the following cases:
in the first case, when the client type identifier is an SDK client identifier, it may be determined that the map element type includes a map configuration file, a point of interest picture, and an icon style picture. The map configuration file may be represented by mapconfig. Dat, the point of interest picture may be represented by poi_icon. Zip, and the icon style picture may be represented by map_icon.
And in the second case, when the client type identifier is a unit client identifier, determining that the map element type is a map style picture.
Wherein, the map style picture may be represented as style.
And in the third case, when the client type identifier is a Javascript API client identifier, determining that the map element type is a map style picture and an icon style picture.
The iconic style pictures may be represented as icons, which include img and json, among others.
1303. And the server acquires the map element corresponding to the map element type according to the sum of the map style identifier and the map style version number.
When the client type identifier is the SDK client identifier, before executing the step, the server also determines whether the map style identifier in the map style acquisition request is empty, if so, the server acquires the locally stored map style and returns the acquired map style to the client; if the map style identification in the map style acquisition request is not empty, further determining whether the map acquisition request meets the current limiting condition, and if the map acquisition request does not meet the current limiting condition, executing the step of determining the query keyword according to the sum of the map style identification and the map style version number. The current limiting conditions comprise social application current limiting conditions, generation current limiting conditions, downloading current limiting conditions and the like. When the map acquisition request does not meet the social application current limiting condition, does not meet the generation current limiting condition and does not meet the downloading current limiting condition, the server executes the step of determining the query keyword according to the sum of the map style identification and the map style version number; and when the map acquisition request does not meet at least one of the social application restriction conditions, the generation restriction conditions and the downloading restriction conditions, ending the flow.
When the client type identifier is a unit client identifier or a javascript api client identifier, before executing the step, the server further checks whether the map style identifier is legal, if the map style identifier is not legal, returns error prompt information, otherwise, executes the step of determining the query keyword according to the sum of the map style identifier and the map style version number.
In the implementation, when the server obtains the map element corresponding to the map element type according to the sum of the map style identifier and the map style version number, the following steps can be adopted:
13031. and the server determines the query keyword according to the sum of the map style identification and the map style version number.
The query key is used for determining the acquisition mode of the map element, and the query key can be expressed by a key.
When the client type identifier is an SDK client identifier, the query keywords include version-related keywords and content-related keywords. The version-related key may include fields such as type_vms_vversionsum_ids (e.g., 2_vms_v88_10,1025,4,5,6,7,8, 9), TYPE (values 0,1, 2, respectively, based on mapconfig. Dat, poi_icon. Zip, map_icon. Zip), version sum (version number sum), ids (mapconfig. Dat uses an incoming id string, poi_icon. Zip, map_icon. Zip uses a template string), etc., the version-related key stores map style size and check value (e.g., md5, etc.). The content-related key may include fields such as type_conf_vversionsum_ids (2_vms_conf_10, 1025,4,5,6,7,8, 9), TYPE (values 0,1, 2 according to mapcon. Dat, poi_icon. Zip, map_icon. Zip, respectively), version sum (sum of version numbers), ids (mapcon fig. dat uses an incoming id string, poi_icon. Zip, map_icon. Zip uses a temp string), and the like, and the content-related key may be stored as binary map-style content.
When the client type identifier is a unit client identifier or a javascript api client identifier, the query keyword includes a keyword related to version and a keyword related to content. The Version-related key may include a js_ver_id (e.g., js_ver_0) field, which stores Version-related key as version_template. The content-related keyword may include js_conf_id (e.g., js_conf_0) field, and the version-related keyword stores content that is map style content.
When the client type identifier is the SDK client identifier, the server determines the query keyword according to the sum of the map style identifier and the map style version number, and the following method can be adopted:
1303111 the server obtains the sum of version numbers of map configuration files corresponding to map style identifiers, map style identifier character strings, the sum of version numbers of interest point pictures and the sum of version numbers of icon style pictures.
And the server acquires the version numbers of the map configuration files corresponding to each map style identifier according to the map style identifiers, and adds the version numbers of the acquired map configuration files to obtain the sum of the version numbers of the map configuration files. And the server combines the map style identifiers to obtain a map style identifier character string. The server obtains the version numbers of the interest point pictures corresponding to the map style identifications according to the map style identifications, and adds the obtained version numbers of the interest point pictures to obtain the sum of the version numbers of the interest point pictures. The server obtains the version numbers of the icon style pictures corresponding to the map style identifiers according to the map style identifiers, and adds the obtained version numbers of the icon style pictures to obtain the sum of the version numbers of the icon style pictures.
1303112 the server determines the value of the type identification bit of the map element according to the sum of the version numbers of the map configuration file, the sum of the version numbers of the interest point pictures and the sum of the version numbers of the icon style pictures.
The server obtains the sum of version numbers of the reference map configuration files, the sum of version numbers of the reference interest point pictures and the sum of version numbers of the reference icon pattern pictures corresponding to the map pattern identifiers from the relational database according to the map pattern identifiers, compares the sum of version numbers of the map configuration files with the sum of version numbers of the reference map configuration files, compares the sum of version numbers of the interest point pictures with the sum of version numbers of the reference interest point pictures, compares the sum of version numbers of the icon pattern pictures with the sum of version numbers of the reference icon pattern pictures, and determines the numerical value of the type identification bit of the map element according to the comparison result. If the sum of the version numbers of the map configuration files is less than the sum of the version numbers of the reference map configuration files, determining that the value of the type identification bit of the map element comprises a value for indicating the map configuration files; if the sum of the version numbers of the point of interest pictures is smaller than the sum of the version numbers of the reference point of interest pictures, determining that the value of the type identification bit of the map element comprises a value for indicating the point of interest picture; if the sum of the version numbers of the icon style pictures is less than the sum of the version numbers of the reference icon style pictures, determining that the value of the type identification bit of the map element includes a value for indicating the icon style picture. Wherein, the value of the type identification bit of the map element is 0 and is used for indicating the map configuration file; the value of the type identification bit of the map element is 1 and is used for indicating the interest point picture; a value of 2 for the type identification bit of the map element is used to indicate an icon style picture.
1303113 the server determines the query key according to the map style identification character string, the sum of the map style version numbers and the numerical value of the type identification bit of the map element.
Based on the map style identification character string, the sum of the map style version numbers and the numerical value of the type identification bit of the map element, the server combines the map style identification character string, the sum of the map style version numbers and the numerical value of the type identification bit of the map element to obtain the query keyword.
When the client type identifier is a unit client identifier or a javascript api client identifier, the server determines the query keyword according to the sum of the map style identifier and the map style version number, and may adopt the following method:
1303121, the server obtains the sum of the map style identification and the map style version number.
The server obtains the sum of the map style identification and the map style version number from the map style obtaining request.
1303122, the server determines the query keyword according to the sum of the map style identification and the map style version number.
Based on the sum of the map style identification and the map style version number, the server combines the sum of the map style identification and the map style version number to obtain the query keyword.
13032. The server obtains a sum of the first reference version numbers.
The sum of the first reference version numbers is the sum of the latest version numbers of the map styles corresponding to the map style identifiers stored in the relational database. The relational database is used for storing attribute information of the edited map style, and the relational database can be Mysql.
The server can obtain the map style version number corresponding to the map style identifier from the relational database according to the map style identifier, and add the obtained map style version numbers to obtain the sum of the first reference version numbers.
13033. And when the sum of the version numbers of the map style is smaller than the sum of the version numbers of the first reference version, the server acquires map elements corresponding to the types of the map elements according to the query keywords.
When the sum of the version numbers of the map styles is smaller than the sum of the version numbers of the first reference version, the map styles stored locally at the client are not the latest map styles, the map styles stored locally at the client are required to be updated this time, and the server acquires map elements corresponding to the types of the map elements according to the query keywords, so that the client can update the map elements by sending the map elements to the client; when the sum of the version numbers of the map styles is larger than the sum of the version numbers of the first reference version, the map styles stored by the client are the latest map styles, and the updating is not performed any more.
When the client identifier is the SDK client identifier, the server obtains the map element corresponding to the map element type according to the query keyword, and the following method can be adopted:
1303311, the server queries whether the query key is stored in the memory or the distributed database.
The memory is used for storing a map style template, and the distributed database is used for storing customized map styles.
When the server uses the memory and each map style identification in the map style identification character string is a template map style, the server can inquire whether the query keyword is stored in the memory, and if the query keyword is not stored in the memory, the query keyword is inquired from the distributed database; when the server does not use the memory, the server can directly inquire the inquiry keyword from the distributed database; and when the query keyword is wrong, returning error prompt information.
1303312 when the query keyword is stored in the memory or the distributed database, the server obtains the map element from the memory or the distributed database.
When the server uses the memory and each map style identifier in the map style identifier string is a template map style, the server inquires the inquiry keyword in the memory, and the server acquires map elements from the memory according to the map style string identifier; when the server uses the memory and each map style identification in the map style identification character string is a template map style, the server does not inquire the inquiry keyword in the memory, but inquires the inquiry keyword in the relational database, and the server acquires map elements from the distributed database according to the map style character string identification and writes the acquired map elements into the memory.
When the server does not use the memory, the server queries the query keyword from the distributed database, and the server acquires the map element from the distributed database.
1303313 when the query keyword is not stored in the memory or the distributed database, the server generates map elements according to the query keyword.
The server generates map elements according to the query keywords, and the method comprises the following steps:
in the first mode, when the numerical value of the type identification bit of the map element in the query keyword is used for indicating the interest point picture, the server acquires the interest point picture from the memory or the distributed database.
When the value of the type identification bit of the map element is 1, the server inquires whether the interest point picture corresponding to the map style identification is stored in the memory according to the map style identification, and when the interest point picture is stored in the memory, the server acquires the interest point picture from the memory; when the interest point picture is not stored in the memory, the server inquires whether the interest point picture corresponding to the map style identification is stored in the distributed database, and when the interest point picture is stored in the distributed database, the server acquires the interest point picture from the distributed database.
In the second mode, when the numerical value of the type identification bit of the map element in the query keyword is used for indicating the icon style picture, the server acquires the icon style picture from the memory or the distributed database.
When the value of the type identification bit of the map element is 2, the server inquires whether icon style pictures corresponding to the map style identification are stored in the memory according to the map style identification, and when the icon style pictures are stored in the memory, the server acquires the icon style pictures from the memory; when the icon pattern picture is not stored in the memory, the server inquires whether the icon pattern picture corresponding to the map pattern mark is stored in the distributed database, and when the icon pattern picture is stored in the distributed database, the server acquires the icon pattern picture from the distributed database.
In a third mode, when the numerical value of the identification bit of the map element in the query keyword is used for indicating the map configuration file, and each map style identification included in the map style identification character string in the query keyword is a map template identification, the server acquires the map configuration file from the memory.
When the numerical value of the type identification bit of the map element is 0 and each map style identification included in the map style identification character string in the query keyword is a map template identification, the server directly acquires the map configuration file from the memory according to the map style identification.
In the fourth mode, when the numerical value of the identification bit of the map element in the query keyword is used for indicating the map configuration file, and each map style identification included in the map style identification character string in the query keyword is not the map template identification, the map configuration file is obtained from the distributed database or the relational database.
When the numerical value of the type identification bit of the map element is 0 and each map style identification included in the map style identification character string in the query keyword is not a map template identification, but a user-defined map style identification, the server queries whether a map configuration file is stored in the distributed database according to the map style identification; if the distributed database stores the map configuration file, the server acquires the map configuration file from the distributed database; if the map configuration file is not stored in the distributed database, the server acquires the attribute information of the map style from the relational database and generates the map configuration file based on the attribute information of the map style. In order to facilitate the subsequent user to use other clients, the map configuration file can be quickly acquired, and after the map configuration file is generated, the server also stores the generated map configuration file in the distributed database.
After at least one of the interest point picture, the icon style picture and the map configuration file is acquired, the server packages the acquired data respectively, and caches the information of the packaged data packet and the packaged data packet.
Specifically, the server generates a query keyword related to the version according to the information of the packed data packet, and caches the query keyword related to the version, where the query keyword related to the version includes a map style size, a check value, and the like. The server then writes the version-related query key into the distributed database. When each map style identification in the map style identification character string is a template style character, the server writes the query keyword related to the version into the memory.
The server generates a query keyword related to the content according to the packed data packet, and caches the query keyword related to the content, wherein the query keyword related to the content comprises a binary map style and the like. Then, the server writes the query keywords related to the content into the distributed database, and when each map style identification in the map style identification character string is a template style character, the server writes the query keywords related to the content into the memory.
When the client type identifier is a unit client identifier or a javascript api client identifier, and the map element type is a map style picture, the server obtains a map element corresponding to the map element type according to the query keyword, and the following steps may be adopted:
1303321 when the map style identifier is the map template style identifier, the server acquires the map style picture from the memory.
The memory is used for storing a map style template. When the map style mark is the map template style mark, the map style picture is stored in the memory, and the server can directly acquire the map style picture from the memory.
1303322 when the map style identifier is not the map template style identifier, the server acquires the map style picture according to the query keyword.
The method comprises the following steps when the server acquires the map style picture according to the query keyword:
13033221, the server queries whether the query key is stored in the distributed database.
13033222 when the query keyword is not stored in the distributed database, the server acquires the attribute information of the map style from the relational database, and generates a map style picture based on the attribute information of the map style.
The attribute information of the map style comprises a template, a json character string modified by a user and the like. After generating the map style picture, the server also generates a version-related query keyword and a content-related query keyword from the map style picture, and writes the version-related query keyword (e.g., js_ver_id) and the content-related query keyword (e.g., js_conf_id) into the distributed database.
13033223 when the query key is stored in the distributed database, the server obtains the sum of the second reference version numbers.
Wherein the sum of the second reference version numbers is the sum of the latest version numbers of the map styles stored in the distributed database and corresponding to the map style identifications. When the query keyword is stored in the distributed database, the server acquires the version number of the map style corresponding to the map style identifier from the distributed database according to the map style identifier, and adds the acquired version numbers of the map styles to obtain the sum of the second reference version numbers.
13033224 when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers, and the map style pictures are stored in the distributed database, the server acquires the map style pictures from the distributed database.
13033225 when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers and the map style pictures are not stored in the distributed database, the server acquires the attribute information of the map style from the relational database and generates the map style pictures based on the attribute information of the map style.
In another embodiment of the present invention, when the client type identifier is a javascript api client identifier and the map element type is an icon style picture, the server may directly obtain the icon style picture from the memory, and send the obtained icon style picture and its version number to the client.
Specifically, when a certain map style is installed in the SDK client, and when the client type is identified as the SDK client, the method provided by the embodiment of the invention further includes receiving a map style downloading request sent by the SDK client. The map style downloading request is used for the SDK client to download the map style matched with the SDK client.
When the map style is updated, the server can receive a map style downloading request sent by the SDK client, the map style downloading request comprises a map style identifier for requesting downloading, and a statement of the map style downloading request can be https:// vector sdk.map.qq.com/fileupdatefiles/style/key. When the map style downloading request is received, the server uses the memory and the map style mark is a template map style, the server inquires the inquiry keyword in the memory, and the server acquires the map style corresponding to the map style mark from the memory according to the map style mark and sends the map style to the client.
When the map service application is installed in the SDK client for the first time, the server may receive a map style download request sent by the SDK client, where the map style download request includes a map style identifier for requesting to download, and a sentence of the map style download request may be https:// vector sdk.map.qq.com/fileupdatefiles/XXX, where XXX may be: rtt_config. Json, closedoaddstyle_ normalmode, closedroadstyle _ trafficmode, indormap _ config, indormap _icon, sdk_offset_city_ver. When receiving a map style downloading request sent by a client, the server locally acquires a map style corresponding to the map style identifier and sends the map style to the client.
1304. The server sends the map elements to the client to cause the client to obtain the requested map style.
Based on the acquired map elements, the server sends the map elements to the client, and when the map elements are received, the client can update according to the acquired map patterns. When the client identifier is the SDK client identifier, the client may update iRet, iFileUpdated, iVersion, supdateUr, sMd, ifelesize, etc. parameters.
By adopting the method provided by the embodiment of the invention, the whole operation is convenient and quick, the learning cost is extremely low, each user can customize the favorite personalized map style, edit at one time and use at multiple ends, the time cost of repeatedly editing the map style is saved, and great convenience is provided for the user.
The map style acquisition method will be described in detail with reference to fig. 14.
When a map style acquisition request transmitted by a client is received, the map style acquisition request includes a map style identification (id), a sum of map style version numbers (input_version), and the like. The server judges the client for sending the request, judges whether the client for sending the request is an SDK end, an unmodified end or a Javascript API end, and adopts different processing modes aiming at different types of clients.
When the client is an SDK client and the map style acquisition request aims at updating the map style stored by the SDK client, the server judges whether the id is empty, if the id is empty, the map style is acquired from the local and returned to the client; if the id is not null, acquiring the sum of mapconffig. dat version numbers corresponding to the id and an id string composed of the id according to the id, acquiring the sum of poi_icon. Zip version numbers corresponding to the id and the sum of map_icon. Zip version numbers, further judging whether the map style acquisition request meets the social application current limiting condition, if yes, not updating, if not, judging whether the map style acquisition request meets the generation current limiting condition, if yes, not updating, if not, judging whether the map style acquisition request meets the download current limiting condition, if yes, not updating, and if not, determining the query key according to the sum of mapconffig. dat version numbers, the id string, the sum of poi_icon. Zip version numbers and the sum of map_icon. Then, the server acquires the sum of the corresponding map style version numbers (expressed as a version sum) from Mysql according to the id, judges whether the input_version is smaller than the version sum, and does not update if the input_version is larger than the version sum; if the input_version is smaller than the version sum, inquiring whether the key is stored in the LRU memory or the dcache, and if the key is inquired, acquiring an md5 value and the style size of the map style; if the key is not queried, judging the TYPE of map elements to be generated according to the key value, and packaging the poi_icon.zip when TYPE=1 and poi_icon.zip needs to be generated; when TYPE=2, map_icon.zip needs to be generated, packaging the map_icon.zip; when TYPE=0, judging whether the id string is a template id, if the id string is the template id, directly packing the mapnon fig. dat, and if the id string is not the template id, acquiring related attribute information by sending a request to Mysql, and further packing the mapnon fig. dat based on the acquired attribute information. Based on the packaged poi_icon. Zip, the packaged map_icon. Zip and the packaged mapnon fig. dat, the server caches the query Key (key_ver) related to the version and the query Key related to the content, and further updates the map style stored by the client based on the query Key related to the content.
When the client is an SDK client and the map style acquisition request is for downloading a map style, the server downloads the map style based on the received request.
When the client is an universal end or a Javascript API end and the map style acquisition request aims at updating the map style stored by the SDK client, the server judges whether id is legal or not, if not, error prompt information is returned, if json and img are legal and the request is legal, the style is acquired from the memory, and the version number and the content of the style are returned; if the style is legal and requested, a sum id string of version numbers of the map style is obtained, and a query keyword key is determined according to the version numbers and the id string. Then, the server judges whether input_version is smaller than version sum, if input_version is larger than version sum, the version number and empty content are returned; if the input_version is smaller than the version sum, judging whether the id string is a template id, if so, acquiring a pattern from a memory, and returning a version number and content; if the id string is not the template id, inquiring whether the key is stored in the LRU memory or the dcache, if the key is not inquired, acquiring related attribute information from Mysql, generating a map style based on the attribute information, writing the generated style into the dcache, and returning the version number and the content; if the key is queried, further judging whether the sum of map style version numbers (version_dcache) obtained from the dcache according to the id is smaller than the version sum, and if the version_dcache is smaller than the version sum and the map style can be obtained from the dcache, obtaining from the dcache; if version_dcache is smaller than version sum and map style can not be obtained from dcache, relevant attribute information is obtained from Mysql, map style is generated based on the attribute information, the generated style is written into dcache, and then version number and content are returned.
According to the method provided by the embodiment of the invention, the type of the map element forming the map style is determined according to the type identifier of the client, and the map element corresponding to the type of the map element is acquired according to the sum of the type identifier of the map style and the version number of the map style, and then the map element is sent to the client, so that the client acquires the requested map style. Because the map style does not need to be reconfigured for different types of clients, the multi-terminal use is configured at one time, the resource consumption is reduced, the maintenance cost is reduced, and the integration of the multi-platform map effect is realized.
In addition, the method provided by the embodiment of the invention has the following beneficial effects:
firstly, based on the map style template, the user can perform the configuration obtained immediately after seeing, so that repeated reworking caused by misoperation and incorrect configuration is avoided to a great extent, time is saved, and the acquisition efficiency is improved.
Secondly, each category and each sub-category in the map style editing interface are clear at a glance, each user can rapidly and conveniently conduct personalized configuration on different categories and sub-categories of the categories based on the map style editing interface, and novice users can edit personalized map styles meeting own use requirements, so that learning cost is low.
And thirdly, different users can select different map style templates, and based on the templates, personalized styles are customized according to own needs and favorites, so that the map styles are enriched.
Fourth, adopt multistage buffering and multistage restriction protection schemes such as restriction rate limit, on the basis of not influencing real-time generation, updating, downloading map pattern, furthest provide the service for the user, improved average response time. For example, an average response time of 1ms may be achieved for 6 million users per day of access.
Referring to fig. 15, an embodiment of the present invention provides a map style acquiring apparatus, including:
a receiving module 1501, configured to receive a map style acquisition request sent by a client, where the map style acquisition request includes a map style identifier;
an obtaining module 1502, configured to obtain a corresponding map style according to the map style identifier;
the sending module 1503 is configured to send the map style to the client, and display the map style by the client.
In another embodiment of the present invention, the obtaining module 1502 is configured to obtain, when the map style identifier is a template map style identifier, a map style template corresponding to the map style identifier from a memory, where the memory is used to store the map style template; when the map style identification is a customized map style identification, acquiring a customized map style corresponding to the map style identification from a distributed database, wherein the distributed database is used for storing the customized map style; when the map style mark is the map style mark which is currently edited, the attribute information of the map style corresponding to the map style mark is obtained from the relational database, the map style is generated according to the attribute information of the map style, and the relational database is used for storing the attribute information of the map style which is currently edited.
In another embodiment of the present invention, the map style acquisition request further includes a sum of a client type identifier and a map style version number, the apparatus further comprising:
the determining module is used for determining the type of map elements forming the map style according to the type identifier of the client;
an obtaining module 1502, configured to obtain a map element corresponding to a map element type according to a sum of a map style identifier and a map style version number;
the sending module 1503 is configured to send the map element to the client, so that the client obtains the map style.
In another embodiment of the present invention, the determining module is configured to determine that the map element type includes a map configuration file, a point of interest picture, and an icon style picture when the client type identifier is a software development kit SDK client identifier; when the client type identifier is a unit client identifier, determining that the map element type is a map style picture; and when the client type identifier is a Javascript API client identifier, determining that the map element type is a map style picture and an icon style picture.
In another embodiment of the present invention, the obtaining module 1502 is configured to determine a query keyword according to a sum of a map style identifier and a map style version number, where the query keyword is used to determine a obtaining manner of a map element; obtaining the sum of first reference version numbers, wherein the sum of the first reference version numbers is the sum of the latest version numbers of the map styles corresponding to the map style identifiers stored in a relational database, and the relational database is used for storing attribute information of the currently edited map styles; and when the sum of the version numbers of the map style is smaller than the sum of the version numbers of the first reference version, acquiring map elements corresponding to the types of the map elements according to the query keywords.
In another embodiment of the present invention, the client type identifier is a software development kit SDK client identifier, and the obtaining module 1502 is further configured to obtain a sum of version numbers of a map configuration file corresponding to the map style identifier, a sum of version numbers of the map style identifier string and the interest point picture, and a sum of version numbers of the icon style picture; determining the numerical value of the type identification bit of the map element according to the sum of the version numbers of the map configuration file, the sum of the version numbers of the interest point pictures and the sum of the version numbers of the icon style pictures; and determining the query keyword according to the map style identification character string, the sum of the version numbers of the map style and the numerical value of the type identification bit of the map element.
In another embodiment of the present invention, the obtaining module 1502 is configured to obtain the map element from the memory or the distributed database when the query keyword is stored in the memory or the distributed database; when the query key words are not stored in the memory or the distributed database, the numerical values of the type identification bits of the map elements in the query key words are used for indicating the interest point pictures, and the interest point pictures are obtained from the memory or the distributed database; when the query key words are not stored in the memory or the distributed database, the numerical values of the type identification bits of the map elements in the query key words are used for indicating icon style pictures, and the icon style pictures are obtained from the memory or the distributed database; when the query key is not stored in the memory or the distributed database, the numerical value of the identification bit of the map element in the query key is used for indicating the map configuration file, each map style identification included in the map style identification character string in the query key is a map template identification, and the map configuration file is acquired from the memory; when the query key is not stored in the memory or the distributed database, the numerical value of the identification bit of the map element in the query key is used for indicating the map configuration file, each map style identification included in the map style identification character string in the query key is not a map template identification, and the map configuration file is acquired from the distributed database or the relational database.
In another embodiment of the present invention, the client type identifier is a unit client identifier or a javascript api client identifier, and the map element type is a map style picture, and the obtaining module 1502 is configured to obtain the map style picture from the memory when the map style identifier is a map template style identifier, where the memory is used to store a map style template; when the map style identification is not the map template style identification and the query keyword is not stored in the distributed database, acquiring attribute information of the map style from the relational database, and generating a map style picture based on the attribute information of the map style; when the map style identifier is not the map template style identifier and the query keyword is stored in the distributed database, obtaining the sum of second reference version numbers, wherein the sum of the first reference version numbers is the sum of latest version numbers of map styles corresponding to the map style identifier stored in the distributed database; when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers, map style pictures are stored in the distributed database, and the map style pictures are obtained from the distributed database; when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers and no map style picture is stored in the distributed database, acquiring attribute information of a map style from the relational database, and generating the map style picture based on the attribute information of the map style.
In summary, the device provided by the embodiment of the invention acquires the corresponding map style according to the client type identifier, and sends the acquired map style to the client, so that the client acquires the requested map style. Because the repeated configuration and iterative verification are not needed by adopting a manual mode, the map style is simpler to acquire, and the resource consumption is smaller.
Referring to fig. 16, an embodiment of the present invention provides a map style acquiring apparatus, including:
the display module 1601 is configured to display a map style editing interface for a map style template when a selection operation for any map style template on the map style selection interface is detected, where the map style editing interface includes at least one editing item, each editing item is configured to set a class of map elements, each editing item includes at least one editing sub-item, and each editing sub-item is configured to set a point, a line, and a plane identified by each geographic location in each class of map elements;
a sending module 1602, configured to send, when a setting operation on an editing sub-item in any editing item is detected, a map style acquisition request to a server, where the map style acquisition request includes a map style identifier, and the map style acquisition request is used by the server to return a map style that matches with a client;
And a display module 1601 for displaying a map style.
In another embodiment of the present invention, the display module 1601 is further configured to display a map style on the map style selection interface when a save operation of the map style is detected.
According to the device provided by the embodiment of the invention, the map style editing interface of the map style template is displayed, and the selected map style template is edited based on the editing interface, so that the map style is obtained. Because the repeated configuration and iterative verification are not needed by adopting a manual mode, the map style is simpler to acquire, and the resource consumption is smaller.
Fig. 17 is a server for map style acquisition, according to an example embodiment. With reference to fig. 17, the server 1700 includes a processing component 1722 that further includes one or more processors and memory resources represented by memory 1732 for storing instructions, such as application programs, executable by the processing component 1722. The application programs stored in memory 1732 may include one or more modules, each corresponding to a set of instructions. Further, the processing component 1722 is configured to execute instructions to perform functions performed by the server in the map style acquisition method described above.
The server 1700 may also include a power component 1726 configured to perform power management of the server 1700, a wired or wireless network interface 1750 configured to connect the server 1700 to a network, and an input output (I/O) interface 1758. The server 1700 mayThe operations are based on an operating system, such as Windows Server, stored in memory 1732 TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM Or the like.
Fig. 18 shows a block diagram of a terminal 1800 according to an exemplary embodiment of the present invention. The terminal 1800 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion picture expert compression standard audio plane 3), an MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio plane 4) player, a notebook computer, or a desktop computer. The terminal 1800 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or the like.
In general, the terminal 1800 includes: a processor 1801 and a memory 1802.
Processor 1801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 1801 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 1801 may also include a main processor and a coprocessor, the main processor being a processor for processing data in an awake state, also referred to as a CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1801 may integrate a GPU (Graphics Processing Unit, image processor) for rendering and rendering of content required to be displayed by the display screen. In some embodiments, the processor 1801 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
The memory 1802 may include one or more computer-readable storage media, which may be non-transitory. The memory 1802 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1802 is used to store at least one instruction for execution by processor 1801 to implement the map style retrieval method provided by the method embodiments of the present application.
In some embodiments, the terminal 1800 may also optionally include: a peripheral interface 1803 and at least one peripheral. The processor 1801, memory 1802, and peripheral interface 1803 may be connected by a bus or signal line. The individual peripheral devices may be connected to the peripheral device interface 1803 by buses, signal lines or circuit boards. Specifically, the peripheral device includes: at least one of radio frequency circuitry 1804, a touch display screen 1805, a camera 1806, audio circuitry 1807, and a power supply 1809.
The peripheral interface 1803 may be used to connect I/O (Input/Output) related at least one peripheral device to the processor 1801 and memory 1802. In some embodiments, processor 1801, memory 1802, and peripheral interface 1803 are integrated on the same chip or circuit board; in some other embodiments, either or both of the processor 1801, memory 1802, and peripheral interface 1803 may be implemented on separate chips or circuit boards, which is not limited in this embodiment.
The Radio Frequency circuit 1804 is configured to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1804 communicates with a communication network and other communication devices via electromagnetic signals. The radio frequency circuit 1804 converts electrical signals to electromagnetic signals for transmission, or converts received electromagnetic signals to electrical signals. Optionally, the radio frequency circuit 1804 includes: antenna systems, RF transceivers, one or more amplifiers, tuners, oscillators, digital signal processors, codec chipsets, subscriber identity module cards, and so forth. The radio frequency circuitry 1804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocol includes, but is not limited to: metropolitan area networks, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi (Wireless Fidelity ) networks. In some embodiments, the radio frequency circuitry 1804 may also include NFC (Near Field Communication ) related circuitry, which is not limiting of the application.
The display 1805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 1805 is a touch display, the display 1805 also has the ability to collect touch signals at or above the surface of the display 1805. The touch signal may be input as a control signal to the processor 1801 for processing. At this point, the display 1805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 1805 may be one, providing a front panel of the terminal 1800; in other embodiments, the display 1805 may be at least two, disposed on different surfaces of the terminal 1800 or in a folded configuration; in still other embodiments, the display 1805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 1800. Even more, the display screen 1805 may be arranged in an irregular pattern other than rectangular, i.e., a shaped screen. The display 1805 may be made of LCD (Liquid Crystal Display ), OLED (Organic Light-Emitting Diode) or other materials.
The camera assembly 1806 is used to capture images or video. Optionally, the camera assembly 1806 includes a front camera and a rear camera. Typically, the front camera is disposed on the front panel of the terminal and the rear camera is disposed on the rear surface of the terminal. In some embodiments, the at least two rear cameras are any one of a main camera, a depth camera, a wide-angle camera and a tele camera, so as to realize that the main camera and the depth camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize a panoramic shooting and Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1806 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The dual-color temperature flash lamp refers to a combination of a warm light flash lamp and a cold light flash lamp, and can be used for light compensation under different color temperatures.
The audio circuitry 1807 may include a microphone and a speaker. The microphone is used for collecting sound waves of users and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 1801 for processing, or inputting the electric signals to the radio frequency circuit 1804 for realizing voice communication. For stereo acquisition or noise reduction purposes, the microphone may be multiple, and disposed at different locations of the terminal 1800. The microphone may also be an array microphone or an omni-directional pickup microphone. The speaker is then used to convert electrical signals from the processor 1801 or the radio frequency circuit 1804 into sound waves. The speaker may be a conventional thin film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, not only the electric signal can be converted into a sound wave audible to humans, but also the electric signal can be converted into a sound wave inaudible to humans for ranging and other purposes. In some embodiments, the audio circuitry 1807 may also include a headphone jack.
A power supply 1809 is used to power the various components in the terminal 1800. The power supply 1809 may be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1809 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal 1800 also includes one or more sensors 1810. The one or more sensors 1810 include, but are not limited to: acceleration sensor 1811, gyro sensor 1812, pressure sensor 1813, optical sensor 1815, and proximity sensor 1816.
The acceleration sensor 1811 may detect the magnitudes of accelerations on three coordinate axes of a coordinate system established with the terminal 1800. For example, the acceleration sensor 1811 may be used to detect components of gravitational acceleration on three coordinate axes. The processor 1801 may control the touch display screen 1805 to display a user interface in either a landscape view or a portrait view based on gravitational acceleration signals acquired by the acceleration sensor 1811. The acceleration sensor 1811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 1812 may detect a body direction and a rotation angle of the terminal 1800, and the gyro sensor 1812 may collect a 3D motion of the user to the terminal 1800 in cooperation with the acceleration sensor 1811. The processor 1801 may implement the following functions based on the data collected by the gyro sensor 1812: motion sensing (e.g., changing UI according to a tilting operation by a user), image stabilization at shooting, game control, and inertial navigation.
Pressure sensor 1813 may be disposed on a side frame of terminal 1800 and/or below touch display 1805. When the pressure sensor 1813 is disposed at a side frame of the terminal 1800, a grip signal of the terminal 1800 by a user may be detected, and the processor 1801 performs a left-right hand recognition or a shortcut operation according to the grip signal collected by the pressure sensor 1813. When the pressure sensor 1813 is disposed at the lower layer of the touch screen 1805, the processor 1801 controls the operability control on the UI interface according to the pressure operation of the user on the touch screen 1805. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
The optical sensor 1815 is used to collect the ambient light intensity. In one embodiment, the processor 1801 may control the display brightness of the touch display screen 1805 based on the intensity of ambient light collected by the optical sensor 1815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 1805 is turned up; when the ambient light intensity is low, the display brightness of the touch display screen 1805 is turned down. In another embodiment, the processor 1801 may also dynamically adjust the shooting parameters of the camera assembly 1806 based on the intensity of ambient light collected by the optical sensor 1815.
A proximity sensor 1816, also known as a distance sensor, is typically provided on the front panel of the terminal 1800. Proximity sensor 1816 is used to collect the distance between the user and the front face of terminal 1800. In one embodiment, when the proximity sensor 1816 detects that the distance between the user and the front face of the terminal 1800 gradually decreases, the processor 1801 controls the touch display 1805 to switch from the bright screen state to the off-screen state; when the proximity sensor 1816 detects that the distance between the user and the front of the terminal 1800 gradually increases, the touch display 1805 is controlled by the processor 1801 to switch from the off-screen state to the on-screen state.
Those skilled in the art will appreciate that the structure shown in fig. 18 is not limiting and may include more or fewer components than shown, or may combine certain components, or may employ a different arrangement of components.
Embodiments of the present invention provide a computer readable storage medium having stored therein at least one instruction, at least one program, a code set, or an instruction set, which is loaded and executed by a processor to implement the map style acquisition method shown in fig. 3 or 13.
It should be noted that: in the map style obtaining apparatus provided in the above embodiment, only the division of the above functional modules is used for illustration when obtaining a map style, in practical application, the above functional allocation may be performed by different functional modules according to needs, that is, the internal structure of the map style obtaining apparatus is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the map style acquiring device and the map style acquiring method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiments and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (19)

1. A method for obtaining a map style, the method comprising:
receiving a map style acquisition request sent by a client, wherein the map style acquisition request comprises a map style identifier, a client type identifier and a map style version number;
when the client type identifier is a Software Development Kit (SDK) client identifier, determining that the map element types forming the map style comprise a map configuration file, a point of interest picture and an icon style picture; or when the client type identifier is a unit client identifier, determining that the map element type is a map style picture; or when the client type identifier is a javascript api client identifier, determining that the map element type is a map style picture and an icon style picture;
obtaining map elements corresponding to the map element types according to the sum of the map style identifiers and the map style version numbers;
and sending the map elements to the client so that the client obtains and displays the requested map style.
2. The method according to claim 1, wherein the method further comprises:
when the map style mark is a template map style mark, a map style template corresponding to the map style mark is obtained from a memory, wherein the memory is used for storing the map style template, and the obtained map style template is sent to the client and displayed by the client; or alternatively, the process may be performed,
When the map pattern identifier is a customized map pattern identifier, acquiring a customized map pattern corresponding to the map pattern identifier from a distributed database, wherein the distributed database is used for storing the customized map pattern, and sending the acquired map pattern to the client for display by the client; or alternatively, the process may be performed,
when the map style identifier is the map style identifier which is currently edited, acquiring attribute information of the map style corresponding to the map style identifier from a relational database, generating a map style according to the attribute information of the map style, wherein the relational database is used for storing the attribute information of the map style which is currently edited, and sending the generated map style to the client for display by the client.
3. The method according to claim 1, wherein the obtaining the map element corresponding to the map element type according to the sum of the map style identifier and the map style version number includes:
determining a query keyword according to the sum of the map style identifier and the map style version number, wherein the query keyword is used for determining the acquisition mode of the map element;
Obtaining the sum of first reference version numbers, wherein the sum of the first reference version numbers is the sum of the latest version numbers of the map styles corresponding to the map style identifiers stored in a relational database, and the relational database is used for storing attribute information of the currently edited map styles;
and when the sum of the version numbers of the map style is smaller than the sum of the version numbers of the first reference version, acquiring the map element corresponding to the map element type according to the query keyword.
4. The method of claim 3, wherein the client type identifier is a software development kit, SDK, client identifier, and wherein the determining a query key based on the sum of the map style identifier and the map style version number comprises:
acquiring the sum of version numbers of map configuration files corresponding to the map style identifiers, map style identifier character strings, the sum of version numbers of interest point pictures and the sum of version numbers of icon style pictures;
determining the numerical value of the type identification bit of the map element according to the sum of the version numbers of the map configuration file, the sum of the version numbers of the interest point pictures and the sum of the version numbers of the icon style pictures;
And determining the query keyword according to the map style identification character string, the sum of the map style version numbers and the numerical value of the type identification bit of the map element.
5. The method of claim 4, wherein the obtaining, according to the query keyword, the map element corresponding to the map element type includes:
when the query keywords are stored in a memory or a distributed database, acquiring the map elements from the memory or the distributed database;
when the query key words are not stored in the memory or the distributed database, the numerical value of the type identification bit of the map element in the query key words is used for indicating the interest point picture, and the interest point picture is obtained from the memory or the distributed database;
when the query key words are not stored in the memory or the distributed database, the numerical value of the type identification bit of the map element in the query key words is used for indicating icon style pictures, and the icon style pictures are obtained from the memory or the distributed database;
when the query keyword is not stored in the memory or the distributed database, the numerical value of the identification bit of the map element in the query keyword is used for indicating a map configuration file, each map style identification included in the map style identification character string in the query keyword is a map template identification, and the map configuration file is acquired from the memory;
When the query keyword is not stored in the memory or the distributed database, the numerical value of the identification bit of the map element in the query keyword is used for indicating the map configuration file, each map style identification included in the map style identification character string in the query keyword is not a map template identification, and the map configuration file is acquired from the distributed database or the relational database.
6. The method of claim 3, wherein the client type identifier is a unit client identifier or a javascript api client identifier, and the map element type is a map style picture, and the obtaining, according to the query keyword, a map element corresponding to the map element type includes:
when the map style mark is a map template style mark, acquiring a map style picture from a memory, wherein the memory is used for storing a map style template;
when the map style identification is not the map template style identification and the query keyword is not stored in the distributed database, acquiring attribute information of the map style from the relational database, and generating the map style picture based on the attribute information of the map style;
When the map style identifier is not a map template style identifier, and the query keyword is stored in the distributed database, obtaining the sum of second reference version numbers, wherein the sum of the second reference version numbers is the sum of latest version numbers of map styles corresponding to the map style identifier stored in the distributed database;
when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers, the map style pictures are stored in the distributed database, and the map style pictures are obtained from the distributed database;
and when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers, and the map style pictures are not stored in the distributed database, acquiring the attribute information of the map style from the relational database, and generating the map style pictures based on the attribute information of the map style.
7. A method for obtaining a map style, the method comprising:
when detecting the selection operation of any map style template on a map style selection interface, displaying a map style editing interface of the map style template, wherein the map style editing interface comprises at least one editing item, each editing item is used for setting one type of map element, each editing item comprises at least one editing sub-item, and each editing sub-item is used for setting the point, the line and the surface of each geographic position mark in each type of map element;
When a setting operation of an editing sub-item in any editing item is detected, sending a map style acquisition request to a server, wherein the map style acquisition request comprises a map style identifier, a client type identifier and a map style version number, and the server is used for determining that the map element types forming the map style comprise a map configuration file, a point of interest picture and an icon style picture when the map style acquisition request is received and the client type identifier is a software development kit SDK client identifier; or when the client type identifier is a unit client identifier, determining that the map element type is a map style picture; or when the client type identifier is a javascript api client identifier, determining that the map element type is a map style picture and an icon style picture; obtaining map elements corresponding to the map element types according to the sum of the map style identifiers and the map style version numbers; sending the map element to a client;
and acquiring the requested map style based on the map element, and displaying the map style.
8. The method of claim 7, wherein after displaying the map style, further comprising:
And when the preservation operation of the map style is detected, displaying the map style on the map style selection interface.
9. A map style acquisition apparatus, the apparatus comprising:
the receiving module is used for receiving a map style acquisition request sent by the client, wherein the map style acquisition request comprises a map style identifier, a client type identifier and a map style version number;
the determining module is used for determining that the map element types forming the map style comprise a map configuration file, a point-of-interest picture and an icon style picture when the client type identifier is a Software Development Kit (SDK) client identifier; or when the client type identifier is a unit client identifier, determining that the map element type is a map style picture; or when the client type identifier is a javascript api client identifier, determining that the map element type is a map style picture and an icon style picture;
the acquisition module is used for acquiring the map element corresponding to the map element type according to the sum of the map style identifier and the map style version number;
and the sending module is used for sending the map elements to the client so that the client can acquire and display the requested map style.
10. The apparatus of claim 9, wherein the device comprises a plurality of sensors,
the acquisition module is used for acquiring a map style template corresponding to the map style identifier from a memory when the map style identifier is a template map style identifier, and the memory is used for storing the map style template; the sending module is used for sending the acquired map style template to the client and displaying the map style template by the client; or alternatively, the process may be performed,
the acquisition module is used for acquiring the customized map style corresponding to the map style identifier from a distributed database when the map style identifier is the customized map style identifier, wherein the distributed database is used for storing the customized map style; the sending module is used for sending the acquired map style to the client and displaying the map style by the client; or alternatively, the process may be performed,
the acquisition module is used for acquiring attribute information of a map style corresponding to the map style identifier from a relational database when the map style identifier is the currently edited map style identifier, and generating the map style according to the attribute information of the map style, wherein the relational database is used for storing the attribute information of the currently edited map style; the sending module is used for sending the generated map style to the client and displaying the map style by the client.
11. The apparatus of claim 9, wherein the obtaining module is configured to determine a query keyword according to a sum of the map style identifier and the map style version number, the query keyword being used to determine a manner of obtaining the map element;
obtaining the sum of first reference version numbers, wherein the sum of the first reference version numbers is the sum of the latest version numbers of the map styles corresponding to the map style identifiers stored in a relational database, and the relational database is used for storing attribute information of the currently edited map styles;
and when the sum of the version numbers of the map style is smaller than the sum of the version numbers of the first reference version, acquiring the map element corresponding to the map element type according to the query keyword.
12. The apparatus of claim 11, wherein the client type identifier is a software development kit SDK client identifier, and the obtaining module is configured to obtain a sum of version numbers of a map configuration file, a map style identifier string, a sum of version numbers of a point of interest picture, and a sum of version numbers of an icon style picture corresponding to the map style identifier; determining the numerical value of the type identification bit of the map element according to the sum of the version numbers of the map configuration file, the sum of the version numbers of the interest point pictures and the sum of the version numbers of the icon style pictures; and determining the query keyword according to the map style identification character string, the sum of the map style version numbers and the numerical value of the type identification bit of the map element.
13. The apparatus of claim 12, wherein the obtaining module is configured to obtain the map element from a memory or a distributed database when the query key is stored in the memory or the distributed database;
when the query key words are not stored in the memory or the distributed database, the numerical value of the type identification bit of the map element in the query key words is used for indicating the interest point picture, and the interest point picture is obtained from the memory or the distributed database;
when the query key words are not stored in the memory or the distributed database, the numerical value of the type identification bit of the map element in the query key words is used for indicating icon style pictures, and the icon style pictures are obtained from the memory or the distributed database;
when the query keyword is not stored in the memory or the distributed database, the numerical value of the identification bit of the map element in the query keyword is used for indicating a map configuration file, each map style identification included in the map style identification character string in the query keyword is a map template identification, and the map configuration file is acquired from the memory;
When the query keyword is not stored in the memory or the distributed database, the numerical value of the identification bit of the map element in the query keyword is used for indicating the map configuration file, each map style identification included in the map style identification character string in the query keyword is not a map template identification, and the map configuration file is acquired from the distributed database or the relational database.
14. The apparatus of claim 11, wherein the client type identifier is a unit client identifier or a javascript api client identifier, and the map element type is a map style picture, the obtaining module is configured to obtain, when the map style identifier is a map template style identifier, a map style picture from a memory, the memory being configured to store a map style template;
when the map style identification is not the map template style identification and the query keyword is not stored in the distributed database, acquiring attribute information of the map style from the relational database, and generating the map style picture based on the attribute information of the map style;
when the map style identifier is not a map template style identifier, and the query keyword is stored in the distributed database, obtaining the sum of second reference version numbers, wherein the sum of the second reference version numbers is the sum of latest version numbers of map styles corresponding to the map style identifier stored in the distributed database;
When the sum of the second reference version numbers is smaller than the sum of the first reference version numbers, the map style pictures are stored in the distributed database, and the map style pictures are obtained from the distributed database;
and when the sum of the second reference version numbers is smaller than the sum of the first reference version numbers, and the map style pictures are not stored in the distributed database, acquiring the attribute information of the map style from the relational database, and generating the map style pictures based on the attribute information of the map style.
15. A map style acquisition apparatus, the apparatus comprising:
the display module is used for displaying a map style editing interface of any map style template on the map style selection interface when detecting the selection operation of the map style template, wherein the map style editing interface comprises at least one editing item, each editing item is used for setting one type of map element, each editing item comprises at least one editing sub-item, and each editing sub-item is used for setting a point, a line and a plane marked by each geographic position in each type of map element;
A sending module, configured to send a map style acquisition request to a server when a setting operation on an editing sub-item in any editing item is detected, where the map style acquisition request includes a sum of a map style identifier, a client type identifier, and a map style version number, and the server is configured to determine that a map element type that constitutes a map style includes a map configuration file, a point of interest picture, and an icon style picture when the map style acquisition request is received, and when the client type identifier is a software development kit SDK client identifier; or when the client type identifier is a unit client identifier, determining that the map element type is a map style picture; or when the client type identifier is a javascript api client identifier, determining that the map element type is a map style picture and an icon style picture; obtaining map elements corresponding to the map element types according to the sum of the map style identifiers and the map style version numbers; sending the map element to a client;
a module for performing the steps of: acquiring a requested map style based on the map element;
The display module is used for displaying the map style.
16. The apparatus of claim 15, wherein the display module is further configured to display the map style on the map style selection interface when a save operation of the map style is detected.
17. A server comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the map style retrieval method of any one of claims 1 to 6.
18. A terminal comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the map style acquisition method of claim 7 or 8.
19. A computer-readable storage medium, characterized in that at least one instruction, at least one program, a code set, or an instruction set is stored in the storage medium, the at least one instruction, the at least one program, the code set, or the instruction set being loaded and executed by a processor to implement the map style acquisition method according to any one of claims 1 to 6, or the map style acquisition method according to claim 7 or 8.
CN201910538535.7A 2019-06-20 2019-06-20 Map style acquisition method and device, server, terminal and storage medium Active CN110245206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910538535.7A CN110245206B (en) 2019-06-20 2019-06-20 Map style acquisition method and device, server, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910538535.7A CN110245206B (en) 2019-06-20 2019-06-20 Map style acquisition method and device, server, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110245206A CN110245206A (en) 2019-09-17
CN110245206B true CN110245206B (en) 2023-08-25

Family

ID=67888587

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910538535.7A Active CN110245206B (en) 2019-06-20 2019-06-20 Map style acquisition method and device, server, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110245206B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779175B (en) * 2021-11-10 2023-03-07 通号通信信息集团有限公司 Data processing method, map service providing method, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942338A (en) * 2014-05-08 2014-07-23 百度在线网络技术(北京)有限公司 Mapping method, server and terminal
CN106503200A (en) * 2016-10-26 2017-03-15 福建中金在线信息科技有限公司 A kind of style sheet display methods and device
CN107066273A (en) * 2017-03-31 2017-08-18 北京奇艺世纪科技有限公司 A kind of style sheet update method and device
CN107644067A (en) * 2017-09-04 2018-01-30 深圳市易景空间智能科技有限公司 A kind of cross-platform indoor map display methods of two three-dimensional integratedization
CN108256127A (en) * 2018-03-06 2018-07-06 北京工业大学 A kind of weather-map system of customizable pattern
CN109783088A (en) * 2018-12-29 2019-05-21 北京辰安科技股份有限公司 Based on customization emergency maps sign webgis display methods and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9336695B2 (en) * 2008-10-13 2016-05-10 Yahoo! Inc. Method and system for providing customized regional maps

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103942338A (en) * 2014-05-08 2014-07-23 百度在线网络技术(北京)有限公司 Mapping method, server and terminal
CN106503200A (en) * 2016-10-26 2017-03-15 福建中金在线信息科技有限公司 A kind of style sheet display methods and device
CN107066273A (en) * 2017-03-31 2017-08-18 北京奇艺世纪科技有限公司 A kind of style sheet update method and device
CN107644067A (en) * 2017-09-04 2018-01-30 深圳市易景空间智能科技有限公司 A kind of cross-platform indoor map display methods of two three-dimensional integratedization
CN108256127A (en) * 2018-03-06 2018-07-06 北京工业大学 A kind of weather-map system of customizable pattern
CN109783088A (en) * 2018-12-29 2019-05-21 北京辰安科技股份有限公司 Based on customization emergency maps sign webgis display methods and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
在线专题地图自动化平台设计与应用;林筝;《测绘通报》(第4期);第101-104页 *

Also Published As

Publication number Publication date
CN110245206A (en) 2019-09-17

Similar Documents

Publication Publication Date Title
US20180301111A1 (en) Electronic device and method for displaying electronic map in electronic device
CN109962939B (en) Position recommendation method, device, server, terminal and storage medium
CN111182453A (en) Positioning method, positioning device, electronic equipment and storage medium
CN110309243A (en) Obtain method, apparatus, equipment and the storage medium of outdoor scene electronic map
CN113701743B (en) Map data processing method and device, computer equipment and storage medium
CN110377200B (en) Shared data generation method and device and storage medium
CN112052354A (en) Video recommendation method, video display method and device and computer equipment
CN111459466B (en) Code generation method, device, equipment and storage medium
CN113032587B (en) Multimedia information recommendation method, system, device, terminal and server
CN110704455B (en) Method, device, terminal and storage medium for generating data asset directory
CN108917766A (en) A kind of air navigation aid and mobile terminal
CN112052355B (en) Video display method, device, terminal, server, system and storage medium
CN110245206B (en) Map style acquisition method and device, server, terminal and storage medium
CN111651693B (en) Data display method, data sorting method, device, equipment and medium
CN111428158B (en) Method and device for recommending position, electronic equipment and readable storage medium
CN110532474B (en) Information recommendation method, server, system, and computer-readable storage medium
CN110149408B (en) Service data display method and device, terminal and server
CN112925922A (en) Method, device, electronic equipment and medium for obtaining address
CN112711636B (en) Data synchronization method, device, equipment and medium
CN112037545B (en) Information management method, information management device, computer equipment and storage medium
CN111125095B (en) Method, device, electronic equipment and medium for adding data prefix
CN112699906B (en) Method, device and storage medium for acquiring training data
CN114328815A (en) Text mapping model processing method and device, computer equipment and storage medium
CN114791971A (en) Information aggregation method, device, equipment and computer readable storage medium
CN114257755A (en) Image processing method, device, equipment and storage medium

Legal Events

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