CN103475752B - What the vehicle-mounted net address of a kind of next generation configured realizes method - Google Patents

What the vehicle-mounted net address of a kind of next generation configured realizes method Download PDF

Info

Publication number
CN103475752B
CN103475752B CN201310447032.1A CN201310447032A CN103475752B CN 103475752 B CN103475752 B CN 103475752B CN 201310447032 A CN201310447032 A CN 201310447032A CN 103475752 B CN103475752 B CN 103475752B
Authority
CN
China
Prior art keywords
address
vehicle
node
car territory
access node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310447032.1A
Other languages
Chinese (zh)
Other versions
CN103475752A (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.)
Changshu intellectual property operation center Co.,Ltd.
Original Assignee
Changshu Institute of Technology
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 Changshu Institute of Technology filed Critical Changshu Institute of Technology
Priority to CN201310447032.1A priority Critical patent/CN103475752B/en
Publication of CN103475752A publication Critical patent/CN103475752A/en
Application granted granted Critical
Publication of CN103475752B publication Critical patent/CN103475752B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses the method that realizes of the vehicle-mounted net address configuration of a kind of next generation, described vehicle-mounted net includes three kinds of nodes: couple in router, access node and vehicle node; Couple in router is connected to the backbone network of Next Generation Internet, and access node is connected with more than one couple in router, and the closed area all access nodes being connected with a couple in router surrounded is as car territory. When vehicle node travels in car territory, its home address and Care-of Address remain unchanged; Vehicle node can quick obtaining IP address when entering new car territory. The present invention can keep the seriality of communication in moving process, reduces bursts dropping ratio, thus improve the service quality of vehicle-mounted net, present invention can apply to the fields such as road conditions monitoring, vehicle management, it is with a wide range of applications, therefore, there is significantly high promotional value.

Description

What the vehicle-mounted net address of a kind of next generation configured realizes method
Technical field
What the present invention relates to a kind of address configuration realizes system, and what in particular the vehicle-mounted net address of a kind of next generation configured realizes method.
Background technology
Vehicular ad hoc network has been subjected to extensive concern due to its practicality, becomes the focus of research. One of main feature of vehicular ad hoc network moves along road for road surface mobile node, and therefore, how mobile node obtains IPv6 address in moving process and to guarantee one of correct communication focus becoming current research.
Current existing address configuration agreement, such as stateless address configuration agreement and have state address configuration protocol, is applied in In-vehicle networking and there is also some problems, main cause is that the characteristic being had high cost and high latency by existing address configuration agreement causes. Owing to mobile node has fireballing characteristic, when it is continually by multiple IP territory, it is necessary to the IP address of configuration corresponding field is to guarantee the correctness of route. Therefore, the high latency of existing address configuration agreement cannot guarantee the vehicle node run at high speed can quick obtaining address, therefore add packet loss, reduce network service quality.
Summary of the invention
Goal of the invention: the technical problem to be solved is for the deficiencies in the prior art, it is provided that a kind of postpone the configuration of the next generation short, that network service quality is high vehicle-mounted net address realize method.
Technical scheme: what the invention discloses the vehicle-mounted net address configuration of a kind of next generation realizes method, it is characterised in that described vehicle-mounted net includes three kinds of nodes: couple in router, access node and vehicle node; Couple in router is connected to the backbone network of Next Generation Internet, access node is connected with more than one couple in router, the closed area all access nodes being connected with a couple in router surrounded is as car territory, and access node is stationary nodes, belongs simultaneously to more than one car territory; After vehicle node starts, using first address of acquisition as home address, obtain the car territory of home address as car territory, local;After vehicle obtains home address, if entering a new car territory, the address that it obtains in new car territory, as Care-of Address, obtains the car territory of Care-of Address as outside car territory.
When vehicle travels in car territory, its home address and Care-of Address remain unchanged; When vehicle travels in car territory, local, its Care-of Address is equal to home address.
The above-mentioned vehicle-mounted network architecture based on car territory can be effectively reduced location configuration frequency, extends address lifetimes thus the total cost of address configuration that reduces vehicle node and total delay.
The IPv6 address of described vehicle-mounted net node is made up of three parts: Part I is car territory ID, it is overall situation route prefix, one overall route prefix uniquely identifies a car territory, in one car territory, the overall route prefix of the Care-of Address of all access nodes and vehicle is all identical, and its value is equal to the overall route prefix of the couple in router in car territory; Part II is that access node ID, access node ID uniquely identify an access node, and vehicle node is all identical from the access node ID of the IPv6 address that an access node obtains, and its value is equal to the access node ID of this access node; Access node ID is made up of two parts: abscissa and vertical coordinate, and abscissa is the abscissa of access node address position, and vertical coordinate is the vertical coordinate of access node geographic location; Part III is vehicle ID, and vehicle ID uniquely identifies a vehicle; The access node ID and vehicle ID of couple in router are 0, and the vehicle ID of access node is 0; Under original state, the IPv6 address of couple in router is pre-configured with.
Address above mentioned structure can effectively reduce the total cost of address configuration and the total delay of vehicle node.
The access node identical with the car territory ID of the home address of vehicle node and access node ID is called the local access node of this vehicle node, and the access node identical with the car territory ID of the Care-of Address of vehicle node and access node ID is called the foreign access node of this vehicle node;
Access node and vehicle node periodic broadcasting beacon message; After vehicle node enters the communication range of access node, access node adopts existing location technology (such as AOA and RSSI) to obtain the distance with this vehicle node and angle by receiving the beacon message of vehicle node broadcast.
Access node belongs to K car territory, and kth car territory, K >=2 is by angle range [αkk+1] definition, K >=k >=1; Distance between vehicle node and access node go to zero (such as when distance is less than the width in track) time, then showing that this vehicle node enters a new car territory through access node from original car territory, access node obtains, by the angle obtained with this vehicle node, the next car territory that this vehicle node enters;
If vehicle node enters the communication range of an access node, then illustrate that this vehicle node is about to enter next car territory; Vehicle node is after next car territory obtains Care-of Address, if this vehicle node enters next car territory from car territory, local, vehicle node then sends address to local access node and reclaims message; If this vehicle node enters next car territory from outside car territory, vehicle node then sends address to foreign access node and reclaims message; The routing procedure of message arrival local access node or foreign access node is reclaimed in address:
Step 101: start.
Step 102: vehicle node according to the access node ID of local access node or foreign access node using vehicle node nearest to distance local access node or foreign access node as next-hop node, then message is reclaimed in address and is forwarded to next-hop node.
Step 103: judge whether next-hop node redistributes the address space reclaimed in message, if it is, carry out step 107, otherwise carries out step 104.
Address, as next-hop node, is then reclaimed message and is forwarded to next-hop node by the nearest vehicle node of step 104: next-hop node receives address and reclaims after message, chosen distance local access node or foreign access node.
Step 105: repeat step 104, until address is reclaimed message and is arrived local access node or foreign access node.
Step 106: local access node or foreign access node reclaim the address space during address is reclaimed.
Step 107: terminate.
Algorithm is reclaimed, it is possible to reclaiming address in time so that it is guaranteed that the success rate of address configuration, postponing and cost thus reducing address configuration by address above mentioned.
In the method for the invention, described couple in router periodic broadcasting car territory ID, the car territory ID abscissa with oneself position and vertical coordinate are combined after receiving the car territory ID of couple in router broadcast the IPv6 address of acquisition oneself by access node.
Periodic broadcasting beacon message behind access node acquisition IPv6 address.
Vehicle node obtains behind IPv6 address, and the beacon message load of broadcast is that home address, vehicle node are at the coordinate of the length in distributed vehicle ID space and present position that are currently located car territory.
Before vehicle node obtains home address, the car territory ID in car territory, place is obtained by intercepting the beacon message of neighbours' vehicle node, then vehicle node is by the initial ID(such as MAC Address of oneself) combine acquisition temporary IP v6 address with car territory ID, and the access node ID of temporary IP v6 address is 0.
In the method for the invention, if vehicle node X receives the beacon message of two or more neighbours' vehicle node, so it select and vehicle ID space the strongest from signal be not 0 neighbours vehicle node Y obtain address, if signal is the strongest and vehicle ID space be not 0 for identical multiple, then therefrom randomly select one; Assume that the vehicle ID of vehicle node Y is L-1, L>1, vehicle ID space can be distributed for [L, U], L and U is positive integer, L<U, then vehicle node X from the neighbours vehicle node Y process obtaining home address is:
Step 201: start.
Step 202: vehicle node X sends address request to neighbours vehicle node Y.
Step 203: after neighbours vehicle node Y receives address request, it is judged that oneself whether be about to enter next car territory and obtained the Care-of Address in next car territory, if it is, carry out step 204, otherwise carry out step 205.
Step 204: vehicle node Y builds an address response message, by [L-1, U] load as address response message, carries out step 208.
Step 205: judge whether vehicle node Y receives an address and reclaim message and but without being forwarded to next-hop node, if it is, carry out step 206, otherwise carries out step 207.
Step 206: vehicle node Y builds an address response message, stop forwarding address reclaim message and address is reclaimed in Message Payload address space as the load of address response message, carry out step 208.
Step 207: vehicle node Y builds an address response message, by vehicle ID spaceAs the load of address response message, the vehicle ID space simultaneously updating oneself is
Step 208: address response message is sent to vehicle node X by vehicle node Y.
Step 209: after vehicle node X receives address response message, using the vehicle ID as oneself of the address space lower limit in address response message load, then the car territory ID and access node ID of vehicle ID and vehicle node Y are combined and obtain the home address of oneself, simultaneously using remaining space as distributing vehicle ID space.
Step 210: terminate.
Address above mentioned configuration process can effectively extend address lifetimes, thus the additional cost avoided address reclaimer operation and cause and delay, thus reducing address configuration cost and delay;
In the method for the invention, after vehicle node X starts, still receive the beacon message of access node AP1 without the beacon message receiving neighbours' vehicle node, then vehicle node X obtains home address by following process from access node AP1:
Step 301: start.
Step 302: vehicle node X sends address request to neighbours access node AP1.
Step 303: after access node AP1 receives address request, first determine whether the vehicle node X next car territory that will enter, then from the address pool in corresponding car territory, randomly select one section of vehicle ID space [L, U], L < U, is encapsulated in this address space in an address response message, address response message is sent to vehicle node X, address space [L, U] is labeled as simultaneously and distributes state.
Step 304: after vehicle node X receives address response message, using address space lower limit L as vehicle ID, and combine with the car territory ID and access node ID of access node AP1 and to obtain the home address of oneself, simultaneously by address space [L+1, U] as vehicle ID space.
Step 305: terminate.
Address above mentioned configuration process may insure that the success rate of address configuration, and effectively reduces address configuration cost and delay.
In the method for the invention, if neighbours' vehicle node of vehicle node X does not have to distribute in the neighbor node of vehicle ID space and vehicle node X does not have access node, so vehicle node X obtains the address coordinate of the access node in car territory, place according to the source address of the beacon message received, then selecting the access node AP2 that in this car territory, distance oneself is nearest to obtain home address, process is as follows:
Step 401: start.
Step 402: vehicle node X sends address request to access node AP2, and Message Source Address is the temporary address of vehicle node X, and this address request is sent to the next-hop node that distance access node AP2 is nearest.
Step 403: whether next-hop node is access node AP2, if it is, carry out step 404, otherwise carries out step 405.
Step 404: access node AP2 randomly selects one section of vehicle ID address space [L2 according to the car territory ID of vehicle node X temporary address from the address pool in corresponding car territory, U2], L2 < U2, by address space [L2, U2] it is encapsulated in address response message, address response message is sent to vehicle node X, by address space [L2, U2] it is labeled as and distributes state, carry out step 413.
Step 405: after down hop vehicle node receives this message, it is judged that oneself whether be about to enter next car territory and obtained the Care-of Address in next car territory, if it is, carry out step 406, otherwise carry out step 407.
Step 406: down hop vehicle node builds an address response message, using the address space of the vehicle ID of oneself and correspondence as the load of address response message, carries out step 411.
Step 407: judge whether down hop vehicle node receives an address and reclaim message and but without being forwarded to next-hop node, if carrying out step 408, otherwise carries out step 409.
Step 408: down hop vehicle build an address response message, stop forwarding address reclaim message and address is reclaimed in Message Payload address space as the load of address response message, carry out step 411.
Step 409: whether down hop vehicle node has can be distributed vehicle ID space, if it is, carry out step 410, otherwise carries out step 412.
Step 410: if down hop vehicle can distribute vehicle ID space for [L1, U1], then it builds an address response message, by vehicle ID spaceAs the load of address response message, by the vehicle ID spatial update of oneself it is simultaneously
Step 411: address response message is sent to vehicle node X by down hop vehicle, carries out step 413.
Step 412: address request is sent to the down hop vehicle node that distance access node AP2 is nearest by down hop vehicle node, carries out step 403.
Step 413: after vehicle node X receives address response message, using the vehicle ID as oneself of the address space lower limit in address response message load, then vehicle ID is combined with the car territory ID and access node ID of address response message source address and obtain the home address of oneself, simultaneously using remaining space as distributing vehicle ID space.
Step 414: terminate.
Address above mentioned configuration process may insure that the success rate of address configuration.
In the method for the invention, after vehicle node X configures home address, if it enters the communication range of an access node, then it represents that will enter a new car territory, vehicle node X passes through co-located care-of address to guarantee the correctness of communication.
When access node detects that a vehicle node having configured home address enters a new car territory through oneself, access node obtains the car territory ID in the next car territory that this vehicle node enters by the beacon message that this vehicle node is broadcasted, and adopt tlv triple<home address, Care-of Address, the car territory ID in next car territory>identify this vehicle node, and this tlv triple is broadcasted as beacon message load.
In the method for the invention, if vehicle node X detects that oneself travels to outside car territory VD2 from outside car territory VD1 through access node AP1, and vehicle node Y is travelling from outside car territory VD2 to outside car territory VD1 through access node AP1, then vehicle node X proceeds as follows the Care-of Address obtaining new car territory:
Step 501: start.
Step 502: vehicle node X sends address exchange message to vehicle node Y, and Message Payload is assignable vehicle ID space and the car territory ID of next outside car territory VD2.
After step 503: vehicle node Y receives address exchange message, obtaining the vehicle node X car territory being about to leave by the Care-of Address of vehicle node X is the car territory that it is about to enter, in Message Payload, next outside car territory VD2 oneself is currently located car territory, vehicle node Y-direction vehicle node X return address confirms message, Message Payload is assignable vehicle ID space, and the Care-of Address of vehicle node X and vehicle ID space are set to oneself Care-of Address and vehicle ID space simultaneously.
After step 504: vehicle node X receives Address Confirmation message, the Care-of Address of vehicle node Y and vehicle ID space are set to Care-of Address and the vehicle ID space of oneself.
Step 505: terminate.
Address above mentioned configuration process configures the Care-of Address of two nodes in primary information is mutual simultaneously, simultaneously without carrying out address reclaimer operation, therefore improves address configuration efficiency, reduces network traffics, improve network performance.
In the method for the invention, vehicle node X detects that oneself travels to outside car territory VD2 from outside car territory VD1 through access node AP1, travel to outside car territory VD3 from outside car territory VD2 through AP1 to outside car territory VD1 traveling and vehicle node Y from outside car territory VD2 through AP1 without vehicle, if the vehicle ID of vehicle node Y is L, address space is [L+1, U], then vehicle node X passes through following Procedure Acquisition Care-of Address:
Step 601: start.
Step 602: vehicle node X sends address request to vehicle node Y, and Message Payload is the car territory ID of next car territory VD2.
Step 603: after vehicle node Y receives address request, it is judged that oneself whether obtain the Care-of Address at next car territory VD3, if it is, carry out step 604, otherwise carry out step 605.
Step 604: vehicle node Y builds address response message, by the address space [L, the U] load as address response message, carries out step 606.
Step 605: vehicle node Y builds address response message, by the address space [L+1, the U] load as address response message.
Address response message is sent to vehicle node X by step 606: vehicle node Y, and the source address of message is the vehicle node Y address at car territory VD2.
Step 607: after vehicle node X receives address response message, using the lower limit in the vehicle ID space in the address response message vehicle ID as oneself, then combining with the car territory ID and access node ID of vehicle node Y and obtain oneself Care-of Address at car territory VD2, remaining space is as distributing vehicle ID space.
Step 608: terminate.
Address above mentioned configuration process effectively prevent vehicle node Y while vehicle node X obtains Care-of Address and carries out address reclaimer operation, therefore enhances address configuration performance, reduces network traffics, improves network performance.
In the method for the invention, when vehicle node X enters a new car territory by access node AP1, if vehicle node X does not have it is found that exchange or apply for neighbours' vehicle node of Care-of Address, then vehicle node X obtains IPv6 address from access node AP1, and process is:
Step 701: start.
Step 702: whether the next car territory judging vehicle node X is car territory, local, if it is, carry out step 703, otherwise carries out step 704.
Care-of Address is set to the home address of oneself by step 703: vehicle node X, carries out step 707.
Step 704: vehicle node X sends address request to access node AP1, and Message Payload is the car territory ID in next car territory.
Step 705: after access node AP1 receives address request, a sector address space [L is chosen from the address pool in next car territory, U], L < U, address space [L, U] is encapsulated in address response message, address response message is sent to vehicle node X, address space [L, U] is labeled as simultaneously and distributes state.
Step 706: after vehicle node X receives address response message, using L as vehicle ID, and combines with the car territory ID and access node ID of access node AP1 and obtains the home address of oneself, simultaneously by address space [L+1, U] as distributing vehicle ID space.
Step 707: terminate.
Address above mentioned configuration process can ensure that vehicle node obtains the success rate of Care-of Address.
In the method for the invention, after vehicle node obtains home address, regularly sending address update message to local access node, Message Payload is the distributed vehicle ID space that home address is corresponding; If local access node does not receive the address update message of vehicle node at the appointed time, then reclaim the home address of vehicle node and corresponding vehicle ID space; If the vehicle ID of the home address of vehicle node is L, home address space is [L+1, U], obtain after namely the Care-of Address in next car territory will be disengaged from car territory, local in this vehicle node, this vehicle node sends address to local access node and reclaims message, Message Payload is the home address space [L+1, U] of this vehicle node;Local access node receives address and reclaims after message, then reclaim the home address space [L+1, U] of vehicle node, but does not reclaim the vehicle ID of its home address so that it is guaranteed that the uniqueness of home address.
After vehicle node obtains Care-of Address, regularly sending address update message to foreign access node, Message Payload is the distributed vehicle ID space that Care-of Address is corresponding; If foreign access node does not receive the address update message of vehicle node at the appointed time, then reclaim the Care-of Address of vehicle node and the vehicle ID space of correspondence; Assume that the vehicle ID of the Care-of Address of vehicle node is L, Care-of Address space is [L+1, U], and this vehicle node obtains the address in next car territory and namely will be disengaged from outside car territory, place, if the vehicle ID space of the Care-of Address of this vehicle node and response is not allocated to other nodes, so this vehicle node sends address to foreign access node and reclaims message, and Message Payload is for delivering vehicle ID space [L, U]; Foreign access node reclaims the vehicle ID space [L, U] of vehicle node after receiving address recovery message.
Address above mentioned removal process can be effectively improved address configuration success rate.
Beneficial effect: what the invention provides the vehicle-mounted net address configuration of a kind of next generation realizes method, described address configuration method can be the vehicle node rapid configuration IP address that translational speed is fast, ensure that the correctness of route, decrease packet loss, improve network service quality. Present invention can apply to the fields such as road conditions monitoring, vehicle management, be with a wide range of applications.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments the present invention being done and further illustrate, the above-mentioned and/or otherwise advantage of the present invention will become apparent.
Fig. 1 is couple in router of the present invention, access node and vehicle node structural representation.
Fig. 2 is node IP v6 address structure schematic diagram of the present invention.
Fig. 3 is address of the present invention recovery process schematic diagram.
Fig. 4 is that vehicle node of the present invention obtains the schematic flow sheet of home address from neighbours' vehicle node.
Fig. 5 is that vehicle node of the present invention obtains the schematic flow sheet of home address from neighbours' access node.
Fig. 6 is that vehicle node of the present invention obtains the schematic flow sheet of home address from remote node.
Fig. 7 is the schematic flow sheet of vehicle node of the present invention exchange Care-of Address.
Fig. 8 is that vehicle node of the present invention obtains the schematic flow sheet of Care-of Address from neighbours' vehicle node.
Fig. 9 is that vehicle node of the present invention obtains the schematic flow sheet of Care-of Address from neighbours' access node.
Detailed description of the invention:
What the invention provides the vehicle-mounted net address configuration of a kind of next generation realizes method, described address configuration method can be the vehicle node rapid configuration IP address that translational speed is fast, ensure that the correctness of route, decrease packet loss, improve network service quality. Present invention can apply to the fields such as road conditions monitoring, vehicle management, be with a wide range of applications.
Fig. 1 is couple in router of the present invention, access node and vehicle node structural representation. Described vehicle-mounted net includes three kinds of nodes: couple in router 1, access node 2 and vehicle node 3; Couple in router 1 is connected to the backbone network of Next Generation Internet, access node 2 is connected with more than one couple in router 1, the closed area all access nodes being connected with a couple in router 1 surrounded is as car territory 4, access node 2 is stationary nodes, belongs simultaneously to more than one car territory 4;After vehicle node 3 starts, using first address of acquisition as home address, obtain the car territory of home address as car territory, local; After vehicle obtains home address, if entering a new car territory 4, the address that it obtains in new car territory, as Care-of Address, obtains the car territory of Care-of Address as outside car territory.
When vehicle node 3 travels in car territory 4, its home address and Care-of Address remain unchanged; Vehicle node 3 is when car territory, local 4 travels, and its Care-of Address is equal to home address.
The above-mentioned vehicle-mounted network architecture based on car territory can be effectively reduced location configuration frequency, extends address lifetimes thus the total cost of address configuration that reduces vehicle node and total delay.
Fig. 2 is node IP v6 address structure schematic diagram of the present invention. The IPv6 address of described vehicle-mounted net node is made up of three parts: Part I is car territory ID, it is overall situation route prefix, one overall route prefix uniquely identifies a car territory, in one car territory, the overall route prefix of the Care-of Address of all access nodes and vehicle is all identical, and its value is equal to the overall route prefix of the couple in router in car territory; Part II is that access node ID, access node ID uniquely identify an access node, and vehicle node is all identical from the access node ID of the IPv6 address that an access node obtains, and its value is equal to the access node ID of this access node; Access node ID is made up of two parts: abscissa and vertical coordinate, and abscissa is the abscissa of access node address position, and vertical coordinate is the vertical coordinate of access node geographic location; Part III is vehicle ID, and vehicle ID uniquely identifies a vehicle; The access node ID and vehicle ID of couple in router are 0, and the vehicle ID of access node is 0; Under original state, the IPv6 address of couple in router is pre-configured with.
Address above mentioned structure can effectively reduce the total cost of address configuration and the total delay of vehicle node.
Fig. 3 is address of the present invention recovery process schematic diagram. The access node identical with the car territory ID of the home address of vehicle node and access node ID is called the local access node of this vehicle node, and the access node identical with the car territory ID of the Care-of Address of vehicle node and access node ID is called the foreign access node of this vehicle node.
Access node and vehicle node periodic broadcasting beacon message; After vehicle node enters the communication range of access node, access node adopts existing location technology (such as AOA and RSSI) to obtain the distance with this vehicle node and angle by receiving the beacon message of vehicle node broadcast.
Access node belongs to K car territory, and kth car territory, K >=2 is by angle range [αkk+1] definition, K >=k >=1; Distance between vehicle node and access node go to zero (such as distance is less than the width in track) time, then showing that this vehicle node enters a new car territory through access node from original car territory, access node obtains, by the angle obtained with this vehicle node, the next car territory that this vehicle node enters;
If vehicle node enters the communication range of an access node, then illustrate that this vehicle node is about to enter next car territory; Vehicle node is after next car territory obtains Care-of Address, if this vehicle node enters next car territory from car territory, local, vehicle node then sends address to local access node and reclaims message; If this vehicle node enters next car territory from outside car territory, vehicle node then sends address to foreign access node and reclaims message; The routing procedure of message arrival local access node or foreign access node is reclaimed in address:
Step 101: start.
Step 102: vehicle node according to the access node ID of local access node or foreign access node using vehicle node nearest to distance local access node or foreign access node as next-hop node, then message is reclaimed in address and is forwarded to next-hop node.
Step 103: judge whether next-hop node redistributes the address space reclaimed in message, if it is, carry out step 107, otherwise carries out step 104.
Address, as next-hop node, is then reclaimed message and is forwarded to next-hop node by the nearest vehicle node of step 104: next-hop node receives address and reclaims after message, chosen distance local access node or foreign access node.
Step 105: repeat step 104, until address is reclaimed message and is arrived local access node or foreign access node.
Step 106: local access node or foreign access node reclaim the address space during address is reclaimed.
Step 107: terminate.
Algorithm is reclaimed, it is possible to reclaiming address in time so that it is guaranteed that the success rate of address configuration, postponing and cost thus reducing address configuration by address above mentioned.
Fig. 4 is that vehicle node of the present invention obtains the schematic flow sheet of home address from neighbours' vehicle node. In the method for the invention, described couple in router periodic broadcasting car territory ID, the car territory ID abscissa with oneself position and vertical coordinate are combined after receiving the car territory ID of couple in router broadcast the IPv6 address of acquisition oneself by access node.
Periodic broadcasting beacon message behind access node acquisition IPv6 address.
Vehicle node obtains behind IPv6 address, and the beacon message load of broadcast is that home address, vehicle node are at the coordinate of the length in distributed vehicle ID space and present position that are currently located car territory.
Before vehicle node obtains home address, the car territory ID in car territory, place is obtained by intercepting the beacon message of neighbours' vehicle node, then vehicle node is by the initial ID(such as MAC Address of oneself) combine acquisition temporary IP v6 address with car territory ID, and the access node ID of temporary IP v6 address is 0.
In the method for the invention, if vehicle node X receives the beacon message of two or more neighbours' vehicle node, then it select and vehicle ID space the strongest from signal be not 0 neighbours vehicle node Y obtain address; Assume that the vehicle ID of vehicle node Y is L-1, L>1, vehicle ID space can be distributed for [L, U], L and U is positive integer, L<U, then vehicle node X from the neighbours vehicle node Y process obtaining home address is:
Step 201: start.
Step 202: vehicle node X sends address request to neighbours vehicle node Y.
Step 203: after neighbours vehicle node Y receives address request, it is judged that oneself whether be about to enter next car territory and obtained the Care-of Address in next car territory, if it is, carry out step 204, otherwise carry out step 205.
Step 204: vehicle node Y builds an address response message, by [L-1, U] load as address response message, carries out step 208.
Step 205: judge whether vehicle node Y receives an address and reclaim message and but without being forwarded to next-hop node, if it is, carry out step 206, otherwise carries out step 207.
Step 206: vehicle node Y builds an address response message, stop forwarding address reclaim message and address is reclaimed in Message Payload address space as the load of address response message, carry out step 208.
Step 207: vehicle node Y builds an address response message, by vehicle ID spaceAs the load of address response message, the vehicle ID space simultaneously updating oneself is
Step 208: address response message is sent to vehicle node X by vehicle node Y.
Step 209: after vehicle node X receives address response message, using the vehicle ID as oneself of the address space lower limit in address response message load, then the car territory ID and access node ID of vehicle ID and vehicle node Y are combined and obtain the home address of oneself, simultaneously using remaining space as distributing vehicle ID space.
Step 210: terminate.
Address above mentioned configuration process can effectively extend address lifetimes, thus the additional cost avoided address reclaimer operation and cause and delay, thus reducing address configuration cost and delay; .
Fig. 5 is that vehicle node of the present invention obtains the schematic flow sheet of home address from neighbours' access node. After vehicle node X starts, still receive the beacon message of access node AP1 without the beacon message receiving neighbours' vehicle node, then vehicle node X obtains home address by following process from access node AP1:
Step 301: start.
Step 302: vehicle node X sends address request to neighbours access node AP1.
Step 303: after access node AP1 receives address request, first determine whether the vehicle node X next car territory that will enter, then from the address pool in corresponding car territory, randomly select one section of vehicle ID space [L, U], L < U, is encapsulated in this address space in an address response message, address response message is sent to vehicle node X, address space [L, U] is labeled as simultaneously and distributes state.
Step 304: after vehicle node X receives address response message, using address space lower limit L as vehicle ID, and combine with the car territory ID and access node ID of access node AP1 and to obtain the home address of oneself, simultaneously by address space [L+1, U] as vehicle ID space.
Step 305: terminate.
Address above mentioned configuration process may insure that the success rate of address configuration, and effectively reduces address configuration cost and delay.
Fig. 6 is that vehicle node of the present invention obtains the schematic flow sheet of home address from remote node. In the method for the invention, if neighbours' vehicle node of vehicle node X does not have to distribute in the neighbor node of vehicle ID space and vehicle node X does not have access node, so vehicle node X obtains the address coordinate of the access node in car territory, place according to the source address of the beacon message received, then selecting the access node AP2 that in this car territory, distance oneself is nearest to obtain home address, process is as follows:
Step 401: start.
Step 402: vehicle node X sends address request to access node AP2, and Message Source Address is the temporary address of vehicle node X, and this address request is sent to the next-hop node that distance access node AP2 is nearest.
Step 403: whether next-hop node is access node AP2, if it is, carry out step 404, otherwise carries out step 405.
Step 404: access node AP2 randomly selects one section of vehicle ID address space [L2 according to the car territory ID of vehicle node X temporary address from the address pool in corresponding car territory, U2], L2 < U2, by address space [L2, U2] it is encapsulated in address response message, address response message is sent to vehicle node X, by address space [L2, U2] it is labeled as and distributes state, carry out step 413.
Step 405: after down hop vehicle node receives this message, it is judged that oneself whether be about to enter next car territory and obtained the Care-of Address in next car territory, if it is, carry out step 406, otherwise carry out step 407.
Step 406: down hop vehicle node builds an address response message, using the address space of the vehicle ID of oneself and correspondence as the load of address response message, carries out step 411.
Step 407: judge whether down hop vehicle node receives an address and reclaim message and but without being forwarded to next-hop node, if carrying out step 408, otherwise carries out step 409.
Step 408: down hop vehicle build an address response message, stop forwarding address reclaim message and address is reclaimed in Message Payload address space as the load of address response message, carry out step 411.
Step 409: whether down hop vehicle node has can be distributed vehicle ID space, if it is, carry out step 410, otherwise carries out step 412.
Step 410: down hop vehicle can distribute vehicle ID space for [L1, U1], and it builds an address response message, by vehicle ID spaceAs the load of address response message, by the vehicle ID spatial update of oneself it is simultaneouslyCarry out step 411.
Step 411: address response message is sent to vehicle node X by down hop vehicle, carries out step 413.
Step 412: address request is sent to the down hop vehicle node that distance access node AP2 is nearest by down hop vehicle node, carries out step 403.
Step 413: after vehicle node X receives address response message, using the vehicle ID as oneself of the address space lower limit in address response message load, then vehicle ID is combined with the car territory ID and access node ID of address response message source address and obtain the home address of oneself, simultaneously using remaining space as distributing vehicle ID space.
Step 414: terminate.
Address above mentioned configuration process may insure that the success rate of address configuration.
Fig. 7 is the schematic flow sheet of vehicle node of the present invention exchange Care-of Address. In the method for the invention, after vehicle node X configures home address, if it enters the communication range of an access node, then it represents that will enter a new car territory, vehicle node X passes through co-located care-of address to guarantee the correctness of communication;
When access node detects that a vehicle node having configured home address enters a new car territory through oneself, access node obtains the car territory ID in the next car territory that this vehicle node enters by the beacon message that this vehicle node is broadcasted, and adopt tlv triple<home address, Care-of Address, the car territory ID in next car territory>identify this vehicle node, and this tlv triple is broadcasted as beacon message load.
In the method for the invention, if vehicle node X detects that oneself travels to outside car territory VD2 from outside car territory VD1 through access node AP1, and vehicle node Y is travelling from outside car territory VD2 to outside car territory VD1 through access node AP1, then vehicle node X proceeds as follows the Care-of Address obtaining new car territory:
Step 501: start.
Step 502: vehicle node X sends address exchange message to vehicle node Y, and Message Payload is assignable vehicle ID space and the car territory ID of next outside car territory VD2.
After step 503: vehicle node Y receives address exchange message, obtaining the vehicle node X car territory being about to leave by the Care-of Address of vehicle node X is the car territory that it is about to enter, in Message Payload, next outside car territory VD2 oneself is currently located car territory, vehicle node Y-direction vehicle node X return address confirms message, Message Payload is assignable vehicle ID space, and the Care-of Address of vehicle node X and vehicle ID space are set to oneself Care-of Address and vehicle ID space simultaneously.
After step 504: vehicle node X receives Address Confirmation message, the Care-of Address of vehicle node Y and vehicle ID space are set to Care-of Address and the vehicle ID space of oneself.
Step 505: terminate.
Address above mentioned configuration process configures the Care-of Address of two nodes in primary information is mutual simultaneously, simultaneously without carrying out address reclaimer operation, therefore improves address configuration efficiency, reduces network traffics, improve network performance.
Fig. 8 is that vehicle node of the present invention obtains the schematic flow sheet of Care-of Address from neighbours' vehicle node. In the method for the invention, vehicle node X detects that oneself travels to outside car territory VD2 from outside car territory VD1 through access node AP1, travel to outside car territory VD3 from outside car territory VD2 through AP1 to outside car territory VD1 traveling and vehicle node Y from outside car territory VD2 through AP1 without vehicle, if the vehicle ID of vehicle node Y is L, address space is [L+1, U], then vehicle node X passes through following Procedure Acquisition Care-of Address:
Step 601: start.
Step 602: vehicle node X sends address request to vehicle node Y, and Message Payload is the car territory ID of next car territory VD2.
Step 603: after vehicle node Y receives address request, it is judged that oneself whether obtain the Care-of Address at next car territory VD3, if it is, carry out step 604, otherwise carry out step 605.
Step 604: vehicle node Y builds address response message, by the address space [L, the U] load as address response message, carries out step 606.
Step 605: vehicle node Y builds address response message, by the address space [L+1, the U] load as address response message.
Address response message is sent to vehicle node X by step 606: vehicle node Y, and the source address of message is the vehicle node Y address at car territory VD2.
Step 607: after vehicle node X receives address response message, using the lower limit in the vehicle ID space in the address response message vehicle ID as oneself, then combining with the car territory ID and access node ID of vehicle node Y and obtain oneself Care-of Address at car territory VD2, remaining space is as distributing vehicle ID space.
Step 608: terminate.
Address above mentioned configuration process effectively prevent vehicle node Y while vehicle node X obtains Care-of Address and carries out address reclaimer operation, therefore enhances address configuration performance, reduces network traffics, improves network performance.
Fig. 9 is that vehicle node of the present invention obtains the schematic flow sheet of Care-of Address from neighbours' access node. In the method for the invention, when vehicle node X enters a new car territory by access node AP1, if vehicle node X does not have it is found that exchange or apply for neighbours' vehicle node of Care-of Address, then vehicle node X obtains IPv6 address from access node AP1, and process is:
Step 701: start;
Step 702: whether the next car territory judging vehicle node X is car territory, local, if it is, carry out step 703, otherwise carries out step 704.
Care-of Address is set to the home address of oneself by step 703: vehicle node X, carries out step 707.
Step 704: vehicle node X sends address request to access node AP1, and Message Payload is the car territory ID in next car territory.
Step 705: after access node AP1 receives address request, a sector address space [L is chosen from the address pool in next car territory, U], L < U, address space [L, U] is encapsulated in address response message, address response message is sent to vehicle node X, address space [L, U] is labeled as simultaneously and distributes state.
Step 706: after vehicle node X receives address response message, using L as vehicle ID, and combines with the car territory ID and access node ID of access node AP1 and obtains the home address of oneself, simultaneously by address space [L+1, U] as distributing vehicle ID space.
Step 707: terminate.
Address above mentioned configuration process can ensure that vehicle node obtains the success rate of Care-of Address.
After vehicle node obtains home address, regularly sending address update message to local access node, Message Payload is the distributed vehicle ID space that home address is corresponding; If local access node does not receive the address update message of vehicle node at the appointed time, then reclaim the home address of vehicle node and corresponding vehicle ID space; If the vehicle ID of the home address of vehicle node is L, home address space is [L+1, U], obtain after namely the Care-of Address in next car territory will be disengaged from car territory, local in this vehicle node, this vehicle node sends address to local access node and reclaims message, Message Payload is the home address space [L+1, U] of this vehicle node; Local access node receives address and reclaims after message, then reclaim the home address space [L+1, U] of vehicle node, but does not reclaim the vehicle ID of its home address so that it is guaranteed that the uniqueness of home address;
After vehicle node obtains Care-of Address, regularly sending address update message to foreign access node, Message Payload is the distributed vehicle ID space that Care-of Address is corresponding; If foreign access node does not receive the address update message of vehicle node at the appointed time, then reclaim the Care-of Address of vehicle node and the vehicle ID space of correspondence; Assume that the vehicle ID of the Care-of Address of vehicle node is L, Care-of Address space is [L+1, U], and this vehicle node obtains the address in next car territory and namely will be disengaged from outside car territory, place, if the vehicle ID space of the Care-of Address of this vehicle node and response is not allocated to other nodes, so this vehicle node sends address to foreign access node and reclaims message, and Message Payload is for delivering vehicle ID space [L, U]; Foreign access node reclaims the vehicle ID space [L, U] of vehicle node after receiving address recovery message.
Address above mentioned removal process can be effectively improved address configuration success rate.
In sum, the invention provides the method that realizes of the vehicle-mounted net address configuration of a kind of next generation, described address configuration method can be the vehicle node rapid configuration IP address that translational speed is fast, ensures that the correctness of route, decrease packet loss, improve network service quality. Present invention can apply to the fields such as road conditions monitoring, vehicle management, be with a wide range of applications.
Embodiment 1
Based on the simulation parameter of table 1, the present embodiment simulates method in the present invention, and performance evaluation is as follows: when speed increases, the frequency of address configuration increases therewith, and therefore the total cost of address configuration and total delay increase along with speed and increase. In the present embodiment, obtain due to node and the frequency of release address increases, therefore the frequency that vehicle node obtains home address by neighbor node increases, vehicle node obtains Care-of Address by neighbor node, therefore address configuration cost and delay are little, average address configuration cost is 12, and average address reconfiguration latency is 100ms. The present embodiment is owing to adopting the architecture in car territory, and therefore address configuration frequency is little, additionally, based in this architecture, the present embodiment have employed address exchange and directly distributes the address reclaimed, and therefore extends address lifetimes, and address lifetimes is approximately 2s.
Table 1 simulation parameter
Parameter describes Value
The quantity in car territory 4
Link length 5km
Number of track-lines 4
Each node-node transmission scope 200m-400m
Car speed 20-40m/s
Vehicle arriving rate 0.1vps(vehicles/s)-0.5vps
Link layer protocol 802.11p
Mobility model Highway mobility model
Simulation time 1000s

Claims (10)

1. the vehicle-mounted net address configuration of the next generation realize method, it is characterised in that described vehicle-mounted net includes three kinds of nodes: couple in router, access node and vehicle node; Couple in router is connected to the backbone network of Next Generation Internet, access node is connected with more than one couple in router, the closed area all access nodes being connected with a couple in router surrounded is as car territory, and access node is stationary nodes, belongs simultaneously to more than one car territory; After vehicle node starts, using first address of acquisition as home address, obtain the car territory of home address as car territory, local; After vehicle obtains home address, if entering a new car territory, the address that it obtains in new car territory, as Care-of Address, obtains the car territory of Care-of Address as outside car territory;
When vehicle travels in car territory, its home address and Care-of Address remain unchanged; When vehicle travels in car territory, local, its Care-of Address is equal to home address;
The IPv6 address of described vehicle-mounted net node is made up of three parts: Part I is car territory ID, it is overall situation route prefix, one overall route prefix uniquely identifies a car territory, in one car territory, the overall route prefix of the Care-of Address of all access nodes and vehicle is all identical, and its value is equal to the overall route prefix of the couple in router in car territory; Part II is that access node ID, access node ID uniquely identify an access node, and vehicle node is all identical from the access node ID of the IPv6 address that an access node obtains, and its value is equal to the access node ID of this access node; Access node ID is made up of two parts: abscissa and vertical coordinate, and abscissa is the abscissa of access node address position, and vertical coordinate is the vertical coordinate of access node geographic location; Part III is vehicle ID, and vehicle ID uniquely identifies a vehicle; The access node ID and vehicle ID of couple in router are 0, and the vehicle ID of access node is 0; Under original state, the IPv6 address of couple in router is pre-configured with;
The access node identical with the car territory ID of the home address of vehicle node and access node ID is called the local access node of this vehicle node, and the access node identical with the car territory ID of the Care-of Address of vehicle node and access node ID is called the foreign access node of this vehicle node;
Access node and vehicle node periodic broadcasting beacon message; After vehicle node enters the communication range of access node, access node obtains the distance with this vehicle node and angle by receiving the beacon message of vehicle node broadcast;
Access node belongs to K car territory, K >=2, and kth car territory is by angle range [αkk+1] definition, K >=k >=1; When distance between vehicle node and access node goes to zero, then showing that this vehicle node enters a new car territory through access node from original car territory, access node obtains, by the angle obtained with this vehicle node, the next car territory that this vehicle node enters;
If vehicle node enters the communication range of an access node, then illustrate that this vehicle node is about to enter next car territory; Vehicle node is after next car territory obtains Care-of Address, if this vehicle node enters next car territory from car territory, local, vehicle node then sends address to local access node and reclaims message;If this vehicle node enters next car territory from outside car territory, vehicle node then sends address to foreign access node and reclaims message; The routing procedure of message arrival local access node or foreign access node is reclaimed in address:
Step 101: start;
Step 102: vehicle node according to the access node ID of local access node or foreign access node using vehicle node nearest to distance local access node or foreign access node as next-hop node, then message is reclaimed in address and is forwarded to next-hop node;
Step 103: judge whether next-hop node redistributes the address space reclaimed in message, if it is, carry out step 107, otherwise carries out step 104;
Address, as next-hop node, is then reclaimed message and is forwarded to next-hop node by the nearest vehicle node of step 104: next-hop node receives address and reclaims after message, chosen distance local access node or foreign access node;
Step 105: repeat step 104, until address is reclaimed message and is arrived local access node or foreign access node;
Step 106: local access node or foreign access node reclaim the address space during address is reclaimed;
Step 107: terminate.
2. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, described couple in router periodic broadcasting car territory ID, the car territory ID abscissa with oneself position and vertical coordinate are combined after receiving the car territory ID of couple in router broadcast the IPv6 address of acquisition oneself by access node;
Periodic broadcasting beacon message behind access node acquisition IPv6 address;
Vehicle node obtains behind IPv6 address, and the beacon message load of broadcast is that home address, vehicle node are at the coordinate of the length in distributed vehicle ID space and present position that are currently located car territory;
Before vehicle node obtains home address, the car territory ID in car territory, place is obtained by intercepting the beacon message of neighbours' vehicle node, then the initial ID of oneself and car territory ID is combined and obtains temporary IP v6 address by vehicle node, and the access node ID of temporary IP v6 address is 0.
3. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, if vehicle node X receives the beacon message of two or more neighbours' vehicle node, then it select and vehicle ID space the strongest from signal be not 0 neighbours vehicle node Y obtain address; Assume that the vehicle ID of vehicle node Y is L-1, L>1, vehicle ID space can be distributed for [L, U], L and U is positive integer, L<U, then vehicle node X from the neighbours vehicle node Y process obtaining home address is:
Step 201: start;
Step 202: vehicle node X sends address request to neighbours vehicle node Y;
Step 203: after neighbours vehicle node Y receives address request, it is judged that oneself whether be about to enter next car territory and obtained the Care-of Address in next car territory, if it is, carry out step 204, otherwise carry out step 205;
Step 204: vehicle node Y builds an address response message, by [L-1, U] load as address response message, carries out step 208;
Step 205: judge whether vehicle node Y receives an address and reclaim message and but without being forwarded to next-hop node, if it is, carry out step 206, otherwise carries out step 207;
Step 206: vehicle node Y builds an address response message, stop forwarding address reclaim message and address is reclaimed in Message Payload address space as the load of address response message, carry out step 208;
Step 207: vehicle node Y builds an address response message, by vehicle ID spaceAs the load of address response message, the vehicle ID space simultaneously updating oneself is
Step 208: address response message is sent to vehicle node X by vehicle node Y;
Step 209: after vehicle node X receives address response message, using the vehicle ID as oneself of the address space lower limit in address response message load, then the car territory ID and access node ID of vehicle ID and vehicle node Y are combined and obtain the home address of oneself, simultaneously using remaining space as distributing vehicle ID space;
Step 210: terminate.
4. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, after vehicle node X starts, the beacon message of access node AP1 is still received, then vehicle node X obtains home address by following process from access node AP1 without the beacon message receiving neighbours' vehicle node:
Step 301: start;
Step 302: vehicle node X sends address request to neighbours access node AP1;
Step 303: after access node AP1 receives address request, first determine whether the vehicle node X next car territory that will enter, then from the address pool in corresponding car territory, randomly select one section of vehicle ID space [L, U], L < U, is encapsulated in this address space in an address response message, address response message is sent to vehicle node X, address space [L, U] is labeled as simultaneously and distributes state;
Step 304: after vehicle node X receives address response message, using address space lower limit L as vehicle ID, and combine with the car territory ID and access node ID of access node AP1 and to obtain the home address of oneself, simultaneously by address space [L+1, U] as vehicle ID space;
Step 305: terminate.
5. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, if neighbours' vehicle node of vehicle node X does not have to distribute in the neighbor node of vehicle ID space and vehicle node X does not have access node, so vehicle node X obtains the address coordinate of the access node in car territory, place according to the source address of the beacon message received, then selecting the access node AP2 that in this car territory, distance oneself is nearest to obtain home address, process is as follows:
Step 401: start;
Step 402: vehicle node X sends address request to access node AP2, and Message Source Address is the temporary address of vehicle node X, and this address request is sent to the next-hop node that distance access node AP2 is nearest;
Step 403: whether next-hop node is access node AP2, if it is, carry out step 404, otherwise carries out step 405;
Step 404: access node AP2 randomly selects one section of vehicle ID address space [L2 according to the car territory ID of vehicle node X temporary address from the address pool in corresponding car territory, U2], L2 < U2, by address space [L2, U2] it is encapsulated in address response message, address response message is sent to vehicle node X, by address space [L2, U2] it is labeled as and distributes state, carry out step 413;
Step 405: after down hop vehicle node receives this message, it is judged that oneself whether be about to enter next car territory and obtained the Care-of Address in next car territory, if it is, carry out step 406, otherwise carry out step 407;
Step 406: down hop vehicle node builds an address response message, using the address space of the vehicle ID of oneself and correspondence as the load of address response message, carries out step 411;
Step 407: judge whether down hop vehicle node receives an address and reclaim message and but without being forwarded to next-hop node, if carrying out step 408, otherwise carries out step 409;
Step 408: down hop vehicle build an address response message, stop forwarding address reclaim message and address is reclaimed in Message Payload address space as the load of address response message, carry out step 411;
Step 409: whether down hop vehicle node has can be distributed vehicle ID space, if it is, carry out step 410, otherwise carries out step 412;
Step 410: if down hop vehicle can distribute vehicle ID space for [L1, U1], then it builds an address response message, by vehicle ID spaceAs the load of address response message, by the vehicle ID spatial update of oneself it is simultaneously
Step 411: address response message is sent to vehicle node X by down hop vehicle, carries out step 413;
Step 412: address request is sent to the down hop vehicle node that distance access node AP2 is nearest by down hop vehicle node, carries out step 403;
Step 413: after vehicle node X receives address response message, using the vehicle ID as oneself of the address space lower limit in address response message load, then vehicle ID is combined with the car territory ID and access node ID of address response message source address and obtain the home address of oneself, simultaneously using remaining space as distributing vehicle ID space;
Step 414: terminate.
6. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, after vehicle node X configures home address, if it enters the communication range of an access node, then representing and to enter a new car territory, vehicle node X passes through co-located care-of address to guarantee the correctness of communication;
When access node detects that a vehicle node having configured home address enters a new car territory through oneself, access node obtains the car territory ID in the next car territory that this vehicle node enters by the beacon message that this vehicle node is broadcasted, and adopt tlv triple<home address, Care-of Address, the car territory ID in next car territory>identify this vehicle node, and this tlv triple is broadcasted as beacon message load.
7. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, if vehicle node X detects that oneself travels to outside car territory VD2 from outside car territory VD1 through access node AP1, and vehicle node Y is travelling from outside car territory VD2 to outside car territory VD1 through access node AP1, then vehicle node X proceeds as follows the Care-of Address obtaining new car territory:
Step 501: start;
Step 502: vehicle node X sends address exchange message to vehicle node Y, and Message Payload is assignable vehicle ID space and the car territory ID of next outside car territory VD2;
After step 503: vehicle node Y receives address exchange message, obtaining the vehicle node X car territory being about to leave by the Care-of Address of vehicle node X is the car territory that it is about to enter, in Message Payload, next outside car territory VD2 oneself is currently located car territory, vehicle node Y-direction vehicle node X return address confirms message, Message Payload is assignable vehicle ID space, and the Care-of Address of vehicle node X and vehicle ID space are set to oneself Care-of Address and vehicle ID space simultaneously;
After step 504: vehicle node X receives Address Confirmation message, the Care-of Address of vehicle node Y and vehicle ID space are set to Care-of Address and the vehicle ID space of oneself;
Step 505: terminate.
8. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, vehicle node X detects that oneself travels to outside car territory VD2 from outside car territory VD1 through access node AP1, travel to outside car territory VD3 from outside car territory VD2 through AP1 to outside car territory VD1 traveling and vehicle node Y from outside car territory VD2 through AP1 without vehicle, if the vehicle ID of vehicle node Y is L, address space is [L+1, U], then vehicle node X passes through following Procedure Acquisition Care-of Address:
Step 601: start;
Step 602: vehicle node X sends address request to vehicle node Y, and Message Payload is the car territory ID of next car territory VD2;
Step 603: after vehicle node Y receives address request, it is judged that oneself whether obtain the Care-of Address at next car territory VD3, if it is, carry out step 604, otherwise carry out step 605;
Step 604: vehicle node Y builds address response message, by the address space [L, the U] load as address response message, carries out step 606;
Step 605: vehicle node Y builds address response message, by the address space [L+1, the U] load as address response message;
Address response message is sent to vehicle node X by step 606: vehicle node Y, and the source address of message is the vehicle node Y address at car territory VD2;
Step 607: after vehicle node X receives address response message, using the lower limit in the vehicle ID space in the address response message vehicle ID as oneself, then combining with the car territory ID and access node ID of vehicle node Y and obtain oneself Care-of Address at car territory VD2, remaining space is as distributing vehicle ID space;
Step 608: terminate.
9. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, when vehicle node X enters a new car territory by access node AP1, if vehicle node X does not have it is found that exchange or apply for neighbours' vehicle node of Care-of Address, so vehicle node X obtains IPv6 address from access node AP1, and process is:
Step 701: start;
Step 702: whether the next car territory judging vehicle node X is car territory, local, if it is, carry out step 703, otherwise carries out step 704;
Care-of Address is set to the home address of oneself by step 703: vehicle node X, carries out step 707;
Step 704: vehicle node X sends address request to access node AP1, and Message Payload is the car territory ID in next car territory;
Step 705: after access node AP1 receives address request, a sector address space [L is chosen from the address pool in next car territory, U], L < U, address space [L, U] is encapsulated in address response message, address response message is sent to vehicle node X, address space [L, U] is labeled as simultaneously and distributes state;
Step 706: after vehicle node X receives address response message, using L as vehicle ID, and combines with the car territory ID and access node ID of access node AP1 and obtains the home address of oneself, simultaneously by address space [L+1, U] as distributing vehicle ID space;
Step 707: terminate.
10. what the vehicle-mounted net address of the next generation according to claim 1 configured realizes method, it is characterized in that, after vehicle node obtains home address, regularly sending address update message to local access node, Message Payload is the distributed vehicle ID space that home address is corresponding;If local access node does not receive the address update message of vehicle node at the appointed time, then reclaim the home address of vehicle node and corresponding vehicle ID space; If the vehicle ID of the home address of vehicle node is L, home address space is [L+1, U], obtain after namely the Care-of Address in next car territory will be disengaged from car territory, local in this vehicle node, this vehicle node sends address to local access node and reclaims message, Message Payload is the home address space [L+1, U] of this vehicle node; Local access node receives address and reclaims after message, then reclaim the home address space [L+1, U] of vehicle node, but does not reclaim the vehicle ID of its home address so that it is guaranteed that the uniqueness of home address;
After vehicle node obtains Care-of Address, regularly sending address update message to foreign access node, Message Payload is the distributed vehicle ID space that Care-of Address is corresponding; If foreign access node does not receive the address update message of vehicle node at the appointed time, then reclaim the Care-of Address of vehicle node and the vehicle ID space of correspondence; Assume that the vehicle ID of the Care-of Address of vehicle node is L, Care-of Address space is [L+1, U], and this vehicle node obtains the address in next car territory and namely will be disengaged from outside car territory, place, if the vehicle ID space of the Care-of Address of this vehicle node and response is not allocated to other nodes, so this vehicle node sends address to foreign access node and reclaims message, and Message Payload is for delivering vehicle ID space [L, U]; Foreign access node reclaims the vehicle ID space [L, U] of vehicle node after receiving address recovery message.
CN201310447032.1A 2013-09-26 2013-09-26 What the vehicle-mounted net address of a kind of next generation configured realizes method Active CN103475752B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310447032.1A CN103475752B (en) 2013-09-26 2013-09-26 What the vehicle-mounted net address of a kind of next generation configured realizes method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310447032.1A CN103475752B (en) 2013-09-26 2013-09-26 What the vehicle-mounted net address of a kind of next generation configured realizes method

Publications (2)

Publication Number Publication Date
CN103475752A CN103475752A (en) 2013-12-25
CN103475752B true CN103475752B (en) 2016-06-15

Family

ID=49800445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310447032.1A Active CN103475752B (en) 2013-09-26 2013-09-26 What the vehicle-mounted net address of a kind of next generation configured realizes method

Country Status (1)

Country Link
CN (1) CN103475752B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104717307B (en) * 2015-04-07 2017-10-24 常熟理工学院 A kind of implementation method of vehicle-mounted cloud communication
CN105187529B (en) * 2015-09-08 2018-05-11 常熟理工学院 A kind of car networking implementation method based on location information
CN105517091B (en) * 2015-11-30 2018-09-21 常熟理工学院 A kind of communication means of vehicle-mounted net
CN105430634B (en) * 2015-11-30 2018-09-21 常熟理工学院 A kind of mobile switch method of vehicle-mounted net
CN108768846B (en) * 2018-05-08 2020-09-29 常熟理工学院 High-efficiency big data network implementation method
CN109039906B (en) * 2018-10-24 2020-10-30 常熟理工学院 Routing implementation method of intelligent Internet of vehicles

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2888079B1 (en) * 2005-06-30 2007-08-10 Alcatel Sa METHOD OF TRANSFERRING, BY DOUBLE DATA TRANSMISSION, A COMMUNICATION INVOLVING A MOBILE NODE IN A MICRO OR MACRO MOBILITY SITUATION IN AN IP COMMUNICATION NETWORK WITH HIERARCHICAL MOBILITY MANAGEMENT
CN102333118B (en) * 2011-10-08 2013-06-12 常熟理工学院 Automatic Internet protocol version 6 (IPv6) address configuration method for vehicular network
CN102970393B (en) * 2012-12-25 2015-03-18 常熟理工学院 Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network
CN103036785B (en) * 2012-12-25 2015-04-01 常熟理工学院 Routing method of city vehicle-mounted net

Also Published As

Publication number Publication date
CN103475752A (en) 2013-12-25

Similar Documents

Publication Publication Date Title
CN103475752B (en) What the vehicle-mounted net address of a kind of next generation configured realizes method
CN102202356B (en) Implementation method for mobile handover of vehicle network
CN107333313B (en) Reliable intelligent Internet of vehicles routing implementation method
CN104093185B (en) A kind of multichannel multi-path routing implementation method towards fleet&#39;s MANET
CN102333118B (en) Automatic Internet protocol version 6 (IPv6) address configuration method for vehicular network
CN102695220B (en) IPv6-based mobile ad hoc network mobile handover realizing method
CN104270461B (en) Car network implementation method
CN102347991B (en) Method for constructing vehicular network
CN103312811A (en) Method for connecting vehicle-mounted network into IPv6 internet
CN105246118A (en) Wireless network communication realization method based on positioning information
CN104869563B (en) A kind of Realization Method of Communication of city car networking of future generation
CN102263831A (en) Realization method of vehicular Ad Hoc network (VANET) communication system based on IPv6
CN105187529A (en) Internet of vehicles implementation method based on positioning information
CN103237326B (en) A kind of vehicle-mounted net mobile switch method based on cross-layer
CN103036785B (en) Routing method of city vehicle-mounted net
CN104869601A (en) Communication realization method of next-generation internet of vehicle
CN105119828A (en) Fast wireless network routing achievement method
CN102970393B (en) Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network
Jemaa et al. Extended mobility management and routing protocols for internet-to-VANET multicasting
CN103167057B (en) A kind of vehicle-mounted net address collocation method based on locating information
Zhang et al. A novel real-time traffic information system based on wireless mesh networks
CN103067996B (en) Method for movement and transfer of urban vehicle-mounted network
CN107395759B (en) Reliable intelligent Internet of vehicles data communication implementation method
CN105517091B (en) A kind of communication means of vehicle-mounted net
CN103152772B (en) Cross-layer based communication method of 6LoWPAN wireless sensor network

Legal Events

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

Effective date of registration: 20201222

Address after: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: 215500 School of computer science and engineering, Changshu Institute of Technology (southeast campus), Changshu City, Suzhou City, Jiangsu Province

Patentee before: CHANGSHU INSTITUTE OF TECHNOLOGY

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 215500 5th floor, building 4, 68 Lianfeng Road, Changfu street, Changshu City, Suzhou City, Jiangsu Province

Patentee after: Changshu intellectual property operation center Co.,Ltd.

Address before: No.13 caodang Road, Changshu City, Suzhou City, Jiangsu Province

Patentee before: Changshu intellectual property operation center Co.,Ltd.