CN103167484B - Method for accessing a car connected network to an IPv6 network - Google Patents

Method for accessing a car connected network to an IPv6 network Download PDF

Info

Publication number
CN103167484B
CN103167484B CN201310117621.3A CN201310117621A CN103167484B CN 103167484 B CN103167484 B CN 103167484B CN 201310117621 A CN201310117621 A CN 201310117621A CN 103167484 B CN103167484 B CN 103167484B
Authority
CN
China
Prior art keywords
node
vehicle
vehicle node
access node
access
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
CN201310117621.3A
Other languages
Chinese (zh)
Other versions
CN103167484A (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 CN201310117621.3A priority Critical patent/CN103167484B/en
Publication of CN103167484A publication Critical patent/CN103167484A/en
Application granted granted Critical
Publication of CN103167484B publication Critical patent/CN103167484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method accessing a car connected network to an IPv6 network. The car connected network comprises three kinds of nodes including access routers, access nodes and car nodes. The access routers are connected with a router backbone network of the IPv6 network, one access node is connected with two access routers simultaneously, the transmission radius of the access nodes is larger than that of the car nodes, a sealed area surrounded by all access nodes connected with one access router is arranged into a car area; one access node belongs to two car areas simultaneously; the car nodes are provided with a router transmit function, stores router information of an access node closest to the car area, and achieves communication with the IPv6 network through the access node.

Description

A kind of method of vehicle-mounted net access IPv6 network
Technical field
The present invention relates to a kind of method for network access, in particular a kind of method of vehicle-mounted net access IPv6 network.
Background technology
Vehicle-mounted net, as a kind of new vehicle communication network, can realize the multi-hop wireless communication between vehicle and vehicle, between vehicle and roadside infrastructure.Along with the development of vehicle-mounted network technology and continuing to bring out of various new opplication, in the urgent need to vehicle-mounted net can accessing Internet to meet the application demand of user's sharp increase.
Vehicle-mounted net, as a kind of mobile ad hoc network of specific type, has the features such as translational speed is fast, number of nodes is many, area coverage is large.The Internet (hereinafter referred to as IPv6 network) based on IPv6 has the advantages such as the abundant and autgmentability of mobility support, address resource is strong.Therefore, vehicle-mounted net access IPv6 network becomes the ideal solution meeting user's application demand.
Current researcher proposes vehicle-mounted Netcom and crosses access and obtain the pattern of network service based on the Internet of IPv6 and define corresponding protocol stack, but due to the architecture of vehicle-mounted net and IPv6 network obstructed, existing cut-in method has following limitation:
1) address configuration of vehicle-mounted net does not support address duplicate detection.
2) vehicle-mounted net does not support multi-hop communication.
3) vehicle node needs co-located care-of address in mobile handoff process, and because vehicle node is run at high speed, therefore mobile handoff causes the Care-of Address of vehicle node frequently to change frequently, thus causes packet loss to increase, and service quality declines.
Therefore need a kind of method proposing vehicle-mounted net access IPv6 network, thus reduce data loss rate, improve service quality.
Summary of the invention
Goal of the invention: technical problem to be solved by this invention is for the deficiencies in the prior art, provides a kind of method of vehicle-mounted net access IPv6 network.
Technical scheme: a kind of method that the invention discloses vehicle-mounted net access IPv6 network, described vehicle-mounted net comprises couple in router, access node and vehicle node three kinds of nodes; Couple in router connects the routed backbone of IPv6 network, and an access node is connected with two couple in routers simultaneously, and the transmission radius of access node is greater than the transmission radius of vehicle node; The closed area that all access nodes be connected with a couple in router surround is set to car territory; An access node belongs to two car territories simultaneously; Vehicle node has route forwarding function, preserves the routing iinformation arriving the nearest access node in car territory, place, and realizes the communication with IPv6 network by this access node; Use the vehicle node in home address unique identification moving process; Vehicle node in moving process by home address unique identification, without the need to co-located care-of address;
The IPv6 address of vehicle-mounted net node is made up of three parts, Part I is car territory ID, it is overall route prefix, unique identification car territory, in a car territory, the car territory ID of the IPv6 address that all access nodes and vehicle node obtain in this car territory is identical, and car domain id value equals the car territory ID of the couple in router in same car territory; Part II is access node ID, access node ID unique identification access node, and all identical from the access node ID of the vehicle node of the IPv6 address that same access node obtains, its value equals the access node ID of this access node; Part III is vehicle node ID, unique identification vehicle node;
The IPv6 address of couple in router and access node pre-sets, and the access node ID of couple in router and vehicle node ID is 0, and the vehicle node ID of access node is 0;
Access node and vehicle node periodic broadcasting message.
Because vehicle node is run at high speed, mobile handoff causes the Care-of Address of vehicle node frequently to change frequently, thus causes packet loss to increase, and service quality declines.The above-mentioned limitation that the present invention overcomes, vehicle node without the need to co-located care-of address, therefore considerably reduces packet loss in moving process, improves service quality.In addition, the vehicle-mounted net based on car territory effectively reduces mobile handoff frequency and delay, thus improves service quality.
In the method for the invention, after vehicle node X starts, if access node AP1 is within the scope of a jumping of vehicle node X, then vehicle node X obtains IPv6 home address from access node AP1, and idiographic flow is as follows:
Step 101: start;
Step 102: vehicle node X sends address request to access node AP1;
Step 103: the unallocated address space in car territory belonging to access node AP1 detects, selects a sector address space [L, U] to be encapsulated in address response message in the car territory ID that never allocation address space is maximum, sends to vehicle node X;
Step 104: after vehicle node X receives address response message, using address lower limit L as vehicle node ID, combine to the car territory ID of access node AP1 in the IPv6 address in corresponding car territory and access node ID, obtain the IPv6 address with global uniqueness and can allocation address space [L+1, U], simultaneously to access node AP1 return address acknowledge message;
Step 105: after access node AP1 receives Address Confirmation message, is labeled as distribution state by address space [L, U];
Step 106: terminate.
In said process, vehicle node obtains the IPv6 address with uniqueness by neighbours' access node, without the need to address duplicate detection, therefore improve address configuration efficiency, achieves distributed address configuration.
In the method for the invention, after vehicle node X starts, if there is no access node within the scope of a jumping of vehicle node X, then vehicle node X selects to obtain IPv6 home address by the maximum vehicle node Y in allocation address space from the neighbours' vehicle node within the scope of a jumping, if vehicle node Y's can allocation address space be [L+1, U] and L+1<U, vehicle node X are as follows from the idiographic flow of vehicle node Y acquisition IPv6 address:
Step 201: start;
Step 202: vehicle node X sends address request to neighbours vehicle node Y;
Step 203: vehicle node Y is by the half address space of oneself being encapsulated in address response message and sending to vehicle node X, the address space of oneself is updated to by vehicle node Y simultaneously
Step 204: after vehicle node X receives address response message, will vehicle node ID is set, combines with the car territory ID of vehicle node Y and access node ID, obtain the IPv6 address with global uniqueness and can allocation address space;
Step 205: terminate.
In said process, can the maximum vehicle node in allocation address space have multiple if vehicle node X mono-jumps in scope, vehicle node X then random selecting vehicle node obtains IPv6 address.Vehicle node obtains the IPv6 address with uniqueness by neighbours' vehicle node, without the need to address duplicate detection, therefore improve address configuration efficiency, achieves distributed address configuration.
In the method for the invention, after vehicle node obtains IPv6 address, the Message Payload of broadcast comprises the IPv6 address of nearest access node and the jumping figure of nearest access node, and it is as follows that vehicle node sets up the routed path arriving nearest access node:
Step 301: start;
Step 302: vehicle node judges whether have access node within the scope of a jumping, if had, then carry out step 303, otherwise carry out step 304;
Step 303: the jumping figure of nearest access node as nearest access node, and is set to 1 by access node by vehicle node, carry out step 310;
Step 304: vehicle node receives and checks the message that neighbours' vehicle node is broadcasted;
Step 305: it is minimum that vehicle node judges whether to only have the jumping figure of a nearest access node of neighbours' vehicle node, if so, carry out step 306, otherwise carry out step 307;
Step 306: vehicle node using apart from minimum neighbours' vehicle node as father node, carry out step 308;
Step 307: from multiple have select neighbours' vehicle node with the maximum link time as father node neighbours' vehicle node of minimum range;
Step 308: the nearest access node of father node is set to the nearest access node of oneself by vehicle node, the simultaneously jumping figure of the nearest access node of recording distance, namely the distance value of father node adds 1;
Step 309: repeat step 304 to step 308, until all vehicle node all obtain the jumping figure of nearest access node and nearest access node in car territory;
Step 310: terminate;
In step 307, Link Time adopts following formulae discovery:
T ij = ( a 2 + c 2 ) r 2 - ( ad - bc ) 2 - ( ab + cd ) a 2 + c 2 ,
a=v icosθ i-v jcosθ j
b=x i-x j
c=v isinθ i-v jsinθ j
d=y i-y j
T ijfor vehicle node V iwith vehicle node V jbetween Link Time, (x i, y i) and (x j, y j) be vehicle node V iwith vehicle node V jgeographical coordinate, v iand v jfor vehicle node V iwith vehicle node V jspeed, θ iand θ jfor vehicle node V iwith vehicle node V jmove angle, 0≤θ i<2 π and 0≤θ j<2 π, r are vehicle node V iwith vehicle node V jtransmission radius.
In the method for the invention, after vehicle node obtains nearest access node, the couple in router to car territory, place sends the message that is associated, after couple in router receives the message that is associated, and the incidence relation of registration of vehicle node and nearest access node; The communication process of vehicle node X and IPv6 node is described below:
Step 401: start;
Step 402: vehicle node X by Packet Generation to father node;
Step 403: after father node receives packet, by the father node of Packet Generation to oneself;
Step 404: repeat step 403, until packet finally arrives nearest access node;
Step 405: access node is by the couple in router of Packet Generation to car territory, place recently, and couple in router routes a data packet to object IPv6 node;
Step 406: first the packet that object IPv6 node returns arrives the couple in router in car territory, vehicle node X place, data are sent to the nearest access node of vehicle node X according to the incidence relation set up by couple in router, and access node is to neighbor node forwarding data bag;
Step 407: the neighbours' vehicle node receiving packet judges that whether oneself is vehicle node X, if so, then carry out step 413, otherwise carry out step 408;
Step 408: whether the jumping figure receiving the nearest access node of neighbours' vehicle node judging distance of packet is less than or equal to the jumping figure of the nearest access node of vehicle node of forwarding data bag, if so, carry out step 410, otherwise carry out step 409;
Step 409: the neighbours' vehicle node receiving packet judges whether to comprise vehicle node X in its neighbours' vehicle node and the jumping figure of nearest access node is more than or equal to the jumping figure of the nearest access node of vehicle node X, if, carry out step 410, otherwise carry out step 411;
Step 410: the neighbours' vehicle node packet discard receiving packet, carry out step 413;
Step 411: the neighbours' vehicle node receiving packet continues forwarding data bag;
Step 412: return step 408, until final data bag arrives vehicle node X;
Step 413: terminate.
Vehicle node realizes the multi-hop communication with IPv6 network by the access node that car territory, place is nearest, thus decreases the length of routed path, reduces packet loss.In addition, vehicle node using the parameter of measurement of Link Time as selection next-hop node, thus adds stability and the robustness of routed path.
In the method for the invention, if vehicle node X and vehicle node Y is in a car territory, vehicle node Y is the neighbor node of vehicle node X, the nearest access node of vehicle node Y is different from the nearest access node of vehicle node X, the jumping figure that vehicle node X arrives nearest access node is d1, the jumping figure that vehicle node Y arrives nearest access node is d2, if d1 is greater than d2+2, so vehicle node X performs following operation:
Step 501: start;
Step 502: vehicle node X sends updating message to the couple in router in car territory, place, and Message Payload is the IPv6 address of the nearest access node of vehicle node Y;
Step 503: after updating message arrives couple in router, couple in router upgrades the access node of vehicle nodes X association, then returns renewal acknowledge message to vehicle node X;
Step 504: vehicle node X receives and upgrades after acknowledge message, using vehicle node Y as father node, the nearest access node of vehicle node Y is preserved the jumping figure of nearest access node as the nearest access node of oneself;
Step 505: terminate.
In said process, vehicle node, by home address unique identification, without the need to co-located care-of address in moving process, therefore considerably reduces to move and delivers delay.In addition, network layer handoff link layer switch before carry out, therefore movement deliver delay and packet loss significantly reduce.
In the method for the invention, if vehicle node X and vehicle node Y is in same car territory VD1, vehicle node Y is the father node of vehicle node X, the father node of vehicle node Y is access node AP1, access node AP1 belongs to car territory VD1 and car territory VD2, the couple in router of car territory VD1 is AR1, the couple in router of car territory VD2 is AR2, vehicle node X is from the IPv6 address, acquisition local, car territory at couple in router HAR place, local, if vehicle node X enters the communication range of access node AP1, it then carries out following operation:
Step 601: start;
Step 602: vehicle node X sends updating message to access node AP1, and the destination address of message is the IPv6 address of access node AP1 at car territory VD1;
Step 603: updating message arrives access node AP1 by the forwarding of vehicle node Y, by the destination address of message, access node AP1 judges that vehicle node X and vehicle node Y is in the VD1 of car territory, access node AP1 sends updating message respectively to local couple in router HAR and couple in router AR2, and Message Payload is the IPv6 address of vehicle node X and the IPv6 address of couple in router AR2;
Step 604: after local couple in router HAR receives updating message, the couple in router associated with vehicle node X is updated to couple in router AR2, then returns renewal acknowledge message to access node AP1; After couple in router AR2 receives updating message, set up the incidence relation of vehicle node X and access node AP1, then return renewal acknowledge message to access node AP1;
Step 605: after access node AP1 receives the renewal acknowledge message from local couple in router HAR and couple in router AR2, judges it whether within the scope of a jumping of vehicle node X, if so, carry out step 606, otherwise carry out step 607;
Step 606: access node AP1 sends to vehicle node X and upgrades acknowledge message, and Message Payload is the IPv6 address of access node AP2 place car territory VD2, carry out step 608;
Step 607: access node AP1 preserves the packet that all destination addresses are vehicle node X, after access node AP1 detects that oneself is within the scope of a jumping of vehicle node X, send to vehicle node X the packet that all destination addresses preserved are vehicle node X by renewal acknowledge message simultaneously and be transmitted to vehicle node X;
Step 608: vehicle node X upgrades the IPv6 address of nearest access node and the jumping figure of nearest access node after receiving and upgrading acknowledge message;
Step 609: terminate.
In said process, vehicle node, by home address unique identification, without the need to co-located care-of address in moving process, therefore considerably reduces to move and delivers delay.In addition, network layer handoff link layer switch before carry out, therefore movement deliver delay and packet loss significantly reduce.Vehicle node is in mobile handoff process, and the data before obtaining mobile handoff by same access node and after mobile handoff, because this reducing packet loss, ensure that communication quality.
Beneficial effect: a kind of method that the invention provides vehicle-mounted net access IPv6 network, cut-in method provided by the present invention is crossed by described vehicle-mounted Netcom can obtain the network service that IPv6 network provides, keep the continuity communicated in moving process simultaneously, shorten mobile handoff to postpone, reduce bursts dropping ratio, improve service quality, the present invention can be applicable to the fields such as road conditions monitoring, vehicle management, is with a wide range of applications.
Accompanying drawing explanation
To do the present invention below in conjunction with the drawings and specific embodiments and further illustrate, above-mentioned and/or otherwise advantage of the present invention will become apparent.
Fig. 1 is vehicle-mounted web frame schematic diagram of the present invention.
Fig. 2 is node IP v6 address structure schematic diagram of the present invention.
Fig. 3 is that vehicle node of the present invention obtains the schematic flow sheet of IPv6 address from neighbours' access node.
Fig. 4 is that vehicle node of the present invention obtains the schematic flow sheet of IPv6 address from neighbours' vehicle node.
Fig. 5 is the schematic flow sheet that vehicle node of the present invention sets up route.
Fig. 6 is the schematic flow sheet communicated between vehicle node of the present invention with IPv6 network node.
Fig. 7 is mobile handoff schematic flow sheet in car territory of the present invention.
Fig. 8 is mobile handoff schematic flow sheet between car territory of the present invention.
Embodiment:
The invention provides a kind of method of vehicle-mounted net access IPv6 network, cut-in method provided by the present invention is crossed by described vehicle-mounted Netcom can obtain the network service that IPv6 network provides, keep the continuity communicated in moving process simultaneously, shorten mobile handoff to postpone, reduce bursts dropping ratio, improve service quality, the present invention can be applicable to the fields such as road conditions monitoring, vehicle management, is with a wide range of applications.
Fig. 1 is vehicle-mounted web frame schematic diagram of the present invention.Described vehicle-mounted net comprises couple in router 1, access node 2 and vehicle node 3 three kinds of nodes; Routed backbone 4, access node 2 that couple in router 1 connects IPv6 network is connected with two couple in routers 1 simultaneously, and the transmission radius of access node 2 is greater than the transmission radius of vehicle node 3; The closed area that all access nodes 2 be connected with a couple in router 1 surround is set to car territory 5; An access node 2 belongs to two car territories 5 simultaneously; Vehicle node 3 has route forwarding function, preserves the routing iinformation arriving the nearest access node 2 in car territory, place 5, and realizes the communication with IPv6 network 4 by this access node 2; Use the vehicle node 3 in home address unique identification moving process; Vehicle node 3 in moving process by home address unique identification, without the need to co-located care-of address.
Fig. 2 is node IP v6 address structure schematic diagram of the present invention.The IPv6 address of vehicle-mounted net node is made up of three parts, Part I is car territory ID, it is overall route prefix, unique identification car territory, in a car territory, the car territory ID of the IPv6 address that all access nodes and vehicle node obtain in this car territory is identical, and car domain id value equals the car territory ID of the couple in router in same car territory; Part II is access node ID, access node ID unique identification access node, and all identical from the access node ID of the vehicle node of the IPv6 address that same access node obtains, its value equals the access node ID of this access node; Part III is vehicle node ID, unique identification vehicle node;
The IPv6 address of couple in router and access node pre-sets, and the access node ID of couple in router and vehicle node ID is 0, and the vehicle node ID of access node is 0.Access node and vehicle node periodic broadcasting message.
Fig. 3 is that vehicle node of the present invention obtains the schematic flow sheet of IPv6 address from neighbours' access node.After vehicle node X starts, if access node AP1 is within the scope of a jumping of vehicle node X, then vehicle node X obtains IPv6 home address from access node AP1, and idiographic flow is as follows:
Step 101: start;
Step 102: vehicle node X sends address request to access node AP1;
Step 103: the unallocated address space in car territory belonging to access node AP1 detects, selects a sector address space [L, U] to be encapsulated in address response message in the car territory ID that never allocation address space is maximum, sends to vehicle node X;
Step 104: after vehicle node X receives address response message, using address lower limit L as vehicle node ID, combine to the car territory ID of access node AP1 in the IPv6 address in corresponding car territory and access node ID, obtain the IPv6 address with global uniqueness and can allocation address space [L+1, U], simultaneously to access node AP1 return address acknowledge message;
Step 105: after access node AP1 receives Address Confirmation message, is labeled as distribution state by address space [L, U];
Step 106: terminate.
In said process, vehicle node obtains the IPv6 address with uniqueness by neighbours' access node, without the need to address duplicate detection, therefore improve address configuration efficiency, achieves distributed address configuration.
Fig. 4 is that vehicle node of the present invention obtains the schematic flow sheet of IPv6 address from neighbours' vehicle node.After vehicle node X starts, if there is no access node within the scope of a jumping of vehicle node X, then vehicle node X selects to obtain IPv6 home address by the maximum vehicle node Y in allocation address space from the neighbours' vehicle node within the scope of a jumping, if vehicle node Y's can allocation address space be [L+1, U] and L+1<U, vehicle node X are as follows from the idiographic flow of vehicle node Y acquisition IPv6 address:
Step 201: start;
Step 202: vehicle node X sends address request to neighbours vehicle node Y;
Step 203: vehicle node Y is by the half address space of oneself being encapsulated in address response message and sending to vehicle node X, the address space of oneself is updated to by vehicle node Y simultaneously
Step 204: after vehicle node X receives address response message, will vehicle node ID is set, combines with the car territory ID of vehicle node Y and access node ID, obtain the IPv6 address with global uniqueness and can allocation address space;
Step 205: terminate.
In said process, can the maximum vehicle node in allocation address space have multiple if vehicle node X mono-jumps in scope, vehicle node X then random selecting vehicle node obtains IPv6 address.Vehicle node obtains the IPv6 address with uniqueness by neighbours' vehicle node, without the need to address duplicate detection, therefore improve address configuration efficiency, achieves distributed address configuration.
Fig. 5 is the schematic flow sheet that vehicle node of the present invention sets up route.After vehicle node obtains IPv6 address, the Message Payload of broadcast comprises the IPv6 address of nearest access node and the jumping figure of nearest access node, and it is as follows that vehicle node sets up the routed path arriving nearest access node:
Step 301: start;
Step 302: vehicle node judges whether have access node within the scope of a jumping, if had, then carry out step 303, otherwise carry out step 304;
Step 303: the jumping figure of nearest access node as nearest access node, and is set to 1 by access node by vehicle node, carry out step 310;
Step 304: vehicle node receives and checks the message that neighbours' vehicle node is broadcasted;
Step 305: it is minimum that vehicle node judges whether to only have the jumping figure of a nearest access node of neighbours' vehicle node, if so, carry out step 306, otherwise carry out step 307;
Step 306: vehicle node using apart from minimum neighbours' vehicle node as father node, carry out step 308;
Step 307: from multiple have select neighbours' vehicle node with the maximum link time as father node neighbours' vehicle node of minimum range, carry out step 308;
Step 308: the nearest access node of father node is set to the nearest access node of oneself by vehicle node, the simultaneously jumping figure of the nearest access node of recording distance, namely the distance value of father node adds 1;
Step 309: repeat step 304 to step 308, until all vehicle node all obtain the jumping figure of nearest access node and nearest access node in car territory;
Step 310: terminate;
In step 307, Link Time adopts following formulae discovery:
T ij = ( a 2 + c 2 ) r 2 - ( ad - bc ) 2 - ( ab + cd ) a 2 + c 2 ,
a=v icosθ i-v jcosθ j
b=x i-x j
c=v isinθ i-v jsinθ j
d=y i-y j
T ijfor vehicle node V iwith vehicle node V jbetween Link Time, (x i, y i) and (x j, y j) be vehicle node V iwith vehicle node V jgeographical coordinate, v iand v jfor vehicle node V iwith vehicle node V jspeed, θ iand θ jfor vehicle node V iwith vehicle node V jmove angle, 0≤θ i<2 π and 0≤θ j<2 π, r are vehicle node V iwith vehicle node V jtransmission radius.
Fig. 6 is the schematic flow sheet communicated between vehicle node of the present invention with IPv6 network node.After vehicle node obtains nearest access node, the couple in router to car territory, place sends the message that is associated, after couple in router receives the message that is associated, and the incidence relation of registration of vehicle node and nearest access node; The communication process of vehicle node X and IPv6 node is described below:
Step 401: start;
Step 402: vehicle node X by Packet Generation to father node;
Step 403: after father node receives packet, by the father node of Packet Generation to oneself;
Step 404: repeat step 403, until packet finally arrives nearest access node;
Step 405: access node is by the couple in router of Packet Generation to car territory, place recently, and couple in router routes a data packet to object IPv6 node;
Step 406: first the packet that object IPv6 node returns arrives the couple in router in car territory, vehicle node X place, data are sent to the nearest access node of vehicle node X according to the incidence relation set up by couple in router, and access node is to neighbor node forwarding data bag;
Step 407: the neighbours' vehicle node receiving packet judges that whether oneself is vehicle node X, if so, then carry out step 413, otherwise carry out step 408;
Step 408: whether the jumping figure receiving the nearest access node of neighbours' vehicle node judging distance of packet is less than or equal to the jumping figure of the nearest access node of vehicle node of forwarding data bag, if so, carry out step 410, otherwise carry out step 409;
Step 409: the neighbours' vehicle node receiving packet judges whether to comprise vehicle node X in its neighbours' vehicle node and the jumping figure of nearest access node is more than or equal to the jumping figure of the nearest access node of vehicle node X, if, carry out step 410, otherwise carry out step 411;
Step 410: the neighbours' vehicle node packet discard receiving packet, carry out step 413;
Step 411: the neighbours' vehicle node receiving packet continues forwarding data bag;
Step 412: return step 408, until final data bag arrives vehicle node X;
Step 413: terminate.
Vehicle node realizes the multi-hop communication with IPv6 network by the access node that car territory, place is nearest, thus decreases the length of routed path, reduces packet loss.In addition, vehicle node using the parameter of measurement of Link Time as selection next-hop node, thus adds stability and the robustness of routed path.
Fig. 7 is mobile handoff schematic flow sheet in car territory of the present invention.If vehicle node X and vehicle node Y is in a car territory, vehicle node Y is the neighbor node of vehicle node X, the nearest access node of vehicle node Y is different from the nearest access node of vehicle node X, the jumping figure that vehicle node X arrives nearest access node is d1, the jumping figure that vehicle node Y arrives nearest access node is d2, if d1 is greater than d2+2, so vehicle node X performs following operation::
Step 501: start;
Step 502: vehicle node X sends updating message to the couple in router in car territory, place, and Message Payload is the IPv6 address of the nearest access node of vehicle node Y;
Step 503: after updating message arrives couple in router, couple in router upgrades the access node of vehicle nodes X association, then returns renewal acknowledge message to vehicle node X;
Step 504: vehicle node X receives and upgrades after acknowledge message, using vehicle node Y as father node, the nearest access node of vehicle node Y is preserved the jumping figure of nearest access node as the nearest access node of oneself;
Step 505: terminate.
In said process, vehicle node, by home address unique identification, without the need to co-located care-of address in moving process, therefore considerably reduces to move and delivers delay.In addition, network layer handoff link layer switch before carry out, therefore movement deliver delay and packet loss significantly reduce.
Fig. 8 is mobile handoff schematic flow sheet between car territory of the present invention.If vehicle node X and vehicle node Y is in same car territory VD1, vehicle node Y is the father node of vehicle node X, the father node of vehicle node Y is access node AP1, access node AP1 belongs to car territory VD1 and car territory VD2, the couple in router of car territory VD1 is AR1, and the couple in router of car territory VD2 is AR2, and vehicle node X is from the IPv6 address, acquisition local, car territory at couple in router HAR place, local, if vehicle node X enters the communication range of access node AP1, it then carries out following operation:
Step 601: start;
Step 602: vehicle node X sends updating message to access node AP1, and the destination address of message is the IPv6 address of access node AP1 at car territory VD1;
Step 603: updating message arrives access node AP1 by the forwarding of vehicle node Y, by the destination address of message, access node AP1 judges that vehicle node X and vehicle node Y is in the VD1 of car territory, access node AP1 sends updating message respectively to local couple in router HAR and couple in router AR2, and Message Payload is the IPv6 address of vehicle node X and the IPv6 address of couple in router AR2;
Step 604: after local couple in router HAR receives updating message, the couple in router associated with vehicle node X is updated to couple in router AR2, then returns renewal acknowledge message to access node AP1; After couple in router AR2 receives updating message, set up the incidence relation of vehicle node X and access node AP1, then return renewal acknowledge message to access node AP1;
Step 605: after access node AP1 receives the renewal acknowledge message from local couple in router HAR and couple in router AR2, judges it whether within the scope of a jumping of vehicle node X, if so, carry out step 606, otherwise carry out step 607;
Step 606: access node AP1 sends to vehicle node X and upgrades acknowledge message, and Message Payload is the IPv6 address of access node AP2 place car territory VD2, carry out step 608;
Step 607: access node AP1 preserves the packet that all destination addresses are vehicle node X, after access node AP1 detects that oneself is within the scope of a jumping of vehicle node X, send to vehicle node X the packet that all destination addresses preserved are vehicle node X by renewal acknowledge message simultaneously and be transmitted to vehicle node X;
Step 608: vehicle node X upgrades the IPv6 address of nearest access node and the jumping figure of nearest access node after receiving and upgrading acknowledge message;
Step 609: terminate.
In said process, vehicle node, by home address unique identification, without the need to co-located care-of address in moving process, therefore considerably reduces to move and delivers delay.In addition, network layer handoff link layer switch before carry out, therefore movement deliver delay and packet loss significantly reduce.Vehicle node is in mobile handoff process, and the data before obtaining mobile handoff by same access node and after mobile handoff, because this reducing packet loss, ensure that communication quality.
The invention provides the thinking of the method for vehicle-mounted net access IPv6 network; the method and access of this technical scheme of specific implementation is a lot; the above is only the preferred embodiment of the present invention; should be understood that; for those skilled in the art; under the premise without departing from the principles of the invention, can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.The all available prior art of each component part not clear and definite in the present embodiment is realized.

Claims (6)

1. a method for vehicle-mounted net access IPv6 network, it is characterized in that, described vehicle-mounted net comprises couple in router, access node and vehicle node three kinds of nodes; Couple in router connects the routed backbone of IPv6 network, and an access node is connected with two couple in routers simultaneously, and the transmission radius of access node is greater than the transmission radius of vehicle node; The closed area that all access nodes be connected with a couple in router surround is set to car territory; An access node belongs to two car territories simultaneously; Vehicle node has route forwarding function, preserves the routing iinformation arriving the nearest access node in car territory, place, and realizes the communication with IPv6 network by this access node;
Use the vehicle node in home address unique identification moving process;
The IPv6 address of vehicle-mounted net node is made up of three parts, Part I is car territory ID, it is overall route prefix, unique identification car territory, in a car territory, the car territory ID of the IPv6 address that all access nodes and vehicle node obtain in this car territory is identical, and car domain id value equals the car territory ID of the couple in router in same car territory; Part II is access node ID, access node ID unique identification access node, and all identical from the access node ID of the vehicle node of the IPv6 address that same access node obtains, its value equals the access node ID of this access node; Part III is vehicle node ID, unique identification vehicle node;
The IPv6 address of couple in router and access node pre-sets, and the access node ID of couple in router and vehicle node ID is 0, and the vehicle node ID of access node is 0;
Access node and vehicle node periodic broadcasting message;
After vehicle node X starts, if access node AP1 is within the scope of a jumping of vehicle node X, then vehicle node X obtains IPv6 home address from access node AP1, and idiographic flow is as follows:
Step 101: start;
Step 102: vehicle node X sends address request to access node AP1;
Step 103: the unallocated address space in car territory belonging to access node AP1 detects, selects a sector address space [L, U] to be encapsulated in address response message in the car territory ID that never allocation address space is maximum, sends to vehicle node X;
Step 104: after vehicle node X receives address response message, using address lower limit L as vehicle node ID, combine to the car territory ID of access node AP1 in the IPv6 address in corresponding car territory and access node ID, obtain the IPv6 address with global uniqueness and can allocation address space [L+1, U], simultaneously to access node AP1 return address acknowledge message;
Step 105: after access node AP1 receives Address Confirmation message, is labeled as distribution state by address space [L, U];
Step 106: terminate.
2. the method for vehicle-mounted net access IPv6 network according to claim 1, it is characterized in that, after vehicle node X starts, if there is no access node within the scope of a jumping of vehicle node X, then vehicle node X selects to obtain IPv6 home address by the maximum vehicle node Y in allocation address space from the neighbours' vehicle node within the scope of a jumping, if vehicle node Y's can allocation address space be [L+1, U] and L+1<U, vehicle node X are as follows from the idiographic flow of vehicle node Y acquisition IPv6 address:
Step 201: start;
Step 202: vehicle node X sends address request to neighbours vehicle node Y;
Step 203: vehicle node Y is by the half address space of oneself being encapsulated in address response message and sending to vehicle node X, the address space of oneself is updated to by vehicle node Y simultaneously
Step 204: after vehicle node X receives address response message, will vehicle node ID is set, combines with the car territory ID of vehicle node Y and access node ID, obtain the IPv6 address with global uniqueness and can allocation address space;
Step 205: terminate.
3. the method for vehicle-mounted net access IPv6 network according to claim 2, it is characterized in that, after vehicle node obtains IPv6 address, the Message Payload of broadcast comprises the IPv6 address of nearest access node and the jumping figure of nearest access node, and it is as follows that vehicle node sets up the routed path arriving nearest access node:
Step 301: start;
Step 302: vehicle node judges whether have access node within the scope of a jumping, if had, then carry out step 303, otherwise carry out step 304;
Step 303: the jumping figure of nearest access node as nearest access node, and is set to 1 by access node by vehicle node, carry out step 310;
Step 304: vehicle node receives and checks the message that neighbours' vehicle node is broadcasted;
Step 305: it is minimum that vehicle node judges whether to only have the jumping figure of a nearest access node of neighbours' vehicle node, if so, carry out step 306, otherwise carry out step 307;
Step 306: vehicle node using apart from minimum neighbours' vehicle node as father node, carry out step 308;
Step 307: from multiple have select neighbours' vehicle node with the maximum link time as father node neighbours' vehicle node of minimum range;
Step 308: the nearest access node of father node is set to the nearest access node of oneself by vehicle node, the simultaneously jumping figure of the nearest access node of recording distance, namely the distance value of father node adds 1;
Step 309: repeat step 304 to step 308, until all vehicle node all obtain the jumping figure of nearest access node and nearest access node in car territory;
Step 310: terminate;
In step 307, Link Time adopts following formulae discovery:
T ij = ( a 2 + c 2 ) r 2 - ( ad - bc ) 2 - ( ab + cd ) a 2 + c 2 ,
a=v icosθ i-v jcosθ j
b=x i-x j
c=v isinθ i-v jsinθ j,
d=y i-y j
T ijfor vehicle node V iwith vehicle node V jbetween Link Time, (x i, y i) and (x j, y j) be vehicle node V iwith vehicle node V jgeographical coordinate, v iand v jfor vehicle node V iwith vehicle node V jspeed, θ iand θ jfor vehicle node V iwith vehicle node V jmove angle, 0≤θ i<2 π and 0≤θ j<2 π, r are vehicle node V iwith vehicle node V jtransmission radius.
4. the method for vehicle-mounted net access IPv6 network according to claim 3, it is characterized in that, after vehicle node obtains nearest access node, couple in router to car territory, place sends the message that is associated, after couple in router receives the message that is associated, the incidence relation of registration of vehicle node and nearest access node; The communication process of vehicle node X and IPv6 node is described below:
Step 401: start;
Step 402: vehicle node X by Packet Generation to father node;
Step 403: after father node receives packet, by the father node of Packet Generation to oneself;
Step 404: repeat step 403, until packet finally arrives nearest access node;
Step 405: access node is by the couple in router of Packet Generation to car territory, place recently, and couple in router routes a data packet to object IPv6 node;
Step 406: first the packet that object IPv6 node returns arrives the couple in router in car territory, vehicle node X place, data are sent to the nearest access node of vehicle node X according to the incidence relation set up by couple in router, and access node is to neighbor node forwarding data bag;
Step 407: the neighbours' vehicle node receiving packet judges that whether oneself is vehicle node X, if so, then carry out step 413, otherwise carry out step 408;
Step 408: whether the jumping figure receiving the nearest access node of neighbours' vehicle node judging distance of packet is less than or equal to the jumping figure of the nearest access node of vehicle node of forwarding data bag, if so, carry out step 410, otherwise carry out step 409;
Step 409: the neighbours' vehicle node receiving packet judges whether to comprise vehicle node X in its neighbours' vehicle node and the jumping figure of nearest access node is more than or equal to the jumping figure of the nearest access node of vehicle node X, if, carry out step 410, otherwise carry out step 411;
Step 410: the neighbours' vehicle node packet discard receiving packet, carry out step 413;
Step 411: the neighbours' vehicle node receiving packet continues forwarding data bag;
Step 412: return step 408, until final data bag arrives vehicle node X;
Step 413: terminate.
5. the method for vehicle-mounted net access IPv6 network according to claim 3, it is characterized in that, if vehicle node X and vehicle node Y is in a car territory, vehicle node Y is the neighbor node of vehicle node X, and the nearest access node of vehicle node Y is different from the nearest access node of vehicle node X, the jumping figure that vehicle node X arrives nearest access node is the jumping figure that d1, vehicle node Y arrive nearest access node is d2, if d1 is greater than d2+2, so vehicle node X performs following operation:
Step 501: start;
Step 502: vehicle node X sends updating message to the couple in router in car territory, place, and Message Payload is the IPv6 address of the nearest access node of vehicle node Y;
Step 503: after updating message arrives couple in router, couple in router upgrades the access node of vehicle nodes X association, then returns renewal acknowledge message to vehicle node X;
Step 504: vehicle node X receives and upgrades after acknowledge message, using vehicle node Y as father node, the nearest access node of vehicle node Y is preserved the jumping figure of nearest access node as the nearest access node of oneself;
Step 505: terminate.
6. the method for vehicle-mounted net access IPv6 network according to claim 3, it is characterized in that, if vehicle node X and vehicle node Y is in same car territory VD1, vehicle node Y is the father node of vehicle node X, the father node of vehicle node Y is access node AP1, access node AP1 belongs to car territory VD1 and car territory VD2, the couple in router of car territory VD1 is AR1, the couple in router of car territory VD2 is AR2, vehicle node X is from the IPv6 address, acquisition local, car territory at couple in router HAR place, local, if vehicle node X enters the communication range of access node AP1, it then carries out following operation:
Step 601: start;
Step 602: vehicle node X sends updating message to access node AP1, and the destination address of message is the IPv6 address of access node AP1 at car territory VD1;
Step 603: updating message arrives access node AP1 by the forwarding of vehicle node Y, by the destination address of message, access node AP1 judges that vehicle node X and vehicle node Y is in the VD1 of car territory, access node AP1 sends updating message respectively to local couple in router HAR and couple in router AR2, and Message Payload is the IPv6 address of vehicle node X and the IPv6 address of couple in router AR2;
Step 604: after local couple in router HAR receives updating message, the couple in router associated with vehicle node X is updated to couple in router AR2, then returns renewal acknowledge message to access node AP1; After couple in router AR2 receives updating message, set up the incidence relation of vehicle node X and access node AP1, then return renewal acknowledge message to access node AP1;
Step 605: after access node AP1 receives the renewal acknowledge message from local couple in router HAR and couple in router AR2, judges it whether within the scope of a jumping of vehicle node X, if so, carry out step 606, otherwise carry out step 607;
Step 606: access node AP1 sends to vehicle node X and upgrades acknowledge message, and Message Payload is the IPv6 address of access node AP2 place car territory VD2, carry out step 608;
Step 607: access node AP1 preserves the packet that all destination addresses are vehicle node X, after access node AP1 detects that oneself is within the scope of a jumping of vehicle node X, send to vehicle node X the packet that all destination addresses preserved are vehicle node X by renewal acknowledge message simultaneously and be transmitted to vehicle node X;
Step 608: vehicle node X upgrades the IPv6 address of nearest access node and the jumping figure of nearest access node after receiving and upgrading acknowledge message;
Step 609: terminate.
CN201310117621.3A 2013-04-07 2013-04-07 Method for accessing a car connected network to an IPv6 network Active CN103167484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117621.3A CN103167484B (en) 2013-04-07 2013-04-07 Method for accessing a car connected network to an IPv6 network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117621.3A CN103167484B (en) 2013-04-07 2013-04-07 Method for accessing a car connected network to an IPv6 network

Publications (2)

Publication Number Publication Date
CN103167484A CN103167484A (en) 2013-06-19
CN103167484B true CN103167484B (en) 2015-06-10

Family

ID=48590142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117621.3A Active CN103167484B (en) 2013-04-07 2013-04-07 Method for accessing a car connected network to an IPv6 network

Country Status (1)

Country Link
CN (1) CN103167484B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312811B (en) * 2013-06-25 2015-11-04 常熟理工学院 A kind of implementation method of vehicle-mounted net access IPv6 the Internet
CN105430634B (en) * 2015-11-30 2018-09-21 常熟理工学院 A kind of mobile switch method of vehicle-mounted net
CN105517091B (en) * 2015-11-30 2018-09-21 常熟理工学院 A kind of communication means of vehicle-mounted net
FR3052626B1 (en) * 2016-06-09 2018-07-06 Peugeot Citroen Automobiles Sa METHOD OF TRANSMITTING DATA BETWEEN A VEHICLE AND A UNBALANCED STORAGE UNIT
CN112261621A (en) * 2019-07-05 2021-01-22 上海擎感智能科技有限公司 Vehicle-mounted T-Box awakening method and device based on IPv6 network, storage medium and terminal
CN110738847B (en) * 2019-10-08 2020-09-08 武汉理工大学 Highway road condition information detection method based on vehicle-mounted self-organizing network
CN111314863A (en) * 2020-02-22 2020-06-19 中国电子科技集团公司第三十四研究所 Pre-switching efficient MLLN routing method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202356A (en) * 2011-06-07 2011-09-28 常熟理工学院 Implementation method for mobile handover of vehicle network
CN102263831A (en) * 2011-09-06 2011-11-30 常熟理工学院 Realization method of vehicular Ad Hoc network (VANET) communication system based on IPv6
CN102333118A (en) * 2011-10-08 2012-01-25 常熟理工学院 Automatic Internet protocol version 6 (IPv6) address configuration method for vehicular network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202356A (en) * 2011-06-07 2011-09-28 常熟理工学院 Implementation method for mobile handover of vehicle network
CN102263831A (en) * 2011-09-06 2011-11-30 常熟理工学院 Realization method of vehicular Ad Hoc network (VANET) communication system based on IPv6
CN102333118A (en) * 2011-10-08 2012-01-25 常熟理工学院 Automatic Internet protocol version 6 (IPv6) address configuration method for vehicular network

Also Published As

Publication number Publication date
CN103167484A (en) 2013-06-19

Similar Documents

Publication Publication Date Title
CN103167484B (en) Method for accessing a car connected network to an IPv6 network
CN103312811B (en) A kind of implementation method of vehicle-mounted net access IPv6 the Internet
CN102695220B (en) IPv6-based mobile ad hoc network mobile handover realizing method
CN104270461A (en) Car network implementation method
CN102263831B (en) Realization method of vehicular Ad Hoc network (VANET) communication system based on IPv6
CN105246118A (en) Wireless network communication realization method based on positioning information
CN102202356B (en) Implementation method for mobile handover of vehicle network
CN107333313B (en) Reliable intelligent Internet of vehicles routing implementation method
CN105187529A (en) Internet of vehicles implementation method based on positioning information
CN103475752B (en) What the vehicle-mounted net address of a kind of next generation configured realizes method
CN103237326B (en) A kind of vehicle-mounted net mobile switch method based on cross-layer
CN104869563A (en) Communication realization method of next-generation city internet of vehicle
CN103036785B (en) Routing method of city vehicle-mounted net
CN105119828A (en) Fast wireless network routing achievement method
Wang et al. A routing scheme for connecting delay-sensitive urban vehicular networks to the IPv6-based internet
CN104869601A (en) Communication realization method of next-generation internet of vehicle
CN104754613B (en) The method of optimization AODV agreement based on vehicle-mounted short haul connection net
CN102970393B (en) Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network
CN103167057B (en) A kind of vehicle-mounted net address collocation method based on locating information
CN103476084B (en) What a kind of wireless sensor network route based on cross-layer communicated realizes method
CN102938907A (en) Full IP (Internet Protocol) wireless sensor network mobile method
Zhang et al. A novel real-time traffic information system based on wireless mesh networks
CN103476088B (en) A kind of implementation method of wireless sensor network routing to communicate of future generation
CN103067996B (en) Method for movement and transfer of urban vehicle-mounted network
CN105517091B (en) A kind of communication means of vehicle-mounted net

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: 20201228

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.