CN103996293B - The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method - Google Patents

The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method Download PDF

Info

Publication number
CN103996293B
CN103996293B CN201410252156.9A CN201410252156A CN103996293B CN 103996293 B CN103996293 B CN 103996293B CN 201410252156 A CN201410252156 A CN 201410252156A CN 103996293 B CN103996293 B CN 103996293B
Authority
CN
China
Prior art keywords
road
road condition
automobile friend
information
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201410252156.9A
Other languages
Chinese (zh)
Other versions
CN103996293A (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.)
Chongqing University
Original Assignee
Chongqing University
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 Chongqing University filed Critical Chongqing University
Priority to CN201410252156.9A priority Critical patent/CN103996293B/en
Publication of CN103996293A publication Critical patent/CN103996293A/en
Application granted granted Critical
Publication of CN103996293B publication Critical patent/CN103996293B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Traffic Control Systems (AREA)

Abstract

The present invention proposes a kind of real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and gather querying method, this system comprises server and mobile terminal, server comprises server data and analyzes combing module, road condition query service module, and mobile terminal comprises client application module and inquiring client terminal; Client application module obtains latitude and longitude coordinates and is transferred to server data analysis combing module and processes traffic information and store; Automobile friend by inquiring client terminal to road condition query service module input inquiry section title, road condition query service module is according to this automobile friend's current location, and inquiry section its travel direction of location determination, and send road condition query request to road condition data storehouse on this basis, and the traffic information of acquisition is fed back to inquiring client terminal.The present invention is after the private car all the time travelled on each bar road, and achieve the real-time road data acquisition to the extensive road in city, comparatively additive method has more versatility and accuracy.

Description

The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method
Technical field
The invention belongs to mobile Internet and car networking arenas, relate to road condition acquiring technology, particularly a kind of real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and gather querying method.
Background technology
The quick growth of auto industry, causes automobile pollution to continue to increase and enormous amount, and traffic congestion has become the maximum obstacle of urban life.Cost every day time cost on the way remains high, and traffic congestion not only brings about great losses to economic development, also becomes the social concern that relates to the people's livelihood.There is provided real-time road condition information service by modes such as broadcast, internets, inquiry road conditions are blocked up to evade, and become the operation that people are before travel indispensable gradually.
But due to traffic acquisition means, issue the limitation of means, cannot provide transport information accurately and timely to user all the time, the user that instructs that cannot be correct goes on a journey.Existing road condition acquiring scheme mainly contains, camera, ground induction coil and Floating Car etc.Camera takes road traffic condition by the camera be erected on road, thus differentiates road congestion conditions; Ground induction coil is mainly laid on intersection, detects the flow of road conditions traffic; Floating Car, by the equipment such as taxi, bus as Floating Car, the speed of a motor vehicle according to them differentiates condition of road surface.
Camera and ground induction coil need the installation carrying out equipment on road, and installation and maintenance cost is high, and the differentiation cost of road condition data is high.Floating Car collection is limited to quantity and cost, cannot effectively cover all roads, cause road conditions coverage rate low, main cover city major trunk roads and all roads in city cannot be covered, limited amount causes vehicle on the same road little in addition, so just causes data accuracy low.Above-mentioned three kinds of modes, all only can solve the road condition acquiring work of local major trunk roads, and for a large amount of urban roads, cannot realize covering at high proportion, more cannot solve the accuracy problem of real-time road.
Summary of the invention
The present invention is intended at least solve the technical matters existed in prior art, especially innovatively proposes a kind of real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and gathers querying method.
In order to realize above-mentioned purpose of the present invention, the invention provides a kind of real-time road condition acquiring querying method of working in coordination with based on automobile friend, comprise road condition acquiring process, described road condition acquiring process comprises the steps:
S11, automobile friend travels on certain road, if this congestion in road, inputs congestion information on mobile terminals;
S12, described mobile terminal is marked by the ID of the location coordinate information of described automobile friend, described automobile friend and congestion information mails to server in the lump;
S13, after T time, the ID of the location coordinate information of described automobile friend, described automobile friend mark is mail to server by described mobile terminal again, and described T is positive number;
S14, the server data of server is analyzed after combing module receives 2, front and back data message, confirms the speed per hour of the vehicles that described automobile friend takes, and compares with system thresholds P, then obtain the traffic information of this coordinate, described system thresholds P is positive number;
S15, described server data analyzes combing module according to the current road condition analyzing result of system, increases this traffic information, revises road conditions aggregation information further, and is saved in database in the mode of longitude and latitude by this traffic information;
S16, the coordinate information according to these road conditions locates its location name in map system, supplements a road conditions information in a database in the mode of road name.
Real-time road condition acquiring querying method of working in coordination with based on automobile friend of the present invention shares application by the road conditions providing friendliness easy-to-use, by the traffic information data aggregate of single private car in same link, obtain the polymerization road condition data of this road, utilize polymerization road condition data to provide road conditions service for user's vehicle.Because this method takes full advantage of " automobile friend work in coordination with " thought, converge " road conditions of bicycle road conditions " rill become " " great river, by the private car all the time all travelled on each bar road, achieve the real-time road data acquisition to the extensive road in city, comparatively additive method has more versatility and accuracy.
In addition, after server data analysis combing module of the present invention receives 2, front and back data message, confirm the speed per hour of the vehicles that described automobile friend takes, and compare with system thresholds P, then obtain the traffic information of this coordinate, more accurately.
In the preferred embodiment of the present invention, described T is 60 seconds.Thus ensure that traffic information is accurate, and upgrade in time.
In the preferred embodiment of the present invention, described system thresholds P is for Manual definition or adjusted by road condition data polymerization analysis algorithm, according to the credit of this existing history threshold data of section fragment current time fragment and the travel speed of these road conditions automobile friend, the traffic information of reflection and automobile friend during adjustment, carry out the value of decision-making current system threshold values P according to polymerization analysis algorithm.More accurate.
In another kind of preferred implementation of the present invention, confirm that algorithm obtains the traffic information of this coordinate according to automobile friend's road conditions, described automobile friend's road conditions confirm that algorithm comprises:
S51, calculates distance
C=sin(MLatA)*sin(MLatB)*cos(MLonA-MLonB)+cos(MLatA)*cos(MLatB)
Distance=R*Arccos(C)*Pi/180
Wherein, MLatA is the longitude coordinate of starting point A, and MLonA is the latitude coordinate of starting point A; MLatB is the longitude coordinate of starting point B, and MLonB is the latitude coordinate of starting point B,
R is the radius of the earth, and value is 6378.137 kilometers; Pi is 3.1415926
S52, calculates average speed
S53, confirms that road conditions calculate
According to urban traffic situation information, arrange two threshold value M1 and M2, represent block up threshold value and unobstructed threshold value respectively, described M1, M2 are positive number, and M1 is less than M2, when average velocity is lower than M1, be then considered as blocking up, being considered as normal time between M1 and M2, higher than M2, is then unobstructed.If actual road conditions calculated value is identical with the evaluation of estimate that automobile friend provides, then this result is directly delivered road condition data polymerization analysis algorithm, otherwise, abandon the evaluation of estimate that automobile friend provides, and submit the calculated value based on this automobile friend's position calculation to road condition data polymerization analysis algorithm process.
In the preferred embodiment of the present invention, described server data analyzes combing module according to the current road condition analyzing result of system, increases this traffic information, revises in road conditions aggregation information further and adopts road condition data polymerization analysis algorithm, be specially:
N number of node is had, N={1 in network ..., n}, n are positive integer, source node and destination node set are respectively Si, Di}, wherein i=1,2 ..., n,
If node k often correctly provides the income of traffic information to be G, loss is F, and taking successful probability is a k, then the utility function U of node k kcan be expressed as:
Wherein, b krepresent that node k receives the probability of competition game;
Due to the individuality that node is rationality, in whole game play cycle, all nodes all can adjust the authenticity of the road conditions reflection of oneself to make self maximization of utility, that is:
max 0 ≤ a k ≤ 1 U k ( a k , a - k )
Based on dynamic perfromance and the chronicity of each client terminals in whole real-time road sharing platform network, and the current splitting glass opaque selection of client can affect the consideration in follow-up game stage, the mutual of game both sides is repeated game, suppose that described repeated game has known exchange times T, when each selection forward node decision-making, take over party's node in the past 1 that node can observe participative decision making, 2, the behavior of t-1 forwarding decision, according to the form describing utility function in game theory with discount factors, the total utility of each node can be expressed as: Σ t = 0 T δ t U k ( a ( t ) )
Wherein a (t)=(a1 ..., aN), U k(a (t)) represents the node k utility value when carrying out stage game for the t time, and δ to cooperate patient comprehensive measurement to node k: δ is larger, and k is more patient in expression, and this node also more payes attention to long-term benefit; Otherwise then k more payes attention to immediate interest, the value of δ is generally determined by application scenarios, if the position current time fragment of automobile friend provides the client terminal quantity of road conditions many after the T moment, then this δ value can suitably improve,
The average utility of node k can be expressed as:
U k → = ( 1 - δ ) Σ t = 0 T δ t U k ( α ( t ) )
Normalization factor (1-δ) is for estimating the income of stage game and repeated game with unified unit; The unit effectiveness of each issue is all standardized as 1.
The present invention adopts theory of games, and introduces credit mechanism and penalty mechanism, makes the success of single game may not be the success of repeated game.If each node provides deceptive information and is found in the process providing real-time road, its punishment faced is far longer than when time income, then participation real-time road condition information provides during game and all can more view the situation as a whole, and the no longer undue immediate interests considering individuality, thus improve the shared accuracy of real-time road condition information.
In the preferred embodiment of the present invention, in step S15, site of road direction is located and is stored into database:
According to the change of the latitude and longitude coordinates of automobile friend's location coordinate information of twice acquisition in front and back, the Direction code calculated according to anteroposterior diameter latitude difference is in the lump stored in database.Thus accurately judge travel direction.
In the preferred embodiment of the present invention, the real-time road condition acquiring querying method of working in coordination with based on automobile friend also comprises road condition query process, and described road condition query process comprises:
S21, automobile friend prepares to drive to set out, and opens road condition query client, and input is for the road name of inquiry;
S22, first road condition query service module obtains the latitude and longitude coordinates information of this position from map system according to described road name;
S23, road condition query service module obtains gps coordinate information from the current location of current automobile friend;
S24, according to the direction of road inquiry direction location algorithm determination coordinates of targets;
S25, destination address coordinate, directional information are submitted in database and inquire about by road condition query service module, and will return results and show in cell-phone customer terminal.
Query script is simply accurate.
Described road inquiry direction location algorithm:
When calculating real-time road, according to the change of the latitude and longitude coordinates of automobile friend's location coordinate information of twice acquisition in front and back, the Direction code calculated according to anteroposterior diameter latitude difference.
In order to realize above-mentioned purpose of the present invention, present invention also offers a kind of real-time road condition acquiring inquiry system of working in coordination with based on automobile friend, comprising server and the mobile terminal of information interaction can be carried out with described server,
Described server comprises server data and analyzes combing module, road condition query service module,
Described mobile terminal comprises client application module, and carries out the inquiring client terminal of information interaction with described road condition query service module;
Described client application module obtains the latitude and longitude coordinates of current automobile friend present position and is transferred to server data analysis combing module;
Server data analyzes the road conditions feedback information that combing resume module automobile friend provides, and processes traffic information and store;
The automobile friend that need inquire about traffic information by inquiring client terminal to road condition query service module input inquiry section title, road condition query service module is according to this automobile friend's current location, and inquiry section its travel direction of location determination, and send road condition query request to road condition data storehouse on this basis, and the traffic information of acquisition is fed back to inquiring client terminal.
Real-time road condition acquiring inquiry system of working in coordination with based on automobile friend of the present invention shares application by the road conditions providing friendliness easy-to-use, by the traffic information data aggregate of single private car in same link, obtain the polymerization road condition data of this road, polymerization road condition data is utilized to provide road conditions service for user's vehicle, achieve the real-time road data acquisition to the extensive road in city, comparatively additive method has more versatility and accuracy.
Additional aspect of the present invention and advantage will part provide in the following description, and part will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
Above-mentioned and/or additional aspect of the present invention and advantage will become obvious and easy understand from accompanying drawing below combining to the description of embodiment, wherein:
Fig. 1 is the road condition data schematic flow sheet of a kind of preferred implementation of the present invention;
Fig. 2 is the frame diagram of the real-time road condition acquiring inquiry system of working in coordination with based on automobile friend in a kind of preferred implementation of the present invention;
Fig. 3 is road direction location map in a kind of preferred implementation of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
In describing the invention, it will be appreciated that, term " longitudinal direction ", " transverse direction ", " on ", D score, "front", "rear", "left", "right", " vertically ", " level ", " top ", " end " " interior ", the orientation of the instruction such as " outward " or position relationship be based on orientation shown in the drawings or position relationship, only the present invention for convenience of description and simplified characterization, instead of indicate or imply that the device of indication or element must have specific orientation, with specific azimuth configuration and operation, therefore can not be interpreted as limitation of the present invention.
In describing the invention, unless otherwise prescribed and limit, it should be noted that, term " installation ", " being connected ", " connection " should be interpreted broadly, such as, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be directly be connected, also indirectly can be connected by intermediary, for the ordinary skill in the art, the concrete meaning of above-mentioned term can be understood as the case may be.
The present invention shares application by the road conditions providing friendliness easy-to-use, vast automobile friend on the way can be submitted in real time and simply describes " blocking up ", " unimpeded " to the load conditions of oneself present position current.System is after receiving the road conditions feedback of automobile friend, mechanism is passed judgment on based on information fusion mechanism and the speed of a motor vehicle, by the traffic information data aggregate of single private car in same link, obtain the polymerization road condition data of this road, utilize polymerization road condition data to provide road conditions service for user's vehicle.Because this method takes full advantage of " automobile friend work in coordination with " thought, converge " road conditions of bicycle road conditions " rill become " " great river, by the private car all the time all travelled on each bar road, achieve the real-time road data acquisition to the extensive road in city, comparatively additive method has more versatility and accuracy.Certainly, the automobile friend that the present invention relates to should be the colony using native system mobile phone terminal to apply widely.
The invention provides a kind of real-time road condition acquiring querying method of working in coordination with based on automobile friend, as shown in Figure 1, this road condition acquiring querying method comprises road condition acquiring process, and this road condition acquiring process comprises the steps:
S11, automobile friend travels on certain road, if this congestion in road, inputs congestion information on mobile terminals.In the present embodiment, mobile terminal having " blocking up " and " unimpeded " input option, when congestion in road, inputting congestion information by activating " blocking up " option to server.
S12, mobile terminal is marked by the ID of the location coordinate information of automobile friend, automobile friend and congestion information mails to server in the lump.In the present embodiment, the location coordinate information of automobile friend can be obtained by the mode such as GPS or the Big Dipper, and the ID of automobile friend is labeled as unique ID mark of the mobile terminal of automobile friend.
S13, after T time, the ID of the location coordinate information of automobile friend, automobile friend mark is mail to server by mobile terminal again, and this T is positive number.In the present embodiment, T is 60 seconds.Thus ensure that traffic information is accurate, and upgrade in time.
S14, the server data of server is analyzed after combing module receives 2, front and back data message, the speed per hour of the vehicles that confirmation automobile friend takes, and compares with system thresholds P, and then obtain the traffic information of this coordinate, system thresholds P is positive number.In the present embodiment, confirm that algorithm obtains the traffic information of this coordinate according to automobile friend's road conditions, automobile friend's road conditions confirm that algorithm comprises:
First distance is calculated
C=sin(MLatA)*sin(MLatB)*cos(MLonA-MLonB)+cos(MLatA)*cos(MLatB)
Distance=R*Arccos(C)*Pi/180
Wherein, MLatA is the longitude coordinate of starting point A, and MLonA is the latitude coordinate of starting point A; MLatB is the longitude coordinate of starting point B, and MLonB is the latitude coordinate of starting point B,
R is the radius of the earth, and value is 6378.137 kilometers; Pi is 3.1415926.
Then, calculate average speed,
Finally, confirm that road conditions calculate,
According to urban traffic situation information, two threshold value M1 and M2 are set, represent block up threshold value and unobstructed threshold value respectively, described M1, M2 are positive number, and M1 is less than M2, it is 10 kilometers/hour for major urban arterial highway Lu Eryan, M1 value, M2 value is 10 kilometers/hour, when average velocity is lower than M1, be then considered as blocking up, be considered as normal time between M1 and M2, higher than M2, be then unobstructed.If actual road conditions calculated value is identical with the evaluation of estimate that automobile friend provides, then this result is directly delivered road condition data polymerization analysis algorithm, otherwise, abandon the evaluation of estimate that automobile friend provides, and submit the calculated value based on this automobile friend's position calculation to road condition data polymerization analysis algorithm process.
In the present embodiment, A is the position coordinates point of automobile friend when sending information first time, and B was the position coordinates point of automobile friend after T time.
S15, server data analyzes combing module according to the current road condition analyzing result of system, increases this traffic information, revises road conditions aggregation information further, and is saved in database by this traffic information in the mode of longitude and latitude.
Collection main body due to road conditions is the evaluation of the numerous driver and crew in road driving road, also just can not avoid driver and crew's wrong report that may occur or the situation estimating false report.In order to improve the accuracy of road conditions, in data aggregate analytic process, the present invention, mainly in conjunction with repeated game and credit mechanism, sets about from the chronicity of driver and crew's account, solves the problem of this kind of false traffic information.Its specific works comprises:
The comparison of this moment position load conditions evaluating pavement condition of driver and crew and system gathered is converted to resource buyer-seller relationship, thus sets up the correspondence of profit and less, and then can set up corresponding relation with game theoretic theoretical foundation.
Set up repeated game mechanism, becoming the single game profit and loss is the repeatedly repeated game profit and loss, thus the decision-making adopting current account reaction road conditions is become the repetitive decision process of a chronicity, make each individuality of traffic information that provides from life cycle and the network overall situation, all may become decision maker sometime, there is the possibility of checker in the role that real-time road condition information is provided, for the global fair of game and balanced sustainability create condition.
Introduce credit mechanism and penalty mechanism.Make the success of single game may not be the success of repeated game.If each node provides deceptive information and is found in the process providing real-time road, its punishment faced is far longer than when time income, then participation real-time road condition information provides during game and all can more view the situation as a whole, and the no longer undue immediate interests considering individuality, thus improve the shared accuracy of real-time road condition information.
In the present embodiment, system thresholds P for Manual definition or can be adjusted by road condition data polymerization analysis algorithm automatically, according to the credit of this existing history threshold data of section fragment current time fragment and the travel speed of these road conditions automobile friend, the traffic information of reflection and automobile friend during adjustment, carry out the value of decision-making current system threshold values P according to polymerization analysis algorithm.Such as, when the system thresholds for definition of blocking up is 10km/ hour, but on certain section of certain time point, just in time carried out speed limit (F-Zero 10km/ hour), and this section car is less simultaneously, the vehicle passed by so all just in time with the speed of 10km/ hour by and the evaluation of automobile friend to it is unobstructed, then in this case, needing by polymerization analysis algorithm adjustment System threshold values, should may be 5km/ hour to the system thresholds of this section road conditions now should be just the definition of blocking up.
In the present embodiment, road condition data polymerization analysis algorithm is specially:
N number of node is had, N={1 in network ..., n}, n are positive integer, source node and destination node set are respectively Si, Di}, wherein i=1,2 ..., n,
If node k often correctly provides the income of traffic information to be G, loss is F, and taking successful probability is a k, then the utility function U of node k kcan be expressed as:
Wherein, b krepresent that node k receives the probability of competition game;
Due to the individuality that node is rationality, in whole game play cycle, all nodes all can adjust the authenticity of the road conditions reflection of oneself to make self maximization of utility, that is:
max 0 ≤ a k ≤ 1 U k ( a k , a - k )
Based on dynamic perfromance and the chronicity of each client terminals in whole real-time road sharing platform network, and the current splitting glass opaque selection of client can affect the consideration in follow-up game stage, the mutual of game both sides is repeated game, suppose that described repeated game has known exchange times T, when each selection forward node decision-making, take over party's node in the past 1 that node can observe participative decision making, 2, the behavior of t-1 forwarding decision, according to the form describing utility function in game theory with discount factors, the total utility of each node can be expressed as:
Σ t = 0 T δ t U k ( a ( t ) )
Wherein, a (t)=(a 1..., a n), Uk (a (t)) represents the node k utility value when carrying out stage game for the t time, and δ to cooperate patient comprehensive measurement to node k: δ is larger, and k is more patient in expression, and this node also more payes attention to long-term benefit; Otherwise then k more payes attention to immediate interest, the value of δ is generally determined by application scenarios, if the position current time fragment of automobile friend provides the client terminal quantity of road conditions many after the T moment, then this δ value can suitably improve,
The average utility of node k can be expressed as, i.e. the difference of income and loss is expressed as:
U k → = ( 1 - δ ) Σ t = 0 T δ t U k ( α ( t ) )
Normalization factor (1-δ) is for estimating the income of stage game and repeated game with unified unit; The unit effectiveness of each issue is all standardized as 1.
By above aggregating algorithm, the effectiveness of each automobile friend can be obtained, in the present embodiment, during adjustment System threshold values P, weight shared by the information that the automobile friend that effectiveness is high provides is larger, such as, one has three automobile friends provides information, the speed per hour that the automobile friend that effectiveness is 1 provides is 10,000 ms/h, the speed per hour that the automobile friend that effectiveness is 0.2 provides is 8,000 ms/h, the speed per hour that the automobile friend that effectiveness is 0 provides is 12,000 ms/h, then do not adopt the information that the automobile friend that effectiveness is 0 provides, be more prone to the information adopting the automobile friend that effectiveness is 1 to provide, concrete system thresholds P can quote situation design according to different from the computing method that effectiveness and speed per hour are associated, can for but the product of the effectiveness and speed per hour that are not limited to all automobile friends sue for peace, then divided by effectiveness sum, such as P=(1*10+0.2*8+0*12)/(1+0.2+0).
Or also can adopt P=(S*1*10+ (1-S) 0.2*8+0*12)/(1+0.2+0), wherein, S is greater than 0 positive number being less than 1, in the embodiment that the present invention is more preferably, S=0.99.
It should be noted that, with the just citing of the computing formula of upper threshold value P, be not limitation of the present invention, those skilled in the art's other formula designed by thought of the present invention are also within protection scope of the present invention.
The present invention adopts theory of games, and introduces credit mechanism and penalty mechanism, makes the success of single game may not be the success of repeated game.If each node provides deceptive information and is found in the process providing real-time road, its punishment faced is far longer than when time income, then participation real-time road condition information provides during game and all can more view the situation as a whole, and the no longer undue immediate interests considering individuality, thus improve the shared accuracy of real-time road condition information.
In the present embodiment, in step S15, site of road direction to be located and the method being stored into database is:
According to the change of the latitude and longitude coordinates of automobile friend's location coordinate information of twice acquisition in front and back, the Direction code calculated according to anteroposterior diameter latitude difference is in the lump stored in database.Thus accurately judge travel direction.With regard to certain road, its direction nothing more than forward and reverse, but from plane, then can be divided into 8 directions, east, west, south, north, the southeast, northeast, southwest, northwest.As shown in Figure 3, the numeral in figure is the coding in direction, according to these 8 orientation, just roughly can describe the direct of travel of vehicle along road, just can describe the party's real-time traffic condition upwards more accurately after having had direct of travel.According to the change of latitude and longitude coordinates, the present invention, when calculating real-time road, simply directly not to judge with regard to direction, but according to the longitude and latitude change between 60 seconds, the Direction code calculated according to anteroposterior diameter latitude difference is in the lump stored in database.By this method, can avoid directly asking for travel direction and the calculated amount that causes is excessive, the problems such as too much are required to road path parameter value.
It should be noted that, direction encoding is the Warning Mark in direction, and direction encoding of the present invention is not limited to the numeral shown in Fig. 3, any can the coding form of direction indication all within protection scope of the present invention.
S16, the coordinate information according to these road conditions locates its location name in map system, supplements a road conditions information in a database in the mode of road name.
In the present embodiment, the real-time road condition acquiring querying method of working in coordination with based on automobile friend also comprises road condition query process, and this road condition query process comprises:
S21, automobile friend prepares to drive to set out, and opens road condition query client, and input is for the road name of inquiry;
S22, first road condition query service module obtains the latitude and longitude coordinates information of this position from map system according to described road name;
S23, road condition query service module obtains gps coordinate information from the current location of current automobile friend;
S24, according to the direction of road inquiry direction location algorithm determination coordinates of targets;
S25, destination address coordinate, directional information are submitted in database and inquire about by road condition query service module, and will return results and show in cell-phone customer terminal.
Wherein, road inquiry direction location algorithm:
When calculating real-time road, according to the change of the latitude and longitude coordinates of automobile friend's location coordinate information of twice acquisition in front and back, the Direction code calculated according to anteroposterior diameter latitude difference.
As shown in Figure 2, present invention also offers a kind of real-time road condition acquiring inquiry system of working in coordination with based on automobile friend, comprise server and the mobile terminal of information interaction can be carried out with described server,
Server comprises server data and analyzes combing module, road condition query service module,
Mobile terminal comprises client application module, and carries out the inquiring client terminal of information interaction with road condition query service module;
Client application module obtains the latitude and longitude coordinates of current automobile friend present position and is transferred to server data analysis combing module.In the present embodiment, client application module, in conjunction with GPS information and map datum SDK, obtains the latitude and longitude coordinates of current automobile friend present position by GPS and is transferred to server data analysis combing module.In the preferred implementation that the present invention is other, client application module also can adopt other positioning systems, and such as the Big Dipper positions.And also can adopt any existing map datum.
Server data analyzes the road conditions feedback information that combing resume module automobile friend provides, and processes traffic information and store;
The automobile friend that need inquire about traffic information by inquiring client terminal to road condition query service module input inquiry section title, road condition query service module is according to this automobile friend's current location, and inquiry section its travel direction of location determination, and send road condition query request to road condition data storehouse on this basis, and the traffic information of acquisition is fed back to inquiring client terminal.
It should be noted that, because the Similar content of system embodiment and embodiment of the method is more, that therefore introduces is relatively simpler, and related content refers to embodiment of the method part.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.

Claims (7)

1., based on the real-time road condition acquiring querying method that automobile friend works in coordination with, it is characterized in that, comprising:
Road condition acquiring process, described road condition acquiring process comprises the steps:
S11, automobile friend travels on certain road, if this congestion in road, inputs congestion information on mobile terminals;
S12, described mobile terminal is marked by the ID of the location coordinate information of described automobile friend, described automobile friend and congestion information mails to server in the lump;
S13, after T time, the ID of the location coordinate information of described automobile friend, described automobile friend mark is mail to server by described mobile terminal again, and described T is positive number;
S14, the server data of server is analyzed after combing module receives 2, front and back data message, confirm the speed per hour of the vehicles that described automobile friend takes, and compare with system thresholds P, then the traffic information of this coordinate is obtained, described system thresholds P is positive number, described system thresholds P is for Manual definition or adjusted by road condition data polymerization analysis algorithm, the travel speed of the foundation existing history threshold data of section fragment current time fragment and these road conditions automobile friend during adjustment, the traffic information of reflection and the credit of automobile friend, the value of decision-making current system threshold values P is carried out according to polymerization analysis algorithm,
Described road condition data polymerization analysis algorithm, is specially:
N number of node is had, N={1 in network ..., n}, n are positive integer, source node and destination node set are respectively Si, Di}, wherein i=1,2 ..., n,
If node k often correctly provides the income of traffic information to be G, loss is F, and taking successful probability is a k, then the utility function U of node k kcan be expressed as:
U k = Σ i = 1 v k 3 ( a k G ) - Fa k b k
Wherein, b krepresent that node k receives the probability of competition game;
Due to the individuality that node is rationality, in whole game play cycle, all nodes all can adjust the authenticity of the road conditions reflection of oneself to make self maximization of utility, that is:
max 0 ≤ a k ≤ 1 U k ( a k , a - k )
Based on dynamic perfromance and the chronicity of each client terminals in whole real-time road sharing platform network, and the current splitting glass opaque selection of client can affect the consideration in follow-up game stage, the mutual of game both sides is repeated game, suppose that described repeated game has known exchange times T, when each selection forward node decision-making, take over party's node in the past 1 that node can observe participative decision making, 2, the behavior of t-1 forwarding decision, according to the form describing utility function in game theory with discount factors, the total utility of each node can be expressed as:
Σ t = 0 T δ t U k ( a ( t ) )
Wherein a (t)=(a 1..., a n), U k(a (t)) represents the node k utility value when carrying out stage game for the t time, and δ to cooperate patient comprehensive measurement to node k: δ is larger, and k is more patient in expression, and this node also more payes attention to long-term benefit; Otherwise then k more payes attention to immediate interest, the value of δ is generally determined by application scenarios, if in step s 13 after the T moment position current time fragment of automobile friend provide the client terminal quantity of road conditions many, then this δ value can suitably improve,
The average utility of node k can be expressed as:
U k → = ( 1 - δ ) Σ t = 0 T δ t U k ( α ( t ) )
Normalization factor (1-δ) is for estimating the income of stage game and repeated game with unified unit; The unit effectiveness of each issue is all standardized as 1;
S15, described server data analyzes combing module according to the current road condition analyzing result of system, increases this traffic information, revises road conditions aggregation information further, and is saved in database in the mode of longitude and latitude by this traffic information;
S16, the coordinate information according to these road conditions locates its location name in map system, supplements a road conditions information in a database in the mode of road name.
2. the real-time road condition acquiring querying method of working in coordination with based on automobile friend as claimed in claim 1, it is characterized in that, described T is 60 seconds.
3. the real-time road condition acquiring querying method of working in coordination with based on automobile friend as claimed in claim 1, is characterized in that, confirms that algorithm obtains the traffic information of this coordinate according to automobile friend's road conditions, and described automobile friend's road conditions confirm that algorithm comprises:
S51, calculates distance
C=sin(MLatA)*sin(MLatB)*cos(MLonA-MLonB)+cos(MLatA)*cos(MLatB),
Distance=R*Arccos(C)*Pi/180,
Wherein, MLatA is the longitude coordinate of starting point A, and MLonA is the latitude coordinate of starting point A; MLatB is the longitude coordinate of starting point B, and MLonB is the latitude coordinate of starting point B,
R is the radius of the earth, and value is 6378.137 kilometers; Pi is 3.1415926,
S52, calculates average speed;
S53, confirms that road conditions calculate;
According to urban traffic situation information, two threshold value M1 and M2 are set, represent block up threshold value and unobstructed threshold value respectively, described M1, M2 are positive number, and M1 is less than M2, when average velocity is lower than M1, then be considered as blocking up, be considered as normal time between M1 and M2, higher than M2, then unobstructed, if actual road conditions calculated value is identical with the evaluation of estimate that automobile friend provides, then this result is directly delivered road condition data polymerization analysis algorithm, otherwise, abandon the evaluation of estimate that automobile friend provides, and submit the calculated value based on this automobile friend's position calculation to road condition data polymerization analysis algorithm process.
4. the real-time road condition acquiring querying method of working in coordination with based on automobile friend as claimed in claim 1, is characterized in that, in step S15, locate and be stored into database to site of road direction:
According to the change of the latitude and longitude coordinates of automobile friend's location coordinate information of twice acquisition in front and back, the Direction code calculated according to anteroposterior diameter latitude difference is in the lump stored in database.
5. the real-time road condition acquiring querying method of working in coordination with based on automobile friend as claimed in claim 1, it is characterized in that, also comprise road condition query process, described road condition query process comprises:
S21, automobile friend prepares to drive to set out, and opens road condition query client, and input is for the road name of inquiry;
S22, first road condition query service module obtains the latitude and longitude coordinates information of this position from map system according to described road name;
S23, road condition query service module obtains gps coordinate information from the current location of current automobile friend;
S24, according to the direction of road inquiry direction location algorithm determination coordinates of targets;
S25, destination address coordinate, directional information are submitted in database and inquire about by road condition query service module, and will return results and show in cell-phone customer terminal.
6. the real-time road condition acquiring querying method of working in coordination with based on automobile friend as claimed in claim 5, is characterized in that, described road inquiry direction location algorithm:
When calculating real-time road, according to the change of the latitude and longitude coordinates of automobile friend's location coordinate information of twice acquisition in front and back, the Direction code calculated according to anteroposterior diameter latitude difference.
7. run a system for real-time road condition acquiring querying method of working in coordination with based on automobile friend according to claim 1, it is characterized in that, comprise server and the mobile terminal of information interaction can be carried out with described server,
Described server comprises server data and analyzes combing module, road condition query service module,
Described mobile terminal comprises client application module, and carries out the inquiring client terminal of information interaction with described road condition query service module;
Described client application module obtains the latitude and longitude coordinates of current automobile friend present position and is transferred to server data analysis combing module;
Server data analyzes the road conditions feedback information that combing resume module automobile friend provides, and processes traffic information and store;
The automobile friend that need inquire about traffic information by inquiring client terminal to road condition query service module input inquiry section title, road condition query service module is according to this automobile friend's current location, and inquiry section its travel direction of location determination, and send road condition query request to road condition data storehouse on this basis, and the traffic information of acquisition is fed back to inquiring client terminal.
CN201410252156.9A 2014-06-09 2014-06-09 The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method Expired - Fee Related CN103996293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410252156.9A CN103996293B (en) 2014-06-09 2014-06-09 The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410252156.9A CN103996293B (en) 2014-06-09 2014-06-09 The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method

Publications (2)

Publication Number Publication Date
CN103996293A CN103996293A (en) 2014-08-20
CN103996293B true CN103996293B (en) 2016-02-24

Family

ID=51310443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410252156.9A Expired - Fee Related CN103996293B (en) 2014-06-09 2014-06-09 The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method

Country Status (1)

Country Link
CN (1) CN103996293B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111613045A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Method and device for verifying road traffic condition

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464339A (en) * 2014-11-25 2015-03-25 冷天华 Beidou-system-based intelligent road condition and message broadcasting internet-of-things terminal
CN105788338A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Interaction-type intelligent GPS
CN105783928A (en) * 2014-12-26 2016-07-20 北京奇虎科技有限公司 Intelligent vehicle-mounted GPS
CN105991754B (en) * 2015-03-31 2020-09-08 深圳市凯立德科技股份有限公司 Method for prompting information of other positioning terminals, positioning terminal and server
CN105849790B (en) 2015-10-16 2020-10-09 华为技术有限公司 Road condition information acquisition method
CN105898221A (en) * 2016-04-25 2016-08-24 深圳市双赢伟业科技股份有限公司 Vehicle networked video processing method and apparatus
EP3267419B1 (en) * 2016-07-08 2021-11-10 Volvo Car Corporation Method and system for maintaining a database comprising reported traffic-affecting events
CN106448225B (en) * 2016-08-25 2019-12-10 深圳市元征科技股份有限公司 Road section information sharing method and device
TWI624817B (en) * 2016-11-24 2018-05-21 英業達股份有限公司 Traffic monitoring system and method for operating a traffic monitoring system
CN109345872A (en) * 2018-11-16 2019-02-15 深圳市科迈爱康科技有限公司 Traffic alarm method, apparatus and system based on line holographic projections
CN109635063A (en) * 2018-12-06 2019-04-16 拉扎斯网络科技(上海)有限公司 Information processing method, device, electronic equipment and the storage medium of address base
CN109874121A (en) * 2019-02-28 2019-06-11 同济大学 Foundation-free facility car networking is connected to Journal of Sex Research and determination method
CN110136436B (en) * 2019-05-13 2020-04-24 特斯联(北京)科技有限公司 Information database-based road condition sharing method and equipment
CN110491125B (en) * 2019-08-20 2022-03-04 江苏金晓电子信息股份有限公司 Traffic early warning induction information generation method
CN110650180B (en) * 2019-08-23 2021-07-16 腾讯科技(深圳)有限公司 Road data acquisition method, system, terminal and storage medium
CN113240910B (en) * 2021-07-12 2021-10-26 中国人民解放军国防科技大学 Road detection method, system, equipment and storage medium based on cooperative vehicle
CN116431936B (en) * 2023-06-13 2023-08-18 陕西交通电子工程科技有限公司 Road condition information rapid query method based on tunnel road section

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4847772A (en) * 1987-02-17 1989-07-11 Regents Of The University Of Minnesota Vehicle detection through image processing for traffic surveillance and control
JP4026520B2 (en) * 2003-03-14 2007-12-26 株式会社日立製作所 Traffic information display device
CN100547582C (en) * 2004-02-17 2009-10-07 逄晓虎 A kind of method and system of obtaining transport information
CN100511320C (en) * 2004-03-25 2009-07-08 株式会社日立制作所 Vehicular detecting terminal, data detection collecting system and related method
CN101944096B (en) * 2009-07-08 2012-05-30 广东融讯信息科技有限公司 Method and system for providing bus routes
CN102222408A (en) * 2010-04-13 2011-10-19 深圳市赛格导航科技股份有限公司 Method for reporting blocked road sections, unblocked road sections and driving conditions and vehicle-mounted navigation equipment
CN102176284B (en) * 2011-01-27 2014-04-30 深圳市美赛达科技股份有限公司 System and method for analyzing and determining real-time road condition information based on global positioning system (GPS) terminal
CN102496273B (en) * 2011-11-22 2013-12-04 安科智慧城市技术(中国)有限公司 City traffic road condition collection method and system thereof
KR101475230B1 (en) * 2013-08-01 2014-12-30 (주)씨이랩 Land mark based point-of-interest information offering system, and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111613045A (en) * 2019-02-25 2020-09-01 阿里巴巴集团控股有限公司 Method and device for verifying road traffic condition

Also Published As

Publication number Publication date
CN103996293A (en) 2014-08-20

Similar Documents

Publication Publication Date Title
CN103996293B (en) The real-time road condition acquiring inquiry system of working in coordination with based on automobile friend and collection querying method
CN105206108B (en) A kind of vehicle collision prewarning method based on electronic map
WO2015051718A1 (en) Dynamic track navigation method and cloud platform
US20210254986A1 (en) Selective vehicle tracking and vehicle routing
CN103177561B (en) Method for generating bus real-time traffic status
CN101842664A (en) System and method for determining intersection right-of-way for vehicles
CN104332064A (en) Method and device for updating road information based on user track
CN109275121A (en) A kind of Vehicle tracing method based on adaptive extended kalman filtering
CN106971593A (en) Lane recognition method and device
CN112634632A (en) Vehicle scheduling method and device, electronic equipment and storage medium
CN107591013A (en) Different vehicle positional information Real-Time Sharing method and system on one kind colleague's route
CN102855756A (en) Intelligent method, server and system for calling taxi
CN105702042A (en) Road congestion judgment method according to locating information of key operating vehicles
CN114037384A (en) Logistics vehicle monitoring method, device, equipment and storage medium
CN105096625A (en) Method of acquiring real-time road condition information, system and server
CN103354030A (en) Method for determining road traffic situation by utilizing floating bus CAN bus information
CN106128132A (en) A kind of system of real-time road monitoring
CN112652166B (en) Job site transportation scheduling system
CN108230144A (en) A kind of auto metal halide lamp air control method based on Internet of Things and environment sensing
US20110037617A1 (en) System and method for providing vehicular safety service
CN105654745A (en) Real-time traffic flow monitoring method based on intelligent handset
KR101335924B1 (en) System for serving information of dangerous district forecast based on natural disaster dangerous district data
US20230168368A1 (en) Guardrail estimation method based on multi-sensor data fusion, and vehicle-mounted device
CN110827550A (en) Intelligent traffic city route planning method and device
CN205862601U (en) A kind of cloud computing navigation system

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160224

Termination date: 20200609

CF01 Termination of patent right due to non-payment of annual fee