CN103186979B - Description method and device for traffic state - Google Patents

Description method and device for traffic state Download PDF

Info

Publication number
CN103186979B
CN103186979B CN201110448762.4A CN201110448762A CN103186979B CN 103186979 B CN103186979 B CN 103186979B CN 201110448762 A CN201110448762 A CN 201110448762A CN 103186979 B CN103186979 B CN 103186979B
Authority
CN
China
Prior art keywords
traffic behavior
line unit
segmentation
traffic
description
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110448762.4A
Other languages
Chinese (zh)
Other versions
CN103186979A (en
Inventor
曾利非
魏正军
胡润波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Autonavi Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Autonavi Software Co Ltd filed Critical Autonavi Software Co Ltd
Priority to CN201110448762.4A priority Critical patent/CN103186979B/en
Publication of CN103186979A publication Critical patent/CN103186979A/en
Application granted granted Critical
Publication of CN103186979B publication Critical patent/CN103186979B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a description method and a device for a traffic state. The method comprises the steps of receiving a traffic state inquiry request of a client, acquiring a line unit corresponding to the traffic state inquiry request, judging whether to describe the whole traffic state of the line unit according to a traffic state of a traffic state of a road section corresponding to directed road section sequence, generating a whole traffic state description for the line unit if so, generating a detailed traffic state description for the line unit is not, integrating the acquired whole traffic state description and/or the detailed traffic state description of the line unit to obtain a comprehensive traffic state description, and returning the comprehensive traffic state description to the client. The method and the device can provide more comprehensive and more traffic information for a user, and ensure that the user can learn the traffic states of the line units wholly and in detail and makes a travel plan.

Description

A kind of describing method of traffic behavior and device
Technical field
The present invention relates to technical field of information processing, particularly relate to a kind of describing method and device of traffic behavior.
Background technology
Along with the carrying out of Chinese Urbanization construction, traffic environment also becomes increasingly serious due to the quick increase of vehicle, and therefore user needs the assistance of service system to understand dynamic information, thus saves the travel time of user, alleviate traffic pressure, reduce traffic jam and delay.
Constantly perfect due to real-time traffic information collection and delivery system, accuracy and the coverage rate of dynamic information are more and more higher, and traffic-information service application also progressively enters into daily life.
In China, existing Traffic information demonstration platform based on VICS (road traffic Intelligence Communications Architecture) technology, also has the distribution platform based on TMC (traffic message channel) technology.There is multiple traffic application in the basis of these Traffic information demonstration platforms for service, as active path planning, dynamic information represent, dynamic information inquires about and customizes etc.
But, the transport information of important transport node or strategic road can only be provided for user at present, and full detail can not be provided, cause restriction and inconvenience to the use of user.
Summary of the invention
The object of this invention is to provide a kind of describing method and device of traffic behavior, to provide more, more fully transport information.
A describing method for traffic behavior, described method comprises:
Receive the traffic behavior inquiry request of client;
Obtain the line unit that described traffic behavior inquiry request is corresponding, a described line unit represents a road, and the oriented section sequence pair that each described line unit comprises should represent the section forming described road;
Answer the traffic behavior in section according to described oriented section sequence pair, judge whether to carry out traffic behavior whole description to described line unit;
If so, be then that described line unit generates traffic behavior whole description, if not, then the traffic behavior generating described line unit is described in detail;
The traffic behavior whole description of the line unit comprehensively got and/or the traffic behavior of line unit are described in detail, obtain traffic behavior comprehensive description;
Return described traffic behavior comprehensive description to described client.
Preferably, the described oriented section sequence pair comprised according to described line unit answers the traffic behavior in section, judges whether that carrying out traffic behavior whole description to described line unit specifically comprises:
Obtain the length in the section that traffic behavior is identical in the oriented section sequence that described line unit comprises;
Calculate the identical section of described traffic behavior length and with all road section length in the sequence of described oriented section and ratio, judge whether described ratio is more than or equal to comprehensive description threshold value.
Preferably, if described line unit comprises a forward section sequence and a reverse section sequence, and be that described line unit generates a forward traffic behavior whole description and a Reverse Commuting stated integer describes, then described method comprises further:
Whether the traffic behavior during the traffic behavior judging in the forward traffic behavior whole description of described line unit describes with Reverse Commuting stated integer is identical, if identical, then the forward and reverse traffic behavior whole description of described line unit is combined into a traffic behavior whole description.
Preferably, the traffic behavior detailed description generating described line unit specifically comprises:
In the oriented section sequence comprised by described line unit, length accounting is lower than the traffic behavior in the section of length accounting threshold value, adjusts according to the traffic behavior of its adjacent segments;
By adjacent in the sequence of described oriented section and the subsections mergence that traffic behavior is identical is a segmentation;
To described merging obtain and traffic behavior is the segmentation of blocking up or walking or drive slowly, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior, described single-point traffic behavior describes and/or head and the tail traffic behavior describes the traffic behavior detailed description forming described line unit.
Preferably, in the oriented section sequence comprised by described line unit, length accounting is lower than the traffic behavior in the section of length accounting threshold value, carries out adjusting specifically comprising according to the traffic behavior of its adjacent segments:
To length accounting in described directed line segment sequence lower than the section of accounting threshold value, judge whether it has adjacent segments;
If there is no adjacent segments, then described length accounting is set to the unknown lower than the traffic behavior in the section of accounting threshold value;
If there is an adjacent segments, then described length accounting is set to the traffic behavior of described adjacent segments lower than the traffic behavior in the section of accounting threshold value;
If have two adjacent segments, and the traffic behavior of two adjacent segments is identical, then described length accounting is set to the traffic behavior in these two sections lower than the traffic behavior in the section of accounting threshold value;
If have two adjacent segments, and the traffic behavior of two adjacent segments is not identical, then do not revise the traffic behavior of described length accounting lower than the section of accounting threshold value.
Preferably, to described merging obtain and traffic behavior is the segmentation of blocking up or walking or drive slowly, carry out the description of single-point traffic behavior or head and the tail traffic behavior describe specifically comprise:
From the segmentation that described merging obtains, obtaining traffic behavior is the segmentation of blocking up;
Equal described segmentation number threshold value if the traffic behavior got is the number of the segmentation of blocking up, then to described traffic behavior be the segmentation of blocking up carry out the description of single-point traffic behavior or head and the tail traffic behavior describe;
If the traffic behavior got is the segmentation number of blocking up be greater than described segmentation number threshold value, the length of important node and segmentation then whether is comprised according to segmentation, selecting the segmentation of described segmentation number threshold value, is that the description of single-point traffic behavior is carried out in the segmentation of blocking up or head and the tail traffic behavior describes to the traffic behavior selected;
If not get traffic behavior be the segmentation of blocking up or the traffic behavior got is that the number of the segmentation of blocking up is less than preset segmentation number threshold value, then from the segmentation that described merging obtains, obtain the segmentation that traffic behavior is jogging;
If the number of segmentation that the traffic behavior got is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is equal to or less than described segmentation number threshold value, be then the segmentation of blocking up or walking or drive slowly to the traffic behavior selected, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior;
If the number of segmentation that the traffic behavior got is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is greater than described segmentation number threshold value, whether the segmentation being then jogging according to the traffic behavior got comprises important node and section length, from the described traffic behavior got be jogging segmentation obtain N number of segmentation, described N equals described segmentation number threshold value and deducts the number that the traffic behavior got is the segmentation of jogging, and to the segmentation that the traffic behavior obtained out is jogging or blocks up, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior.
Preferably, described is the segmentation of blocking up or walking or drive slowly to traffic behavior, carry out the description of single-point traffic behavior or head and the tail traffic behavior describe comprise:
Obtain the weights of reference position and the weights in final position of segmentation, weighting value mean value after two weights are added;
If the weights of the node of section association are all less than described weights average in described segmentation, then generate the head and the tail traffic behavior description that traffic behavior is the segmentation of blocking up or walking or drive slowly;
If the weights of at least one node of section association are greater than described weights average in described segmentation, be then greater than the node of described weights average from weights, select a node of maximum weight, describe for described node generates single-point traffic behavior.
Preferably, the traffic behavior whole description of the line unit comprehensively got and/or the traffic behavior of line unit are described in detail, obtain traffic behavior comprehensive description and specifically comprise:
If corresponding two traffic behaviors of described line unit describe, then as described line unit, the traffic behavior selecting traffic behavior poor describes treats that comprehensive traffic behavior describes;
If the corresponding traffic behavior of described line unit describes, then select described traffic behavior to describe and treat that comprehensive traffic behavior describes as described line unit; It is that traffic behavior whole description or traffic behavior are described in detail that described traffic behavior describes;
According to road weight and the length of each line unit, treating that comprehensive traffic behavior whole description and/or traffic behavior are described in detail and sort each line unit described;
According to traffic behavior from blocking up, walk or drive slowly, the unimpeded order to the unknown, comprehensive traffic behavior whole description and/or traffic behavior detailed description, the traffic behavior comprehensive description of a preset number traffic behavior whole description and/or the described line unit of traffic behavior detailed description formation is obtained from treating after sequence.
Preferably, if described traffic behavior inquiry request is urban traffic status inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding comprises:
Obtain the city that described urban traffic status inquiry request is corresponding;
Utilize the road weighted value of all line units in described city, obtain the line unit that road weighted value is greater than weight first threshold.
Preferably, if described inquiry request is regional traffic state inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding comprises:
Obtain the region that described regional traffic state inquiry request is corresponding;
Utilize the road weighted value of all line units in described region, obtain the line unit that road weighted value is greater than weight Second Threshold.
Preferably, if described inquiry request is road traffic state inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding comprises:
Obtain the line unit that the road of described road traffic inquiry request institute requesting query is corresponding.
Preferably, if described inquiry request is route traffic behavior inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding specifically comprises:
The start position carried according to described route traffic behavior inquiry request and final position, obtain the line unit of route process.
A tracing device for traffic behavior, comprising:
Memory module, for storing preset road and the corresponding relation of associated nodes, described associated nodes comprise in the crossing of described road, transport node, interest node POI one or several;
Receiver module, for receiving the traffic behavior inquiry request of client;
Acquisition module, for obtaining line unit corresponding to described traffic behavior inquiry request, a described line unit represents a road, and at least one oriented section sequence pair that each described line unit comprises should represent at least one section that described road comprises;
First judge module, the oriented section sequence pair for comprising according to described line unit answers the traffic behavior in section, judges whether to carry out traffic behavior whole description to described line unit;
First generation module, for when the result of described judge module is for being, for described line unit generates traffic behavior whole description;
Second generation module, for when the result of described judge module is no, the traffic behavior generating described line unit is described in detail;
Integration module, the traffic behavior for the traffic behavior whole description of line unit that comprehensively gets and/or line unit is described in detail, obtains traffic behavior comprehensive description;
Return module, for returning described traffic behavior comprehensive description to described client.
Preferably, described first judge module specifically comprises:
Obtain submodule, for obtaining the length in the section that traffic behavior is identical in oriented section sequence that described line unit comprises;
Calculating sub module, for calculate the identical section of described traffic behavior length and with all road section length in the sequence of described oriented section and ratio, judge whether described ratio is more than or equal to comprehensive description threshold value.
Preferably, described device also comprises:
Second judge module, whether the traffic behavior during the traffic behavior for judging in the forward traffic behavior whole description of described line unit describes with Reverse Commuting stated integer is identical, if identical, then the forward and reverse traffic behavior whole description of described line unit is combined into a traffic behavior whole description.
The describing method of traffic behavior of the present invention and device, by first carrying out whole description and detailed description to each line unit, again whole description and detailed description are screened, thus obtain the traffic behavior comprehensive description of each line unit, can provide more for user, more fully transport information, be convenient to user holds each line unit traffic behavior from overall and details, carry out trip planning.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of the embodiment of the method for description of the invention road traffic state;
Fig. 2 is the schematic flow sheet for step S5 in embodiment of the method;
Fig. 3 is the schematic flow sheet for step S51 in embodiment of the method;
Fig. 4 is a kind of schematic flow sheet for S53 in embodiment of the method;
Fig. 5 is the another kind of schematic flow sheet for S53 in embodiment of the method;
Fig. 6 is the schematic flow sheet for S6 in embodiment of the method;
Fig. 7 is the structural representation of the device embodiment of description of the invention road traffic state;
Fig. 8 is the structural representation for the first judge module 73 in device embodiment;
Fig. 9 is the structural representation for the second generation module 75 in device embodiment;
Figure 10 is the structural representation for adjusting submodule 751 in device embodiment;
Figure 11 is a kind of structural representation for the first descriptor module 753 in device embodiment;
Figure 12 is the another kind of structural representation for the first descriptor module 753 in device embodiment;
Figure 13 is the structural representation for integration module 76 in device embodiment.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, are described in further detail the embodiment of the present invention below in conjunction with the drawings and specific embodiments.
Embodiment one
Present embodiments provide a kind of describing method of traffic behavior, the corresponding relation of preset section and associated nodes thereof, described associated nodes can comprise the crossing in described section, transport node or at least one interest node.See table 1, it is an example of section and associated nodes thereof.
Table 1
See Fig. 1, the describing method of described a kind of traffic behavior comprises the steps:
S1, receives the traffic behavior inquiry request of client;
Described inquiry request is the inquiry request that user is submitted to by client, this inquiry request can be the inquiry request of urban traffic status, the such as inquiry request of Beijing Communication state, also can be the inquiry request of city traffic state, the traffic behavior inquiry request of such as Chaoyang District, Beijing City, it can also be the inquiry request of road traffic state, the such as inquiry request of Xizhimenwai Dajie traffic behavior, or the inquiry request etc. of route traffic behavior, such as from Daheng Technology Building to the inquiry request of the route traffic behavior of permanent International Center, side.
S2, obtains the line unit that described traffic behavior inquiry request is corresponding, and a described line unit represents a road, and at least one oriented section sequence pair that each described line unit comprises should represent at least one section that described road comprises.
Wherein, line unit (such as shown in table 2 4301,6410 etc.) represents a real road, the road of line unit representative is made up of section, the corresponding position code (LocationCode) in each section, the road weight that each line unit correspondence one is preset; If real road is two-way road, the line unit that then this road is corresponding can comprise the oriented section sequence (LocationCode chain) of positive and negative both direction, if when real road is one way access, the line unit that this road is corresponding only comprises the LocationCode chain in a direction, wherein, the oriented section sequence pair that line unit comprises should represent the section forming described road.
Information corresponding to each section comprises: position code LocationCode (such as 4302,5321 ,-6412 etc.), start-stop position, section, direction, road section length and road section traffic volume state; Direction wherein refers to the forward and oppositely of road, usually, is defined as by forward from south to north, from west to east, is reversed by north orientation south, from east to west, and for oblique road, it is forward and reverse can artificially specify.Described traffic behavior at least can comprise and blocks up, to walk or drive slowly and unimpeded, in some cases, can also comprise the situations such as unknown.A section can also be present in multiple line unit.
Because the length in section is smaller, if directly the traffic behavior in section is presented to user, data volume can be caused excessive and regardless of primary and secondary, detect through a large amount of contrasts, the present embodiment determines the base unit described as road traffic state by line unit.
See table 2, be line unit and the sample table of oriented section sequence (LocationCode chain) that comprises thereof.
Table 2
When inquiry request is different, be also not quite similar according to the line unit that traffic behavior inquiry request obtains:
(1) when inquiry request is the inquiry request of urban traffic status, the request based on the query obtains the line unit that will describe and is specially:
A1: obtain the city that described urban traffic status inquiry request is corresponding;
First obtain city corresponding to urban traffic status inquiry request, such as, during urban traffic status inquiry request institute requesting query Pekinese traffic behavior, the city got is exactly " Beijing ".
A2: the road weighted value utilizing all line units in described city, obtains the line unit that road weighted value is greater than weight first threshold.
For a city (such as Beijing, Shanghai, Shijiazhuang etc.), include a lot of line unit, if gone from the macroscopic perspective in city, user be concerned about should be city main traffic main line on traffic behavior, therefore, give road weight to all line units according to its significance level, road weighted value is higher shows that significance level is higher.
(2) when inquiry request is urban traffic status inquiry request, then the request based on the query corresponds to the line unit that will describe and can be:
B1: obtain the region that described regional traffic state inquiry request is corresponding;
First obtain the region corresponding with regional traffic state inquiry request, such as, during the traffic behavior of urban traffic status inquiry request institute requesting query Chaoyang District Beijing, the region got is exactly " Chaoyang District ".
B2: the road weighted value utilizing all line units in described region, obtains the line unit that road weighted value is greater than weight Second Threshold.
Also can comprise a lot of line unit in a region (such as Chaoyang District, Pekinese, Dongcheng District, commercial circle, Zhong Guan-cun etc.), the traffic behavior on the main traffic main line in the preferred selected zone of the present invention is described.
(3) when inquiry request is road traffic state inquiry request, then the request based on the query corresponds to the line unit that will describe and can be:
Obtain the line unit that the road of described road traffic inquiry request institute requesting query is corresponding.
Usually, the corresponding real road (such as N. 3rd Ring Road, Pekinese) of line unit, when user's inquiry be certain road time, the line unit that so this road is corresponding is exactly the line unit that will describe.
(4) when inquiry request is route traffic behavior inquiry request, then the request based on the query corresponds to the line unit that will describe and can be:
The start position carried according to described route traffic behavior inquiry request and final position, obtain the line unit of route process.
If inquiry request inquiry is stretch line, then the line unit of line unit for describing of this route process.Such as, described route goes to B ground from A, and the route formed thus may cross over many line units, and the line unit related to may be complete participation, also may be subparticipation, and these line units are all the line units that will describe.
S3, answers the traffic behavior in section according to described oriented section sequence pair, judge whether to carry out traffic behavior whole description to described line unit, if so, then enter step S4, if not, then enter step S5.
Concrete, can by judging whether described line unit meets whole description condition to realize in one direction.Plant situation for above-mentioned (1), (2), (3), owing to being be described the entirety of line unit, therefore whole description condition can be that traffic behavior in described line unit on same direction is identical.
Plant situation for (4), because the line unit related to differs, to establish a capital be complete participation, and therefore whole description condition can also comprise:
C1: the length obtaining the section that traffic behavior is identical in the oriented section sequence that described line unit comprises;
C2 calculate the identical section of described traffic behavior length and with all road section length in the sequence of described oriented section and ratio, judge whether described ratio is more than or equal to comprehensive description threshold value.
Described route length sum of process on described line unit reaches first preset ratio (can be such as 80%) of this line unit total length in described route direction, route length sum of process on described line unit is only accounted for the comparatively small scale (such as 10% or 20%) of this line unit total length in described route direction, then whole description not too large meaning is carried out to this sub-fraction of the line unit of route process, still should adopt detailed description.
S4, for described line unit generates traffic behavior whole description.
In the present embodiment, a whole description is specifically as follows: [road] [direction] [traffic behavior].
If in actual applications, described line unit comprises a forward section sequence and a reverse section sequence, and be that described line unit generates a forward traffic behavior whole description and a Reverse Commuting stated integer describes, then this step may further include:
Whether the traffic behavior during the traffic behavior judging in the forward traffic behavior whole description of described line unit describes with Reverse Commuting stated integer is identical, if identical, then the forward and reverse traffic behavior whole description of described line unit is combined into a traffic behavior whole description.The content of whole description can be simplified by above-mentioned union operation.Such as, whole description after merging can be: [road] [two-way] [traffic behavior].Merge whole description to perform again after whole whole description completes, also can detect the whole description whether having and meet merging condition while whole description, just directly merge if detect.
S5, the traffic behavior generating described line unit is described in detail.
The head and the tail of a single-point description or this segmentation being specifically described as transport node/POI in the segmentation of place describe; Each segmentation comprise more than one be connected in topology, the identical and section that traffic behavior is identical, direction.
Described being described in detail for inquiry request line unit can comprise (see Fig. 2):
S51: in the oriented section sequence comprised by described line unit, length accounting is lower than the traffic behavior in the section of length accounting threshold value, adjusts according to the traffic behavior of its adjacent segments;
Wherein, S51 can comprise the following steps S511 ~ S515 (with reference to figure 3):
S511: to length accounting in described directed line segment sequence lower than the section of accounting threshold value, judge whether it has adjacent segments;
S512: if do not have adjacent segments, be then set to the unknown by described length accounting lower than the traffic behavior in the section of accounting threshold value;
S513: if there is an adjacent segments, be then set to the traffic behavior of described adjacent segments lower than the traffic behavior in the section of accounting threshold value by described length accounting;
When the mapping link length in section a certain on described direction is less than preset length (such as 100m), if only have a section coupled, then using the traffic behavior in the section that this is connected as the traffic behavior in described section;
S514: if there are two adjacent segments, and the traffic behavior of two adjacent segments is identical, be then set to the traffic behavior in these two sections lower than the traffic behavior in the section of accounting threshold value by described length accounting;
If exist, two sections are connected with before and after it and the traffic behavior in these two sections is identical, then the traffic behavior using the traffic behavior in these two sections as described section;
S515: if there are two adjacent segments, and the traffic behavior of two adjacent segments is not identical, then do not revise the traffic behavior of described length accounting lower than the section of accounting threshold value.
If exist, two sections are connected from before and after it and the traffic behavior in these two sections is different, then retain the traffic behavior in described section; And if it is coupled to there are not other sections, then the traffic behavior in described section is designated as the unknown.
Wherein, for the section that length is shorter, it is very little to the influence degree of the overall traffic behavior of whole line unit, should merge in conjunction with the traffic behavior in the longer section of this section anterior-posterior length.
S52: by adjacent in the sequence of described oriented section and the subsections mergence that traffic behavior is identical is a segmentation;
Segmentation in S52 comprise more than one be connected in topology, the identical and section that traffic behavior is identical, direction.
S53: to described merging obtain and traffic behavior is the segmentation of blocking up or walking or drive slowly, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior, described single-point traffic behavior describes and/or head and the tail traffic behavior describes the traffic behavior detailed description forming described line unit.
Wherein, be that jogging and the segmentation of blocking up are carried out the description of single-point traffic behavior or head and the tail traffic behavior and described and can comprise the following steps S5311 ~ S5316 (with reference to figure 4) to traffic behavior in S53:
S5311, from the segmentation that described merging obtains, obtaining traffic behavior is the segmentation of blocking up;
S5312, if the number that the traffic behavior got is the segmentation of blocking up equals described segmentation number threshold value, then to described traffic behavior be the segmentation of blocking up carry out the description of single-point traffic behavior or head and the tail traffic behavior describe;
S5313, if the traffic behavior got is the segmentation number of blocking up be greater than described segmentation number threshold value, the length of important node and segmentation then whether is comprised according to segmentation, selecting the segmentation of described segmentation number threshold value, is that the description of single-point traffic behavior is carried out in the segmentation of blocking up or head and the tail traffic behavior describes to the traffic behavior selected;
S5314, if not get traffic behavior be the segmentation of blocking up or the traffic behavior got is that the number of the segmentation of blocking up is less than preset segmentation number threshold value, then from the segmentation that described merging obtains, obtains the segmentation that traffic behavior is jogging;
S5315, if the number of segmentation that the traffic behavior got is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is equal to or less than described segmentation number threshold value, be then the segmentation of blocking up or walking or drive slowly to the traffic behavior selected, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior;
S5316, if the number of segmentation that the traffic behavior got is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is greater than described segmentation number threshold value, whether the segmentation being then jogging according to the traffic behavior got comprises important node and section length, from the described traffic behavior got be jogging segmentation obtain N number of segmentation, described N equals described segmentation number threshold value and deducts the number that the traffic behavior got is the segmentation of jogging, and to the segmentation that the traffic behavior obtained out is jogging or blocks up, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior.
In actual applications, also can according to weighted value to being that jogging and the segmentation of blocking up are carried out head and the tail traffic behavior and described to traffic behavior in S53, now single-point traffic behavior describes or the step of head and the tail traffic behavior description can comprise S5321-S5323 (with reference to figure 5):
S5321, obtains the weights of reference position and the weights in final position of segmentation, weighting value mean value after two weights are added;
S5322, if the weights of the node of section association are all less than described weights average in described segmentation, then generates the head and the tail traffic behavior description that traffic behavior is the segmentation of blocking up or walking or drive slowly;
If traffic behavior be in jogging and the segmentation of blocking up each section there is not transport node or POI and the state of this segmentation for not describe, the second preset ratio of this segmentation total length is then searched in opposite directions from the initial LocationCode of this segmentation and end LocationCode, find the start-stop position that the location point of maximum weight describes as these segmentation head and the tail respectively, the head and the tail generating this segmentation describe, and the state of this segmentation are set to and describe.
S5323, if the weights of at least one node of section association are greater than described weights average in described segmentation, is then greater than the node of described weights average from weights, selects a node of maximum weight, describes for described node generates single-point traffic behavior.
If traffic behavior is the section in jogging and the segmentation of blocking up there is transport node/POI and the state of this segmentation for not describe, be then that transport node that in this segmentation, weights are the highest/POI generates single-point traffic behavior and describes, and the state of described segmentation is set to describes.
If traffic behavior be in jogging and the segmentation of blocking up each segmentation there is not transport node or POI and the state of this segmentation for not describe, second preset ratio (such as 20%) of this segmentation total length is then searched in opposite directions from the initial LocationCode of this segmentation and end LocationCode, find the start-stop position that the location point of maximum weight describes as these segmentation head and the tail respectively, the head and the tail generating this segmentation describe, and the state of this segmentation are set to and describe.
Below single-point traffic behavior is described and describe in detail respectively with the description of head and the tail traffic behavior.
Head and the tail traffic behavior describes and is applicable to all segmentations, and the weights that single-point describes are higher, therefore generally can re-use head and the tail traffic behavior to the segmentation cannot carrying out the description of single-point traffic behavior and describe.
Wherein, head and the tail traffic behavior describes and can be: [from (reference position) to (end position)] [direction] [traffic behavior].
The forward segmentation described when head and the tail traffic behavior and reverse segmentation can the inverse times, preferably also comprise describing the head and the tail traffic behavior of described forward segmentation and reverse segmentation merging, and describe to simplify head and the tail traffic behavior.
Head and the tail traffic behavior after merging describes:
[from (reference position) to (end position)] [direction] [traffic behavior] [oppositely] [traffic behavior].
When forward and reverse traffic behavior is identical, can also merges and be expressed as:
[from (reference position) to (end position)] [two-way] [traffic behavior]
The weights of whole description type can higher than the weights describing type in detail, and traffic behavior is that the weights blocked up can higher than the weights of jogging, and the weights of jogging can higher than unimpeded weights, and the weights of the longer correspondence of length of subsection compression are higher.For every bar whole description, according to it, weights that weights corresponding to type and weights corresponding to traffic behavior can obtain this whole description are described; Every bar is described in detail, describes according to it weights that weights corresponding to weights corresponding to type, traffic behavior and weights corresponding to its length can obtain this detailed description.
The detailed description of each segmentation in line unit can be safeguarded by segment identification-description character string-weight table, is convenient to follow-up screening.
Because each associated nodes also has preset weights, (weights of each POI can be different according to significance level, the weights of transport node also can be different according to significance level, such as, wherein the initial weight of each general position point can be set to 0, the weights of general transport node and POI can be set to 400, the weights at crossing can be set to 200 etc.), LocationCode then in traffic behavior is jogging and the segmentation of blocking up there is transport node/POI and the state of this segmentation for not describe, be then that transport node/POI that in this segmentation, weights are the highest generates single-point description, and the state of described segmentation is set to describes.
A single-point traffic behavior describes and can be: [transport node/POI] [direction] [traffic behavior]
Whether described can be managed by segmentation-description state table for segmentation, to have described and the segmentation that do not describe can be represented by different identifiers, also can be that the segmentation described describes in state at it and has mark, what do not describe mark; Implementation also has a lot, does not enumerate herein.
Multiple transport node/POI may be there is in a segmentation, if a segmentation was described by transport node/POI single-point that weights on it are the highest, for brief consideration, preferably no longer increase single-point traffic behavior for other transport nodes in this segmentation/POI and describe.
Preferably, can also comprise:
When reversible with reverse segmentation, the described forward segmentation of forward segmentation at a certain transport node/POI place is identical with the traffic behavior of oppositely segmentation and when all being described by described transport node/POI, the single-point traffic behavior description of described forward segmentation and reverse segmentation is merged, to simplify the content that single-point describes.Traffic behavior after merging describes: [transport node/POI] [two-way] [traffic behavior].
S6, the traffic behavior whole description of the line unit comprehensively got and/or the traffic behavior of line unit are described in detail, obtain traffic behavior comprehensive description, and return described traffic behavior comprehensive description to described client.
The number be added together due to the whole description in each line unit and detailed description is more, if be directly supplied to user like this, user is beyond affordability, therefore, also needs to screen whole description and detailed description.
To the whole description of each line unit that will describe and/or describe in detail and carry out screening according to respective weights and obtain comprehensive description and can comprise (see Fig. 6) in S6:
S61, if corresponding two traffic behaviors of described line unit describe, then as described line unit, the traffic behavior selecting traffic behavior poor describes treats that comprehensive traffic behavior describes; If the corresponding traffic behavior of described line unit describes, then select described traffic behavior to describe and treat that comprehensive traffic behavior describes as described line unit; It is that traffic behavior whole description or traffic behavior are described in detail that described traffic behavior describes;
Wherein, step S61 needs the number described according to the traffic behavior that line unit is corresponding to determine to treat that comprehensive traffic behavior describes.Concrete, if corresponding two traffic behaviors of described line unit describe, then select a traffic behavior poor in these two traffic behaviors to describe and treat that comprehensive traffic behavior describes as described line unit; If the corresponding traffic behavior of described line unit describes, then directly select this traffic behavior to describe and treat that comprehensive traffic behavior describes as described line unit; It is that traffic behavior whole description or traffic behavior are described in detail that described traffic behavior describes.
S62, according to road weight and the length of each line unit, treating that comprehensive traffic behavior whole description and/or traffic behavior are described in detail and sort each line unit described;
If two line units treat that the weights that comprehensive traffic behavior is corresponding are identical, then compare the weights of these two line units; If also identical, the just mapping length of more described two line units, the longer sequence of length is more forward.
Also can be the order of the line unit further considering route process, such as 4301 → 5320 → 6410 → 4301, then the sequence number of line unit 4301 be 1 (repeat through section only remember the sequence number of first time process), the sequence number of 5320 be 2,6410 sequence number be 3.Then when the weights corresponding until comprehensive traffic behavior of two line units are identical, can the sequence number of alternative route unit again, the less sequence of sequence number is more forward, has not just needed the weights of alternative route unit again and has mapped length.
S63, according to traffic behavior from blocking up, walk or drive slowly, the unimpeded order to the unknown, from treating that comprehensive traffic behavior whole description and/or traffic behavior are described in detail and obtain the traffic behavior comprehensive description that a preset number traffic behavior whole description and/or traffic behavior describe the described line unit of formation in detail after sequence.
This step can be carried out screening to the whole description in the line unit after sequence and/or detailed description according to respective weights when realizing and be formed comprehensive description, the first preset number is no more than to make total description number of each line unit in comprehensive description, and traffic behavior is the detailed description number of blocking up is no more than the first preset number, traffic behavior is that the detailed description number of jogging is no more than the second preset number, and traffic behavior is that unimpeded detailed description number is no more than the 3rd preset number.
Or, also can carry out screening to the whole description in described line unit and/or detailed description according to respective weights and form comprehensive description, the first preset number is no more than to make the total description number in comprehensive description, and traffic behavior is the detailed description number of blocking up is no more than the first preset number, traffic behavior is that the detailed description number of jogging is no more than the second preset number, and traffic behavior is that unimpeded detailed description number is no more than the 3rd preset number.
Above-mentioned screening can further include: calculate the number of words that traffic behavior describes in real time, when the number of words that traffic behavior describes reaches default number of words, describes the traffic behavior of described default number of words as comprehensive description.
So far, the description to road traffic state is completed.
The describing method of the traffic behavior of the present embodiment, by first carrying out whole description and/or detailed description to each line unit, again whole description and detailed description are screened, thus the traffic behavior obtaining each line unit describes, can provide more for user, more fully transport information, be convenient to user holds each line unit traffic behavior from overall and details, carry out trip planning.
Embodiment two
Present embodiments provide a kind of tracing device of traffic behavior, see Fig. 7, described device specifically can comprise:
Memory module 70, for storing preset road and the corresponding relation of associated nodes, described associated nodes comprise in the crossing of described road, transport node, interest node POI one or several;
Receiver module 71, for receiving the traffic behavior inquiry request of client;
Acquisition module 72, for obtaining line unit corresponding to described traffic behavior inquiry request, a described line unit represents a road, and at least one oriented section sequence pair that each described line unit comprises should represent at least one section that described road comprises;
First judge module 73, the oriented section sequence pair for comprising according to described line unit answers the traffic behavior in section, judges whether to carry out traffic behavior whole description to described line unit;
Shown in figure 8, described first judge module 73 specifically can comprise:
First obtains submodule 801, for obtaining the length in the section that traffic behavior is identical in oriented section sequence that described line unit comprises;
Calculating sub module 802, for calculate the identical section of described traffic behavior length and with all road section length in the sequence of described oriented section and ratio, judge whether described ratio is more than or equal to comprehensive description threshold value.
First generation module 74, for when the result of described judge module is for being, for described line unit generates traffic behavior whole description;
Second generation module 75, for when the result of described judge module is no, the traffic behavior generating described line unit is described in detail;
Shown in figure 9, the second generation module 75 specifically can comprise:
Adjustment submodule 751, for length accounting in the oriented section sequence that comprised by described line unit lower than the traffic behavior in the section of length accounting threshold value, adjusts according to the traffic behavior of its adjacent segments;
With reference to shown in Figure 10, described adjustment submodule 751 specifically can comprise:
First judges submodule 7511, for length accounting in described directed line segment sequence lower than the section of accounting threshold value, judge whether it has adjacent segments;
First arranges submodule 7512, if for not having adjacent segments, then described length accounting is set to the unknown lower than the traffic behavior in the section of accounting threshold value;
Second arranges submodule 7513, if for there being an adjacent segments, then described length accounting is set to the traffic behavior of described adjacent segments lower than the traffic behavior in the section of accounting threshold value;
3rd arranges submodule 7514, if for there being two adjacent segments, and the traffic behavior of two adjacent segments is identical, then described length accounting is set to the traffic behavior in these two sections lower than the traffic behavior in the section of accounting threshold value;
4th arranges submodule 7515, if for there being two adjacent segments, and the traffic behavior of two adjacent segments is not identical, then do not revise the traffic behavior of described length accounting lower than the section of accounting threshold value.
Merge submodule 752, for by adjacent in the sequence of described oriented section and the subsections mergence that traffic behavior is identical is a segmentation;
First descriptor module 753, for described merging is obtained and traffic behavior is the segmentation of blocking up or walking or drive slowly, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior, described single-point traffic behavior describes and/or head and the tail traffic behavior describes the traffic behavior detailed description forming described line unit.
With reference to shown in Figure 11, described first descriptor module 753 specifically can comprise:
Obtain submodule 75311, in the segmentation that obtains from described merging, obtaining traffic behavior is the segmentation of blocking up;
Second descriptor module 75312, if the number that the traffic behavior for getting is the segmentation of blocking up equals described segmentation number threshold value, then to described traffic behavior be the segmentation of blocking up carry out the description of single-point traffic behavior or head and the tail traffic behavior describe;
3rd descriptor module 75313, if the traffic behavior for getting is the segmentation number of blocking up be greater than described segmentation number threshold value, the length of important node and segmentation then whether is comprised according to segmentation, selecting the segmentation of described segmentation number threshold value, is that the description of single-point traffic behavior is carried out in the segmentation of blocking up or head and the tail traffic behavior describes to the traffic behavior selected;
4th descriptor module 75314, if be that the number of the segmentation of blocking up is less than preset segmentation number threshold value for not get traffic behavior be the segmentation of blocking up or the traffic behavior got, then from the segmentation that described merging obtains, obtain the segmentation that traffic behavior is jogging;
5th descriptor module 75315, if the number of segmentation that the traffic behavior for getting is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is equal to or less than described segmentation number threshold value, be then the segmentation of blocking up or walking or drive slowly to the traffic behavior selected, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior;
6th descriptor module 75316, if the number of segmentation that the traffic behavior for getting is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is greater than described segmentation number threshold value, whether the segmentation being then jogging according to the traffic behavior got comprises important node and section length, from the described traffic behavior got be jogging segmentation obtain N number of segmentation, described N equals described segmentation number threshold value and deducts the number that the traffic behavior got is the segmentation of jogging, and to the segmentation that the traffic behavior obtained out is jogging or blocks up, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior.
With reference to shown in Figure 12, described first descriptor module 753 specifically can comprise:
Value submodule 75321, for the weights of the weights and final position that obtain the reference position of segmentation, weighting value mean values after two weights are added;
Generate submodule 75322, if be all less than described weights average for the weights of the node of section association in described segmentation, then generate the head and the tail traffic behavior description that traffic behavior is the segmentation of blocking up or walking or drive slowly;
Chooser module 75323, if be greater than described weights average for the weights of at least one node of section association in described segmentation, then be greater than the node of described weights average from weights, select a node of maximum weight, describe for described node generates single-point traffic behavior.
Integration module 76, the traffic behavior for the traffic behavior whole description of line unit that comprehensively gets and/or line unit is described in detail, obtains traffic behavior comprehensive description;
With reference to shown in Figure 13, described integration module 76 specifically can comprise:
Determine submodule 761, if describe for corresponding two traffic behaviors of described line unit, then as described line unit, the traffic behavior selecting traffic behavior poor describes treats that comprehensive traffic behavior describes; If the corresponding traffic behavior of described line unit describes, then select described traffic behavior to describe and treat that comprehensive traffic behavior describes as described line unit; It is that traffic behavior whole description or traffic behavior are described in detail that described traffic behavior describes;
Sorting sub-module 762, for according to the road weight of each line unit and length, treating that comprehensive traffic behavior whole description and/or traffic behavior are described in detail and sort each line unit described;
Comprehensive submodule 763, for according to traffic behavior from blocking up, walk or drive slowly, the unimpeded order to the unknown, comprehensive traffic behavior whole description and/or traffic behavior detailed description, the traffic behavior comprehensive description of a preset number traffic behavior whole description and/or the described line unit of traffic behavior detailed description formation is obtained from treating after sequence.
Return module 77, for returning described traffic behavior comprehensive description to described client.
Described device can also comprise in actual applications:
Second judge module, whether the traffic behavior during the traffic behavior for judging in the forward traffic behavior whole description of described line unit describes with Reverse Commuting stated integer is identical, if identical, then the forward and reverse traffic behavior whole description of described line unit is combined into a traffic behavior whole description.
Due to the tracing device of the traffic behavior of the present embodiment, by first carrying out whole description and/or detailed description to each line unit, again whole description and detailed description are screened, thus the traffic behavior obtaining each line unit describes, can provide more for user, more fully transport information, be convenient to user holds each line unit traffic behavior from overall and details, carry out trip planning.
Because embodiment two is more with the Similar content of embodiment one, what therefore describe is relatively simpler, and relevant part refers to embodiment one.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operational zone, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (13)

1. a describing method for traffic behavior, is characterized in that, described method comprises:
Receive the traffic behavior inquiry request of client;
Obtain the line unit that described traffic behavior inquiry request is corresponding, a described line unit represents a road, and the oriented section sequence pair that each described line unit comprises should represent the section forming described road;
Answer the traffic behavior in section according to described oriented section sequence pair, judge whether to carry out traffic behavior whole description to described line unit; Wherein, the described oriented section sequence pair comprised according to described line unit answers the traffic behavior in section, judges whether that carrying out traffic behavior whole description to described line unit specifically comprises: the length obtaining the section that traffic behavior is identical in the oriented section sequence that described line unit comprises; Calculate the identical section of described traffic behavior length and with all road section length in the sequence of described oriented section and ratio, judge whether described ratio is more than or equal to comprehensive description threshold value;
If so, be then that described line unit generates traffic behavior whole description, if not, then the traffic behavior generating described line unit is described in detail;
The traffic behavior whole description of the line unit comprehensively got and/or the traffic behavior of line unit are described in detail, obtain traffic behavior comprehensive description;
Return described traffic behavior comprehensive description to described client.
2. the method for claim 1, it is characterized in that, if described line unit comprises a forward section sequence and a reverse section sequence, and be that described line unit generates a forward traffic behavior whole description and a Reverse Commuting stated integer describes, then described method comprises further:
Whether the traffic behavior during the traffic behavior judging in the forward traffic behavior whole description of described line unit describes with Reverse Commuting stated integer is identical, if identical, then the forward and reverse traffic behavior whole description of described line unit is combined into a traffic behavior whole description.
3. the method for claim 1, is characterized in that, the traffic behavior detailed description generating described line unit specifically comprises:
In the oriented section sequence comprised by described line unit, length accounting is lower than the traffic behavior in the section of length accounting threshold value, adjusts according to the traffic behavior of its adjacent segments;
By adjacent in the sequence of described oriented section and the subsections mergence that traffic behavior is identical is a segmentation;
To described merging obtain and traffic behavior is the segmentation of blocking up or walking or drive slowly, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior, described single-point traffic behavior describes and/or head and the tail traffic behavior describes the traffic behavior detailed description forming described line unit.
4. method as claimed in claim 3, it is characterized in that, in the oriented section sequence comprised by described line unit, length accounting is lower than the traffic behavior in the section of length accounting threshold value, carries out adjusting specifically comprising according to the traffic behavior of its adjacent segments:
To length accounting in described directed line segment sequence lower than the section of accounting threshold value, judge whether it has adjacent segments;
If there is no adjacent segments, then described length accounting is set to the unknown lower than the traffic behavior in the section of accounting threshold value;
If there is an adjacent segments, then described length accounting is set to the traffic behavior of described adjacent segments lower than the traffic behavior in the section of accounting threshold value;
If have two adjacent segments, and the traffic behavior of two adjacent segments is identical, then described length accounting is set to the traffic behavior in these two sections lower than the traffic behavior in the section of accounting threshold value;
If have two adjacent segments, and the traffic behavior of two adjacent segments is not identical, then do not revise the traffic behavior of described length accounting lower than the section of accounting threshold value.
5. method as claimed in claim 3, is characterized in that, to described merging obtain and traffic behavior is the segmentation of blocking up or walking or drive slowly, carry out the description of single-point traffic behavior or head and the tail traffic behavior and describe and specifically comprise:
From the segmentation that described merging obtains, obtaining traffic behavior is the segmentation of blocking up;
Equal described segmentation number threshold value if the traffic behavior got is the number of the segmentation of blocking up, then to described traffic behavior be the segmentation of blocking up carry out the description of single-point traffic behavior or head and the tail traffic behavior describe;
If the traffic behavior got is the segmentation number of blocking up be greater than described segmentation number threshold value, the length of important node and segmentation then whether is comprised according to segmentation, selecting the segmentation of described segmentation number threshold value, is that the description of single-point traffic behavior is carried out in the segmentation of blocking up or head and the tail traffic behavior describes to the traffic behavior selected;
If not get traffic behavior be the segmentation of blocking up or the traffic behavior got is that the number of the segmentation of blocking up is less than preset segmentation number threshold value, then from the segmentation that described merging obtains, obtain the segmentation that traffic behavior is jogging;
If the number of segmentation that the traffic behavior got is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is equal to or less than described segmentation number threshold value, be then the segmentation of blocking up or walking or drive slowly to the traffic behavior selected, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior;
If the number of segmentation that the traffic behavior got is jogging adds that the traffic behavior got is that the number of the segmentation of blocking up is greater than described segmentation number threshold value, whether the segmentation being then jogging according to the traffic behavior got comprises important node and section length, from the described traffic behavior got be jogging segmentation obtain N number of segmentation, described N equals described segmentation number threshold value and deducts the number that the traffic behavior got is the segmentation of jogging, and to the segmentation that the traffic behavior obtained out is jogging or blocks up, carry out the description of single-point traffic behavior or the description of head and the tail traffic behavior.
6. method as claimed in claim 3, it is characterized in that, described is the segmentation of blocking up or walking or drive slowly to traffic behavior, carries out the description of single-point traffic behavior or head and the tail traffic behavior and describes and comprise:
Obtain the weights of reference position and the weights in final position of segmentation, weighting value mean value after two weights are added;
If the weights of the node of section association are all less than described weights average in described segmentation, then generate the head and the tail traffic behavior description that traffic behavior is the segmentation of blocking up or walking or drive slowly;
If the weights of at least one node of section association are greater than described weights average in described segmentation, be then greater than the node of described weights average from weights, select a node of maximum weight, describe for described node generates single-point traffic behavior.
7. the method for claim 1, is characterized in that, the traffic behavior whole description of the line unit comprehensively got and/or the traffic behavior of line unit are described in detail, obtain traffic behavior comprehensive description and specifically comprise:
If corresponding two traffic behaviors of described line unit describe, then as described line unit, the traffic behavior selecting traffic behavior poor describes treats that comprehensive traffic behavior describes; If the corresponding traffic behavior of described line unit describes, then select described traffic behavior to describe and treat that comprehensive traffic behavior describes as described line unit; It is that traffic behavior whole description or traffic behavior are described in detail that described traffic behavior describes;
According to road weight and the length of each line unit, treating that comprehensive traffic behavior whole description and/or traffic behavior are described in detail and sort each line unit described;
According to traffic behavior from blocking up, walk or drive slowly, the unimpeded order to the unknown, comprehensive traffic behavior whole description and/or traffic behavior detailed description, the traffic behavior comprehensive description of a preset number traffic behavior whole description and/or the described line unit of traffic behavior detailed description formation is obtained from treating after sequence.
8. the method for claim 1, is characterized in that, if described traffic behavior inquiry request is urban traffic status inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding comprises:
Obtain the city that described urban traffic status inquiry request is corresponding;
Utilize the road weighted value of all line units in described city, obtain the line unit that road weighted value is greater than weight first threshold.
9. the method for claim 1, is characterized in that, if described inquiry request is regional traffic state inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding comprises:
Obtain the region that described regional traffic state inquiry request is corresponding;
Utilize the road weighted value of all line units in described region, obtain the line unit that road weighted value is greater than weight Second Threshold.
10. the method for claim 1, is characterized in that, if described inquiry request is road traffic state inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding comprises:
Obtain the line unit that the road of described road traffic inquiry request institute requesting query is corresponding.
11. the method for claim 1, is characterized in that, if described inquiry request is route traffic behavior inquiry request, then the line unit that described acquisition described traffic behavior inquiry request is corresponding specifically comprises:
The start position carried according to described route traffic behavior inquiry request and final position, obtain the line unit of route process.
The tracing device of 12. 1 kinds of traffic behaviors, is characterized in that, comprising:
Memory module, for storing preset road and the corresponding relation of associated nodes, described associated nodes comprise in the crossing of described road, transport node, interest node POI one or several;
Receiver module, for receiving the traffic behavior inquiry request of client;
Acquisition module, for obtaining line unit corresponding to described traffic behavior inquiry request, a described line unit represents a road, and at least one oriented section sequence pair that each described line unit comprises should represent at least one section that described road comprises;
First judge module, the oriented section sequence pair for comprising according to described line unit answers the traffic behavior in section, judges whether to carry out traffic behavior whole description to described line unit; Described first judge module specifically comprises: obtain submodule, for obtaining the length in the section that traffic behavior is identical in oriented section sequence that described line unit comprises; Calculating sub module, for calculate the identical section of described traffic behavior length and with all road section length in the sequence of described oriented section and ratio, judge whether described ratio is more than or equal to comprehensive description threshold value;
First generation module, for when the result of described judge module is for being, for described line unit generates traffic behavior whole description;
Second generation module, for when the result of described judge module is no, the traffic behavior generating described line unit is described in detail;
Integration module, the traffic behavior for the traffic behavior whole description of line unit that comprehensively gets and/or line unit is described in detail, obtains traffic behavior comprehensive description;
Return module, for returning described traffic behavior comprehensive description to described client.
13. devices as claimed in claim 12, it is characterized in that, described device also comprises:
Second judge module, whether the traffic behavior during the traffic behavior for judging in the forward traffic behavior whole description of described line unit describes with Reverse Commuting stated integer is identical, if identical, then the forward and reverse traffic behavior whole description of described line unit is combined into a traffic behavior whole description.
CN201110448762.4A 2011-12-28 2011-12-28 Description method and device for traffic state Active CN103186979B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110448762.4A CN103186979B (en) 2011-12-28 2011-12-28 Description method and device for traffic state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110448762.4A CN103186979B (en) 2011-12-28 2011-12-28 Description method and device for traffic state

Publications (2)

Publication Number Publication Date
CN103186979A CN103186979A (en) 2013-07-03
CN103186979B true CN103186979B (en) 2015-06-24

Family

ID=48678133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110448762.4A Active CN103186979B (en) 2011-12-28 2011-12-28 Description method and device for traffic state

Country Status (1)

Country Link
CN (1) CN103186979B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107134130A (en) * 2016-02-26 2017-09-05 高德信息技术有限公司 A kind of traffic guidance drawing generating method and device
CN109841056A (en) * 2017-11-29 2019-06-04 高德软件有限公司 A kind of method and device judging section congestion, region congestion

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3873402B2 (en) * 1997-10-15 2007-01-24 三菱電機株式会社 Connected road information generator
KR20090038582A (en) * 2007-10-16 2009-04-21 엘지전자 주식회사 Method of providing a detail information using a multimedia based traffic and travel information message and terminal thereof
CN101470947A (en) * 2007-12-25 2009-07-01 上海爱国者数码科技有限公司 Information acquisition terminal capable of displaying traffic information
CN101783070A (en) * 2010-01-11 2010-07-21 北京世纪高通科技有限公司 Road condition updating method and device
CN102073744A (en) * 2011-02-15 2011-05-25 世纪战斧节能环保技术(北京)有限公司 Method and system for processing urban traffic map data
CN102087789A (en) * 2009-12-02 2011-06-08 上海济祥智能交通科技有限公司 System and method for discriminating traffic conditions based on traffic conditions parameter
CN102110128A (en) * 2009-12-28 2011-06-29 日电(中国)有限公司 Traffic information conversion method and device based on traffic information element knowledge base

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3873402B2 (en) * 1997-10-15 2007-01-24 三菱電機株式会社 Connected road information generator
KR20090038582A (en) * 2007-10-16 2009-04-21 엘지전자 주식회사 Method of providing a detail information using a multimedia based traffic and travel information message and terminal thereof
CN101470947A (en) * 2007-12-25 2009-07-01 上海爱国者数码科技有限公司 Information acquisition terminal capable of displaying traffic information
CN102087789A (en) * 2009-12-02 2011-06-08 上海济祥智能交通科技有限公司 System and method for discriminating traffic conditions based on traffic conditions parameter
CN102110128A (en) * 2009-12-28 2011-06-29 日电(中国)有限公司 Traffic information conversion method and device based on traffic information element knowledge base
CN101783070A (en) * 2010-01-11 2010-07-21 北京世纪高通科技有限公司 Road condition updating method and device
CN102073744A (en) * 2011-02-15 2011-05-25 世纪战斧节能环保技术(北京)有限公司 Method and system for processing urban traffic map data

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
郑安文,等.城市交通状态图形化描述与交通供求关系类型分析.《中南公路工程》.2004,第29卷(第4期),第42-46页. *
钟石泉,等.交通诱导系统路网状态描述方法及仿真研究.《系统工程学报》.2009,第24卷(第1期),第25-31、38页. *

Also Published As

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

Similar Documents

Publication Publication Date Title
CN1967523B (en) Inquiry system and method of traffic information
CN110111575A (en) A kind of Forecast of Urban Traffic Flow network analysis method based on Complex Networks Theory
CN1967524B (en) Collecting and inquiry system of traffic information and method thereof
CN110111574B (en) Urban traffic imbalance evaluation method based on flow tree analysis
CN106327865A (en) Urban traffic reliability index based on seepage analysis, and implementation method for urban traffic reliability index
CN107730099A (en) A kind of space planning method for establishing model
CN106373384B (en) Outlying district regular bus circuit Real-time Generation
Tan et al. New path size formulation in path size logit for route choice modeling in public transport networks
CN109859480A (en) Congested link modeling and appraisal procedure based on complex network
CN108882152B (en) User privacy protection method based on path selection reporting
CN104636457B (en) A kind of method and device of location finding cognition
CN111695225A (en) Bus composite complex network model and bus scheduling optimization method thereof
CN101944096A (en) Method and system for providing bus routes
CN103186979B (en) Description method and device for traffic state
Lee et al. The attributes of residence/workplace areas and transit commuting
CN101425238B (en) Traffic geographical information system generating method
Kraaier et al. -The random waypoint city model- user distribution in a street-based mobility model for wireless network simulations
Rui et al. Urban growth modeling with road network expansion and land use development
CN107169080A (en) A kind of geospatial analysis system being combined based on GIS and spatial database
CN202650258U (en) Traffic jam information issuing system
CN110245774A (en) A method of regular service route optimization is carried out according to employee's home address
Kurniadhini et al. The suitability level of bike-sharing station in Yogyakarta using SMCA technique
CN104794301A (en) Method for exploring influence factors for running time reliability of bus
CN115620165B (en) Method, device, equipment and medium for evaluating slow-moving system facilities of urban built-up area
CN114915940B (en) Vehicle-road communication link matching method, system, equipment and medium

Legal Events

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

Effective date of registration: 20200509

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

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

Address before: 100080, No. 8, No., Changsheng Road, Changping District science and Technology Park, Beijing, China. 1-5

Patentee before: AUTONAVI SOFTWARE Co.,Ltd.