CN106251623B - It is a kind of that the system of road real-time road service is provided - Google Patents

It is a kind of that the system of road real-time road service is provided Download PDF

Info

Publication number
CN106251623B
CN106251623B CN201511017434.3A CN201511017434A CN106251623B CN 106251623 B CN106251623 B CN 106251623B CN 201511017434 A CN201511017434 A CN 201511017434A CN 106251623 B CN106251623 B CN 106251623B
Authority
CN
China
Prior art keywords
road
map
road chain
data
chain
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.)
Expired - Fee Related
Application number
CN201511017434.3A
Other languages
Chinese (zh)
Other versions
CN106251623A (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.)
BEIJING TRAFFIC INFORMATION CENTER
Original Assignee
BEIJING TRAFFIC INFORMATION CENTER
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING TRAFFIC INFORMATION CENTER filed Critical BEIJING TRAFFIC INFORMATION CENTER
Priority to CN201511017434.3A priority Critical patent/CN106251623B/en
Publication of CN106251623A publication Critical patent/CN106251623A/en
Application granted granted Critical
Publication of CN106251623B publication Critical patent/CN106251623B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/0104Measuring and analyzing of parameters relative to traffic conditions
    • G08G1/0125Traffic data processing

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of system of offer road real-time road service.The system is by the way that continually changing Road chain state to be stored in Installed System Memory, and the map slice that Road chain state is cut into different levels is cached, so that it can overcome road conditions in the prior art to show defect not in time, to meet the requirement of road conditions real-time display, while also reducing the requirement to GIS server performance.

Description

It is a kind of that the system of road real-time road service is provided
Technical field
The present invention relates to monitoring road conditions technical field more particularly to a kind of systems of offer road real-time road service.
Background technique
In the prior art, the Main of real-time display road conditions is usually in GIS map:GIS server according to The service request of front end browser reads Road chain status data from GIS database, and by the Road chain status data It generates corresponding request picture and returns to the front end browser, to display for a user the Real-time Road road conditions of its request.
In the implementation of the present invention, inventor's discovery at least has the following technical problems in the prior art:
In existing homemade software and hardware environment, since the cpu performance of GIS server is limited, GIS server is before generation Time-consuming is too long when the picture for holding browser to need, and shows so as to cause the road conditions being deployed under homemade software and hardware environment too late When, and have Caton phenomenon.
Summary of the invention
It is provided by the invention that the system of road real-time road service is provided, it can satisfy front end browser real-time display road The requirement of road road conditions has the advantages that processing speed is fast and low etc. to GIS server performance requirement.
In a first aspect, the present invention provides a kind of system of offer road real-time road service, the system comprises the systems System include based on memory the data processing module of data source, Road chain data update module, dynamically cut figure processing module and preceding Hold browser calling module, wherein the data processing module of the data source based on memory include Road chain initialization unit, Road chain status modifier unit and web Map Services unit based on OGC standard;
The Road chain initialization unit, the road for being used to show road conditions for will be obtained from external data base Road road chain space data are stored in memory, wherein the Road chain space data include by Road chain number and initial The initial road road chain data that Road chain state is constituted;
The Road chain data update module, for timing from external data base obtain include Road chain number and The a certain moment Road chain data of a certain moment Road chain state, and a certain moment Road chain number that will acquire Disappear according to being sent to the Road chain status modifier unit, and in receive the Road chain status modifier unit first Figure processing module is cut to the dynamic after breath and sends second message, and the second message cuts figure processing mould for triggering the dynamic Block caches updated road conditions slice;
The Road chain status modifier unit, for according to a certain moment Road chain data modification received Road chain state corresponding with the Road chain number in a certain moment Road chain data in the memory, with complete The update of the road conditions of the pairs of memory storage, and first message, institute are fed back to the Road chain data update module State instruction message of the first message for showing that road condition updating is completed;
The dynamic cuts figure processing module, for after receiving the second message, according to pre-set GIS map Level and the slice size of each level map calculate the BBox parameter of each slice, to form the BBox ginseng of each level map Manifold is closed, and sends the BBox parameter including each level map to the web Map Services unit based on OGC standard Set first request, and for using each map slice where GIS map level, horizontal axis number and longitudinal axis number as The set of the corresponding map slice is cached in disk by the store path of each map slice;
The web Map Services unit based on OGC standard, for each level according to first request The BBox parameter sets of figure retrieve corresponding Road chain from memory to form the set of corresponding map slice, and to The dynamic cuts the set that figure processing module returns to the corresponding map slice;
The front end browser calling module, the GIS map area coordinate for being inputted according to user is from the disk The map slice in corresponding GIS map region is obtained, and the map in the correspondence GIS map region that will acquire is sliced in GIS map Upper Overlapping display.
Preferably, the Road chain number of the Road chain space data and corresponding Road chain state are with B-tree knot Structure is stored in the memory, wherein the keyword of B-tree structure is the number of the Road chain.
It is provided in an embodiment of the present invention that the system of road real-time road service is provided, compared with prior art, on the one hand, its By the way that continually changing Road chain state to be stored in Installed System Memory, and Road chain state is cut into the ground of different levels Figure slice is cached, so that it can overcome road conditions in the prior art to show defect not in time, to meet The requirement of road road conditions real-time display, while also reducing the requirement to GIS server performance.
Detailed description of the invention
Fig. 1 provides the structural schematic diagram of the system of road real-time road service for one embodiment of the invention;
Fig. 2 is the display renderings of the real-time road of the system for providing road real-time road service of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
The present invention provides a kind of system of offer road real-time road service, as shown in Figure 1, the system comprises based on interior The data processing module 11 in deposit data source, dynamically cuts figure processing module 13 and front end browsing at Road chain data update module 12 Device calling module 14, wherein the data processing module 11 of the data source based on memory includes Road chain initialization unit 111, Road chain status modifier unit 112 and the web Map Services unit 113 based on OGC standard;
The Road chain initialization unit 111, for being used to show road conditions by what is obtained from external data base Road chain space data be stored in memory, wherein the Road chain space data include by Road chain number and The initial road road chain data that initial road road chain state is constituted;
Wherein, the Road chain space data illustrate GML (Geography Markup Language, map logos Speech) form is described.
The Road chain data update module 12, obtaining from external data base for timing includes that Road chain is numbered With a certain moment Road chain data of a certain moment Road chain state, and a certain moment Road chain that will acquire Data are sent to the Road chain status modifier unit 112, and are receiving the Road chain status modifier unit 112 First message after cut figure processing module 13 to the dynamic and send second message, the second message is for triggering the dynamic Figure processing module 13 is cut to cache updated road conditions slice;
The Road chain status modifier unit 112, for according to a certain moment Road chain data received The Road chain state corresponding with the Road chain number in a certain moment Road chain data in the memory is modified, To complete the update to the road conditions of the memory storage, and disappear to the Road chain data update module 12 feedback first Breath, the first message are used to show to be completed the instruction message of road condition updating;
The dynamic cuts figure processing module 13, for after receiving the second message, according to pre-set GIS Figure layer grade and the slice size of each level map calculate the BBox parameter of each slice, to form the BBox of each level map Parameter sets, and to described based on OGC (Open Geospatial Consortium-OGC, open geospatial information alliance) The web Map Services unit 113 of standard sends the first request of the BBox parameter sets including each level map, In, for numbering as what each map was sliced and depositing using GIS map level, horizontal axis number and the longitudinal axis where each map slice Path is stored up, the set of the corresponding map slice is cached in disk;
The web Map Services unit 113 based on OGC standard, for each layer according to first request The BBox parameter sets of grade map, retrieve corresponding Road chain from memory to form the set of corresponding map slice, And figure processing module 13 is cut to the dynamic and returns to the set that the corresponding map is sliced;
The front end browser calling module 14, GIS map area coordinate for being inputted according to user is from the disk The middle map slice for obtaining corresponding GIS map region, and the map slice in the correspondence GIS map region that will acquire is in GIS Overlapping display on figure.
Wherein, in order to further increase the speed for searching corresponding Road chain from memory according to Road chain number, Here the Road chain number of the Road chain space data and corresponding Road chain state are with B-tree structure (Balance Tree balances multiway tree) it is stored in the memory, wherein the keyword of B-tree structure is the number of the Road chain.
It is provided in an embodiment of the present invention that the system of road real-time road service is provided, compared with prior art, on the one hand, its By the way that continually changing Road chain state to be stored in Installed System Memory, and Road chain state is cut into the ground of different levels Figure slice is cached, so that it can overcome road conditions in the prior art to show defect not in time, to meet The requirement of road road conditions real-time display, while also reducing the requirement to GIS server performance.
Wherein, the dynamic cuts the workflow of figure processing module 13, specially:
S21, the update service request that Road chain update module is sent is received;
S22, a map level is seriatim taken out from pre-set GIS map level list;
S23, the storage location that each map slice in the map level is obtained from the map level taken out, institute State horizontal axis number and longitudinal axis number expression that the storage location of each map slice is sliced by each map;
S24, the horizontal axis being sliced according to each map in each map level obtained above and each map level Number and longitudinal axis number construct the BBox parameter of each map slice;
S25, the BBox parameter obtained according to S24 step call the web Map Services unit 113 based on OGC standard To generate corresponding map slice, and the map of return is sliced with GIS map level, the horizontal axis volume where each map slice Number and the longitudinal axis number the store path that is sliced as each map, the set that the corresponding map is sliced is cached to disk In.
As shown in Fig. 2, for road conditions effect picture shown by the system for providing road real-time road service of the invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (2)

1. a kind of provide the system of road real-time road service, which is characterized in that the system comprises data sources based on memory Data processing module, dynamically cuts figure processing module and front end browser calling module at Road chain data update module, wherein The data processing module of the data source based on memory include Road chain initialization unit, Road chain status modifier unit and Web Map Services unit based on OGC standard;
The Road chain initialization unit, the Road for being used to show road conditions for will be obtained from external data base Chain space data are stored in memory, wherein the Road chain space data include being numbered by Road chain and initial road The initial road road chain data that road chain state is constituted;
The Road chain data update module, for timing from external data base obtain include Road chain number and it is a certain The a certain moment Road chain data of moment Road chain state, and a certain moment Road chain data hair that will acquire It send to the Road chain status modifier unit, and after the first message for receiving the Road chain status modifier unit Figure processing module is cut to the dynamic and sends second message, and the second message cuts figure processing module pair for triggering the dynamic Updated road conditions slice is cached;
The Road chain status modifier unit, for according to a certain moment Road chain data modification received Road chain state corresponding with the Road chain number in a certain moment Road chain data in memory, with completion pair The update of the road conditions of the memory storage, and first message is fed back to the Road chain data update module, described the One message is used to show to be completed the instruction message of road condition updating;
The dynamic cuts figure processing module, for after receiving the second message, according to pre-set GIS map level The BBox parameter of each map slice is calculated, with the slice size of each level map to form the BBox ginseng of each level map Manifold is closed, and sends the BBox parameter including each level map to the web Map Services unit based on OGC standard Set first request, and for using each map slice where GIS map level, horizontal axis number and longitudinal axis number as The set of the corresponding map slice is cached in disk by the store path of each map slice;
The web Map Services unit based on OGC standard, for each level map according to first request BBox parameter sets retrieve corresponding Road chain from memory to form the set of corresponding map slice, and to described Dynamic cuts the set that figure processing module returns to the corresponding map slice;
The front end browser calling module, the GIS map area coordinate for being inputted according to user are obtained from the disk The map slice in corresponding GIS map region, and the map in the correspondence GIS map region that will acquire is sliced and folds in GIS map Add display.
2. system according to claim 1, which is characterized in that the Road chains of Road chain space data number and Corresponding Road chain state is stored in the memory with B-tree structure, wherein the keyword of B-tree structure is the Road The number of chain.
CN201511017434.3A 2015-12-29 2015-12-29 It is a kind of that the system of road real-time road service is provided Expired - Fee Related CN106251623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511017434.3A CN106251623B (en) 2015-12-29 2015-12-29 It is a kind of that the system of road real-time road service is provided

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511017434.3A CN106251623B (en) 2015-12-29 2015-12-29 It is a kind of that the system of road real-time road service is provided

Publications (2)

Publication Number Publication Date
CN106251623A CN106251623A (en) 2016-12-21
CN106251623B true CN106251623B (en) 2018-11-30

Family

ID=57626636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511017434.3A Expired - Fee Related CN106251623B (en) 2015-12-29 2015-12-29 It is a kind of that the system of road real-time road service is provided

Country Status (1)

Country Link
CN (1) CN106251623B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10353931B2 (en) * 2016-12-30 2019-07-16 DeepMap Inc. High definition map and route storage management system for autonomous vehicles
CN109461303B (en) * 2018-10-30 2021-01-26 北京恒达时讯科技股份有限公司 Traffic congestion state acquisition method and device
CN111507861A (en) * 2020-04-07 2020-08-07 南京海兴电网技术有限公司 Power utilization data processing and visualization method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937458A (en) * 2010-08-31 2011-01-05 北京世纪高通科技有限公司 Simple map generation and release method and device based on traffic information
CN102376160A (en) * 2010-08-09 2012-03-14 中国移动通信集团辽宁有限公司 Method and system for updating real-time traffic information
CN102880440A (en) * 2012-09-29 2013-01-16 广东威创视讯科技股份有限公司 Method and system for displaying map on splicing wall
CN104142935A (en) * 2013-05-07 2014-11-12 北京四维图新科技股份有限公司 Dynamic tiled map acquiring method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3849435B2 (en) * 2001-02-23 2006-11-22 株式会社日立製作所 Traffic situation estimation method and traffic situation estimation / provision system using probe information
US6911918B2 (en) * 2002-12-19 2005-06-28 Shawfu Chen Traffic flow and route selection display system for routing vehicles
WO2007115273A2 (en) * 2006-03-31 2007-10-11 Geospot, Inc. Methods for interaction, sharing, and exploration over geographical locations

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102376160A (en) * 2010-08-09 2012-03-14 中国移动通信集团辽宁有限公司 Method and system for updating real-time traffic information
CN101937458A (en) * 2010-08-31 2011-01-05 北京世纪高通科技有限公司 Simple map generation and release method and device based on traffic information
CN102880440A (en) * 2012-09-29 2013-01-16 广东威创视讯科技股份有限公司 Method and system for displaying map on splicing wall
CN104142935A (en) * 2013-05-07 2014-11-12 北京四维图新科技股份有限公司 Dynamic tiled map acquiring method and device

Also Published As

Publication number Publication date
CN106251623A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106202112B (en) CACHE DIRECTORY method for refreshing and device
CN102915375B (en) A kind of webpage loading method based on layout subregion
WO2016026384A1 (en) Client page display method, device and system
US20150281104A1 (en) Active application response delay time
US10666758B2 (en) Browser resource pre-pulling method, terminal and storage medium
CN106980625A (en) A kind of method of data synchronization, apparatus and system
CN106251623B (en) It is a kind of that the system of road real-time road service is provided
CN106610854A (en) Model update method and device
CN104239431B (en) Three-dimension GIS model display methods and device
CN107612970B (en) Large graph caching method, large graph display method and large graph display system based on power grid topology analysis
CN103236989B (en) Buffer control method in a kind of content distributing network, equipment and system
CN108009642A (en) Distributed machines learning method and system
CN104135507A (en) A method and a device for hotlink protection
CN114791846B (en) Method for realizing observability aiming at cloud-originated chaos engineering experiment
CN106878370A (en) The update method and equipment of a kind of local cache
CN114297206A (en) Refined efficient dynamic tile map service publishing method, medium and electronic equipment
CN108667881B (en) Service data synchronization method for intelligent terminal and cloud server
CN102982159A (en) Three-dimensional webpage multi-scenario fast switching method
CN101800768B (en) Gridding data transcription generation method based on storage alliance subset partition
CN108780458A (en) A kind of page cache processing method, device and server
CN107491463A (en) The optimization method and system of data query
CN103677930B (en) Based on GIS data loading method and the device of spelling wall system
CN110209756A (en) A kind of the map exchange method and system of O&M of transmitting electricity
CN109635161B (en) Cross-domain allopatric collaborative design method in mass data environment
CN109145237A (en) A kind of optimization method of web cache problem

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181130

Termination date: 20191229