CN109461303A - A kind of traffic congestion state acquisition methods and device - Google Patents

A kind of traffic congestion state acquisition methods and device Download PDF

Info

Publication number
CN109461303A
CN109461303A CN201811276922.XA CN201811276922A CN109461303A CN 109461303 A CN109461303 A CN 109461303A CN 201811276922 A CN201811276922 A CN 201811276922A CN 109461303 A CN109461303 A CN 109461303A
Authority
CN
China
Prior art keywords
slice
information
road conditions
traffic
pixel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811276922.XA
Other languages
Chinese (zh)
Other versions
CN109461303B (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 Hengda Polytron Technologies Inc Newsletter
Original Assignee
Beijing Hengda Polytron Technologies Inc Newsletter
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 Hengda Polytron Technologies Inc Newsletter filed Critical Beijing Hengda Polytron Technologies Inc Newsletter
Priority to CN201811276922.XA priority Critical patent/CN109461303B/en
Publication of CN109461303A publication Critical patent/CN109461303A/en
Application granted granted Critical
Publication of CN109461303B publication Critical patent/CN109461303B/en
Active 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
    • G08G1/0133Traffic data processing for classifying traffic situation

Landscapes

  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Traffic Control Systems (AREA)
  • Navigation (AREA)

Abstract

The embodiment of the present invention provides a kind of traffic congestion state acquisition methods and device, comprising: extracts the road conditions slice in traffic flow map where every route, and extracts the pixel for having traffic information in the road conditions slice;Section coordinate string is divided based on the pixel, the start-stop point longitude and latitude of each section coordinate string is obtained, converts WGS84 coordinate for the start-stop point longitude and latitude, and be converted into the pile No. start-stop point information of corresponding route.Realize the conversion from the free slice map information that internet is issued to network of highways traffic flow congestion status numerical information, can either system-wide net cover (including neighbouring province), low investment, and can meet trade management to section association traffic flow congestion status spatial analysis.

Description

A kind of traffic congestion state acquisition methods and device
Technical field
The present embodiments relate to field of intelligent transportation technology, more particularly, to a kind of traffic congestion state acquisition side Method and device.
Background technique
The daily life of trip condition and the people are closely bound up, the superiority and inferiority of road conditions condition, not only influence the trip effect of the people Rate, or cause the main inducing of traffic accident, continuous traffic congestion, it is easy to excite the irritated mood of driver, no Only bring lasting whistle noise pollution, also easily induce knock into the back, car accident, cause driver to lose one's temper, lead Escalation of conflicts is caused, having nearly 30% traffic accident according to the statistics made by the departments concerned, in traffic accident is sent out under conditions of vehicle congestion Raw.So effectively ensure road network safe operation, grasp road conditions operating condition, instruct driver according to circumstances staggered shifts or Person avoids congestion route, at the most important thing of urban traffic control person.And the acquisition of traffic flow mainly passes through in system Construction The monitoring of intermodulation website.From the integrality of telecommunication flow information, especially with GIS-Geographic Information System (Geographic Information System, GIS) from the perspective of data fusion, there is also certain defects.The monitoring of intermodulation website is laid Density is generally than sparse, it is difficult to distribution trend is found out in spatial dimension.The authority that can use Internet company's publication hands over Through-flow data, by figure binaryzation, coordinate conversion and other preprocessing means, on transparency overlay to electronic map, and It can use pile No. and carry out numerical value calculating, so that Internet traffic stream congestion data and GIS business datum are subjected to depth integration, For trade management person's aid decision.
In the prior art, to obtain telecommunication flow information, two methods are generallyd use, first method is using browsing interconnection The method of road conditions slice map in internet navigation map acquires PNG figure, GIF figure etc. on appropriate address, in order to find out that traffic is gathered around The variation tendency of stifled state, generally also needs to play out sequentially in time;Coordinate system in this method be entirely it is cured, Due to confidentiality reasons, relevant encryption has all been done in its usual coordinate system and projection, obtained telecommunication flow information and highway pipe The road network that reason person is concerned about cannot exactly match, and it cannot be stored by numerical value;Second method is using construction traffic The method of investigation station knows the telecommunication flow information in range of management, defect be huge, difficult in maintenance investment, high failure rate, And have no idea to cover that system-wide net, it is even more impossible to know the congestion status in neighbouring province.
Summary of the invention
The embodiment of the present invention provides a kind of a kind of traffic for overcoming the above problem or at least being partially solved the above problem Congestion status acquisition methods and device.
In a first aspect, the embodiment of the present invention provides a kind of traffic congestion state acquisition methods, comprising:
The road conditions slice in traffic flow map where every route is extracted, and extracts and believes in the road conditions slice with road conditions The pixel of breath;
Section coordinate string is divided based on the pixel, the start-stop point longitude and latitude of each section coordinate string is obtained, by institute It states start-stop point longitude and latitude and is converted into WGS84 coordinate, and be converted into the pile No. start-stop point information of corresponding route.
Second aspect, the embodiment of the present invention provide a kind of traffic congestion state acquisition device, comprising:
Extraction module for extracting the road conditions slice in traffic flow map where every route, and extracts the road conditions and cuts The pixel of traffic information is had in piece;
Processing module obtains the start-stop of each section coordinate string for dividing section coordinate string based on the pixel Point longitude and latitude, converts WGS84 coordinate for the start-stop point longitude and latitude, and be converted into the pile No. start-stop point information of corresponding route.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, including memory, processor and is stored in memory Computer program that is upper and can running on a processor, is realized when the processor executes described program as first aspect provides Method the step of.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with calculating Machine program is realized as provided by first aspect when the computer program is executed by processor the step of method.
The embodiment of the present invention proposes a kind of traffic congestion state acquisition methods and device, by locating in advance according to crawl, data Reason, data vector, road network and service publication, realize from the free slice map information that internet is issued to network of highways The conversion of traffic flow congestion status numerical information, can either system-wide net cover (including neighbouring province), low investment, and row can be met Spatial analysis of the industry management to section association traffic flow congestion status.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the traffic congestion state acquisition methods schematic diagram according to the embodiment of the present invention;
Fig. 2 is the traffic congestion state acquisition device schematic diagram according to the embodiment of the present invention;
Fig. 3 is the entity structure schematic diagram according to the electronic equipment of the embodiment of the present 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 A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
It is effective to ensure road network safe operation, grasp road conditions operating condition, instruct driver according to circumstances staggered shifts or Person avoids congested link, at the most important thing of urban traffic control person.
And the acquisition of traffic flow mainly passes through the monitoring of intermodulation website in system Construction.From the integrality of telecommunication flow information From the point of view of, from the perspective of especially merging with GIS data, there is also certain defects.The monitoring layout density one of intermodulation website As than sparse, it is difficult to distribution trend is found out in spatial dimension.The scheme of the present embodiment utilizes the power of Internet company's publication Prestige traffic flow data passes through figure binaryzation, coordinate conversion and other preprocessing means, transparency overlay to electronic map On, and can use pile No. and carry out numerical value calculating, so that Internet traffic stream congestion data and GIS business datum are carried out depth Fusion.For trade management person's aid decision.Expansion explanation and introduction will be carried out by multiple embodiments below.
Fig. 1 is a kind of traffic congestion state acquisition methods provided in an embodiment of the present invention, comprising:
S1, the road conditions extracted in traffic flow map where every route are sliced, and are extracted in the road conditions slice with road The pixel of condition information;
S2, coordinate string in section is divided based on the pixel, obtains the start-stop point longitude and latitude of each section coordinate string, it will The start-stop point longitude and latitude is converted into WGS84 coordinate, and is converted into the pile No. start-stop point information of corresponding route.
Map microtomy (also referred to as map tile technology) is a kind of map pre-cache technology.Map tile technology will match The map for the certain coordinate range set is cut into according to several fixed scale bars (tile rank) and designated pictures size The square picture of several rows and columns is saved with specified format at image file, by certain naming rule and organizational form It stores in catalog system or in Database Systems, forms the static map caching of pyramid model, map slice of data is Pre-generated, these usual slice of data are stored on map server, when user browses map mobile GIS system from It is dynamic to download to these data on mobile terminal, and real-time display is on the screen.
In the present embodiment, pass through the free slice map information issued from internet to network of highways traffic flow congestion status The conversion of numerical information, by extracting road conditions slice, can either the covering of system-wide net, low investment, and trade management can be met Spatial analysis to section association traffic flow congestion status.
On the basis of the various embodiments described above, the specific packet of road conditions slice in traffic flow map where every route is extracted It includes:
Extract the map slice in traffic flow map, and the ranks number being sliced by longitude and latitude conversion map;
The slice where the coordinate points of each route figure layer is obtained based on the ranks number, obtains each route place Road conditions slice;Road conditions slice is arranged according to route, up-downlink direction and ranks number sequence.
In the present embodiment, the relevant traffic flow data in internet is obtained, that can obtain in data acquisition phase is PNG The file of the achievement type of format is without base data.Data source uses the traffic flow map service of internet towards the public.
Specifically, the mode of data acquisition is triggered by system timer, and it is primary for triggering in 5 minutes in the present embodiment, lead to Longitude and latitude conversion map slice row row number is crossed, the slice where the coordinate points of each route figure layer is obtained by ranks number, it will The road conditions slice file of acquisition is arranged in sequence according to route and up-downlink direction and ranks number, is stored in facing for server When file in.The precision of data grabber can need according to business and practical road network precision is set.
On the basis of the various embodiments described above, and extract in the road conditions slice before the pixel with traffic information, also Include:
The road conditions are sliced based on local mean square deviation and carry out denoising.
In the present embodiment, it in order to guarantee that subsequent color extracts accurate, needs to be sliced road conditions using local mean square deviation Picture carries out denoising.The basic principle of denoising is as follows:
Road conditions slice picture is converted to the grayscale image of M*N first, x (i, j) is grey scale pixel value, then at (2*n+1) In the window of (2*m+1), shown in local mean value such as following formula (1):
Shown in its local mean square deviation such as following formula (2):
Shown in result such as following formula (3) after additivity denoising:
Wherein, shown in the expression formula of k such as following formula (4):
In above formula (4), σ is that user inputs parameter, and variance is calculated as shown in following formula (5):
What variance indicated in statistics is the degree with center deviation, for measuring the fluctuation size of data.For For image, when above-mentioned local variance is smaller, it is meant that the regional area belongs to gray scale flat region, each pixel ash in image Angle value is not much different;On the contrary, when above-mentioned local variance is bigger, it is meant that in image the regional area belong to edge or Person is other high frequency section regions, and the gray value difference of each pixel is bigger.
Authorities subordinate is when flat region, variance very little, levels off to 0.Pixel after point filtering is exactly the part of the point Average value.Since the gray value of the part each point pixel is not much different, local mean values also with the gray value phase of each pixel It is poor little;For authorities subordinate when fringe region, variance is larger, and the parameter relative to user's input can ignore substantially, After image denoising, it is equal to the gray value of image of input.
On the basis of the various embodiments described above, and the pixel that traffic information is had in the road conditions slice is extracted, specifically Include:
By after denoising grayscale image and road conditions slice carry out pixel matching one by one, extract road conditions slice corresponding position Rgb value, and the rgb value is remained into the array of x (i, j), wherein i indicates pixel line number, and j indicates pixel row number;
Tolerance calculating is carried out to the array, extracts the pixel with traffic information, the traffic information includes table Show red information, yellow information and the green information of congestion information.
In the present embodiment, using after denoising grayscale image and original image carry out the matching of pixel one by one, extract corresponding position Rgb value, and rgb value is remained into the array of x (i, j), wherein i indicates pixel line number, and j indicates pixel row number.Pass through logarithm Group carries out tolerance calculating, extracts all pictures with traffic information (congestion information indicated by red, yellow, and green different colours) Vegetarian refreshments.
On the basis of the various embodiments described above, before dividing section coordinate string based on the pixel, further includes:
Based on road net data, creation has the slice address of ranks number, based on slice address crawl road conditions slice, base In the X of each road conditions slicemin、Ymin、Xmax、YmaxAnd Mercator projection, calculate the map object of the road conditions slice;
Sequence reads the coordinate points of road net data, calculates whether corresponding screen coordinate falls in map object, if deposited Just according to current coordinate point, screen coordinate point is being obtained.
In the present embodiment, the road net data according to initialization, creation have the slice address of ranks number, and system passes through more The asynchronous HttpAsync technology of thread, grabs local for slice according to slice address, by the X for calculating each slicemin、 Ymin、Xmax、YmaxAnd Mercator projection, the map object of slice is calculated, sequence reads the coordinate points of road net data, calculates and corresponds to Screen coordinate whether fall in map object, if it does, obtaining screen coordinate point just according to current coordinate point.
On the basis of the various embodiments described above, coordinate string in section is divided based on the pixel and is specifically included:
All coordinate point sets with red information, yellow information or green information in slice are obtained, by colouring information one The coordinate points of cause repartition section coordinate string according to route, up-downlink direction, color value, by route, up-downlink direction, face The identical coordinate points of color value are divided in same a road section coordinate string.
In the present embodiment, specifically, drawing algorithm by color, all band reddish yellow green color coordinate letters of this slice are obtained The point set of breath, is loaded into memory in order, by looping through all colours information point, compare the route of each point, direction, Color, sequence are analyzed by sequence number and front and back pixel color contrast, if solid colour, according to route, direction, color Value repartitions section coordinate string, if color point is more than 2, and the coordinate of start-stop point is inconsistent, then can be according to section at Reason, by obtaining the start-stop point longitude and latitude of each section coordinate string, according to coordinate transformation algorithm, by the coordinate in road net data It is converted into industry wgs84 coordinate, then by industry wgs84 coordinate, is converted into the pile No. start-stop point information of corresponding road section, is saved into Library.
Further include coordinate conversion, merge eventually by pixel, system is converted by coordinate and deflects algorithm, by road network number According to the start-stop point coordinate in middle section, it is first converted into GCJ02 Mars coordinate system, then converts GCJ02 on the industry basis of WGS84 Data coordinates turn pile No. by coordinate and convert congested link to the pile No. value that can be used for managing in industry expression.
It needs to create factual data storage table according to business, is divided into current table (TRAFFIC_CUR RENT), interim table (TRAFFIC_CURRENT_TEMP), history lists (TRAFFIC_HI STORY).
Specifically, table structure content include ID of trace route path, route coding, route name, up-downlink direction, congestion status, Data time, congested link starting point pile No., congested link stop pile No., congested link center point coordinate longitude, in congested link Heart point coordinate latitude, section uniquely indicate, road segment classification and congestion mileage.
By the timed task (being greater than 1 minute, less than 5 minutes, set as the case may be) of timers trigger, examine in real time The measured data library newest data loading time, by the difference at the beginning of calculating latest data time and upper subtask, such as Fruit is greater than given threshold, can start road conditions crawl task, entire to grab in the period, first stores data in the interim table of road conditions (TR AFFIC_CURRENT_TEMP) empties the data in TRAFFIC_CUR RENT table to the end of this task execution, It is saved in history lists (TRAFFIC_HISTORY), and the data of interim table is copied to formal congestion data table (TRAFFIC_CURRENT)。
On the basis of the various embodiments described above, further includes:
Based on the WGS84 coordinate information of each section coordinate string, creation has the path data of ID of trace route path;
And it is based on the path data loading of databases event figure layer, creation has the road conditions figure layer of spatial data;
Based on congestion status unique value, jam level color is set.
In the present embodiment, be based on ArcGIS Server, user can by treated band M be worth path data with The congested link data grabbed in real time, production have the event figure layer of spatial data, which can be according to stackable on map.
On the basis of the various embodiments described above, further includes:
Warning information publication, in conjunction with the specific business of trade management, service management person or road conditions person on duty need daily The affairs complicated in face of distribution, many congestions are instantaneous states, and interested in non-road conditions manager, system is straight once generating congestion Early warning is connect to operator on duty, then the working strength of operator on duty will increase severely.This system can be according to the use of operator on duty Habit, setting emphasis monitoring region and threshold value of warning, such as real time monitoring heavy congestion state, congestion distance are greater than 500, congestion When often greater than 30 minutes, heavy congestion event is paid close attention to, the working efficiency of supervision is greatly improved.
Method in the present embodiment is rendered with own road condition data shows the current road conditions of road network, foundation road congestion state, The indexs such as congestion length and congestion duration carry out ranking, and ranking removes special circumstances, and within 20, renewal time is no more than 5 points Clock.As highway is classified as section congestion, charge station's congestion and service area congestion ranking.
Congested link and its source, average congestion duration of often hair congestion can also be analyzed;It is required that parameter or connecing The road conditions index entered is containing congestion status, congestion length, congestion duration, congestion tendency etc., renewal frequency: 5 minutes;Comprehensive internet Big data, provides history area traffic analysis report, including high speed through street, urban road, region the congestion in road such as commercial circle Analysis;Comprehensive internet big data finds the newly-increased of the important infrastructures such as road, bridge, tunnel, service area, charge station or stops Only service condition, and warning is proposed in time;It is road network monitoring, vehicle checker, intermodulation website, axis load inspection in conjunction with internet big data The construction of the awareness apparatus such as measurement equipment, camera, traffic weather equipment provides suggestion;Realize that festivals or holidays transport highway communication in range The traffic that the prediction and browsing of row condition information, as the present embodiment method obtain in prediction 24 hours passes through spatial algorithm It is matched to congestion status and the road network rendering of industry road network.
Fig. 2 shows a kind of traffic congestion state acquisition device, the traffic congestion shape based on the various embodiments described above of the present invention State acquisition methods, including extraction module 30 and processing module 40, in which:
Extraction module 30 extracts the road conditions slice in traffic flow map where every route, and extracts in the road conditions slice Pixel with traffic information;
Processing module 40 is based on the pixel and divides section coordinate string, obtains the start-stop point warp of each section coordinate string The start-stop point longitude and latitude is converted WGS84 coordinate by latitude, and is converted into the pile No. start-stop point information of corresponding route.
Fig. 3 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention, as shown in Fig. 3, the electronic equipment It may include: processor (processor) 810,820, memory communication interface (Communications Interface) (memory) 830 and communication bus 840, wherein processor 810, communication interface 820, memory 830 pass through communication bus 840 Complete mutual communication.Processor 810 can call the meter that is stored on memory 830 and can run on processor 810 Calculation machine program, to execute the traffic congestion state acquisition methods of the various embodiments described above offer, for example,
The road conditions slice in traffic flow map where every route is extracted, and extracts and believes in the road conditions slice with road conditions The pixel of breath;
Section coordinate string is divided based on the pixel, the start-stop point longitude and latitude of each section coordinate string is obtained, by institute It states start-stop point longitude and latitude and is converted into WGS84 coordinate, and be converted into the pile No. start-stop point information of corresponding route.
In addition, the logical order in above-mentioned memory 830 can be realized by way of SFU software functional unit and conduct Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally The technical solution of the inventive embodiments substantially part of the part that contributes to existing technology or the technical solution in other words It can be embodied in the form of software products, which is stored in a storage medium, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes the present invention respectively The all or part of the steps of a embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program, The computer program is implemented to carry out the traffic congestion state acquisition methods of the various embodiments described above offer, example when being executed by processor Such as include:
The road conditions slice in traffic flow map where every route is extracted, and extracts and believes in the road conditions slice with road conditions The pixel of breath;
Section coordinate string is divided based on the pixel, the start-stop point longitude and latitude of each section coordinate string is obtained, by institute It states start-stop point longitude and latitude and is converted into WGS84 coordinate, and be converted into the pile No. start-stop point information of corresponding route.
The embodiment of the present invention also provides the present embodiment and discloses a kind of computer program product, the computer program product packet The computer program being stored in non-transient computer readable storage medium is included, the computer program includes program instruction, when Described program instruction is when being computer-executed, and computer is able to carry out such as above-mentioned traffic congestion state acquisition methods, such as is wrapped It includes:
The road conditions slice in traffic flow map where every route is extracted, and extracts and believes in the road conditions slice with road conditions The pixel of breath;
Section coordinate string is divided based on the pixel, the start-stop point longitude and latitude of each section coordinate string is obtained, by institute It states start-stop point longitude and latitude and is converted into WGS84 coordinate, and be converted into the pile No. start-stop point information of corresponding route.
In conclusion a kind of traffic congestion state acquisition methods provided in an embodiment of the present invention and device, by according to crawl, Data prediction, data vector, road network and service publication, realize the free slice map information issued from internet To the conversion of network of highways traffic flow congestion status numerical information, can either system-wide net cover (including neighbouring province), low investment, and energy Enough meet spatial analysis of the trade management to section association traffic flow congestion status.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of traffic congestion state acquisition methods characterized by comprising
The road conditions slice in traffic flow map where every route is extracted, and extracts in the road conditions slice and has traffic information Pixel;
Section coordinate string is divided based on the pixel, obtains the start-stop point longitude and latitude of each section coordinate string, described will be risen Stop longitude and latitude is converted into WGS84 coordinate, and is converted into the pile No. start-stop point information of corresponding route.
2. traffic congestion state acquisition methods according to claim 1, which is characterized in that extract in traffic flow map every Road conditions slice where route specifically includes:
Extract the map slice in traffic flow map, and the ranks number being sliced by longitude and latitude conversion map;
The slice where the coordinate points of the figure layer of each route is obtained based on the ranks number, where obtaining each route Road conditions slice;Road conditions slice is arranged according to route, up-downlink direction and ranks number sequence.
3. traffic congestion state acquisition methods according to claim 1, which is characterized in that and extract in the road conditions slice Before pixel with traffic information, further includes:
The road conditions are sliced based on local mean square deviation and carry out denoising.
4. traffic congestion state acquisition methods according to claim 3, which is characterized in that and extract in the road conditions slice Pixel with traffic information, specifically includes:
By after denoising grayscale image and road conditions slice carry out pixel matching one by one, extract the RGB of road conditions slice corresponding position It is worth, and the rgb value is remained into the array of x (i, j), wherein i indicates pixel line number, and j indicates pixel row number;
Tolerance calculating is carried out to the array, extracts the pixel with traffic information, the traffic information includes indicating to gather around Red information, yellow information and the green information of stifled information.
5. traffic congestion state acquisition methods according to claim 4, which is characterized in that divide road based on the pixel Before section coordinate string, further includes:
Based on road net data, creation has the slice address of ranks number, based on slice address crawl road conditions slice, based on every The X of one road conditions slicemin、Ymin、Xmax、YmaxAnd Mercator projection, calculate the map object of the road conditions slice;
Sequence reads the coordinate points of road net data, calculates whether corresponding screen coordinate falls in map object, if it does, just According to current coordinate point, screen coordinate point is obtained.
6. traffic congestion state acquisition methods according to claim 5, which is characterized in that divide road based on the pixel Section coordinate string specifically includes:
All coordinate point sets with red information, yellow information or green information in slice are obtained, colouring information is consistent Route, up-downlink direction, the identical coordinate points of color value are divided in same a road section coordinate string by coordinate points.
7. traffic congestion state acquisition methods according to claim 1, which is characterized in that further include:
Based on the WGS84 coordinate information of each section coordinate string, creation has the path data of ID of trace route path;
And it is based on the path data loading of databases event figure layer, creation has the road conditions figure layer of spatial data;
Based on congestion status unique value, jam level color is set.
8. a kind of traffic congestion state acquisition device characterized by comprising
Extraction module for extracting the road conditions slice in traffic flow map where every route, and extracts in the road conditions slice Pixel with traffic information;
Processing module obtains the start-stop point warp of each section coordinate string for dividing section coordinate string based on the pixel The start-stop point longitude and latitude is converted WGS84 coordinate by latitude, and is converted into the pile No. start-stop point information of corresponding route.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes method as described in any one of claim 1 to 7 when executing described program The step of.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, which is characterized in that the calculating The step of machine program realizes method as described in any one of claim 1 to 7 when being executed by processor.
CN201811276922.XA 2018-10-30 2018-10-30 Traffic congestion state acquisition method and device Active CN109461303B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811276922.XA CN109461303B (en) 2018-10-30 2018-10-30 Traffic congestion state acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811276922.XA CN109461303B (en) 2018-10-30 2018-10-30 Traffic congestion state acquisition method and device

Publications (2)

Publication Number Publication Date
CN109461303A true CN109461303A (en) 2019-03-12
CN109461303B CN109461303B (en) 2021-01-26

Family

ID=65608909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811276922.XA Active CN109461303B (en) 2018-10-30 2018-10-30 Traffic congestion state acquisition method and device

Country Status (1)

Country Link
CN (1) CN109461303B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866081A (en) * 2019-11-15 2020-03-06 合肥安慧软件有限公司 Road condition congestion analysis method based on internet map
CN111080732A (en) * 2019-11-12 2020-04-28 望海康信(北京)科技股份公司 Method and system for forming virtual map
CN111815941A (en) * 2019-04-10 2020-10-23 青岛海信网络科技股份有限公司 Frequent congestion bottleneck identification method and device based on historical road conditions

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040138831A1 (en) * 2002-11-08 2004-07-15 Kabushiki Kaisha Toyota Chuo Kenkyusho Road surface state estimating apparatus, road surface friction state estimating apparatus, road surface state physical quantity calculating apparatus, and road surface state announcing apparatus
US20050222751A1 (en) * 2004-04-06 2005-10-06 Honda Motor Co., Ltd Method for refining traffic flow data
CN100545883C (en) * 1998-07-28 2009-09-30 李知洙 A kind of method and system that provide based on the transport information of vector graphics
CN101707003A (en) * 2009-10-29 2010-05-12 清华大学 Method and system for querying and displaying road condition information
CN103093039A (en) * 2012-12-31 2013-05-08 中铁第四勘察设计院集团有限公司 Engineering application method of collecting traffic road data from electronic map
CN103177577A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Dynamic traffic information service providing method based on map layer overlapping
CN103903056A (en) * 2012-12-29 2014-07-02 高德软件有限公司 Traffic state release method and traffic state diagram generation method, device and system
CN104318768A (en) * 2014-10-27 2015-01-28 杭州智诚惠通科技有限公司 Hadoop based self-adaption traffic information tiled map generating system and method
US20150200877A1 (en) * 2014-01-16 2015-07-16 International Business Machines Corporation Dynamically routing messages in a publish/subscribe system by creating temporal topics for subscriptions and publications
CN104933057A (en) * 2014-03-18 2015-09-23 北京图盟科技有限公司 Map service providing method and apparatus
CN105371862A (en) * 2014-08-25 2016-03-02 上海睿芬信息科技有限公司 Fusion and display method of real-time traffic status data in map navigation
CN105956117A (en) * 2016-05-05 2016-09-21 量子数聚(北京)科技有限公司 Method and system for space loading of point data
CN106251623A (en) * 2015-12-29 2016-12-21 北京市交通信息中心 A kind of system providing road real-time road to service
CN106448167A (en) * 2016-11-17 2017-02-22 天津市市政工程设计研究院 Real-time-road-condition-based congestion point determination method
CN107038259A (en) * 2017-05-25 2017-08-11 南京多伦科技股份有限公司 A kind of operational method and its system for constructing traffic network data
CN107356259A (en) * 2017-09-05 2017-11-17 上海博泰悦臻网络技术服务有限公司 The navigation method and system, car-mounted terminal of a kind of changeable electronic map
CN107391578A (en) * 2017-06-20 2017-11-24 国家测绘地理信息局海南基础地理信息中心 A kind of Map Service of Network dynamic coordinate conversion method based on grid method
CN108038138A (en) * 2017-11-23 2018-05-15 国网浙江省电力有限公司 A kind of method for the WGS84 coordinate systems that Google Maps is transformed into from CAD plane coordinate systems
CN108346288A (en) * 2018-02-12 2018-07-31 山东路科公路信息咨询有限公司 Section operating status method for early warning, device and electronic equipment
CN108510740A (en) * 2018-05-04 2018-09-07 百度在线网络技术(北京)有限公司 Report the method for digging and device of road conditions by mistake

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100545883C (en) * 1998-07-28 2009-09-30 李知洙 A kind of method and system that provide based on the transport information of vector graphics
US20040138831A1 (en) * 2002-11-08 2004-07-15 Kabushiki Kaisha Toyota Chuo Kenkyusho Road surface state estimating apparatus, road surface friction state estimating apparatus, road surface state physical quantity calculating apparatus, and road surface state announcing apparatus
US20050222751A1 (en) * 2004-04-06 2005-10-06 Honda Motor Co., Ltd Method for refining traffic flow data
CN101707003A (en) * 2009-10-29 2010-05-12 清华大学 Method and system for querying and displaying road condition information
CN103177577A (en) * 2011-12-26 2013-06-26 北京掌城科技有限公司 Dynamic traffic information service providing method based on map layer overlapping
CN103903056A (en) * 2012-12-29 2014-07-02 高德软件有限公司 Traffic state release method and traffic state diagram generation method, device and system
CN103093039A (en) * 2012-12-31 2013-05-08 中铁第四勘察设计院集团有限公司 Engineering application method of collecting traffic road data from electronic map
US20150200877A1 (en) * 2014-01-16 2015-07-16 International Business Machines Corporation Dynamically routing messages in a publish/subscribe system by creating temporal topics for subscriptions and publications
CN104933057A (en) * 2014-03-18 2015-09-23 北京图盟科技有限公司 Map service providing method and apparatus
CN105371862A (en) * 2014-08-25 2016-03-02 上海睿芬信息科技有限公司 Fusion and display method of real-time traffic status data in map navigation
CN104318768A (en) * 2014-10-27 2015-01-28 杭州智诚惠通科技有限公司 Hadoop based self-adaption traffic information tiled map generating system and method
CN106251623A (en) * 2015-12-29 2016-12-21 北京市交通信息中心 A kind of system providing road real-time road to service
CN105956117A (en) * 2016-05-05 2016-09-21 量子数聚(北京)科技有限公司 Method and system for space loading of point data
CN106448167A (en) * 2016-11-17 2017-02-22 天津市市政工程设计研究院 Real-time-road-condition-based congestion point determination method
CN107038259A (en) * 2017-05-25 2017-08-11 南京多伦科技股份有限公司 A kind of operational method and its system for constructing traffic network data
CN107391578A (en) * 2017-06-20 2017-11-24 国家测绘地理信息局海南基础地理信息中心 A kind of Map Service of Network dynamic coordinate conversion method based on grid method
CN107356259A (en) * 2017-09-05 2017-11-17 上海博泰悦臻网络技术服务有限公司 The navigation method and system, car-mounted terminal of a kind of changeable electronic map
CN108038138A (en) * 2017-11-23 2018-05-15 国网浙江省电力有限公司 A kind of method for the WGS84 coordinate systems that Google Maps is transformed into from CAD plane coordinate systems
CN108346288A (en) * 2018-02-12 2018-07-31 山东路科公路信息咨询有限公司 Section operating status method for early warning, device and electronic equipment
CN108510740A (en) * 2018-05-04 2018-09-07 百度在线网络技术(北京)有限公司 Report the method for digging and device of road conditions by mistake

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
杨万里: "基于HTML5的多种地图数据混合显示", 《中国优秀硕士学位论文全文数据库 工程科技II辑》 *
黄梦龙: "天地图.福建实时路况服务设计与实现", 《地理空间信息》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111815941A (en) * 2019-04-10 2020-10-23 青岛海信网络科技股份有限公司 Frequent congestion bottleneck identification method and device based on historical road conditions
CN111080732A (en) * 2019-11-12 2020-04-28 望海康信(北京)科技股份公司 Method and system for forming virtual map
CN111080732B (en) * 2019-11-12 2023-09-22 望海康信(北京)科技股份公司 Method and system for forming virtual map
CN110866081A (en) * 2019-11-15 2020-03-06 合肥安慧软件有限公司 Road condition congestion analysis method based on internet map

Also Published As

Publication number Publication date
CN109461303B (en) 2021-01-26

Similar Documents

Publication Publication Date Title
CN107742125B (en) Deep machine learning to predict and prevent adverse conditions at structural assets
Abdel-Aty et al. Crash estimation at signalized intersections along corridors: analyzing spatial effect and identifying significant factors
Lu et al. Vulnerability analysis of transportation network under scenarios of sea level rise
CN109461303A (en) A kind of traffic congestion state acquisition methods and device
CN109360421B (en) Traffic information prediction method and device based on machine learning and electronic terminal
Dixit et al. Validation techniques for region-level microscopic mass evacuation traffic simulations
Alvioli et al. Rockfall susceptibility and network-ranked susceptibility along the Italian railway
CN111553963A (en) Meta-grid generation method and device based on geographic information
Liu et al. A comprehensive risk analysis of transportation networks affected by rainfall‐induced multihazards
US20210217307A1 (en) Real-time traffic safety management system
CN113988476A (en) Dynamic assessment prediction method for road transportation safety risk
Lu et al. Analyzing the evolution of rare events via social media data and k-means clustering algorithm
Rozenberg et al. Improving the resilience of Peru's road network to climate events
CN111696347B (en) Method and device for automatically analyzing traffic incident information
CN113626648A (en) Water conservancy data processing system, method and storage medium
An et al. Hintnet: Hierarchical knowledge transfer networks for traffic accident forecasting on heterogeneous spatio-temporal data
Nair et al. Hybrid segmentation approach to identify crash susceptible locations in large road networks
Zakaria et al. Distribution model of motorcycle speed on divided roadway in Makassar
CN109360435A (en) A kind of highway communication weather information acquisition methods and system
CN112561121B (en) Rework trend prediction method and system based on mobile phone signaling data
Rahman et al. Understanding network wide hurricane evacuation traffic pattern from large-scale traffic detector data
CN114155447A (en) Artificial intelligence big data acquisition system
Mussone et al. A neural network approach to motorway OD matrix estimation from loop counts
Masucci et al. Logistic growth and ergodic properties of urban forms
Gazzea et al. Traffic monitoring system design considering multi-hazard disaster risks

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A method and device for obtaining traffic congestion status

Effective date of registration: 20231115

Granted publication date: 20210126

Pledgee: Bank of Nanjing Limited by Share Ltd. Beijing branch

Pledgor: BEIJING HEADSPRING TECHNOLOGY CO.,LTD.

Registration number: Y2023110000478