CN108629969A - A kind of traffic information collecting method and device - Google Patents
A kind of traffic information collecting method and device Download PDFInfo
- Publication number
- CN108629969A CN108629969A CN201810273773.5A CN201810273773A CN108629969A CN 108629969 A CN108629969 A CN 108629969A CN 201810273773 A CN201810273773 A CN 201810273773A CN 108629969 A CN108629969 A CN 108629969A
- Authority
- CN
- China
- Prior art keywords
- traffic information
- floating car
- speed
- traffic
- data packet
- 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.)
- Pending
Links
Abstract
The embodiment of the invention discloses a kind of traffic information collecting method and device, Floating Car persistently receives traffic information according to fixed frequency, and method includes:Obtain the current driving speed of Floating Car;When judging that the travel speed of current driving speed and the preceding Floating Car once obtained differs, then from the correspondence of preset travel speed and traffic information collection frequency, traffic information collection frequency corresponding with current driving speed is obtained;According to the traffic information collection frequency of acquisition, in the traffic information that Floating Car receives since when obtaining current driving speed, traffic information to be uploaded is acquired.It can ensure that traffic information collection point is evenly distributed on road to a certain extent, server end can also be enable to be analyzed to obtain accurate traffic according to the traffic information received in the case of upload data volume relatively small number of traffic information.
Description
The application be on December 31st, 2012 applying date, application No. is:201210592866.7 entitled:One
The divisional application of kind traffic information collecting method and device.
Technical field
The present embodiments relate to traffic information collection fields, more particularly, to a kind of traffic information collecting method and dress
It sets.
Background technology
Floating Car (FCD, Float Car Data) technology, also referred to as probe vehicles (Probe Car) technology, are international intelligence
One of the advanced technology means for the acquisition Traffic Information that energy traffic system (ITS) uses.Its basic principle is:Floating Car,
The automobile of traffic information collection terminal is namely loaded, acquisition calculates the traffic information of road traffic state, including:Floating Car institute
At the time of locating the latitude and longitude information of position, Floating Car travel speed in the position, generate the traffic information etc.;In floating garage
During sailing, collected traffic information is passed through into wireless data communication network by Floating Car i.e. traffic information collection terminal
(such as GPRS network) is uploaded to the server ends such as information processing centre.
In the prior art, traffic information collection terminal is integrated with that (aforementioned traffic information can be for receiving GPS data
GPS data) GPS chip, under normal conditions GPS chip can receive within one minute 60 GPS datas, in this way acquisition traffic letter
During breath, since the amount of GPS data received is very big, and the bandwidth of wireless data communication system is limited, therefore the prior art
All GPS datas that will not usually GPS chip be received all are uploaded to information processing centre, but choose some of carry out
It uploads, it is common practice to, according to fixed frequency acquisition (such as every tens seconds or a few minutes), from the GPS data received
Middle collecting part GPS data, then the GPS data collected is sent to information processing centre, to reduce the transmission of GPS data
Amount.For example, in the case where GPS chip receives a GPS data in one second, if the traffic information of traffic information collection terminal
Upload frequencies are one minute primary, and frequency acquisition is ten seconds primary, then traffic information collection terminal only needs to upload 6 in one minute
A GPS data considerably reduces the transmission quantity of GPS data to information processing centre.
But inventor has found in the implementation of the present invention, when floating vehicle travelling speed is slow, GPS chip exists
The distance of each GPS point received in a period of time is very close, and corresponding collected GPS point is also just very close, if making
The acquisition of traffic information is carried out with fixed frequency, it is easy to the traffic information redundancy for being uploaded to server-side is caused, it is, uploading
To in the traffic information of server-side, there are multiple traffic informations that GPS point essentially coincides;When Floating Car is run at high speed, GPS cores
The distance between each GPS data that piece receives is very remote, be easy to cause the loss of traffic information, cannot be according to collected
Traffic information is accurately obtained the practical traffic information of road.Therefore, the prior art cannot take into account traffic information and upload data
The integrality of amount and traffic information.As it can be seen that there is an urgent need for a kind of new traffic information collection modes to solve the above problems for the prior art.
Invention content
In view of this, the purpose of the embodiment of the present invention is to provide the method and device of traffic information collection, it is existing to solve
The problem of some section traffic information redundancies present in the mode of acquisition traffic information, some section traffic informations lack.
A kind of traffic information collecting method, Floating Car persistently receive traffic information according to fixed frequency, the method includes:
Obtain the current driving speed of Floating Car;
Judge whether the current driving speed is identical as the travel speed of the preceding Floating Car once obtained;
If it is different, then from the correspondence of preset travel speed and traffic information collection frequency, acquisition and current line
The corresponding traffic information collection frequency of speed is sailed, and,
According to the traffic information collection frequency of acquisition, Floating Car receives since when obtaining current driving speed
In traffic information, traffic information to be uploaded is acquired, until the travel speed of Floating Car in the traffic information collected and institute
When stating current driving speed and differing, terminate the flow according to the traffic information collection frequency collection traffic information, and repeat
Abovementioned steps.
A kind of traffic information collecting apparatus, is loaded in Floating Car, and the Floating Car persistently receives friendship according to fixed frequency
Communication breath, described device include:
Speed acquiring unit, the current driving speed for obtaining Floating Car, and trigger speed judgment unit;
Speed judgment unit, for judging that the travel speed of the current driving speed and the preceding Floating Car once obtained is
It is no identical, if it is different, then triggering frequency acquisition unit;
Frequency acquisition unit, for from the correspondence of preset travel speed and traffic information collection frequency, obtaining
Traffic information collection frequency corresponding with current driving speed, and trigger traffic information collection unit;
Traffic information collection unit, the traffic information collection frequency for being obtained according to the frequency acquisition unit,
In the traffic information that Floating Car receives since when the speed acquiring unit obtains current driving speed, acquire to be uploaded
Traffic information, when the travel speed of Floating Car is differed with the current driving speed in the traffic information collected,
Trigger the speed acquiring unit.
The embodiment of the present invention changes in the prior art in such a way that fixed frequency acquires traffic information, but according to floating
The instantaneous velocity of motor-car adjusts traffic information collection frequency in time, i.e., traffic information collection frequency is improved when speed is fast,
Traffic information collection frequency is reduced when speed is slow, can ensure that traffic information collection point is to be evenly distributed in a certain extent
On road, server end can also be enable in the case where uploading the relatively small number of traffic information of data volume according to receiving
Traffic information is analyzed to obtain accurate traffic, to solve technical problem of the existing technology.
Description of the drawings
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 technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
Obtain other attached drawings according to these attached drawings.
Fig. 1 is one of the method flow diagram that traffic information is acquired in the embodiment of the present invention;
Fig. 2 is two of the method flow diagram of acquisition traffic information in the embodiment of the present invention;
Fig. 3 is one of the method flow diagram that traffic information is uploaded in the embodiment of the present invention;
Fig. 4 is the two of the method flow diagram that traffic information is uploaded in the embodiment of the present invention;
Fig. 5 is the method flow diagram that data packet is retransmitted in the embodiment of the present invention;
Fig. 6 is the method flow diagram that data packet is reissued in the embodiment of the present invention;
Fig. 7 is one of the structural schematic diagram of traffic information collecting apparatus in the embodiment of the present invention;
Fig. 8 is the second structural representation of traffic information collecting apparatus in the embodiment of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
In order to fully understand the present invention, numerous concrete details are referred in the following detailed description, but this field skill
Art personnel are it should be understood that the present invention may not need these details and realize.In other embodiments, it is not described in detail known
Method, process, component and circuit, in order to avoid it is fuzzy to undesirably result in embodiment.
In the present embodiment, traffic information includes but not limited to GPS data, and a traffic information can be a GPS data.
One GPS data includes but not limited to that the longitude and latitude of GPS point, Floating Car receive the GPS in travel speed, the Floating Car of GPS point
The information such as (follow-up to be known as the acquisition moment) at the time of the GPS data of point.GPS chip is mounted in Floating Car, it can be with fixed frequency
Rate (fixed frequency is 1 second, i.e., per second to receive a GPS data) receives the GPS data for each GPS point that GPS satellite is sent.
Traffic information collecting method provided in this embodiment is mainly used in the traffic information collection being loaded in Floating Car
Terminal, Floating Car persistently receive traffic information according to fixed frequency.
It is the method flow diagram that traffic information is acquired in the embodiment of the present invention referring to Fig. 1, flow includes:
S101, the current driving speed for obtaining Floating Car.
In the present embodiment, it can be the current traveling speed for often receiving a traffic information and immediately obtaining Floating Car
Degree, can also be after receiving multiple traffic informations, to obtain the travel speed of Floating Car.Obtain Floating Car current driving speed
Mode there are many various, the embodiment of the present invention is not limited, such as can directly be read by the instrument board of Floating Car,
It can be calculated according to the historical traffic information that the traffic information and Floating Car being currently received have been received.And at this
In invention some embodiments, it is preferred that the current driving speed of Floating Car can be calculated in the following manner:Worked as according to Floating Car
The current driving speed of Floating Car is calculated in the historical traffic information that the traffic information of preceding reception and the Floating Car have received
Degree.By taking traffic information is GPS data as an example, GPS data that the travel speed of Floating Car can be currently received according to Floating Car
(being known as current GPS data) and the preceding GPS data (being known as a preceding GPS data) once received are calculated, e.g., root
According to the latitude and longitude coordinates in current GPS data and a preceding GPS data, floating vehicle travelling distance is calculated, further according to current
Information calculates the floating vehicle travelling time at the time of GPS data is with a preceding GPS data, according to the operating range and row of Floating Car
The time is sailed the current driving speed of Floating Car is calculated.
S102, judge whether the current driving speed is identical as the travel speed of the preceding Floating Car once obtained.If row
Sailing speed, variation can then not maintain existing traffic information collection frequency to carry out following step if changing.
S103, if it is different, then from the correspondence of preset travel speed and traffic information collection frequency, obtain and work as
The corresponding traffic information collection frequency of preceding travel speed.
S104, the traffic information collection frequency according to acquisition, Floating Car connects since when obtaining current driving speed
In the traffic information received, traffic information to be uploaded is acquired, until the traveling speed of Floating Car in the traffic information collected
When degree is differed with the current driving speed, terminate the flow according to the traffic information collection frequency collection traffic information,
And at the time of to acquire travel speed and aforementioned current driving speed different traffic information, trigger aforementioned S101.Class according to this
It pushes away, collects all traffic informations of the Floating Car on entire road.
Preferably, the corresponding traffic information collection frequency positive correlation of the travel speed.That is, speed is bigger, it is right
The traffic information collection frequency answered is also bigger, it might even be possible to which the traffic information collection frequency for enabling travel speed corresponding is directly proportional
Ratio between relationship, i.e. travel speed and traffic information collection frequency is an identical positive number always.The following table 1 gives root
An example of corresponding traffic information collection frequency, wherein traffic information collection frequency representation are set according to different travel speeds
Per the acquisition for doing a GPS data every few seconds, such as frequency acquisition=2s, then a GPS data is acquired within every 2 seconds.Preferably, it examines
Consider practical medium velocity it is larger when can obviously infer that this road is more unimpeded at this time, so there is no need to too many traffic letters
Breath goes analysis to would know that traffic conditions, and the present invention is when travel speed reaches 90km/h (for empirical value), by traveling speed
Degree is inverse correlation with traffic information collection set of frequency.
Table 1
The embodiment of the present invention two is described further below.The present embodiment is based on embodiment one, is on the basis of embodiment one
Made by further expand.Embodiment one mainly depicts the gatherer process of traffic information, and in the present embodiment, also increase
Upload the process of traffic information.It should be pointed out that the sequence embodiment of the present invention between the two processes does not do any limit
System, such as can again unify to upload the traffic information collected after all traffic informations of acquisition complete strips road,
Can be uploaded in acquisition, can also be a certain number of traffic informations of every accumulation or uploaded after not accumulating a period of time tired
Long-pending traffic information.Preferably, it is the whole efficiency of acquisition and the upload of raising traffic information, the embodiment of the present invention is to take side
It acquires side to upload, as shown in Fig. 2, being to further include in the method flow described in Fig. 1:
S105, the period is uploaded according to preset traffic information, periodically sends collected traffic letter to server end
Breath.
In the present embodiment, as initial time at the time of can be to acquire first traffic information, whenever one uploads week
When phase arrives, this upload period collected traffic information is uploaded to server end.
Preferably, it is uploaded to the data volume of server end to reduce, in the embodiment of the present invention, is handed over being uploaded to server end
Before communication breath, compression processing is carried out to traffic information.In aforementioned S105, periodically collect to obtain to server end transmission
Traffic information, reference can be made to flow as shown in Figure 3, specifically includes:
S1051, a traffic information is chosen as ginseng from the current all traffic informations to be uploaded uploaded in the period
Traffic information is examined, using other traffic informations as ordinary traffic information;
S1052, ordinary traffic information and the difference with reference to traffic information are calculated, difference includes:Longitude and latitude difference is adopted
Collect moment difference and floating vehicle travelling speed difference;
S1053, it packages with reference to acquisition information and the corresponding difference of each ordinary traffic information to described, obtains data
Packet;
S1054, the data packet is sent to server end.
In aforementioned S1051, current any one traffic information uploaded in the period can be chosen and be used as with reference to traffic information,
As long as server end is made an appointment with terminal.Preferably, ordinary traffic information is calculated and with reference to traffic information to improve
Difference efficiency, in the embodiment of the present invention, in aforementioned S1051, choose current first traffic information uploaded in the period or
The last one traffic information, as with reference to traffic information.
It is handled by aforementioned compression, the traffic information uploaded in the period for one need not will be in the upload period
The full dose data (so-called full dose data refer to all data that traffic information is included) of all traffic informations are uploaded to service
Device end, it is only necessary to which upload the full dose data for referring to traffic information and other traffic informations is relative to the difference with reference to traffic information
Can, and the data volume of difference is lower than the data volume of full dose data many.
In the embodiment of the present invention, the format of data packet can be as shown in table 2, including data packet head, with reference to the complete of traffic information
Measure data, the incremental data of ordinary traffic information (i.e. the difference of ordinary traffic information and reference traffic information), each incremental data
After coming the full dose data with reference to traffic information successively according to the sequence of acquisition moment difference from small to large, so as to server end
Data packet can be parsed more quickly.
Table 2
The format of the full dose data of the GPS data of one GPS point can be as shown in table 3 below:
Table 3
Wherein confidence level be used for indicate whether the GPS data of GPS point credible, as confidence level value be 0 when indicate insincere,
Value indicates credible when being 1.
In above-mentioned full dose data, longitude and latitude respectively occupy 4 bytes, and the acquisition moment occupies 2 bytes, travel speed
1 byte is occupied, therefore the full dose data point of a GPS data occupies 11 bytes.
Preferably, each data packet further includes data packet head, which is used for minute book data packet characteristic information, such as
The record length of data packet, the travel condition of vehicle of Floating Car, vehicle ID and/or other information, the following table 4 give one kind and occupy
The format sample of the data packet head of 13 bytes:
Table 4
The following table 5 gives a kind of format sample of incremental data:
Table 5
In above-mentioned incremental data format, latitude difference and longitude difference respectively occupy 2 bytes, and acquisition moment difference occupies
1 byte, travel speed difference occupy 1 byte, occupy 6 bytes altogether.It can be seen that indicating the data of other points with incremental data
When than being indicated with full dose data when shared memory reduce nearly half, greatly reduced data volume.
As another example, it is assumed that certain time collects the GPS data of 30 GPS points, as shown in table 6 below:
Table 6
According to the above method, after packaging to the GPS data of 30 GPS points, the data volume for being uploaded to server is:
13 bytes (size of data packet head)+11 bytes (with reference to the size of the full dose data of traffic information)+29 × 6 bytes
The byte of (size of 29 incremental datas)=198.
If needing the GPS data by 30 GPS points to upload to clothes without compression processing the GPS datas of 30 GPS points
Business device end end data volume be:
The byte of 30 × 11 bytes=330.
It can be seen that after being compressed to traffic information to be uploaded using technical solution of the present invention, it can be very big
The data volume for being uploaded to server end is reduced in degree.
The data in data packet in the embodiment of the present invention are organized into binary stream according to data protocol and are:
c6 ba 1d 00 ba dc fe 90 78 56 34 12 74 29 26 32 02 e1 3f 63 06 42 96
ab bc 00 27 01 fd aa 7e 01 4b 02 fa ab 45 02 66 03 f7 ab 11 03 7a 04 f4 a7 c3
03 68 05 f1 a4 72 04 43 06 ee a3 2f 05 23 07 eb a8 17 06 2a 08 e8 af 11 07 48
09 e5 b1 12 08 73 0a e2 b1 1c 09 91 0b df b4 3a 0a bb 0c dc b6 62 0b f2 0d d9
b6 87 0c 13 0f d6 b5 a8 0d 29 10 d3 b5 c8 0e 45 11 d0 b2 d6 0f 54 12 cd b2 f0
10 58 13 ca b1 03 12 65 14 c7 b0 04 13 6e 15 c4 b0 0e 14 6b 16 c1 ae 15 15 70
17 be ae 17 16 6c 18 bb ae 15 17 65 19 b8 ad 03 18 65 1a b5 a8 d3 18 45 1b b2
a3 8b 19 18 1c af a4 47 1a 02 1d ac a8 19 1b 16 1e a9 ae
Wherein:
1st byte:C6 is 198 byte of data package size;
2nd~3 byte:Ba 1d are vehicle-state;
4th byte:00, it is growth data length;
5th~12 byte:Ba dc fe 90 78 56 34 12 (8 bytes), for indicating vehicle ID,
1234567890fedcba;
13rd byte:74, it is the instant azimuths GPS 116;
14th~24 byte:29 26 32 02 e1 3f, 63 06 42 96 ab are full dose data,
Latitude 0x02322629, longitude 0x06633fe1, time 0x9642, speed 0x2B, confidence level 0x1.
Since the 25th byte, the corresponding incremental data of every 6 byte representations, one GPS point.
The embodiment of the present invention three is described further below.The present embodiment is based on embodiment two, is on the basis of embodiment two
Made by further expand.It is receiving server end in the present embodiment and is sending to after server end transmission data packet, increasing
Feedback information, determine whether data packet sends success according to feedback information, determine send failure when retransmit data packet, with true
Data packet is protected to send successfully.Specifically, further include S1055 after the S1054 of flow that can be shown in Fig. 3, as shown in Figure 4:
S1055, the feedback message for receiving the server end;Judge whether the data packet is sent out according to the feedback message
Send success;If unsuccessful, the data packet is retransmitted to the server end, if success, ignores the feedback message.
In order to ensure reliability that data upload in the present embodiment, the mode that UDP may be used sends out to the server end
Send data packet.
Preferably, to avoid the number for retransmitting data packet too many, aforementioned S1055, when judging that data packet sends unsuccessful
The data packet is retransmitted to the server end, method flow as shown in Figure 5 can be used, method flow includes:
S501, judge whether the number for retransmitting the data packet is less than preset number of retransmissions threshold value, if so then execute
Otherwise S502 terminates flow.
S502, foundation and server end network connection.I.e. terminal is attempted to establish network connection with server.
S503, judge whether to be successfully established, execute S504 if success, otherwise execute S508.
S504, the data packet is sent to server end.
S505, judge the feedback message of server end transmission whether is received in preset time threshold value, if so then execute
Otherwise S506 executes S508.
S506, it tests to the feedback message received, that is, judges whether the value of feedback in feedback message is correct, if just
It is true then execute S507, otherwise execute S508.
S507, identification data packet are sent successfully.
S508, identification data packet send failure.
S509, network connection is closed.
When terminal transmission data packet, send every time all can waiting for server end feedback message, and the feedback to receiving
Message is verified, if not receiving value of feedback in the feedback message of server end or the feedback message of server not just
Really, then data packet is retransmitted.
Preferably, to further ensure that data packet is sent successfully, if the number for a data packet retransmission reaches pre-
The number of retransmissions set postpones in advance, and data packet is not still successfully sent to server end, then the data packet is saved in local
In preset buffer area, then flow is reissued with data as shown in FIG. 6 and handled.
Queue can be set in buffer area, and data packet is lined up according to caching sequencing, the data cached at first
Packet is added to the head of the queue of queue, and the data packet finally cached is added to the tail of the queue of queue.When judging that current Network status is preferable,
According to Queue sequence, transmission data packet successively.
Fig. 6 is the flow chart that data packet is reissued in three method of the embodiment of the present invention, including:
S601, network state is obtained.Obtain the current connection state of terminal and server end.
S602, judge whether network has connected, if then continuing to execute downwards, if otherwise skipping to S607.
S603, judge whether there is data packet in queue.Continue to execute downwards if having, if otherwise skipping to S607.
First data packet in S604, transmission buffer queue.
S605, judge whether first data packet sends success, if then entering S606, if otherwise skipping to S607.
S606, the first data packet is deleted from buffer queue, and enters S608.
S607, judge whether the quantity of the data packet in buffer queue is more than preset data packet threshold value, if then entering
S606, if otherwise entering S608.
S608, stand-by period T.Such as wait for 20s.
S609, judge whether to exit, if terminating flow, if otherwise skipping to S601.
The data above process of reissuing can improve data packet and send success rate.
It is the structural schematic diagram of traffic information collecting apparatus provided in an embodiment of the present invention referring to Fig. 7, which is loaded in
In Floating Car, device includes:
Speed acquiring unit 71, the current driving speed for obtaining Floating Car, and trigger speed judgment unit 72;
Speed judgment unit 72, the travel speed for judging the current driving speed and the preceding Floating Car once obtained
It is whether identical, if it is different, then triggering frequency acquisition unit 73;
Frequency acquisition unit 73, for from the correspondence of preset travel speed and traffic information collection frequency, obtaining
Traffic information collection frequency corresponding with current driving speed is taken, and triggers traffic information collection unit;
Traffic information collection unit 74, the traffic information collection frequency for being obtained according to the frequency acquisition unit 73
Rate, since when the speed acquiring unit 71 obtains current driving speed in the traffic information that receives of Floating Car, acquisition waits for
The traffic information of upload, until the travel speed of Floating Car and the current driving speed not phase in the traffic information collected
Meanwhile triggering the speed acquiring unit 71.
Preferably, the speed acquiring unit 71, is specifically used for:According to the currently received traffic information of Floating Car and described
The current driving speed of Floating Car is calculated in the historical traffic information that Floating Car has received.
Preferably, the device described in earlier figures 7, may also include traffic information uploading unit 75, as shown in Figure 8:
Traffic information uploading unit 75, for uploading the period according to preset traffic information, periodically to server end
Send collected traffic information.
Preferably, the structure of the traffic information uploading unit 75 is as shown in figure 8, include:
Subelement 751 is chosen with reference to traffic information, for all traffic informations to be uploaded out of current the upload period
It is middle to choose a traffic information as traffic information is referred to, using other traffic informations as ordinary traffic information;
Mathematic interpolation subelement 752, for calculating ordinary traffic information and the difference with reference to traffic information, difference packet
It includes:Longitude and latitude difference, acquisition moment difference and floating vehicle travelling speed difference;
Data packet generates subelement 753, for the reference acquisition information and the corresponding difference of each ordinary traffic information
It packages, obtains data packet;
Data packet transmission sub-unit 754, the data packet for obtaining data packet generation subelement 753 are sent to clothes
Business device end.
Preferably, the traffic information uploading unit 75 in the embodiment of the present invention can be to include on the basis of shown in Fig. 8
Feedback processing subelement 755, the feedback message sent for receiving the server end;According to the feedback message
Judge whether the data packet sends success;If unsuccessful, the data packet is retransmitted to the server end, if success,
Ignore the feedback message.
For device embodiments, since it corresponds essentially to embodiment of the method, so related place is referring to method reality
Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separating component
The unit of explanation may or may not be physically separated, and the component shown as unit can be or can also
It is not physical unit, you can be located at a place, or may be distributed over multiple network units.It can be according to actual
It needs that some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not
In the case of making the creative labor, you can to understand and implement.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can
It is completed with instructing relevant hardware by program, the program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM, RAM, magnetic disc, CD etc..
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one
Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation
There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain
Lid non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.Herein
In apply specific case lock carried out to the principle of the present invention and embodiment and state, the explanation of above example is only intended to sides
Assistant solves the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, think of according to the present invention
Think, there will be changes in the specific implementation manner and application range.In conclusion the content of the present specification should not be construed as pair
The limitation of the present invention.Any modification, equivalent replacement, improvement and so on all within the spirits and principles of the present invention include
Within the scope of the present invention.
Claims (11)
1. a kind of traffic information collecting method, which is characterized in that Floating Car persistently receives traffic information according to fixed frequency, described
Method includes:
Obtain the current driving speed of Floating Car;
Judge whether the current driving speed is identical as the travel speed of the preceding Floating Car once obtained;
If it is different, then from the correspondence of preset travel speed and traffic information collection frequency, obtain and current driving speed
Spend corresponding traffic information collection frequency;
According to the traffic information collection frequency of acquisition, the traffic that Floating Car receives since when obtaining current driving speed
In information, traffic information to be uploaded is acquired, until the travel speed of Floating Car is worked as with described in the traffic information collected
When preceding travel speed differs, terminate the flow according to the traffic information collection frequency collection traffic information, and repeat aforementioned
Step;
The period is uploaded according to preset traffic information, periodically sends collected traffic information to server end.
2. according to the method described in claim 1, it is characterized in that, the corresponding traffic information collection frequency of travel speed just
It is related.
3. according to the method described in claim 1, it is characterized in that, the current driving speed for obtaining Floating Car, specific to wrap
It includes:
According to the historical traffic information that the currently received traffic information of Floating Car and the Floating Car have received, it is calculated floating
The current driving speed of motor-car.
4. according to the method described in claim 1, it is characterized in that, periodically sending the friendship collected to server end
Communication breath, specifically includes:
A traffic information is chosen from the current all traffic informations to be uploaded uploaded in the period to be used as with reference to traffic information,
Using other traffic informations as ordinary traffic information;
Ordinary traffic information and the difference with reference to traffic information are calculated, difference includes:Longitude and latitude difference, acquisition moment difference
And floating vehicle travelling speed difference;
It packages with reference to acquisition information and the corresponding difference of each ordinary traffic information to described, obtains data packet;
The data packet is sent to server end.
5. according to the method described in claim 4, it is characterized in that, from the current all traffic letters to be uploaded uploaded in the period
A traffic information is chosen in breath to be used as with reference to traffic information, is specifically included:
Current first traffic information or the last one traffic information uploaded in the period is chosen, as with reference to traffic information.
6. according to the method described in claim 4, it is characterized in that, after the data packet is sent to server end, also wrap
It includes:
Receive the feedback message that the server end is sent;
Judge whether the data packet sends success according to the feedback message;
If unsuccessful, the data packet is retransmitted to the server end, if success, ignores the feedback message.
7. according to claim 1~6 any one of them method, which is characterized in that each traffic information is a GPS point
GPS data.
8. a kind of traffic information collecting apparatus, which is characterized in that be loaded in Floating Car, the Floating Car is held according to fixed frequency
Traffic information is received in continued access, and described device includes:
Speed acquiring unit, the current driving speed for obtaining Floating Car, and trigger speed judgment unit;
Speed judgment unit, for judge the current driving speed and the preceding Floating Car once obtained travel speed whether phase
Together, if it is different, then triggering frequency acquisition unit;
Frequency acquisition unit, for from the correspondence of preset travel speed and traffic information collection frequency, obtaining and working as
The corresponding traffic information collection frequency of preceding travel speed, and trigger traffic information collection unit;
Traffic information collection unit, the traffic information collection frequency for being obtained according to the frequency acquisition unit, from institute
It states when speed acquiring unit obtains current driving speed and starts in the traffic information that Floating Car receives, acquire traffic to be uploaded
Information, when the travel speed of Floating Car is differed with the current driving speed in the traffic information collected, triggering
The speed acquiring unit;
Traffic information uploading unit is periodically adopted to server end transmission for uploading the period according to preset traffic information
The traffic information collected.
9. device according to claim 8, which is characterized in that the speed acquiring unit is specifically used for:
According to the historical traffic information that the currently received traffic information of Floating Car and the Floating Car have received, it is calculated floating
The current driving speed of motor-car.
10. device according to claim 8, which is characterized in that the traffic information uploading unit specifically includes:
Subelement is chosen with reference to traffic information, for choosing one from the current all traffic informations to be uploaded uploaded in the period
A traffic information, which is used as, refers to traffic information, using other traffic informations as ordinary traffic information;
Mathematic interpolation subelement, for calculating ordinary traffic information and the difference with reference to traffic information, difference includes:Longitude and latitude
Spend difference, acquisition moment difference and floating vehicle travelling speed difference;
Data packet generates subelement, for carrying out group with reference to acquisition information and the corresponding difference of each ordinary traffic information to described
Packet, obtains data packet;
Data packet transmission sub-unit, the data packet for obtaining data packet generation subelement are sent to server end.
11. device according to claim 8, which is characterized in that the traffic information uploading unit further includes:
Feedback processing subelement, the feedback message sent for receiving the server end;Judge institute according to the feedback message
State whether data packet sends success;If unsuccessful, the data packet is retransmitted to the server end, if success, ignores institute
State feedback message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810273773.5A CN108629969A (en) | 2012-12-31 | 2012-12-31 | A kind of traffic information collecting method and device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210592866.7A CN103914978A (en) | 2012-12-31 | 2012-12-31 | Vehicle information collection method and apparatus |
CN201810273773.5A CN108629969A (en) | 2012-12-31 | 2012-12-31 | A kind of traffic information collecting method and device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210592866.7A Division CN103914978A (en) | 2012-12-31 | 2012-12-31 | Vehicle information collection method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108629969A true CN108629969A (en) | 2018-10-09 |
Family
ID=51040623
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810273773.5A Pending CN108629969A (en) | 2012-12-31 | 2012-12-31 | A kind of traffic information collecting method and device |
CN201210592866.7A Pending CN103914978A (en) | 2012-12-31 | 2012-12-31 | Vehicle information collection method and apparatus |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210592866.7A Pending CN103914978A (en) | 2012-12-31 | 2012-12-31 | Vehicle information collection method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108629969A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109946564A (en) * | 2019-03-15 | 2019-06-28 | 山东鲁能智能技术有限公司 | A kind of distribution network overhead line inspection data collection method and cruising inspection system |
CN109990767A (en) * | 2019-03-15 | 2019-07-09 | 山东鲁能智能技术有限公司 | Inspection data acquiring frequency setting method and system suitable for vehicle-mounted Distribution itineration check |
CN110782551A (en) * | 2019-10-24 | 2020-02-11 | 北京百度网讯科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN116935665A (en) * | 2023-09-18 | 2023-10-24 | 徐州帝亨网络科技有限公司 | Traffic control system for cargo transportation |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106153058B (en) * | 2015-04-13 | 2020-08-14 | 酷派软件技术(深圳)有限公司 | Navigation method, navigation device and terminal |
CN105096595A (en) * | 2015-06-30 | 2015-11-25 | 北京奇虎科技有限公司 | Data transmission method based on automobile driving recorder and device |
CN107833626A (en) * | 2017-10-19 | 2018-03-23 | 珠海格力电器股份有限公司 | Sense method and system that physical activity draws activity curve |
CN108230673B (en) * | 2017-12-29 | 2020-09-29 | 武汉斑马快跑科技有限公司 | Vehicle driving route monitoring method, driver client and server |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1398101A (en) * | 2001-07-13 | 2003-02-19 | 厦门雅迅网络股份有限公司 | Method for transmitting satellite location data of vehicles |
CN101681495A (en) * | 2007-07-11 | 2010-03-24 | 本田技研工业株式会社 | Traffic information processor, traffic information management server, traffic information management system |
CN202049615U (en) * | 2011-04-01 | 2011-11-23 | 上海千年工程建设咨询有限公司 | Drive time predicating device |
JP2011258017A (en) * | 2010-06-09 | 2011-12-22 | Toyota Infotechnology Center Co Ltd | Probe car system, vehicle for the same, and traffic information sharing method for the same |
-
2012
- 2012-12-31 CN CN201810273773.5A patent/CN108629969A/en active Pending
- 2012-12-31 CN CN201210592866.7A patent/CN103914978A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1398101A (en) * | 2001-07-13 | 2003-02-19 | 厦门雅迅网络股份有限公司 | Method for transmitting satellite location data of vehicles |
CN101681495A (en) * | 2007-07-11 | 2010-03-24 | 本田技研工业株式会社 | Traffic information processor, traffic information management server, traffic information management system |
JP2011258017A (en) * | 2010-06-09 | 2011-12-22 | Toyota Infotechnology Center Co Ltd | Probe car system, vehicle for the same, and traffic information sharing method for the same |
CN202049615U (en) * | 2011-04-01 | 2011-11-23 | 上海千年工程建设咨询有限公司 | Drive time predicating device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109946564A (en) * | 2019-03-15 | 2019-06-28 | 山东鲁能智能技术有限公司 | A kind of distribution network overhead line inspection data collection method and cruising inspection system |
CN109990767A (en) * | 2019-03-15 | 2019-07-09 | 山东鲁能智能技术有限公司 | Inspection data acquiring frequency setting method and system suitable for vehicle-mounted Distribution itineration check |
CN109946564B (en) * | 2019-03-15 | 2021-07-27 | 国网智能科技股份有限公司 | Distribution network overhead line inspection data acquisition method and inspection system |
CN110782551A (en) * | 2019-10-24 | 2020-02-11 | 北京百度网讯科技有限公司 | Data processing method and device, electronic equipment and storage medium |
CN116935665A (en) * | 2023-09-18 | 2023-10-24 | 徐州帝亨网络科技有限公司 | Traffic control system for cargo transportation |
CN116935665B (en) * | 2023-09-18 | 2023-11-24 | 徐州帝亨网络科技有限公司 | Traffic control system for cargo transportation |
Also Published As
Publication number | Publication date |
---|---|
CN103914978A (en) | 2014-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108629969A (en) | A kind of traffic information collecting method and device | |
CN103209224B (en) | Based on underwater sound sensor network system and the data transmission method thereof of P2P | |
JP4633505B2 (en) | Traffic information generating device, traffic information generating method, traffic information providing device, and traffic information distribution system | |
CN106961473B (en) | High-efficiency data transmission method and system for dynamically balancing intelligent city network bandwidth | |
CN100570663C (en) | Realize method, system and the signal fused device of bus signals priority requisition | |
Rashidi et al. | Placement of road side units for floating car data collection in highway scenario | |
CN101470012A (en) | Method for real-time vehicle driving mileage statistics based on wireless network and GPS position information | |
CN102577212A (en) | Apparatus and method for generating ARQ feedback message in wireless communication system | |
CN107329111A (en) | Method for rapidly positioning and system based on wireless TOF | |
CN105450785A (en) | File transmission method and device | |
CN107014392B (en) | Route planning method and equipment | |
CN101977351A (en) | Method and system for adjusting vehicle travelling state information transmitting rate | |
CN107945517A (en) | A kind of traffic data processing apparatus | |
CN114759975A (en) | Electric energy data acquisition method and system based on Beidou satellite communication | |
CN106385699B (en) | The method, apparatus and server of root bridge are selected in a kind of wireless distribution system | |
CN108111576A (en) | A kind of car-ground radio transmission method and device | |
CN109649437B (en) | Railway station computer interlocking information transmission method and system | |
CN116582603B (en) | Low-voltage station clock level data acquisition method based on HPLC+HRF communication | |
CN103428677B (en) | The sending method and signaling channel of grouping busihess data send the method for reseptance of information | |
CN107548075A (en) | A kind of roadside unit dispositions method based on useful contribution amount | |
JP2006031422A (en) | Device and method for generating traffic information, device for providing traffic information and system for distributing same | |
CN111800233B (en) | Method for improving data transmission success rate of navigation sonde | |
CN113141415B (en) | Remote driving system and method for vehicle, electronic device and storage medium | |
CN110149658A (en) | A kind of same category of device low coverage based on less radio-frequency uploads data method in groups automatically | |
CN109698718A (en) | A kind of navigation path data sending method based on dipper system |
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 | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200429 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Applicant after: Alibaba (China) Co.,Ltd. Address before: 102200, No. 8, No., Changsheng Road, Changping District science and Technology Park, Beijing, China. 1-5 Applicant before: AUTONAVI SOFTWARE Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181009 |