CN116579913A - Service end acceleration method of network electronic map - Google Patents
Service end acceleration method of network electronic map Download PDFInfo
- Publication number
- CN116579913A CN116579913A CN202310850848.2A CN202310850848A CN116579913A CN 116579913 A CN116579913 A CN 116579913A CN 202310850848 A CN202310850848 A CN 202310850848A CN 116579913 A CN116579913 A CN 116579913A
- Authority
- CN
- China
- Prior art keywords
- map
- server
- tiles
- tile
- filtering
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 230000001133 acceleration Effects 0.000 title claims abstract description 10
- 238000001914 filtration Methods 0.000 claims abstract description 36
- 238000004220 aggregation Methods 0.000 abstract description 4
- 230000002776 aggregation Effects 0.000 abstract description 4
- 230000000694 effects Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 201000010099 disease Diseases 0.000 description 1
- 208000037265 diseases, disorders, signs and symptoms Diseases 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T1/00—General purpose image data processing
- G06T1/20—Processor architectures; Processor configuration, e.g. pipelining
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention discloses a server acceleration method of a network electronic map, which comprises the following steps: the corresponding displayable data range issued by each character is used as a character filtering tile map service to distinguish previewable data and non-previewable data of the character; the client organizes map services and role filtering map services of all layers to be displayed into a request, and requests the request to the server together with the map display range; the server side requests tiles or tile caches of all displayable layers according to the map display range, and merges the tiles to obtain a first merging result; respectively requesting all roles of the roles to filter map service tiles or tile caches, and merging to obtain a second merging result; and the server side stacks and aggregates the two merging results and returns the two merging results to the client side for display. The invention reduces the concurrent request quantity of the client and the task of downloading the tiles by the picture (tile) aggregation technology of the request at the server, and obviously reduces the waiting time of the client.
Description
Technical Field
The invention relates to the technical field of network electronic maps, in particular to a server accelerating method of a network electronic map.
Background
Along with the development of internet technology, the network electronic map carries the visual expression of space information in the internet, has the advantages of dynamics, interactivity, intuitiveness and the like, leads increasingly relevant references and decisions in daily production activities, and is widely applied to various fields such as environmental monitoring, intelligent logistics, smart cities, disease propagation monitoring and the like.
A common scheme of the network electronic map is a tile map service, and when in actual use, the network electronic map formed by sequentially overlaying a plurality of layers (each layer is a tile map service) is usually provided with a base map display image, and the upper layer is a thematic layer such as a flight track, road facilities and the like.
When a user uses a client to view a network electronic map, dragging or zooming the map each time, the client requests corresponding geographic data in a device screen to a server according to all layers which are opened and displayed in the current map, the server analyzes parameters to extract data in a range, draws and generates a plurality of grid pictures (namely tiles) and returns the grid pictures to the client, and finally the client displays the received tiles in a spliced mode on the client. Some scenes need to be subjected to data filtering, only the data content which is browsed by the current user is displayed, and at the moment, a new tile map service is usually issued for the character as viewed data, or filtering conditions are added for the character at a server side to perform dynamic filtering. The display flow of the conventional network electronic map is shown in fig. 1.
The prior art has the following problems: with the continuous use of network electronic maps, the number of layers that users need to superimpose and view increases. When more layers are overlapped in the map, the request pressure of the client is higher, and the number of concurrent requests exceeds the limit of the number of browser requests, so that the requests are queued. Network speed is limited and the client waits longer when receiving a large number of tiles. The service needs to be issued for different roles independently, the service quantity is huge, and the maintenance is not facilitated. When the data volume is large, the service end takes longer time for carrying out attribute or space filtering dynamic query for different roles, and the attribute filtering condition is unfavorable for maintenance when the service is complex.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a server accelerating method of a network electronic map, which can relieve the request and the network downloading pressure for the client of the network electronic map, improve the use smoothness and achieve the aim of improving the user experience.
The invention discloses a server acceleration method of a network electronic map, which comprises the following steps:
s1: when character authority display filtering exists, the corresponding displayable data range issued by each character is used as a character filtering tile map service to distinguish previewable data and non-previewable data of the character;
s2: the client organizes map services and role filtering map services of all layers to be displayed into a request, and requests the request to the server together with the map display range;
s3: the server side requests tiles or tile caches of all displayable layers according to the map display range, and merges the tiles according to the display sequence to obtain a first merging result;
s4: when character authority display filtering exists, the server side respectively requests all characters of the characters to filter map service tiles or tile caches according to the map display range, and combines the map service tiles or tile caches to obtain a second combination result;
s5: when role authority display filtering exists, the server side superimposes and aggregates the first merging result and the second merging result, so that pixels in the authority range in the role filtering can be reserved in the display layer tile, and the superimposed and aggregated pixels are returned to the client side;
s6: the client displays the superimposed aggregated tiles.
Further, in the step S1, the distinguishing previewable data and non-previewable data of the roles specifically includes: and setting the previewable data range style of the roles as white, and setting the non-previewable data outside the permission as transparent.
Further, in the step S5, the method further includes: in the displayable tile, the out-of-range pixels are set transparent to the role filter.
Further, in the step S5, the method further includes: and when the role-free filtering is carried out, the merging results of all the display layers are directly returned.
The invention has at least the following beneficial effects:
the invention reduces the concurrent request quantity of the client and the task of downloading the tiles by the picture (tile) aggregation technology of the request at the server, and obviously reduces the waiting time of the client. The invention fully utilizes the characteristics of the multi-core CPU of the server, so that the processing efficiency of tile merging and character display area filtering is higher, the service efficiency of the server for requesting the map issued by the local machine is faster than that of the external equipment, the use efficiency of the whole flow in the network electronic map display is improved, the speed limit on the network electronic map access caused by excessive concurrent request quantity and a large number of broadband occupation scenes is effectively avoided, and the use of the client is smoother.
Other advantageous effects of the present invention will be described in detail in the detailed description section.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a conventional network electronic map display.
Fig. 2 is a flowchart of a server acceleration method of a network electronic map disclosed by the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail below. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, based on the examples herein, which are within the scope of the invention as defined by the claims, will be within the scope of the invention as defined by the claims.
The invention discloses a server acceleration method of a network electronic map, which is shown in fig. 2, and comprises the following steps:
(1) When character authority display filtering exists, the corresponding displayable data range issued by each character is used as a character filtering tile map service to distinguish previewable data and non-previewable data of the character, the previewable data range style of the character is set to be white, and the non-previewable data outside the authority is set to be transparent.
(2) The client organizes map services and character filtering map services of all layers to be displayed into one request, and requests the map services and character filtering map services to the server together with the map display range.
(3) And the server side respectively requests tiles or tile caches of each displayable layer according to the map display range, and combines the tiles according to the display sequence to obtain a first combination result.
(4) And when the role authority display filtering exists, the server side respectively requests all the roles of the roles to filter map service tiles or tile caches according to the map display range, and combines the map service tiles or tile caches to obtain a second combining result.
(5) And when the role authority display filtering exists, the server side superimposes and aggregates the first merging result and the second merging result, so that pixels in an authority range (white) in the role filtering can be reserved in the display layer tile, and the pixels outside the authority range are set to be transparent. And when the role-free filtering is carried out, the merging results of all the display layers are directly returned.
(6) And returning the stack aggregated tiles to the client, and displaying the stack aggregated tiles by the client.
Examples
The server acceleration method of the network electronic map disclosed by the embodiment comprises the following steps:
a user in the system needs to verify the correctness of the business data in the woodland range, and the user needs to view the map layer comprises:
business work layer (vector layer, data to be verified);
business reference layer (vector layer for information comparison);
high-resolution satellite images, etc. (raster layer, as bottom).
The highest-level working area range in the system is nationwide, and the Beijing city user only has the data use authority of the administered Beijing city area, and then a role filtering tile service is issued in advance, wherein the method is that the Beijing city area is set to be white, and other provinces are set to be transparent.
When the user browses data, the client combines the three display layer information and the two character filtering information (Beijing city, woodland range) into one map service request address and sends the map service request address to the server.
The server side obtains all display layers by analyzing map service request parameters, requests corresponding tiles or tile caches of the business work layer, the business reference layer and the high-resolution satellite images, merges the three requested tiles into one tile (overlapped according to the display sequence), and obtains a first merging result.
The server acquires all role filtering layers by analyzing map service request parameters, requests corresponding tiles or tile caches for range map authority filtering of Beijing city role ranges and woodlands, and stacks and aggregates the two requested tiles into one tile (the overlapped part of the authority ranges is set to be white), so as to obtain a second merging result.
And (3) the server performs superposition aggregation on the display layer after superposition in the step 4 and the character filtering layer after superposition in the step 5, namely, superposition aggregation of the first merging result and the second merging result, wherein the tiles of the display layer only keep white parts of the character filtering tiles, and the final tiles are returned to the client for display.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.
Claims (4)
1. The server acceleration method of the network electronic map is characterized by comprising the following steps of:
s1: when character authority display filtering exists, the corresponding displayable data range issued by each character is used as a character filtering tile map service to distinguish previewable data and non-previewable data of the character;
s2: the client organizes map services and role filtering map services of all layers to be displayed into a request, and requests the request to the server together with the map display range;
s3: the server side requests tiles or tile caches of all displayable layers according to the map display range, and merges the tiles according to the display sequence to obtain a first merging result;
s4: when character authority display filtering exists, the server side respectively requests all characters of the characters to filter map service tiles or tile caches according to the map display range, and combines the map service tiles or tile caches to obtain a second combination result;
s5: when role authority display filtering exists, the server side superimposes and aggregates the first merging result and the second merging result, so that pixels in the authority range in the role filtering can be reserved in the display layer tile, and the superimposed and aggregated pixels are returned to the client side;
s6: the client displays the superimposed aggregated tiles.
2. The method for accelerating a server of a network electronic map according to claim 1, wherein in the step S1, the previewing data and the non-previewing data for distinguishing roles specifically include:
and setting the previewable data range style of the roles as white, and setting the non-previewable data outside the permission as transparent.
3. The server acceleration method of a network electronic map according to claim 2, wherein in the step S5, further comprising:
in the displayable tile, the out-of-range pixels are set transparent to the role filter.
4. The server acceleration method of a network electronic map according to claim 2, wherein in the step S5, further comprising:
and when the role-free filtering is carried out, the merging results of all the display layers are directly returned.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310850848.2A CN116579913B (en) | 2023-07-12 | 2023-07-12 | Service end acceleration method of network electronic map |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310850848.2A CN116579913B (en) | 2023-07-12 | 2023-07-12 | Service end acceleration method of network electronic map |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116579913A true CN116579913A (en) | 2023-08-11 |
CN116579913B CN116579913B (en) | 2023-09-12 |
Family
ID=87539958
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310850848.2A Active CN116579913B (en) | 2023-07-12 | 2023-07-12 | Service end acceleration method of network electronic map |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116579913B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008086314A1 (en) * | 2007-01-08 | 2008-07-17 | Microsoft Corporation | Mode information displayed in a mapping application |
CN102968442A (en) * | 2012-10-22 | 2013-03-13 | 武大吉奥信息技术有限公司 | Network map tile service aggregation method and system |
CN105550199A (en) * | 2015-11-28 | 2016-05-04 | 浙江宇视科技有限公司 | Point position clustering method and point position clustering apparatus based on multi-source map |
CN105824905A (en) * | 2016-03-15 | 2016-08-03 | 厦门精图信息技术有限公司 | Method and device for establishing and operating electronic map aggregated layer |
EP3133510A1 (en) * | 2015-08-17 | 2017-02-22 | Palantir Technologies, Inc. | Interactive geospatial map |
US20170345342A1 (en) * | 2016-05-25 | 2017-11-30 | Electronics And Telecommunications Research Institute | Tile map service device and method |
CN112149027A (en) * | 2020-10-28 | 2020-12-29 | 云赛智联股份有限公司 | City operation data visual management system |
-
2023
- 2023-07-12 CN CN202310850848.2A patent/CN116579913B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008086314A1 (en) * | 2007-01-08 | 2008-07-17 | Microsoft Corporation | Mode information displayed in a mapping application |
CN102968442A (en) * | 2012-10-22 | 2013-03-13 | 武大吉奥信息技术有限公司 | Network map tile service aggregation method and system |
EP3133510A1 (en) * | 2015-08-17 | 2017-02-22 | Palantir Technologies, Inc. | Interactive geospatial map |
CN105550199A (en) * | 2015-11-28 | 2016-05-04 | 浙江宇视科技有限公司 | Point position clustering method and point position clustering apparatus based on multi-source map |
CN105824905A (en) * | 2016-03-15 | 2016-08-03 | 厦门精图信息技术有限公司 | Method and device for establishing and operating electronic map aggregated layer |
US20170345342A1 (en) * | 2016-05-25 | 2017-11-30 | Electronics And Telecommunications Research Institute | Tile map service device and method |
CN112149027A (en) * | 2020-10-28 | 2020-12-29 | 云赛智联股份有限公司 | City operation data visual management system |
Non-Patent Citations (3)
Title |
---|
QIANG WANG等: "Intelligent Web Map Service Aggregation", 2009 INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND NATURAL COMPUTING, pages 229 - 231 * |
ZHONG XIE等: "Distributed Geographic Information Data Sharing by Service Aggregation", 2011 INTERNATIONAL CONFERENCE ON MULTIMEDIA TECHNOLOGY, pages 3383 - 3385 * |
罗鹏;许等平;任怡;: "全国林地"一张图"高性能地图瓦片服务技术研究", 中南林业科技大学学报, vol. 38, no. 07, pages 26 - 31 * |
Also Published As
Publication number | Publication date |
---|---|
CN116579913B (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2017251816B2 (en) | Rendering map images using modifications of non-raster map data | |
US9396508B2 (en) | Use of map data difference tiles to iteratively provide map data to a client device | |
US9798819B2 (en) | Selective map marker aggregation | |
US20080016145A1 (en) | 3D Map Distribution Server Device, Client Terminal Device, and 3D Map Distribution System | |
US20140340421A1 (en) | Efficient composition and rendering of graphical elements | |
WO2016177288A1 (en) | Method for displaying three-dimensional simulation scene image | |
CN103530340A (en) | Network thematic map making method and map making system | |
CN108924115B (en) | Space service authority control method and system | |
CN107735760A (en) | For checking the method and system of embedded video | |
CN111914042B (en) | Method for processing vector and grid slice data in power GIS | |
CN103152429B (en) | Method with wall paste-up interdynamic cross-platform based on web and device | |
CN116579913B (en) | Service end acceleration method of network electronic map | |
CN115065867B (en) | Dynamic processing method and device based on unmanned aerial vehicle video pyramid model | |
CN114387940B (en) | Partition display updating method, playing box and display system of LED display screen | |
JP2002123456A (en) | Method and device for processing image and storage medium | |
CN110347950B (en) | Display method and system of mobile terminal web map | |
CN111292037A (en) | Method and system for marking partitions through videos in warehouse management | |
CN105893619A (en) | Geological model panorama display method based on Internet of Things | |
CN106952319B (en) | Method and device for displaying grid coverage information | |
CN114494485A (en) | Multi-layer data fusion display method, device, equipment and storage medium | |
CN114528500A (en) | Information interaction method in certain area in virtual reality | |
US20080010008A1 (en) | System and method of delivering vector based images to mobile devices |
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 |