Movatterモバイル変換


[0]ホーム

URL:


CN103812933A - Bipartite graph based in-vehicle network distributed storage method - Google Patents

Bipartite graph based in-vehicle network distributed storage method
Download PDF

Info

Publication number
CN103812933A
CN103812933ACN201410038091.8ACN201410038091ACN103812933ACN 103812933 ACN103812933 ACN 103812933ACN 201410038091 ACN201410038091 ACN 201410038091ACN 103812933 ACN103812933 ACN 103812933A
Authority
CN
China
Prior art keywords
msup
vertex
edge
vehicle
roadside unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410038091.8A
Other languages
Chinese (zh)
Other versions
CN103812933B (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.)
Shenzhen Air Technology Co Ltd
Original Assignee
RESEARCH INSTITUTE OF BEIHANG UNIVERSITY IN SHENZHEN
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 RESEARCH INSTITUTE OF BEIHANG UNIVERSITY IN SHENZHENfiledCriticalRESEARCH INSTITUTE OF BEIHANG UNIVERSITY IN SHENZHEN
Priority to CN201410038091.8ApriorityCriticalpatent/CN103812933B/en
Publication of CN103812933ApublicationCriticalpatent/CN103812933A/en
Application grantedgrantedCritical
Publication of CN103812933BpublicationCriticalpatent/CN103812933B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention discloses a bipartite graph based in-vehicle network distributed storage method. According to the bipartite graph based in-vehicle network distributed storage method, a distributed storage problem is firstly modeled, and bipartite graph matching is performed, so that optimal in-vehicle network distributed storage of in-vehicle request identification information sent by each in-vehicle node can be achieved under different conditions, and in-vehicle network can respond to maximum in-vehicle request identification information; subsequently, repeated network information stored by roadside units is cleared, resource waste generated by the fact that multiple roadside units respond to the same in-vehicle request identification information is avoided, and meanwhile, in-vehicle request identification information which is met is not affected; finally, in-vehicle request identification information which is not met is collected, and secondary allocation is performed on spare storage space obtained by clearing the roadside units until each roadside unit has no spare storage space, or all the in-vehicle request identification information received by the roadside units is responded, or remaining in-vehicle request identification information cannot be met; a storage resource utilization rate and a data response data are increased, and data service qualities of an in-vehicle network are guaranteed.

Description

Vehicle-mounted network distributed storage method based on bipartite graph
Technical Field
The invention relates to a distributed storage method of a vehicle-mounted network based on a bipartite graph, in particular to a distributed storage method of a vehicle-mounted network based on a bipartite graph in a scene formed by roadside infrastructure and mobile vehicles.
Background
Version 1 of 5 months, 2010, Dongdong, Zhouyi, ed, "computer Algorithm and Programming practice", page 334. G is said to be a bipartite graph if the set of vertices of the graph G can be divided into two parts, X and Y, such that the two endpoints of each edge in G are one in X and the other in Y. X and Y are two divisions of G, denoted as G ═ X, Y, E, and E is a side.
The vehicle-mounted network is composed of a mobile vehicle, a fixed roadside infrastructure on which intelligent devices (called roadside units) with large storage capacity capable of communicating with the information center are deployed, and an information center on which sensor nodes (called vehicle-mounted nodes) with sensing, data processing, storage and wireless communication capabilities are deployed. The vehicle-mounted network realizes wide coverage of information transmission, expands the range and depth of information transmission and simplifies large-scale network deployment through communication (V2I) between vehicle-mounted nodes and roadside units and communication (V2V) between the vehicle-mounted nodes. The vehicle-mounted network has the characteristics of high-speed movement of vehicle-mounted nodes, regularity of vehicle movement, network access support of roadside units and the like, is wide in application range, and can be used for various intelligent services such as safety early warning, driving assistance, distributed traffic information release, multimedia information sharing and entertainment and the like, so that the driving safety and the traffic transportation efficiency are greatly improved. Reference 6 is made to V2V and V2I communication modes.
Communication between the on-board node and the roadside units (V2I) is an important communication mode in the on-board network, and in the V2I communication mode, the roadside units can acquire network information from an information center and store the network information in a local device, and the on-board node can transmit on-board request identification information to the roadside units and receive the network information transmitted by the roadside units. In the process, how the information center decides which network information is distributed to which roadside units to respond to as many vehicle-mounted request identification information as possible is a key problem.
Due to the fact that the vehicle runs to cause rapid change of the topology of the vehicle-mounted network, the storage space of the roadside unit is limited, and the same network information can be requested by a plurality of vehicle-mounted nodes, so that the optimal distributed storage method of the vehicle-mounted network becomes an NPC (non-deterministic polymeric complete) problem, cannot be solved in polynomial time, and has no practical value. Therefore, how to design an efficient vehicle-mounted network distributed storage method, how to calculate the storage condition of network information in the roadside unit within polynomial time, and how to ensure higher data response rate, and how to improve the quality of vehicle-mounted network data service become important and difficult points of research.
Disclosure of Invention
In order to improve the data response rate of the distributed storage of the vehicle-mounted network and reduce the time overhead of the storage scheme calculation, the invention adopts a distributed storage method of the vehicle-mounted network based on a bipartite graph. The method firstly models the distributed storage problem, and utilizes bipartite graph matching to realize the optimal distributed storage method of the vehicle-mounted network under different conditions for the vehicle-mounted request identification information sent by each vehicle-mounted node, thereby ensuring that the vehicle-mounted network can respond to the most vehicle-mounted request identification information; then, the repeated network information stored by the roadside units is cleaned, so that resource waste caused by the fact that a plurality of roadside units respond to the same vehicle-mounted request identification information is avoided, and meanwhile the satisfied vehicle-mounted request identification information is not influenced; and finally, collecting the unsatisfied vehicle-mounted request identification information, and carrying out secondary distribution on the vacant storage space obtained by the roadside unit cleaning until each roadside unit has no vacant storage space, or all the vehicle-mounted request identification information received by the roadside unit is responded, or the remaining vehicle-mounted request identification information cannot be satisfied. The method of the invention improves the utilization rate of storage resources and the data response rate, and ensures the data service quality of the vehicle-mounted network.
The invention relates to a distributed storage method of a vehicle-mounted network based on a bipartite graph, which comprises the following steps:
the method comprises the following steps: two-part diagram of structure
Firstly, setting an empty bipartite graph G as (X, Y, E), wherein X represents a left vertex, Y represents a right vertex, and E represents an edge; then, filling elements into X of the empty bipartite graph G ═ X, Y, E), and forming a bipartite graph G with left verticesX(ii) a Then, a storage position with storage capacity is constructed and filled in the bipartite graph G with the left vertexXIn Y of (3), a bipartite graph G having left and right vertex sets is formedX+Y(ii) a Finally matching the condition by the vertex
Figure BDA0000462146690000021
And isAnd is
Figure BDA0000462146690000023
To judge the bipartite graph G with left and right vertex setsX+YWhether X and Y in (1) are connected to each other or not is judged, and a bipartite graph with vertexes and edges is obtained
Figure BDA0000462146690000024
Step two: finding a bipartite graph maximum matching subgraph
If there are vertices and edges
Figure BDA0000462146690000025
If the edge set E is not empty, the Hungarian algorithm is adopted to obtain the maximum matching subgraph GB ═<(X,Y),EB>(ii) a If there are vertices and edges
Figure BDA0000462146690000026
The edge set E of (a) is empty,ending the distributed storage and outputting a vehicle-mounted distribution result DI;
step three: distributing and cleaning network information
For the maximum matching subgraph GB ═<(X,Y),EB>Network information distribution is carried out, and a vehicle-mounted distribution result is obtained <math> <mrow> <msup> <mrow> <mi>DI</mi> <mo>=</mo> <mo>{</mo> <mi>d</mi> </mrow> <msup> <mi>Rf</mi> <mn>1</mn> </msup> </msup> <mo>,</mo> <msup> <mi>d</mi> <msup> <mi>Rf</mi> <mn>2</mn> </msup> </msup> <mo>,</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> </mrow> <mrow> <msup> <mi>d</mi> <msup> <mi>Rf</mi> <mi>z</mi> </msup> </msup> <mo>}</mo> <mo>;</mo> </mrow></math>Then judge one by one the <math> <mrow> <msup> <mrow> <mi>DI</mi> <mo>=</mo> <mo>{</mo> <mi>d</mi> </mrow> <msup> <mi>Rf</mi> <mn>1</mn> </msup> </msup> <mo>,</mo> <msup> <mi>d</mi> <msup> <mi>Rf</mi> <mn>2</mn> </msup> </msup> <mo>,</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> </mrow> <mrow> <msup> <mi>d</mi> <msup> <mi>Rf</mi> <mi>z</mi> </msup> </msup> <mo>}</mo> </mrow></math>Whether the number of roadside units in each element is more than 1 or not; if the number of the roadside units is larger than 1, cleaning vehicle-mounted nodes corresponding to the same network information of different roadside units; if the number of the roadside units is less than or equal to 1, giving up cleaning of the network information distributed by the roadside units; then, the cleaned roadside units are sorted according to the number of the vehicle-mounted nodes, and the sorted roadside units are respectively processed into a first position and other positions; to pairThe storage position of the roadside unit at the head position is reserved, whether the roadside units at other positions behind the head position are empty is judged, the empty is a recording storage position, and cleaning is abandoned if the roadside units are not empty; then, the assignment of the vehicle-mounted node is carried out on the intermediate result obtained by cleaning;
step four: secondary distribution and updating bipartite graph vertex set
Removing vehicle-mounted request identification informationThe digital identification number related to the left vertex of the connecting edge is obtained to obtain the secondarily distributed vehicle-mounted request identification information
Figure BDA00004621466900000210
WhereinAdding an element Z into the identification of the left vertex of the empty bipartite graph; and finally, adding elements in the secondarily distributed storage positions of the whole network into the right vertex of the bipartite graph, thereby realizing the distribution of the secondary distribution.
The distributed storage method of the vehicle-mounted network based on the bipartite graph has the following advantages:
1. the distributed storage problem of the vehicle-mounted network is converted into the maximum matching problem of the bipartite graph based on the bipartite graph, the calculation complexity of solving is reduced, and the distribution scheme can be calculated in polynomial time.
2. According to the invention, the vehicle-mounted nodes and the roadside units are mapped to the left and right vertexes of the bipartite graph, and the corresponding relation between the vehicle-mounted request identification information and the storage positions of the roadside units is represented by connecting the left and right vertexes, so that the network information distribution of the information center is more visual, and the problem description and display are clearer.
3. The method avoids resource waste caused by different roadside units responding to the same vehicle-mounted request identification information by clearing redundant allocation, and improves the utilization rate of the vehicle-mounted network storage space.
4. The method of the invention carries out secondary distribution on the vacant storage space generated by the roadside unit cleaning until each roadside unit has no vacant storage space, or all the vehicle-mounted request identification information of the roadside unit is responded, or the rest vehicle-mounted request identification information cannot be met, thereby improving the response rate of the data request and ensuring the data service quality of the vehicle-mounted network.
Drawings
Fig. 1 is a process flow diagram of distributed storage of a conventional in-vehicle network.
FIG. 2 is a flow chart of the distributed storage of the vehicular network based on the bipartite graph of the invention.
Fig. 3 is a schematic diagram of an onboard network formed by a plurality of onboard nodes and roadside units in the current storage period.
Fig. 3A is a schematic diagram of an onboard network formed by a plurality of onboard nodes and roadside units in the next storage cycle.
FIG. 4A is a schematic diagram of the relationship between the left and right vertices and the edge of the bipartite graph according to the present invention.
Fig. 4B is a diagram of the maximum matching subgraph of fig. 4A.
FIG. 4C is a schematic diagram of the two-part diagram of FIG. 4B after cleaning.
Fig. 4D is a schematic diagram of the left and right vertices of the bipartite graph when performing quadratic allocation.
FIG. 5 is a graph comparing data response rate of the present invention method with other methods for in-vehicle network distributed storage.
FIG. 6 is a comparison graph of average response time delay for in-vehicle network distributed storage by the method of the present invention and other methods.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Referring to fig. 1, a conventional vehicle-mounted network system includes a plurality of roadside units, a plurality of vehicle-mounted nodes, and an information center IC; the communication between the vehicle-mounted nodes and the roadside units is V2I, the communication between the vehicle-mounted nodes is V2V, and the communication between the information center IC and the roadside units is an Internet network. The network information stored in the information center IC is divided into two parts, one part is the vehicle-mounted network information content, the other part is the number identification number ID corresponding to the vehicle-mounted network information content, the ID is 1,2, …, Z represents the number of the number identification numbers, for convenience of the following description, Z also represents any number identification number, and may also be the number identification number corresponding to the last vehicle-mounted network information content. If the network information is expressed in a tabular form, the following table is provided.
Sequence numbercontentID
Rf1content11
Rf2content22
Rf3content33
Rf4content44
Rf5content55
RfZ-1contentZ-1Z-1
RfZcontentZZ
In the above table, content1、content2、content3、content4、content5、……、contentZ-1And contentZThe specific in-vehicle network information content of (a) is different.
The first network information is denoted Rf1(content1,1),content1Representing the vehicle-mounted network information content with thenumber identification number 1, 1 representing the number corresponding to the first vehicle-mounted network information contentAn identification number;
the second network information is denoted as Rf2(content2,2),content2The number identification number of the vehicle-mounted network information content is 2, and 2 is the number identification number corresponding to the second vehicle-mounted network information content;
the third network information is denoted as Rf3(content3,3),content3The number identification number of the third vehicle-mounted network information content is 3, and 3 is a number identification number corresponding to the third vehicle-mounted network information content;
the fourth network information is denoted Rf4(content4,4),content4The number identification number of the fourth vehicle-mounted network information content is 4, and 4 is a number identification number corresponding to the fourth vehicle-mounted network information content;
the fifth network information is denoted as Rf5(content5,5),content5The vehicle-mounted network information content with the number identification number of 5 is shown, and 5 is a number identification number corresponding to the fifth vehicle-mounted network information content;
the Z-1 st network information is recorded as RfZ-1(contentZ-1,Z-1),contentZ-1The method comprises the steps that the vehicle-mounted network information content with the number identification number Z-1 is represented, and Z-1 represents the number identification number corresponding to the Z-1 th vehicle-mounted network information content;
the last network information is denoted RfZ(contentZ,Z),contentZThe method comprises the steps that vehicle-mounted network information content with a digital identification number Z is represented, and the Z represents a digital identification number corresponding to the last vehicle-mounted network information content; for convenience of explanation, RfZ(contentZZ) is also referred to as any network information.
In any storage period tau, the network information is expressed as a set
<math> <mrow> <msup> <mi>F</mi> <mi>&tau;</mi> </msup> <mo>=</mo> <mfenced open='{' close='}'> <mtable> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>1</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>1</mn> </msub> <mo>,</mo> <mn>1</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>2</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>2</mn> </msub> <mo>,</mo> <mn>2</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>3</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>3</mn> </msub> <mo>,</mo> <mn>3</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>4</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>4</mn> </msub> <mo>,</mo> <mn>4</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>5</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>5</mn> </msub> <mo>,</mo> <mn>5</mn> <mo>)</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mrow> <mi>Z</mi> <mo>-</mo> <mn>1</mn> </mrow> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mrow> <mi>Z</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>,</mo> <mi>Z</mi> <mo>-</mo> <mn>1</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mi>Z</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mi>Z</mi> </msub> <mo>,</mo> <mi>Z</mi> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> </mtable> </mfenced> <mo>.</mo> </mrow></math>
In the vehicle-mounted network, a current storage cycle is denoted as τ (also referred to as an arbitrary storage cycle τ), and a next storage cycle is denoted as τ + 1. The information transmission processing flow of a vehicle-mounted network comprises the following steps: firstly, in the driving process of a vehicle-mounted node, in the current storage period tau, the vehicle-mounted node sends vehicle-mounted request identification information IM to an information center IC through a roadside unit; then, when the current storage period tau is over, the information center IC distributes network information corresponding to the IM to the roadside units, and outputs a vehicle-mounted distribution result DI; and finally, in the driving process of the vehicle-mounted node, in the next storage period tau +1, the vehicle-mounted node acquires network information corresponding to the IM from the encountered roadside unit.
Referring to fig. 1 and 2, in order to improve the data response rate of the vehicle-mounted network distributed storage and reduce the time overhead of the storage scheme calculation, the invention adopts a vehicle-mounted network distributed storage method based on a bipartite graph, which is referred to as ccr (cooperative Content replication) method for short. The CCR method is used for solving the problem that an information center IC distributes network information corresponding to IM to roadside units.
And the information center IC of the vehicle-mounted network can acquire the network information corresponding to the vehicle-mounted request identification information IM through the Internet and distribute the network information to the roadside units so as to respond to the vehicle-mounted request identification information of the vehicle-mounted nodes.
In the vehicle-mounted network, r roadside units are arranged in total and are expressed in a set form
RD={R1,R2,…,Rr},R1Denotes a first roadside unit, R2Denotes a second roadside unit, RrThe last roadside unit is shown, R for ease of illustrationrAlso referred to as any roadside unit. In the vehicle network, any one roadside unit RrHas a certain storage capacity
Figure BDA00004621466900000519
Represents a roadside unit RrThe unit of the possessed network information capacity is the size of one network information.
In the vehicle-mounted network, a total of n vehicle-mounted nodes are provided, and the nodes are expressed in a set form as VD ═ V1,V2,…,Vn},V1Denotes the first vehicle node, V2Represents a second vehicle node, VnThe last vehicle node is shown, V for ease of illustrationnAlso referred to as any one of the on-board nodes.
In the vehicle network, in the next storage period tau +1, the first vehicle node V1Record the set of roadside units to be encountered
Figure BDA0000462146690000051
Figure BDA0000462146690000052
Second vehicle node V2Record the set of roadside units to be encountered
Figure BDA0000462146690000053
Figure BDA0000462146690000054
Last vehicle node VnRecord the set of roadside units to be encountered <math> <mrow> <msup> <mi>AR</mi> <msup> <mi>V</mi> <mi>n</mi> </msup> </msup> <mo>&SubsetEqual;</mo> <mi>RD</mi> <mo>.</mo> </mrow></math>
In the current storage period tau, the first vehicle-mounted node V1By roadside unit set RD ═ R1,R2,…,RrRecording the vehicle-mounted request identification information sent to the information center IC
Figure BDA0000462146690000057
The vehicle-mounted request identification informationIs referred to as FτBy the first vehicle-mounted node V1And the requested digital identification number ID corresponding to the vehicle-mounted network information content.
In the current storage period tau, the second vehicle-mounted node V2By roadside unit set RD ═ R1,R2,…,RrRecording the vehicle-mounted request identification information sent to the information center IC
Figure BDA0000462146690000059
The vehicle-mounted request identification information
Figure BDA00004621466900000510
Is referred to as FτIn the second vehicle node V2And the requested digital identification number ID corresponding to the vehicle-mounted network information content.
In the current storage period tau, the last vehicle-mounted node VnBy roadside unit set RD ═ R1,R2,…,RrRecording the vehicle-mounted request identification information sent to the information center IC
Figure BDA00004621466900000511
The vehicle-mounted request identification information
Figure BDA00004621466900000512
Is referred to as FτLast vehicle-mounted node V innAnd the requested digital identification number ID corresponding to the vehicle-mounted network information content.
In the invention, all vehicle-mounted nodes VD ═ V1,V2,…,VnThe vehicle-mounted request identification information sent by the station is expressed as <math> <mrow> <mi>IM</mi> <mo>=</mo> <mo>{</mo> <msup> <mi>I</mi> <msup> <mi>V</mi> <mn>1</mn> </msup> </msup> <mo>,</mo> <msup> <mi>I</mi> <msup> <mi>V</mi> <mn>2</mn> </msup> </msup> <mo>,</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>,</mo> <msup> <mi>I</mi> <msup> <mi>V</mi> <mi>n</mi> </msup> </msup> <mo>}</mo> <mo>.</mo> </mrow></math>
Referring to fig. 3, in an on-board network scenario, 7 roadside units and 7 on-board nodes are provided.
First roadside unit R1Storage capacity of
Figure BDA00004621466900000513
Second roadside unit R2Storage capacity of
Figure BDA00004621466900000514
Third roadside unit R3Storage capacity of
Figure BDA00004621466900000515
The fourth roadside unit R4Storage capacity of
The fifth roadside unit R5Storage capacity of
Figure BDA00004621466900000517
The R-1 th roadside unit Rr-1Storage capacity of
Figure BDA00004621466900000518
The R roadside units RrStorage capacity of
Figure BDA0000462146690000061
In the current storage period tau, the first vehicle-mounted node V1The passing roadside unit has a first roadside unit R1. First vehicle node V1To the first roadside unit R1Transmitted in-vehicle request identification information
In the current storage period tau, the second vehicle-mounted node V2The passing roadside unit has a first roadside unit R1. Second vehicle node V2To the first roadside unit R1Transmitted in-vehicle request identification information
In the current storage period tau, a third vehicle-mounted node V3The passing roadside unit has a second roadside unit R2. Third vehicle node V3To a second roadside unit R2Transmitted in-vehicle request identification information
In the current storage period tau, the fourth vehicle-mounted node V4The passing roadside unit has a fourth roadside unit R4. Fourth vehicle node V4To a fourth roadside unit R4Transmitted in-vehicle request identification information
Figure BDA0000462146690000065
In the current storage period tau, the fifth vehicle-mounted node V5The passing roadside unit has a third roadside unit R3The fourth roadside unit R4. Fifth vehicle node V5To a third roadside unit R3And a fourth roadside unit R4Transmitted in-vehicle request identification information
Figure BDA0000462146690000066
In the current storage period tau, the n-1 th vehicle-mounted node Vn-1The passing roadside unit has the R-1 th roadside unit Rr-1. N-1 th vehicle-mounted node Vn-1To the r-1 stRoadside unit Rr-1Transmitted in-vehicle request identification informationIVn-1={Z-1}.
In the current storage period tau, the nth vehicle-mounted node VnThe passing roadside unit has a first roadside unit R1A second roadside unit R2. Nth vehicle node VnTo the first roadside unit R1And a second roadside unit R2Transmitted in-vehicle request identification information
Figure BDA0000462146690000068
Referring to fig. 3A, in an on-board network scenario, 7 roadside units and 7 on-board nodes are provided.
In the next storage period tau +1, the first vehicle node V1The roadside unit to be encountered has a second roadside unit R2Is marked as
Figure BDA0000462146690000069
In the next memory period tau +1, the second vehicle node V2The roadside unit to be encountered has a fourth roadside unit R4A third roadside unit R3Is marked as
Figure BDA00004621466900000610
In the next storage period tau +1, the third vehicle node V3The roadside unit to be encountered has a fifth roadside unit R5Is marked as
Figure BDA00004621466900000611
In the next storage period tau +1, the fourth on-board node V4The roadside unit to be met has the R-1 th roadside unit Rr-1The R < th > roadside unit RrIs marked as
Figure BDA00004621466900000612
In the next storage period tau +1, the fifth vehicle node V5The roadside unit to be encountered has a fifth roadside unit R5Is marked as
In the next storage period tau +1, the n-1 th vehicle-mounted node Vn-1The roadside unit to be encountered has the R-th roadside unit RrThe fifth roadside unit R5Is marked as
In the next storage period tau +1, the nth vehicle-mounted node VnThe roadside unit to be encountered has a fifth roadside unit R5The R < th > roadside unit RrIs marked as
In order to describe in detail the vehicle-mounted network distributed storage based on the bipartite graph of the received network information by the information center IC, the present invention uses an example to describe how the network information is distributed stored, which is only used for illustrating but not limiting the technical solution of the present invention, and any modification or partial replacement without departing from the spirit and scope of the present invention shall be covered in the protection scope of the technical solution of the present invention.
Referring to fig. 2, the specific steps of a distributed storage method (CCR method) for a vehicle network based on a bipartite graph provided by the present invention are as follows:
the method comprises the following steps: two-part diagram of structure
Step 11: setting an empty bipartite graph as G ═ X, Y, E, X denotes the left vertex, Y denotes the right vertex, and E denotes the edge; executing step 12;
step 12: collected from information centre IC in current storage period tau
Figure BDA0000462146690000073
The element in (b) is added to X of (X, Y, E) to obtain a bipartite graph G with a left vertexXExecuting step 13;
referring to FIGS. 4A, 4B, and 4C, a bipartite graph G having a left vertex according to the present inventionXX ═ a is an element contained in the left vertex of (a)1,a2,a3,a4,a5,a6,a7,…,ai-1,ai}, wherein:
a1denotes the first left vertex, a1The recorded content is
Figure BDA0000462146690000074
Thenumerical identification number 1 contained in (a);
a2denotes the second left vertex, a2The recorded content is
Figure BDA0000462146690000075
Thenumerical identification number 2 contained in (a);
a3denotes the third left vertex, a3The recorded content is
Figure BDA0000462146690000076
Thenumerical identification number 1 contained in (a);
a4denotes the fourth left vertex, a4Inside of recordContaining is
Figure BDA0000462146690000077
The numerical identification number 3 contained therein;
a5denotes the fifth left vertex, a5The recorded content is
Figure BDA0000462146690000078
Thenumerical identification number 4 contained therein;
a6denotes the sixth left vertex, a6The recorded content is
Figure BDA0000462146690000079
The numerical identification number 5 contained therein;
a7denotes the seventh left vertex, a7The recorded content is
Figure BDA00004621466900000710
The numerical identification number Z-1 contained in (a);
ai-1denotes the i-1 th left vertex, ai-1The recorded content is
Figure BDA00004621466900000711
Thenumerical identification number 1 contained in (a);
airepresents the last left vertex, aiThe recorded content is
Figure BDA00004621466900000712
The numerical identification number Z contained in (a);
for convenience of explanation, aiAlso referred to as any left vertex, i represents the identification number of the left vertex.
Step 13: aiming at any roadside unit R in the vehicle-mounted networkrOne size is constructed as a storage capacity
Figure BDA00004621466900000713
Set of storage locations, as
Figure BDA00004621466900000714
Wherein,
Figure BDA00004621466900000715
represents RrIs stored in the first storage location of the memory,represents RrIs stored in the first storage location of the memory,represents RrTo the last storage location, step 14 is performed;
the storage position refers to a place where network information can be stored in any roadside unit, each roadside unit comprises one or more storage positions, and each storage position only stores one piece of network information.
Step 14: traverse all RD ═ R1,R2,…,RrObtaining a whole network storage position set by the roadside units in the <math> <mrow> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>2</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> <mo>;</mo> </mrow></math>And will be <math> <mrow> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>2</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> </mrow></math>Element(s) in (b) is added to bipartite graph G with left verticesXIn Y of (3), a bipartite graph G having left and right vertex sets is obtainedX+YExecuting step 15;
in the present invention, referring to fig. 4A, 4B, and 4C, a bipartite graph G having left and right vertex setsX+YY ═ b1,b2,b3,b4,b5,b6,b7,b8,…,bj-1,bj}, wherein:
b1representing the first right vertex, b1The recorded content is R1First storage location of
Figure BDA0000462146690000083
b2Representing the second right vertex, b2The recorded content is R2First storage location of
Figure BDA0000462146690000084
b3Represents the third right vertex, b3The recorded content is R3First storage location of
Figure BDA0000462146690000085
b4Represents the fourth right vertex, b4The recorded content is R4First storage location of
b5Represents the fifth right vertex, b5The recorded content is R5First storage location of
Figure BDA0000462146690000087
b6Denotes the sixth right vertex, b6The recorded content is R5Second storage location of
Figure BDA0000462146690000088
b7Denotes the seventh right vertex, b7The recorded content is R5Third storage location of
Figure BDA0000462146690000089
b8Denotes the eighth right vertex, b8The recorded content is Rr-1First storage location of
Figure BDA00004621466900000810
bj-1Represents the j-1 th right vertex, bj-1The recorded content is RrFirst storage location of
Figure BDA00004621466900000811
bjRepresenting the last right vertex, bjThe recorded content is RrSecond storage location of
Figure BDA00004621466900000812
For convenience of explanation, bjAlso called any one right vertex, j represents the identification number of the right vertex。
Step 15: matching conditions with vertices
Figure BDA00004621466900000813
And is
Figure BDA00004621466900000814
And is
Figure BDA00004621466900000815
To judge the bipartite graph G with left and right vertex setsX+YWhether X and Y in (1) are connected with each other is judged, so that a bipartite graph with vertexes and edges is constructed
Figure BDA00004621466900000816
Executing step 21;
if aiAnd bjSatisfy the vertex matching condition
Figure BDA00004621466900000817
And isAnd is
Figure BDA00004621466900000819
Then at GX+YThe edge set E of (1) adds edges<ai,bj>;
If aiAnd bjNot satisfying vertex matching conditions
Figure BDA00004621466900000820
And is
Figure BDA00004621466900000821
And is
Figure BDA00004621466900000822
Then abandon the adding of the edge<ai,bj>;
See FIG. 4A for a1And b2Satisfy the vertex matching condition
Figure BDA00004621466900000823
And is
Figure BDA00004621466900000824
And is
Figure BDA00004621466900000825
Then at GX+YThe edge set E of (1) adds edges<a1,b2>;
a2And b3Satisfy the vertex matching condition
Figure BDA00004621466900000826
And is
Figure BDA00004621466900000827
And is
Figure BDA00004621466900000834
Then at GX+YThe edge set E of (1) adds edges<a2,b3>;a2And b4Satisfy the vertex matching conditionAnd is
Figure BDA00004621466900000829
And is
Figure BDA00004621466900000830
Then at GX+YThe edge set E of (1) adds edges<a2,b4>;
a3And b5Satisfy the vertex matching condition
Figure BDA00004621466900000831
And isAnd is
Figure BDA00004621466900000833
Then at GX+YThe edge set E of (1) adds edges<a3,b5>;a3And b6Satisfy the vertex matching condition
Figure BDA0000462146690000091
And is
Figure BDA0000462146690000092
And is
Figure BDA0000462146690000093
Then at GX+YThe edge set E of (1) adds edges<a3,b6>;a3And b7Satisfy the vertex matching condition
Figure BDA0000462146690000094
And is
Figure BDA0000462146690000095
And is
Figure BDA0000462146690000096
Then at GX+YThe edge set E of (1) adds edges<a3,b7>;
a4And b5Satisfy the vertex matching condition
Figure BDA0000462146690000097
And is
Figure BDA0000462146690000098
And is
Figure BDA0000462146690000099
Then at GX+YThe edge set E of (1) adds edges<a4,b5>;a4And b6Satisfy the vertex matching condition
Figure BDA00004621466900000910
And is
Figure BDA00004621466900000911
And isThen at GX+YThe edge set E of (1) adds edges<a4,b6>;a4And b7Satisfy the vertex matching condition
Figure BDA00004621466900000913
And isAnd is
Figure BDA00004621466900000915
Then is at
Figure BDA00004621466900000916
The edge set E of (1) adds edges<a4,b7>;
a5And b8Satisfy the vertex matching condition
Figure BDA00004621466900000917
And isAnd is
Figure BDA00004621466900000919
Then at GX+YThe edge set E of (1) adds edges<a5,b8>;a5And bj-1Satisfy the vertex matching condition
Figure BDA00004621466900000920
And is
Figure BDA00004621466900000921
And isThen at GX+YThe edge set E of (1) adds edges<a5,bj-1>;a5And bjSatisfy the vertex matching condition
Figure BDA00004621466900000923
And is
Figure BDA00004621466900000924
And is
Figure BDA00004621466900000925
Then at GX+YThe edge set E of (1) adds edges<a5,bj>;
a6And b5Satisfy the vertex matching condition
Figure BDA00004621466900000926
And isAnd is
Figure BDA00004621466900000928
Then at GX+YThe edge set E of (1) adds edges<a6,b5>;a6And b6Satisfy the vertex matching condition
Figure BDA00004621466900000929
And is
Figure BDA00004621466900000930
And isThen at GX+YThe edge set E of (1) adds edges<a6,b6>;a6And b7Satisfy the vertex matching condition
Figure BDA00004621466900000932
And is
Figure BDA00004621466900000933
And is
Figure BDA00004621466900000934
Then at GX+YThe edge set E of (1) adds edges<a6,b7>;
a7And b5Satisfy the vertex matching condition
Figure BDA00004621466900000935
And isAnd is
Figure BDA00004621466900000937
Then at GX+YThe edge set E of (1) adds edges<a7,b5>;a7And b6Satisfy the vertex matching condition
Figure BDA00004621466900000938
And is
Figure BDA00004621466900000939
And isThen at GX+YThe edge set E of (1) adds edges<a7,b6>;a7And b7Satisfy the vertex matching condition
Figure BDA00004621466900000941
And is
Figure BDA00004621466900000942
And is
Figure BDA00004621466900000943
Then at GX+YThe edge set E of (1) adds edges<a7,b7>;a7And bj-1Satisfy the vertex matching condition
Figure BDA00004621466900000944
And is
Figure BDA00004621466900000945
And is
Figure BDA00004621466900000946
Then at GX+YThe edge set E of (1) adds edges<a7,bj-1>;a7And bjSatisfy the vertex matching condition
Figure BDA00004621466900000947
And is
Figure BDA00004621466900000964
And is
Figure BDA00004621466900000948
Then at GX+YThe edge set E of (1) adds edges<a7,bj>;
ai-1And b5Satisfy the vertex matching condition
Figure BDA00004621466900000949
And is
Figure BDA00004621466900000950
And is
Figure BDA00004621466900000951
Then at GX+YThe edge set E of (1) adds edges<ai-1,b5>;ai-1And b6Satisfy the vertex matching condition
Figure BDA00004621466900000952
And is
Figure BDA00004621466900000953
And is
Figure BDA00004621466900000954
Then at GX+YThe edge set E of (1) adds edges<ai-1,b6>;ai-1And b7Satisfy the vertex matching conditionAnd isAnd is
Figure BDA00004621466900000957
Then at GX+YThe edge set E of (1) adds edges<ai-1,b7>;ai-1And bj-1Satisfy the vertex matching condition
Figure BDA00004621466900000958
And is
Figure BDA00004621466900000959
And isThen at GX+YThe edge set E of (1) adds edges<ai-1,bj-1>;ai-1And bjSatisfy the vertex matching conditionAnd is
Figure BDA00004621466900000962
And is
Figure BDA00004621466900000963
Then at GX+YThe edge set E of (1) adds edges<ai-1,bj>;
aiAnd b5Satisfy the vertex matching conditionAnd is
Figure BDA0000462146690000102
And is
Figure BDA0000462146690000103
Then at GX+YThe edge set E of (1) adds edges<ai,b5>;aiAnd b6Satisfy the vertex matching condition
Figure BDA0000462146690000104
And is
Figure BDA0000462146690000105
And is
Figure BDA0000462146690000106
Then at GX+YThe edge set E of (1) adds edges<ai,b>;aiAnd b7Satisfy the vertex matching condition
Figure BDA0000462146690000107
And is
Figure BDA0000462146690000108
And is
Figure BDA0000462146690000109
Then at GX+YThe edge set E of (1) adds edges<ai,b7>;aiAnd bj-1Satisfy the vertex matching condition
Figure BDA00004621466900001010
And is
Figure BDA00004621466900001011
And isThen at GX+YThe edge set E of (1) adds edges<ai,bj-1>;aiAnd bjSatisfy the vertex matching conditionAnd is
Figure BDA00004621466900001014
And is
Figure BDA00004621466900001015
Then at GX+YThe edge set E of (1) adds edges<ai,bj>。
The edge in the statistical edge set E comprises<a1,b2>、<a2,b3>、<a2,b4>、<a3,b5>、<a3,b6>、<a3,b7>、<a4,b5>、<a4,b6>、<a4,b7>、<a5,b8>、<a5,bj-1>、<a5,bj>、<a6,b5>、<a6,b6>、<a6,b7>、<a7,b5>、<a7,b6>、<a7,b7>、<a7,bj-1>、<a7,bj>、<ai-1,b5>、<ai-1,b6>、<ai-1,b7、<ai-1,bj-1>、<ai-1,bj>、<ai,b5>、<ai,b6>、<ai,b7>、<ai,bj-1>And<ai,bj>。
in the invention, by establishing an empty bipartite graph model and taking the vehicle-mounted request identification information of the vehicle-mounted node and the storage positions of the roadside units as the left vertex and the right vertex of the bipartite graph respectively, the distributed storage problem of the vehicle-mounted network is converted into the maximum matching problem of the bipartite graph.
Step two: finding a bipartite graph maximum matching subgraph
Step 21: if there are vertices and edges
Figure BDA00004621466900001016
If the edge set E is not empty, step 22 is executed;
if there are vertices and edges
Figure BDA00004621466900001017
If the edge set E is empty, ending the distributed storage and outputting a vehicle-mounted distribution result DI;
step 22: applying the Hungarian algorithm from bipartite graphs with vertices and edgesObtaining maximum matching subgraph GB ═<(X,Y),EB>Where EB is a bipartite graph with vertices and edges
Figure BDA00004621466900001019
A subset of the edge set E (EB is simply referred to as an edge subset); EB ═ tone<γ,β>I γ ∈ X, β ∈ Y }, where γ denotes the maximum matching subgraph GB ═ Y }<(X,Y),EB>The left vertex of any one edge in the edge set EB, and beta represents the maximum matching subgraph GB ═<(X,Y),EB>The right vertex of any one edge in the edge set EB; step 31 is performed.
Referring to FIG. 4B, the edges in the edge subset EB include<a1,b2>、<a2,b3>、<a3,b5>、<a4,b6>、<a5,b8>、<a6,b7>、<a7,bj-1>And<ai-1,bj>. Gamma includes an edge<a1,b2>A in (a)1Edge of<a2,b3>A in (a)2Edge of<a3,b5>A in (a)3Edge of<a4,b6>A in (a)4Edge of<a5,b8>A in (a)5Edge of<a6,b7>A in (a)6Edge of<a7,bj-1>A in (a)7And edge<ai-1,bj>A in (a)i-1. Then beta includes an edge<a1,b2>B in (1)2Edge of<a2,b3>B in (1)3Edge of<a3,b5>B in (1)5Edge of<a4,b6>B in (1)6Edge of<a5,b8>B in (1)8Edge of<a6,b7>B in (1)7Edge of<a7,bj-1>B in (1)j-1And edge<ai-1,bj>B in (1)j
In the invention, the Hungarian algorithm is utilized to convert the determination of the distributed storage allocation technical scheme into the searching of the maximum matching subgraph of the bipartite graph, so that the calculation complexity of the network center of the vehicle-mounted network on the received network information is reduced, and the distributed storage allocation technical scheme can be determined in polynomial time.
Step three: distributing and cleaning network information
Step 31: will one side at will<ai,bj>The network information corresponding to the left vertex in the system is distributed to the roadside unit corresponding to the right vertex, and after the distribution of all the network information is finished, the vehicle-mounted distribution result is obtained <math> <mrow> <msup> <mrow> <mi>DI</mi> <mo>=</mo> <mo>{</mo> <mi>d</mi> </mrow> <msup> <mi>Rf</mi> <mn>1</mn> </msup> </msup> <mo>,</mo> <msup> <mi>d</mi> <msup> <mi>Rf</mi> <mn>2</mn> </msup> </msup> <mo>,</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> </mrow> <mrow> <msup> <mi>d</mi> <msup> <mi>Rf</mi> <mi>z</mi> </msup> </msup> <mo>}</mo> <mo>,</mo> </mrow></math>Step 32 is executed;
referring to FIG. 4B, the edge is cut<a1,b2>First left vertex a in (1)1Corresponding Rf1Assigned to the second right vertex b2Corresponding R2Performing the following steps;
will edge<a2,b3>Second left vertex a in (1)2Corresponding Rf2Is assigned to the third right vertex b3Corresponding R3Performing the following steps;
will edge<a3,b5>Third left vertex a in (1)3Corresponding Rf1Assigned to the fifth right vertex b5Corresponding R5Performing the following steps;
will edge<a4,b6>The fourth left vertex a in4Corresponding Rf3Assigned to the sixth right vertex b6Corresponding R5Performing the following steps;
will edge<a5,b8>The fifth left vertex a in5Corresponding Rf4Is assigned to the eighth right vertex b8Corresponding Rr-1Performing the following steps;
will edge<a6,b7>The sixth left vertex a in6Corresponding Rf5Assigned to the seventh right vertex b7Corresponding R5Performing the following steps;
will edge<a7,bj-1Seventh left vertex a in7Corresponding RfZ-1Is distributed to the j-1 th right vertex bj-1Corresponding RrPerforming the following steps;
will edge<ai-1,bj>The ith-1 left vertex a ini-1Corresponding Rf1Is assigned to the jth right vertex bjCorresponding RrIn (1).
Referring to fig. 4B, the first network information Rf is assigned1The roadside unit has a second roadside unitR is a member of2The fifth roadside unit R5The R < th > roadside unit RrFirst on-board distributionresultdRf1={R2,R5,Rr}.
Second network information Rf is assigned2The roadside unit has a third roadside unit R3Simply called second on-board distributionresultdRf2={R3}.
Third network information Rf is assigned3The roadside unit has a fifth roadside unit R5Short third on-board distribution resultsdRf3={R5}.
Fourth network information Rf is assigned4The roadside unit has the R-1 th roadside unit Rr-1Fourth on-board distributionresultdRf4={Rr-1}.
Fifth network information Rf is assigned5The roadside unit has a fifth roadside unit R5Fifth vehicle distribution result for shortdRf5={R5}.
Z-1 th network information Rf is assignedZ-1The roadside unit has an R-th roadside unit RrZ-1 th vehicle distribution result
Figure BDA0000462146690000123
Z-th network information Rf is assignedZIs not present, abbreviated as Z-th on-board distribution result
Expressing the vehicle-mounted distribution result in a set form as
Figure BDA0000462146690000125
In the present invention, the network information distribution means determining which of the roadside units to which the network information is distributed is.
Step 32: referring to FIG. 4B, the judgment is made one by one
Figure BDA0000462146690000126
Figure BDA0000462146690000127
Figure BDA0000462146690000129
Figure BDA00004621466900001210
Figure BDA00004621466900001211
And
Figure BDA00004621466900001212
whether the number of the roadside units in the set is more than 1 or not; if the number of roadside units is greater than 1, that is
Figure BDA00004621466900001213
If the vehicle-mounted nodes corresponding to the same network information of different roadside units are to be cleaned, executing step 33;
if the number of roadside units is less than or equal to 1, that is
Figure BDA00004621466900001214
Figure BDA00004621466900001215
Figure BDA00004621466900001216
Figure BDA00004621466900001217
Figure BDA00004621466900001218
Andabandoning the cleaning of the network information distributed by the roadside units;
in particular, the amount of the solvent to be used,
Figure BDA00004621466900001220
then believeInformation center IC abandon pair R3Assigned Rf2Cleaning;
Figure BDA00004621466900001221
the information center IC gives up the pair R5Assigned Rf3Cleaning;
Figure BDA00004621466900001222
the information center IC gives up the pair Rr-1Assigned Rf4Cleaning;
Figure BDA00004621466900001223
the information center IC gives up the pair R5Assigned Rf5Cleaning;
Figure BDA00004621466900001224
the information center IC gives up the pair RrAssigned RfZ-1Cleaning;
Figure BDA00004621466900001225
indicating that no roadside units are assigned to RfZTherefore, cleaning is not performed.
Step 33: for the
Figure BDA00004621466900001226
Cleaning vehicle-mounted nodes corresponding to the same network information of different roadside units;
referring to FIG. 3A, the first network information Rf is requested within the current memory period τ1And will encounter a second roadside unit R in the next storage period tau +12Has a first vehicle-mounted node V1Abbreviated as R2-Rf1-vehicle node
Figure BDA00004621466900001227
Namely, it is
Figure BDA00004621466900001228
The first network information Rf is requested within the current memory period tau1And will encounter the fifth roadside unit R in the next storage period tau +15Has a third vehicle node V3N-th vehicle-mounted node VnAbbreviated as R5-Rf1-vehicle node
Figure BDA00004621466900001229
Namely, it is
Figure BDA00004621466900001230
The first network information Rf is requested within the current memory period tau1And will encounter the R-th roadside unit R in the next storage period tau +1rHas an nth vehicle-mounted node VnAbbreviated as Rr-Rf1-vehicle node
Figure BDA0000462146690000131
Namely, it isVCRrRf1={Vn}.
In the present invention, for the sake of general expression, any one of the network information Rf is requested within the current memory period τZAnd will be in the next memory cycle τ +1Meet any roadside unit RrIn-vehicle node of (2), abbreviated as Rr-RfZ-vehicle node
Figure BDA0000462146690000133
According to
Figure BDA0000462146690000134
Figure BDA0000462146690000135
And
Figure BDA0000462146690000136
the number of the medium elements is arranged in a descending order to obtain
Figure BDA0000462146690000137
The order of processing of the roadside units is thus in turn the fifth roadside unit R5A second roadside unit R2The R < th > roadside unit Rr
Executing step 34 on the first ranked roadside unit, and then sequentially executing step 35 on the second ranked roadside unit to the last ranked roadside unit;
step 34: reserving a fifth roadside unit R5Assigned first network information Rf1And recording the first vehicle-mounted intermediate distribution result
Figure BDA0000462146690000138
Then step 35 is executed;
step 35: for the second roadside unit R2To aim at
Figure BDA0000462146690000139
Of the first vehicle-mounted node V1Judgment of
Figure BDA00004621466900001310
Whether it is an empty set, if it is an empty set, retaining the second oneRoadside unit R2Assigned first network information Rf1And reassigns the first on-board intermediate distribution result
Figure BDA00004621466900001311
Otherwise, cleaning up the second roadside unit R2Assigned first network information Rf1
Due to the fact that
Figure BDA00004621466900001312
So that a second roadside unit R remains2Assigned first network information Rf1And reassigns the first on-board intermediate distribution result
For the R roadside unit RrTo aim at
Figure BDA00004621466900001314
N-th on-board node V in (1)nJudgment ofIf the set is empty, the R-th roadside unit R is reservedrAssigned first network information Rf1And reassigns the first on-board intermediate distribution result
Figure BDA00004621466900001316
Otherwise, cleaning the R-th roadside unit RrAssigned first network information Rf1
Due to the fact that
Figure BDA00004621466900001317
So that the R-th roadside unit R is cleanedrAssigned first network information Rf1I.e. removing edges from what is shown with reference to fig. 4B<ai-1,bj>The results shown in FIG. 4C were obtained.
After the network information allocated to the roadside unit is cleaned, step 36 is executed.
Step 36: the first vehicle-mounted intermediate distribution resultAssign a value to the first on-board distribution result
Figure BDA00004621466900001319
Namely, it is
Figure BDA00004621466900001320
And step 36, assigning the vehicle-mounted intermediate distribution result to a vehicle-mounted node corresponding to the vehicle-mounted intermediate distribution result, and finding out a corresponding roadside unit from the vehicle-mounted node.
Step 41 is executed after all of steps 33 to 36 are executed for all of the number of roadside units greater than 1.
In the invention, the third step is to sort the same network information in different roadside units according to the vehicle-mounted request identification information of the number of vehicle-mounted nodes which can be met by each roadside unit, and sequentially judge whether the network information is stored by each roadside unit redundantly, so that the redundant network information is cleared, the storage space of the roadside units is saved, and the theoretical optimal distribution scheme is better approached.
Step four: secondary distribution and updating bipartite graph vertex set
Step 41: referring to fig. 4B, the in-vehicle request identification information is removed
Figure BDA0000462146690000141
The numerical identification number associated with the left vertex of the connected edge, namely:
Figure BDA0000462146690000142
in which comprisesThenumber identification number 1;
Figure BDA0000462146690000143
thenumerical identification number 2 contained in (a);
Figure BDA0000462146690000144
thenumerical identification number 1 contained in (a);
Figure BDA0000462146690000145
the numerical identification number 3 contained therein;
Figure BDA0000462146690000146
thenumerical identification number 4 contained therein;
Figure BDA0000462146690000147
the numerical identification number 5 contained therein;
Figure BDA0000462146690000148
the numerical identification number Z-1 contained in (a);
Figure BDA0000462146690000149
thenumerical identification number 1 contained therein.
Obtaining the secondarily distributed vehicle-mounted request identification information
Figure BDA00004621466900001410
Wherein
Figure BDA00004621466900001411
In the invention, the vehicle-mounted node sends the required content to the roadside unit by the digital identification number, and the information center sends the content corresponding to the digital identification number to the roadside unit. Therefore, the identification number is deleted, and the network information of the content corresponding to the identification number can be printed.
Step 42: referring to FIG. 4D, the in-vehicle request identification information to be secondarily distributed
Figure BDA00004621466900001412
Element Z in (1) adds the label of the left vertex of the empty bipartite graph as aiWherein a isiThe recorded content is
Figure BDA00004621466900001413
A medium numeric identification number Z; step 43 is executed;
step 43: referring to FIG. 4C, the storage locations to which network information has been assigned are
Figure BDA00004621466900001414
Figure BDA00004621466900001415
Removing a full network storage location set <math> <mrow> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>2</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> </mrow></math>The storage position of the network information is distributed to obtain a secondary scoreConfigured full-network storage location aggregation <math> <mrow> <mi>N</mi> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>4</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> <mo>,</mo> </mrow></math>WhereinUR1={u1R1},UR4={u1R4},URr={u2Rr}.Step 44 is executed;
step 44: referring to FIG. 4D, the set of secondary allocated full network storage locations
Figure BDA00004621466900001421
Element (1) of
Figure BDA00004621466900001422
The identification number of the right vertex added into the bipartite graph is b1,b4,bjWherein b is1The recorded content is R1First storage location of
Figure BDA00004621466900001423
b4The recorded content is R4First storage location of
Figure BDA00004621466900001424
bjThe recorded content is RrSecond storage location ofStep 15 is performed.
In the invention, step four, the vehicle-mounted request identification information which is not responded and the vacant roadside unit storage positions are respectively added into the left vertex and the right vertex of the vacant bipartite graph by removing the vehicle-mounted request identification information which is responded and the occupied roadside unit storage positions, and the step 15 is returned to realize secondary distribution, thereby improving the utilization rate of the storage space and the data response rate.
Examples
Referring to fig. 3 and 3A, schematic driving diagrams of the vehicle-mounted node passing through the roadside unit are shown, and the corresponding relationship between the vehicle-mounted request identification information and the storage location of the roadside unit is shown in combination with fig. 4A, 4B, 4C and 4D. Comparative experiments were conducted on ONE (see document 1) simulation platform, and the experimental environment is as follows:
Figure BDA0000462146690000151
the CCR method is adopted to carry out simulation experiments, and a greedy method (literature 5) with priority on response time delay is selected as a comparison method in the simulation experiments and is marked as an ADG method. Two indicators, namely, data response rate (Availability) and average response delay (Access delay), were analyzed in the experiment. The experimental results are shown in fig. 5 and 6. In the figure, ". DELTA" denotes the ADG method and ". smallcircle" denotes the CCR method, i.e., the method disclosed in the present invention.
According to the comparison of the experimental results, the following conclusions can be obtained: the data response rate of the CCR method is obviously higher than that of the ADG method by about 10 percent; the average response time delay of the CCR method is slightly longer than that of the ADG method, and the average response time delay of the CCR method is only about 3s longer than that of the ADG method under the condition that the storage period is 50 s. In short, the CCR method of the present invention can significantly improve the data response rate, has no significant impact on the request response delay, can satisfy more data requests in the storage period, and achieves efficient data distributed storage, thereby ensuring the data service quality of the vehicle-mounted network.
In the present invention, the references cited are:
document 1. simulation platform ONE
The ONE simulator for DTN protocol evaluation;
The authors: ari Keranen, Jorg Ott, Teemu Karkkainen;
and (3) meeting: international Conference on Simulation Tools and Techniques (SIMUTOOL' 09);
time: 3 months and 2-6 days in 2009;
a place: roman, italy.
Document 2. random waypoint model
The node distribution of the random waypoint mobility model forwireless ad hoc networks;
The authors: christian Bettstetter, Giovanni Resta;
a periodical: IEEE Transactions on Mobile Computing;
time: in 2003;
page number:vol 2, stage 3, 257-.
Document 3 Normal distribution
3 rd edition, prosperity, thank forms, panzest and resold editions in 2001, probability theory and mathematical statistics, page 56.
Document 4 Poisson distribution
3 rd edition, prosperity, thank forms, panzest and resold editions in 12 months of 2001, probability theory and mathematical statistics, page 46.
Reference 5. comparison of ADG greedy methods
3 rd edition, 12 th month in 2009, written by wang xiao dong, "computer algorithm design and analysis", page 105.
Documents 6.V2V and V2I
Architecture and evaluation of a unified V2V and V2I communicationsystem based on cellular networks;
The authors: jose Santa, Antonio F.Gomez-Skrametaa, MarcSanchez-Artigas;
a periodical: computer Communications;
time: 2008;
page number: vol 31, No. 12, 2850 and 2861.

Claims (2)

1. A distributed storage method of a vehicle network based on bipartite graph, any one of the vehicle networks comprises a plurality of roadside units, a plurality of vehicle nodes and an information center IC; the communication between the vehicle-mounted nodes and the roadside units is V2I, the communication between the vehicle-mounted nodes is V2V, and the communication between the information center IC and the roadside units is an Internet network;
the roadside unit is expressed in a collective form as RD ═ R1,R2,…,Rr};
The vehicular node is expressed as VD (V) in a set form1,V2,…,Vn};
The network information is expressed in a set form as <math> <mrow> <msup> <mi>F</mi> <mi>&tau;</mi> </msup> <mo>=</mo> <mfenced open='{' close='}'> <mtable> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>1</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>1</mn> </msub> <mo>,</mo> <mn>1</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>2</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>2</mn> </msub> <mo>,</mo> <mn>2</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>3</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>3</mn> </msub> <mo>,</mo> <mn>3</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>4</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>4</mn> </msub> <mo>,</mo> <mn>4</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mn>5</mn> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mn>5</mn> </msub> <mo>,</mo> <mn>5</mn> <mo>)</mo> </mrow> </mtd> </mtr> <mtr> <mtd> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mrow> <mi>Z</mi> <mo>-</mo> <mn>1</mn> </mrow> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mrow> <mi>Z</mi> <mo>-</mo> <mn>1</mn> </mrow> </msub> <mo>,</mo> <mi>Z</mi> <mo>-</mo> <mn>1</mn> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> <mtr> <mtd> <msup> <mi>Rf</mi> <mi>Z</mi> </msup> <mrow> <mo>(</mo> <msub> <mi>content</mi> <mi>Z</mi> </msub> <mo>,</mo> <mi>Z</mi> <mo>)</mo> </mrow> <mo>,</mo> </mtd> </mtr> </mtable> </mfenced> <mo>;</mo> </mrow></math>
The distributed storage of the network information by the information center IC is characterized by comprising the following steps:
the method comprises the following steps: two-part diagram of structure
Step 11: setting an empty bipartite graph as G ═ X, Y, E, X denotes the left vertex, Y denotes the right vertex, and E denotes the edge; executing step 12;
step 12: store the current weekAcquired by information centre IC during period tau
Figure FDA0000462146680000012
The element in (b) is added to X of (X, Y, E) to obtain a bipartite graph G with a left vertexXExecuting step 13;
the bipartite graph G with left verticesXX ═ a is an element contained in the left vertex of (a)1,a2,a3,a4,a5,a6,a7,…,ai-1,ai}, wherein:
a1denotes the first left vertex, a1The recorded content is
Figure FDA0000462146680000013
The numerical identification number 1 contained in (a);
a2denotes the second left vertex, a2The recorded content is
Figure FDA0000462146680000014
The numerical identification number 2 contained in (a);
a3denotes the third left vertex, a3The recorded content is
Figure FDA0000462146680000015
The numerical identification number 1 contained in (a);
a4denotes the fourth left vertex, a4The recorded content is
Figure FDA0000462146680000016
The numerical identification number 3 contained therein;
a5denotes the fifth left vertex, a5The recorded content is
Figure FDA0000462146680000017
The numerical identification number 4 contained therein;
a6denotes the sixth left vertex, a6Inside of recordContaining is
Figure FDA0000462146680000018
The numerical identification number 5 contained therein;
a7denotes the seventh left vertex, a7The recorded content is
Figure FDA0000462146680000019
The numerical identification number Z-1 contained in (a);
ai-1denotes the i-1 th left vertex, ai-1The recorded content is
Figure FDA00004621466800000110
The numerical identification number 1 contained in (a);
airepresents the last left vertex, aiThe recorded content is
Figure FDA00004621466800000111
The numerical identification number Z contained in (a);
step 13: aiming at any roadside unit R in the vehicle-mounted networkrOne size is constructed as a storage capacity
Figure FDA00004621466800000112
Set of storage locations, asWherein,
Figure FDA00004621466800000114
represents RrIs stored in the first storage location of the memory,
Figure FDA0000462146680000021
represents RrIs stored in the first storage location of the memory,
Figure FDA0000462146680000022
represents RrTo lastA storage location, performing step 14;
step 14: traverse all RD ═ R1,R2,…,RrObtaining a whole network storage position set by the roadside units in the <math> <mrow> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>2</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> <mo>;</mo> </mrow></math>And will be <math> <mrow> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>2</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> </mrow></math>Element(s) in (b) is added to bipartite graph G with left verticesXIn Y of (3), a bipartite graph G having left and right vertex sets is obtainedX+YExecuting step 15;
the bipartite graph G with left and right vertex setsX+YY ═ b1,b2,b3,b4,b5,b6,b7,b8,…,bj-1,bj}, wherein:
b1representing the first right vertex, b1The recorded content is R1To (1) aA storage location
Figure FDA0000462146680000025
b2Representing the second right vertex, b2The recorded content is R2First storage location of
Figure FDA0000462146680000026
b3Represents the third right vertex, b3The recorded content is R3First storage location of
Figure FDA0000462146680000027
b4Represents the fourth right vertex, b4The recorded content is R4First storage location of
Figure FDA0000462146680000028
b5Represents the fifth right vertex, b5The recorded content is R5First storage location of
Figure FDA0000462146680000029
b6Denotes the sixth right vertex, b6The recorded content is R5Second storage location of
Figure FDA00004621466800000210
b7Denotes the seventh right vertex, b7The recorded content is R5Third storage location of
Figure FDA00004621466800000211
b8Denotes the eighth right vertex, b8The recorded content is Rr-1First storage location of
Figure FDA00004621466800000212
bj-1Represents the j-1 th right vertex, bj-1The recorded content is RrFirst storage location of
bjRepresenting the last right vertex, bjThe recorded content is RrSecond storage location of
Figure FDA00004621466800000214
Step 15: matching conditions with verticesAnd is
Figure FDA00004621466800000216
And is
Figure FDA00004621466800000217
To judge the bipartite graph G with left and right vertex setsX+YWhether X and Y in (1) are connected with each other is judged, so that a bipartite graph with vertexes and edges is constructedExecuting step 21;
a1and b2Satisfy the vertex matching condition
Figure FDA00004621466800000219
And is
Figure FDA00004621466800000220
And is
Figure FDA00004621466800000221
Then at GX+YThe edge set E of (1) adds edges<a1,b2>;
a2And b3Satisfy the vertex matching condition
Figure FDA00004621466800000222
And is
Figure FDA00004621466800000223
And is
Figure FDA00004621466800000224
Then at GX+YThe edge set E of (1) adds edges<a2,b3>;a2And b4Satisfy the vertex matching condition
Figure FDA00004621466800000225
And is
Figure FDA00004621466800000226
And is
Figure FDA00004621466800000227
Then at GX+YThe edge set E of (1) adds edges<a2,b4>;
a3And b5Satisfy the vertex matching condition
Figure FDA00004621466800000228
And is
Figure FDA00004621466800000229
And is
Figure FDA00004621466800000230
Then at GX+YThe edge set E of (1) adds edges<a3,b5>;a3And b6Satisfy the vertex matching conditionAnd is
Figure FDA00004621466800000232
And isThen at GX+YThe edge set E of (1) adds edges<a3,b6>;a3And b7Satisfy the vertex matching condition
Figure FDA00004621466800000234
And is
Figure FDA00004621466800000235
And is
Figure FDA00004621466800000236
Then at GX+YThe edge set E of (1) adds edges<a3,b7>;
a4And b5Satisfy the vertex matching condition
Figure FDA0000462146680000031
And isAnd is
Figure FDA0000462146680000033
Then at GX+YThe edge set E of (1) adds edges<a4,b5>;a4And b6Satisfy the vertex matching condition
Figure FDA0000462146680000034
And is
Figure FDA0000462146680000035
And is
Figure FDA0000462146680000036
Then at GX+YThe edge set E of (1) adds edges<a4,b6>;a4And b7Satisfy the vertex matching conditionAnd is
Figure FDA0000462146680000038
And is
Figure FDA0000462146680000039
Then at GX+YThe edge set E of (1) adds edges<a4,b7>;
a5And b8Satisfy the vertex matching condition
Figure FDA00004621466800000310
And is
Figure FDA00004621466800000311
And is
Figure FDA00004621466800000312
Then at GX+YAdding edges a5 and b8 to the edge set E; a is5And bj-1Satisfy the vertex matching condition
Figure FDA00004621466800000313
And is
Figure FDA00004621466800000314
And isThen at GX+YThe edge set E of (1) adds edges<a5,bj-1>;a5And bjSatisfy the vertex matching condition
Figure FDA00004621466800000316
And isAnd isThen at GX+YThe edge set E of (1) adds edges<a5,bj>;
a6And b5Satisfy the vertex matching condition
Figure FDA00004621466800000319
And isAnd isThen at GX+YThe edge set E of (1) adds edges<a6,b5>;a6And b6Satisfy the vertex matching conditionAnd is
Figure FDA00004621466800000323
And is
Figure FDA00004621466800000324
Then at GX+YThe edge set E of (1) adds edges<a6,b6>;a6And b7Satisfy the vertex matching conditionAnd is
Figure FDA00004621466800000326
And is
Figure FDA00004621466800000327
Then at GX+YThe edge set E of (1) adds edges<a6,b7>;
a7And b5Satisfy the vertex matching condition
Figure FDA00004621466800000328
And is
Figure FDA00004621466800000329
And is
Figure FDA00004621466800000330
Then at GX+YThe edge set E of (1) adds edges<a7,b5>;a7And b6Satisfy the vertex matching conditionAnd is
Figure FDA00004621466800000332
And is
Figure FDA00004621466800000333
Then at GX+YThe edge set E of (1) adds edges<a7,b6>;a7And b7Satisfy the vertex matching condition
Figure FDA00004621466800000334
And is
Figure FDA00004621466800000335
And is
Figure FDA00004621466800000336
Then at GX+YThe edge set E of (1) adds edges<a7,b7>;a7And bj-1Satisfy the vertex matching condition
Figure FDA00004621466800000337
And is
Figure FDA00004621466800000338
And isThen at GX+YThe edge set E of (1) adds edges<a7,bj-1>;a7And bjSatisfy the vertex matching condition
Figure FDA00004621466800000340
And is
Figure FDA00004621466800000341
And is
Figure FDA00004621466800000342
Then at GX+YThe edge set E of (1) adds edges<a7,bj>;
ai-1And b5Satisfy the vertex matching condition
Figure FDA00004621466800000343
And is
Figure FDA00004621466800000344
And is
Figure FDA00004621466800000345
Then at GX+YThe edge set E of (1) adds edges<ai-1,b5>;ai-1And b6Satisfy the vertex matching condition
Figure FDA00004621466800000346
And isAnd is
Figure FDA00004621466800000348
Then at GX+YThe edge set E of (1) adds edges<ai-1,b6>;ai-1And b7Satisfy the vertex matching condition
Figure FDA00004621466800000349
And is
Figure FDA00004621466800000350
And is
Figure FDA00004621466800000351
Then at GX+YThe edge set E of (1) adds edges<ai-1,b7>;ai-1And bj-1Satisfy the vertex matching condition
Figure FDA00004621466800000352
And is
Figure FDA00004621466800000353
And is
Figure FDA00004621466800000354
Then at GX+YThe edge set E of (1) adds edges<ai-1,bj-1>;ai-1And bjSatisfy the vertex matching condition
Figure FDA00004621466800000355
And is
Figure FDA00004621466800000356
And is
Figure FDA00004621466800000357
Then at GX+YThe edge set E of (1) adds edges<ai-1,bj>;
aiAnd b5Satisfy the vertex matching conditionAnd is
Figure FDA00004621466800000359
And is
Figure FDA00004621466800000360
Then at GX+YThe edge set E of (1) adds edges<ai,b5>;aiAnd b6Satisfy the vertex matching conditionAnd isAnd is
Figure FDA00004621466800000363
Then at GX+YThe edge set E of (1) adds edges<ai,b6>;aiAnd b7Satisfy the vertex matching condition
Figure FDA0000462146680000041
And is
Figure FDA0000462146680000042
And is
Figure FDA0000462146680000043
Then at GX+YThe edge set E of (1) adds edges<ai,b7>;aiAnd bj-1Satisfy the vertex matching condition
Figure FDA0000462146680000044
And is
Figure FDA0000462146680000045
And isThen at GX+YThe edge set E of (1) adds edges<ai,bj-1>;aiAnd bjSatisfy the vertex matching condition
Figure FDA0000462146680000047
And is
Figure FDA0000462146680000048
And is
Figure FDA0000462146680000049
Then at GX+YThe edge set E of (1) adds edges<ai,bj>;
The edge in the statistical edge set E comprises<a1,b2>、<a2,b3>、<a2,b4>、<a3,b5>、<a3,b6>、<a3,b7>、<a4,b5>、<a4,b6>、<a4,b7>、<a5,b8>、<a5,bj-1>、<a5,bj>、<a6,b5>、<a6,b6>、<a6,b7>、<a7,b5>、<a7,b6>、<a7,b7>、<a7,bj-1>、<a7,bj>、<ai-1,b5>、<ai-1,b6>、<ai-1,b7>、<ai-1,bj-1>、<ai-1,bj>、<ai,b5>、<ai,b6>、<ai,b7>、<ai,bj-1>And<ai,bj>;
step two: finding a bipartite graph maximum matching subgraph
Step (ii) of21: if there are vertices and edges
Figure FDA00004621466800000411
If the edge set E is not empty, step 22 is executed;
if there are vertices and edges
Figure FDA00004621466800000412
If the edge set E is empty, ending the distributed storage and outputting a vehicle-mounted distribution result DI;
step 22: applying the Hungarian algorithm from bipartite graphs with vertices and edges
Figure FDA00004621466800000413
Obtaining maximum matching subgraph GB ═<(X,Y),EB>Where EB is a bipartite graph with vertices and edgesA subset of the edge set E (EB is simply referred to as an edge subset); EB ═ tone<γ,β>I γ ∈ X, β ∈ Y }, where γ denotes the maximum matching subgraph GB ═ Y }<(X,Y),EB>The left vertex of any one edge in the edge set EB, and beta represents the maximum matching subgraph GB ═<(X,Y),EB>The right vertex of any one edge in the edge set EB; step 31 is executed;
the edges in the edge subset EB comprise<a1,b2>、<a2,b3>、<a3,b5>、<a4,b6>、<a5,b8>、<a6,b7>、<a7,bj-1>And<ai-1,bj>(ii) a Gamma includes an edge<a1,b2>A in (a)1Edge of<a2,b3>A in (a)2Edge of<a3,b5>A in (a)3Edge of<a4,b6>A in (a)4Edge of<a5,b8>A in (a)5Edge of<a6,b7>A in (a)6Edge of<a7,bj-1>A in (a)7And edge<ai-1,bj>A in (a)i-1(ii) a Then beta includes an edge<a1,b2>B in (1)2Edge of<a2,b3>B in (1)3Edge of<a3,b5>B in (1)5Edge of<a4,b6>B in (1)6Edge of<a5,b8>B in (1)8Edge of<a6,b7>B in (1)7Edge of<a7,bj-1>B in (1)j-1And edge<ai-1,bj>B in (1)j
Step three: distributing and cleaning network information
Step 31: after the network information distribution is completed, the vehicle-mounted distribution result is obtained asStep 32 is executed;
will edge<a1,b2>First left vertex a in (1)1Corresponding Rf1Assigned to the second right vertex b2Corresponding R2Performing the following steps;
will edge<a2,b3>Second left vertex a in (1)2Corresponding Rf2Is assigned to the third right vertex b3Corresponding R3Performing the following steps;
will edge<a3,b5>Third left vertex a in (1)3Corresponding Rf1Assigned to the fifth right vertex b5Corresponding R5Performing the following steps;
will edge<a4,b6>The fourth left vertex a in4Corresponding Rf3Assigned to the sixth right vertex b6Corresponding R5Performing the following steps;
will edge<a5,b8>The fifth left vertex a in5Corresponding Rf4Is assigned to the eighth right vertex b8Corresponding Rr-1Performing the following steps;
a side of a6,b7>Sixth of (1)Left vertex a6Corresponding Rf5Assigned to the seventh right vertex b7Corresponding R5Performing the following steps;
will edge<a7,bj-1>Seventh left vertex a in7Corresponding RfZ-1Is distributed to the j-1 th right vertex bj-1Corresponding RrPerforming the following steps;
will edge<ai-1,bj>The ith-1 left vertex a ini-1Corresponding Rf1Is assigned to the jth right vertex bjCorresponding RrPerforming the following steps;
assigned first network information Rf1The roadside unit has a second roadside unit R2The fifth roadside unit R5The R < th > roadside unit RrFirst on-board distribution result
Second network information Rf is assigned2The roadside unit has a third roadside unit R3Simply called second on-board distribution resultdRf2={R3};
Third network information Rf is assigned3The roadside unit has a fifth roadside unit R5Short third on-board distribution resultsdRf3={R5};
Fourth network information Rf is assigned4The roadside unit has the R-1 th roadside unit Rr-1Fourth on-board distribution resultdRf2={Rr-1};
Fifth network information Rf is assigned5The roadside unit has a fifth roadside unit R5Fifth vehicle distribution result for shortdRf5={R5};
Z-1 th network information Rf is assignedZ-1The roadside unit has an R-th roadside unit RrZ-1 th vehicle distribution result
Figure FDA0000462146680000056
Z-th network information Rf is assignedZIs not present, abbreviated as Z-th on-board distribution result
Expressing the vehicle-mounted distribution result in a set form as
Figure FDA0000462146680000058
Step 32: judge one by one
Figure FDA0000462146680000059
Figure FDA00004621466800000510
Figure FDA00004621466800000511
Figure FDA00004621466800000512
Andwhether the number of the roadside units in the set is more than 1 or not; if the number of roadside units is greater than 1, that is
Figure FDA00004621466800000516
Step 33 is executed;
if the number of roadside units is less than or equal to 1, that is
Figure FDA0000462146680000061
Figure FDA0000462146680000062
Figure FDA0000462146680000063
Figure FDA0000462146680000064
Figure FDA0000462146680000065
And
Figure FDA0000462146680000066
abandoning the cleaning of the network information distributed by the roadside units;
in particular, the amount of the solvent to be used,the information center IC gives up the pair R3Assigned Rf2Cleaning;
Figure FDA0000462146680000068
the information center IC gives up the pair R5Assigned Rf3Cleaning;
the information center IC gives up the pair Rr-1Assigned Rf4Cleaning;
Figure FDA00004621466800000610
the information center IC gives up the pair R5Assigned Rf5Cleaning;
Figure FDA00004621466800000611
the information center IC gives up the pair RrAssigned RfZ-1Cleaning;
Figure FDA00004621466800000612
indicating that no roadside units are assigned to RfZTherefore, cleaning is not carried out;
step 33: for thedRf1={R2,R5,Rr};
The first network information Rf is requested within the current memory period tau1And will encounter a second roadside unit R in the next storage period tau +12Has a first vehicle-mounted node V1Abbreviated as R2-Rf1-vehicle node
Figure FDA00004621466800000614
Namely, it isVCR2Rf1={V1};
The first network information Rf is requested within the current memory period tau1And will encounter the fifth roadside unit R in the next storage period tau +15Has a third vehicle node V3N-th vehicle-mounted node VnAbbreviated as R5-Rf1-vehicle node
Figure FDA00004621466800000616
Namely, it is
Figure FDA00004621466800000617
The first network information Rf is requested within the current memory period tau1And will encounter the R-th roadside unit R in the next storage period tau +1rHas an nth vehicle-mounted node VnAbbreviated as Rr-Rf1-vehicle node
Figure FDA00004621466800000618
Namely, it isVCRrRf1={Vn};
According to
Figure FDA00004621466800000620
Figure FDA00004621466800000621
Andthe number of the medium elements is arranged in a descending order, and the processing order of the obtained roadside units is the fifth roadside unit R in sequence5A second roadside unit R2The R < th > roadside unit Rr
To the fifth roadside unit R which is positioned at the head after sequencing5Step 34 is executed, the second roadside unit R located after the head2And the R-th roadside unit RrRespectively executing the steps 35 in sequence;
step 34: reserving a fifth roadside unit R5Assigned first network information Rf1And recording the first vehicle-mounted intermediate distribution result
Figure FDA00004621466800000623
Then step 35 is executed;
step 35: for the second roadside unit R2To aim at
Figure FDA00004621466800000624
Of the first vehicle-mounted node V1Judgment of
Figure FDA00004621466800000625
If it is an empty set, then the second roadside unit R is reserved2Assigned first network information Rf1And reassigns the first on-board intermediate distribution result
Figure FDA00004621466800000626
Otherwise, cleaning up the second roadside unit R2Assigned first network information Rf1
Due to the fact that
Figure FDA00004621466800000627
So that a second roadside unit R remains2Assigned first network information Rf1And reassigns the first on-board intermediate distribution result
For the R roadside unit RrTo aim at
Figure FDA0000462146680000071
N-th on-board node V in (1)nJudgment of
Figure FDA0000462146680000072
If the set is empty, the R-th roadside unit R is reservedrAssigned first network information Rf1And reassigns the first on-board intermediate distribution result
Figure FDA0000462146680000073
Otherwise, cleaning the R-th roadside unit RrAssigned first network information Rf1
Due to the fact that
Figure FDA0000462146680000074
So that the R-th roadside unit R is cleanedrAssigned first network information Rf1
After finishing cleaning the network information distributed by the roadside unit, executing step 36;
step 36: the first vehicle-mounted intermediate distribution result
Figure FDA0000462146680000075
Assign a value to the first on-board distribution result
Figure FDA0000462146680000076
Namely, it isdRf1={R5,R2};
Executing step 41 for all the road edge units with the number more than 1 after steps 33 to 36 are executed;
step four: secondary distribution and updating bipartite graph vertex set
Step 41: removing vehicle-mounted request identification information
Figure FDA0000462146680000078
The numerical identification number associated with the left vertex of the connected edge, namely:
Figure FDA0000462146680000079
the numerical identification number 1 contained in (a);
Figure FDA00004621466800000710
the numerical identification number 2 contained in (a);
Figure FDA00004621466800000711
the numerical identification number 1 contained in (a);
Figure FDA00004621466800000712
in which comprisesThe number identification number 3;
Figure FDA00004621466800000713
the numerical identification number 4 contained therein;
the numerical identification number 5 contained therein;
the numerical identification number Z-1 contained in (a);
Figure FDA00004621466800000716
the numerical identification number 1 contained in (a);
obtaining the secondarily distributed vehicle-mounted request identification information
Figure FDA00004621466800000717
Wherein
Figure FDA00004621466800000718
Step 42: secondarily distributed vehicle-mounted request identification information
Figure FDA00004621466800000719
Element Z in (1) adds the label of the left vertex of the empty bipartite graph as aiWherein a isiThe recorded content is
Figure FDA00004621466800000720
A medium numeric identification number Z; step 43 is executed;
step 43: the storage position allocated with the network information is provided with
Figure FDA00004621466800000721
Figure FDA00004621466800000722
Removing a full network storage location set <math> <mrow> <msup> <mi>UD</mi> <mi>RD</mi> </msup> <mo>=</mo> <mo>{</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>1</mn> </msup> </msup> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mn>2</mn> </msup> </msup> <mo>&cup;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&CenterDot;</mo> <mo>&cup;</mo> <msup> <mi>U</mi> <msup> <mi>R</mi> <mi>r</mi> </msup> </msup> <mo>}</mo> </mrow></math>The storage position with the network information is distributed in the storage position distribution table to obtain a secondary distribution whole network storage position set
Figure FDA00004621466800000724
WhereinUR1={u1R1},UR4={u1R4},URr={u2Rr};Step 44 is executed;
step 44: aggregating secondary allocated full-network storage locations
Figure FDA00004621466800000728
Element (1) of
Figure FDA00004621466800000729
The identification number of the right vertex added into the bipartite graph is b1,b4,bjWherein b is1The recorded content is R1First storage location of
Figure FDA00004621466800000730
b4The recorded content is R4First storage location of
Figure FDA00004621466800000731
bjThe recorded content is RrSecond storage location ofStep 15 is performed.
2. The bipartite graph-based in-vehicle network distributed storage method according to claim 1, wherein: the data response rate is improved by 10%.
CN201410038091.8A2014-01-262014-01-26A kind of In-vehicle networking distributed storage method based on bigraph (bipartite graph)Expired - Fee RelatedCN103812933B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410038091.8ACN103812933B (en)2014-01-262014-01-26A kind of In-vehicle networking distributed storage method based on bigraph (bipartite graph)

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410038091.8ACN103812933B (en)2014-01-262014-01-26A kind of In-vehicle networking distributed storage method based on bigraph (bipartite graph)

Publications (2)

Publication NumberPublication Date
CN103812933Atrue CN103812933A (en)2014-05-21
CN103812933B CN103812933B (en)2017-03-15

Family

ID=50709126

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410038091.8AExpired - Fee RelatedCN103812933B (en)2014-01-262014-01-26A kind of In-vehicle networking distributed storage method based on bigraph (bipartite graph)

Country Status (1)

CountryLink
CN (1)CN103812933B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105094697A (en)*2015-07-072015-11-25首都师范大学Method and apparatus of distributed storage based on stable match in city in-vehicle network

Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090110089A1 (en)*2007-10-262009-04-30Nokia Siemens Networks OyCross layer network optimization for OFDMA systems using message passing algorithm
CN103052082A (en)*2013-01-292013-04-17武汉大学Optimal arrangement method of roadside base station under condition of time-delay boundary in VANET (vehicle ad hoc network)

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090110089A1 (en)*2007-10-262009-04-30Nokia Siemens Networks OyCross layer network optimization for OFDMA systems using message passing algorithm
CN103052082A (en)*2013-01-292013-04-17武汉大学Optimal arrangement method of roadside base station under condition of time-delay boundary in VANET (vehicle ad hoc network)

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
CHRISTIAN BETTSTETTER等: "The Node Distribution of the Random Waypoint Mobility Model for Wireless Ad Hoc Networks", 《IEEE TRANSACTIONS ON MOBILE COMPUTING》*
唐敏等: "二部图最大匹配问题的分层网络优化模型", 《计算机工程与应用》*

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105094697A (en)*2015-07-072015-11-25首都师范大学Method and apparatus of distributed storage based on stable match in city in-vehicle network
CN105094697B (en)*2015-07-072018-03-02首都师范大学Distributed storage method and device based on stable matching in city vehicle-mounted net network

Also Published As

Publication numberPublication date
CN103812933B (en)2017-03-15

Similar Documents

PublicationPublication DateTitle
CN111738550B (en)Travel guest-building method, device, equipment and storage medium based on dynamic programming
CN102932479B (en)Virtual network mapping method for realizing topology awareness based on historical data
JP6375588B2 (en) Intelligent train scheduling method
US20150142484A1 (en)Carpool service providing method and carpool server using the same
WO2017028333A1 (en)Planning method for highway electric vehicle fast charging stations
CN106557829A (en)Method and apparatus with demand and transport power mismatch region are obtained in car business
CN106448138A (en)Optimal multi-vehicle scheduling method based on active distribution type taxi service system
CN103428805B (en)The virtual mapping method of a kind of wireless network based on link anti-interference
CN110889738B (en) Method and device for dispatching orders
CN110599760A (en)Travel behavior simulation method under multi-mode traffic network
CN102264109A (en) Method and device for allocating bandwidth for services and allocating bandwidth for terminal service execution
CN113259147B (en)Network element management method, device, computer equipment and medium
CN110992123B (en) Method and device for dispatching orders
CN108647910A (en)Setting method, device, terminal and the computer storage media of city upblic traffic station
CN103812933B (en)A kind of In-vehicle networking distributed storage method based on bigraph (bipartite graph)
Brik et al.Token-based clustered data gathering protocol (TCDGP) in vehicular networks
CN107545318A (en)The determination of public bus network priority, bus transfer lines sort method and device
CN108898241A (en)Method and device is determined based on the traffic path of shared bicycle
CN106529766A (en)Vehicle seat allocation method and vehicle seat allocation device
CN110146102B (en) Path planning method, apparatus, device and storage medium
CN118354370A (en)Internet of vehicles edge node content caching method and system based on network coding
CN105894121B (en)A kind of layout of roads method and system
Lindner et al.New perspectives on PESP: T-partitions and separators
CN111666431B (en)Advertisement play list ordering method and device
CN109272151A (en)A kind of vehicle path planning algorithm optimization method based on Spark

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
TR01Transfer of patent right

Effective date of registration:20171226

Address after:518035 Guangdong, Futian District, Shenzhen, Shenzhen, Futian District, Futian District, Shenyang Street, Shennan Road, Shenzhen International Innovation Center, 18 building

Patentee after:Shenzhen Air Technology Co., Ltd.

Address before:518057 room A501, Virtual University Park, Nanshan District high tech Development Zone, Guangdong, China, Shenzhen

Patentee before:Research Institute of Beihang University in Shenzhen

TR01Transfer of patent right
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20170315

Termination date:20190126

CF01Termination of patent right due to non-payment of annual fee

[8]ページ先頭

©2009-2025 Movatter.jp