CN103167057A - Vehicle-mounted net address collocation method based on locating information - Google Patents

Vehicle-mounted net address collocation method based on locating information Download PDF

Info

Publication number
CN103167057A
CN103167057A CN2013101175831A CN201310117583A CN103167057A CN 103167057 A CN103167057 A CN 103167057A CN 2013101175831 A CN2013101175831 A CN 2013101175831A CN 201310117583 A CN201310117583 A CN 201310117583A CN 103167057 A CN103167057 A CN 103167057A
Authority
CN
China
Prior art keywords
address
territory
vehicle node
road
vehicle
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013101175831A
Other languages
Chinese (zh)
Other versions
CN103167057B (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 CN201310117583.1A priority Critical patent/CN103167057B/en
Publication of CN103167057A publication Critical patent/CN103167057A/en
Application granted granted Critical
Publication of CN103167057B publication Critical patent/CN103167057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a vehicle-mounted net address collocation method based on locating information. A vehicle-mounted net comprises access routers, access nodes and vehicle nodes, wherein the access routers are connected onto a backbone network of an internet protocol version 6 (IPV6) internet, one access node can be connected with more than one access router, a rectangle close region surrounded by all access nodes connected with one access router is set to be a road region, and one access node can simultaneously belongs to more than one road region. The vehicle-mounted net comprises more than one road region, wherein a Kth road area is determined according to geographical coordinate intervals of [xk, xk+1] and [yk, yk+1], access nodes in each road region are connected into the IPV6 internet through the access routers, and the vehicle nodes are connected into the IPV6 internet through access nodes of the road region which the vehicle nodes are located on and the access routers.

Description

A kind of vehicle-mounted net address collocation method based on locating information
Technical field
The present invention relates to a kind of address configuration method, in particular a kind of vehicle-mounted net address collocation method based on locating information.
Background technology
Along with the development of vehicle-mounted network technology and continuing to bring out of various new application, thereby can obtain the application demand that network satisfies user's sharp increase by accessing Internet in the urgent need to vehicle-mounted net.
Vehicle-mounted network accessing Internet, the key technical problem that at first will solve are exactly that the IPv6 address configures automatically, because vehicle node only could realize after obtaining to have the IPv6 address of global uniqueness and the communicating by letter of IPv6 networking node.The automatic configuration in IPv6 address can be in the situation that nobody intervenes the IPv6 address that has global uniqueness for each interface configuration, and the design object of this characteristic and vehicle-mounted net self-organizing, self-configuring is very identical.But meanwhile, implement existing IPv6 autoconf in the vehicle-mounted net of fast moving and also have some problems.For example, there is state I Pv6 autoconf to adopt the communication pattern configuration of IP v6 address of server/customer end, postpone owing to can increase considerably address configuration from remote server configuration IPv6 address, and the vehicle node of fast moving is difficult to the role of reception server, therefore, state I Pv6 autoconf and be not suitable for the vehicle-mounted net of IPv6 and use is arranged; Stateless IPv6 autoconf adopts the multicast mode by Neighbor Discovery Protocol, duplicate address detection to be carried out to guarantee its uniqueness in network in the IPv6 address of configuration, postpone because duplicate address detection has caused long address configuration, so stateless IPv6 autoconf is difficult to be applied to the vehicle-mounted net of IPv6 of fast moving equally.
Therefore, need to propose a kind of vehicle-mounted net address collocation method of low delay.
Summary of the invention
Goal of the invention: technical problem to be solved by this invention is for the deficiencies in the prior art, and a kind of vehicle-mounted net address collocation method based on locating information is provided.
Technical scheme: the invention discloses a kind of vehicle-mounted net address collocation method based on locating information, it is characterized in that, described vehicle-mounted net comprises couple in router, three kinds of nodes of access node and vehicle node; Couple in router is connected to the backbone network of IPv6 the Internet, and an access node can be connected with more than one couple in router; The rectangular closed region division that will surround with all access nodes that a couple in router is connected is the territory, road; An access node can belong to territory, more than one road simultaneously; Vehicle-mounted net comprises one with the territory of setting out on a journey, wherein territory, k road ([x interval according to geographical coordinate k, x k+1], [y k, y k+1]) determine; Access node in the territory, road accesses the IPv6 the Internet by couple in router, and vehicle node is linked into the IPv6 the Internet by access node and the couple in router in territory, place road;
Vehicle node enters that vehicle-mounted net obtains first IPv6 address is set to its home address, and when vehicle node is obtained home address, the territory, road at place is set to territory, local road; Vehicle node is left the temporary IP v6 address that obtains when territory, local road enters territory, another one road and is set to its Care-of Address, and when vehicle node is obtained Care-of Address, the territory, road at place is set to it and delivers the car territory;
Vehicle-mounted net based on the territory, road can effectively reduce the configuration frequency of vehicle node Care-of Address, thereby avoids the communication disruption that causes due to address change, thereby has improved communication quality;
The IPv6 address of vehicle-mounted net node is comprised of five parts: first is territory, road ID, it is overall route prefix, territory, a road of unique identification, territory, the road ID of in territory, a road, all access nodes and vehicle node are obtained in this territory, road IPv6 address is identical, and its value equals territory, the road ID of couple in router in this territory, road; Second portion is the abscissa territory, and sign access node and vehicle node be the geographical abscissa of position separately; Third part is the ordinate territory, and sign access node and vehicle node be the geographical ordinate of position separately; The 4th part is random number ID, is produced by random function; The 5th part is inner ID, vehicle node of unique identification;
Wherein, the 4th part is produced by random function, and purpose is to reduce the repetition rate of address;
The abscissa territory of the IPv6 address of couple in router, ordinate territory, random number ID and inner ID are 0; The random number ID of access node and inner ID are 0;
Vehicle-mounted net IPv6 address hierarchy based on locating information can effectively reduce the address repetition rate, postpones and cost thereby reduce address configuration.
Obtained the vehicle node of IPv6 address regularly to neighbours' vehicle node broadcast beacon frame, the beacon frame load is the length of territory, the road ID in its territory, place road and the distributed address space that obtains in the territory, road;
Couple in router is preserved an address binding table, is used for being recorded in home address and Care-of Address that vehicle node that the territory of going the same way mutually obtains home address moves to other territories, road;
After vehicle node X started, if its neighbours' vehicle node does not have to distribute the address, vehicle node X was according to following Procedure Acquisition home address:
Step 101: beginning;
Step 102: vehicle node X obtains the geographical coordinate (x of own position, y), produce a random number z and a temporary address, territory, the road ID that territory, the road ID of temporary address obtains for the beacon frame from neighbours' vehicle node, abscissa is x, ordinate is y, and random number ID is z, and inner ID is 0;
Step 103: vehicle node X is the broadcast address detect-message in the territory, road, and the couple in router AR1 to territory, place road sends address detected message simultaneously, and the source address of message is the temporary address of vehicle node X;
Step 104: after couple in router AR1 receives address detected message, check whether the address binding table is identical with abscissa, ordinate and the random number ID of vehicle node X with the vehicle node that judgement moves to other territories, road, if there is identical vehicle node, couple in router AR1 returns to an address identical message to vehicle node X;
Step 105: after other vehicle node in the territory, road are received address detected message, if abscissa, ordinate and the random number ID of its IPv6 address are identical with vehicle node X's, return to an address identical message to vehicle node X, otherwise to neighbours' vehicle node forwarding address detect-message;
Whether step 106: vehicle node X judgement receives the address identical message at the appointed time, if receive, returns to step 102, otherwise carry out step 107;
Step 107: vehicle node X with the temporary address as the home address of oneself and obtain and can distribute address space [1,2 16-1];
Step 108: finish;
After vehicle node X obtains home address, the beacon frame of going on the air.
In the address above mentioned layoutprocedure, address duplicate detection process control is carried out in the territory, road, thereby has reduced address configuration cost and delay.In addition, because the random number ID of vehicle node is produced by random function, therefore improved the address configuration success rate.
In the method for the invention, after vehicle node Y starts, can distribute address space [L, U] if its neighbours' vehicle node X has, wherein L and U be positive integer and L less than U, vehicle node Y obtains home address by following process from neighbours' vehicle node X so:
Step 201: beginning;
Step 202: vehicle node Y obtains the geographical coordinate (x of own position, y), produce a random number z and a temporary address, territory, the road ID that territory, the road ID of temporary address obtains for the beacon frame from neighbours' vehicle node X, abscissa is x, ordinate is y, and random number ID is z, and inner ID is 0;
Step 203: vehicle node Y-direction vehicle node X sends address request;
Step 204: after vehicle node X receives address request, return to an address response message to vehicle node Y, the message load is for distributing address space
Figure BDA00003016688800031
Vehicle node X is updated to the address space of oneself simultaneously
Figure BDA00003016688800033
Step 205: after vehicle node Y receives address response message, with the lower limit of address space
Figure BDA00003016688800041
As inner ID, and combine with territory, road ID, abscissa, ordinate and the random number ID of vehicle node X, produce the IPv6 address of oneself, obtain simultaneously and can distribute address space
Figure BDA00003016688800042
Step 206: finish;
After vehicle node Y obtains home address, the beacon frame of going on the air.
In the address above mentioned layoutprocedure, vehicle node is obtained the IPv6 address with uniqueness from the neighbours' vehicle node in a jumping scope, need not to carry out the address duplicate detection, so the address configuration task is distributed to each vehicle node equably, realized the distributed address configuration.In addition, the control information of vehicle node applied address is transmitted in a jumping scope, has therefore reduced the address configuration delay, has improved the address configuration success rate.
In the method for the invention, if vehicle node enters in an access node communication range and this access node connects plural couple in router simultaneously, judge that this vehicle node will enter territory, next road from territory, current road, need co-located care-of address; Access node is regularly to neighbours' vehicle node broadcast beacon frame, and the beacon frame load comprises the geographical coordinate interval corresponding to territory, road ID and territory, affiliated road in territory, the affiliated road of access node;
When vehicle node X enters territory, next road, by following Procedure Acquisition Care-of Address:
Step 301: beginning;
The geographical coordinate interval that step 302: vehicle node X is corresponding according to territory, road under own geographical coordinate and access node obtains territory, the road ID in the next car territory that enters and corresponding geographical coordinate interval;
Whether step 303: vehicle node X judgement enters next car territory is territory, local road, if so, carry out step 307, otherwise carry out step 304;
Whether step 304: the vehicle node X judgement neighbours' vehicle node in delivering the car territory has can be distributed address space, if so, carry out step 306, otherwise carry out step 305;
Step 305: vehicle node X obtains Care-of Address by execution in step 101~108, carry out step 307;
Step 306: vehicle node X obtains Care-of Address by execution in step 201~206;
Step 307: finish;
Vehicle node X obtains Care-of Address in delivering the territory, road after, the beacon frame load of its broadcasting is the distributed address space of delivering territory, the road ID in car territory and delivering the car territory and obtain;
Vehicle node X obtains Care-of Address in delivering the territory, road after, couple in router to territory, local road sends address registration message, the Care-of Address of message load for newly obtaining, after couple in router is received address registration message, search the address binding table, the Care-of Address of the corresponding list item of vehicle node X is updated to Care-of Address in address registration message.
The address above mentioned layoutprocedure effectively combines stateless address configuration and two kinds of mechanism of state configuration is arranged, and has state configuration to be based upon on the stateless configure base.In stateless address configuration, the address duplicate detection is controlled in the territory, road and carries out, thereby has reduced address configuration cost and delay.In the state address configuration is arranged, vehicle node is obtained the IPv6 address with uniqueness from the neighbours' vehicle node in a jumping scope, need not to carry out the address duplicate detection, so the address configuration task is distributed to each vehicle node equably, realized the distributed address configuration.In addition, the control information of vehicle node applied address is transmitted in a jumping scope, has therefore reduced the address configuration delay, has improved the address configuration success rate.Due to the priority of the priority that the state address configuration is arranged higher than the stateless configuration, therefore most of node adopts has the state address configuration to obtain the IPv6 address and realized the distributed address configuration, therefore the address configuration cost is less, and the address postpones shorter, and address configuration has higher success rate.
In the method for the invention, if after vehicle node is obtained the address space of home address and correspondence thereof, move to and deliver the territory, road, its home address and corresponding address space thereof remain unchanged; If vehicle node lost efficacy, corresponding home address and corresponding address space thereof discharge automatically;
After if vehicle node is obtained the address space of Care-of Address and correspondence thereof, move to another one new deliver the territory, road, the Care-of Address that it is original and corresponding address space thereof are released, if vehicle node lost efficacy, the Care-of Address that it is corresponding and corresponding address space thereof discharge automatically.
In the present invention, vehicle node need not extra expense and safeguards address space, also need not extra expense and carries out the address recovery, has therefore reduced the address maintenance cost and has reclaimed cost, simultaneously vehicle node also has enough address assignment spaces for distributing, to have improved the address configuration success rate always.
Beneficial effect: the invention provides a kind of vehicle-mounted net address collocation method based on locating information, described In-vehicle networking can obtain the IPv6 address with global uniqueness by address configuration method provided by the present invention, thereby realize and the communicating by letter of IPv6 the Internet, obtain network service.Because address configuration method provided by the invention postpones short, success rate is high, therefore effectively reduces bursts dropping ratio, thereby has improved the service quality of vehicle-mounted net, the present invention can be applicable to the fields such as road conditions monitoring, vehicle management, is with a wide range of applications.
Description of drawings
Below in conjunction with the drawings and specific embodiments, the present invention is done further illustrating, 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 vehicle node home address configuration flow schematic diagram of the present invention.
Fig. 4 is that vehicle node of the present invention is from neighbours' vehicle node configuration home address schematic flow sheet.
Fig. 5 is care-of address configuration schematic flow sheet of the present invention.
Embodiment:
The invention provides a kind of vehicle-mounted net address collocation method based on locating information, described In-vehicle networking can obtain the IPv6 address with global uniqueness by address configuration method provided by the present invention, thereby realize and the communicating by letter of IPv6 the Internet, obtain network service.Because address configuration method provided by the invention postpones short, success rate is high, therefore effectively reduces bursts dropping ratio, thereby has improved the service quality of vehicle-mounted net, 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 couple in router of the present invention, access node and vehicle node structural representation.Described vehicle-mounted net comprises couple in router 1,3 three kinds of nodes of access node 2 and vehicle node; 4, one access nodes 2 of backbone network that couple in router 1 is connected to the IPv6 the Internet can be connected with more than one couple in router 1; The rectangular closed region division that all access nodes 2 that will be connected with a couple in router 1 surround is territory, road 5; An access node 2 can belong to territory, more than one road 5 simultaneously; Vehicle-mounted net comprises one with the territory 5 of setting out on a journey, wherein territory 5, k road ([x interval according to geographical coordinate k, x k+1], [y k, y k+1]) determine; Access node 2 in territory, road 5 is by couple in router 1 access IPv6 the Internet 4, and access node 2 and the couple in router 1 of vehicle node 3 by territory, place road 5 is linked into IPv6 the Internet 4.
Vehicle-mounted net based on the territory, road can effectively reduce the configuration frequency of vehicle node Care-of Address, thereby avoids the communication disruption that causes due to address change, thereby has improved communication quality.
Fig. 2 is node IP v6 address structure schematic diagram of the present invention.The IPv6 address of vehicle-mounted net node is comprised of five parts: first is territory, road ID, it is overall route prefix, territory, a road of unique identification, territory, the road ID of in territory, a road, all access nodes and vehicle node are obtained in this territory, road IPv6 address is identical, and its value equals territory, the road ID of couple in router in this territory, road; Second portion is the abscissa territory, and sign access node and vehicle node be the geographical abscissa of position separately; Third part is the ordinate territory, and sign access node and vehicle node be the geographical ordinate of position separately; The 4th part is random number ID, is produced by random function; The 5th part is inner ID, vehicle node of unique identification.
Wherein, the 4th part is produced by random function, and purpose is to reduce the repetition rate of address.
The abscissa territory of the IPv6 address of couple in router, ordinate territory, random number ID and inner ID are 0; The random number ID of access node and inner ID are 0;
Vehicle node enters that vehicle-mounted net obtains first IPv6 address is set to its home address, and when vehicle node is obtained home address, the territory, road at place is set to territory, local road; Vehicle node is left the temporary IP v6 address that obtains when territory, local road enters territory, another one road and is set to its Care-of Address, and when vehicle node is obtained Care-of Address, the territory, road at place is set to it and delivers the car territory.
Vehicle-mounted net IPv6 address hierarchy based on locating information can effectively reduce the address repetition rate, postpones and cost thereby reduce address configuration.
Obtained the vehicle node of IPv6 address regularly to neighbours' vehicle node broadcast beacon frame, the beacon frame load is the length of territory, the road ID in its territory, place road and the distributed address space that obtains in the territory, road.
Fig. 3 is vehicle node home address configuration flow schematic diagram of the present invention.Couple in router is preserved an address binding table, is used for being recorded in home address and Care-of Address that vehicle node that the territory of going the same way mutually obtains home address moves to other territories, road.
After vehicle node X started, if its neighbours' vehicle node does not have to distribute the address, vehicle node X was according to following Procedure Acquisition home address:
Step 101: beginning.
Step 102: vehicle node X obtains the geographical coordinate (x of own position, y), produce a random number z and a temporary address, territory, the road ID that territory, the road ID of temporary address obtains for the beacon frame from neighbours' vehicle node, abscissa is x, ordinate is y, and random number ID is z, and inner ID is 0.
Step 103: vehicle node X is the broadcast address detect-message in the territory, road, and the couple in router AR1 to territory, place road sends address detected message simultaneously, and the source address of message is the temporary address of vehicle node X.
Step 104: after couple in router AR1 receives address detected message, check whether the address binding table is identical with abscissa, ordinate and the random number ID of vehicle node X with the vehicle node that judgement moves to other territories, road, if there is identical vehicle node, couple in router AR1 returns to an address identical message to vehicle node X.
Step 105: after other vehicle node in the territory, road are received address detected message, if abscissa, ordinate and the random number ID of its IPv6 address are identical with vehicle node X's, return to an address identical message to vehicle node X, otherwise to neighbours' vehicle node forwarding address detect-message.
Whether step 106: vehicle node X judgement receives the address identical message at the appointed time, if receive, returns to step 102, otherwise carry out step 107.
Step 107: vehicle node X with the temporary address as the home address of oneself and obtain and can distribute address space [1,2 16-1].
Step 108: finish.
After vehicle node X obtains home address, the beacon frame of going on the air.
In the address above mentioned layoutprocedure, address duplicate detection process control is carried out in the territory, road, thereby has reduced address configuration cost and delay.In addition, because the random number ID of vehicle node is produced by random function, therefore improved the address configuration success rate.
Fig. 4 is that vehicle node of the present invention is from neighbours' vehicle node configuration home address schematic flow sheet.After vehicle node Y starts, can distribute address space [L, U] if its neighbours' vehicle node X has, wherein L and U be positive integer and L less than U, vehicle node Y obtains home address by following process from neighbours' vehicle node X so:
Step 201: beginning.
Step 202: vehicle node Y obtains the geographical coordinate (x of own position, y), produce a random number z and a temporary address, territory, the road ID that territory, the road ID of temporary address obtains for the beacon frame from neighbours' vehicle node X, abscissa is x, ordinate is y, and random number ID is z, and inner ID is 0.
Step 203: vehicle node Y-direction vehicle node X sends address request.
Step 204: after vehicle node X receives address request, return to an address response message to vehicle node Y, the message load is for distributing address space
Figure BDA00003016688800081
Vehicle node X is updated to the address space of oneself simultaneously
Figure BDA00003016688800082
Figure BDA00003016688800083
Step 205: after vehicle node Y receives address response message, with the lower limit of address space
Figure BDA00003016688800084
As inner ID, and combine with territory, road ID, abscissa, ordinate and the random number ID of vehicle node X, produce the IPv6 address of oneself, obtain simultaneously and can distribute address space
Figure BDA00003016688800085
Step 206: finish.
After vehicle node Y obtains home address, the beacon frame of going on the air.
In the address above mentioned layoutprocedure, vehicle node is obtained the IPv6 address with uniqueness from the neighbours' vehicle node in a jumping scope, need not to carry out the address duplicate detection, so the address configuration task is distributed to each vehicle node equably, realized the distributed address configuration.In addition, the control information of vehicle node applied address is transmitted in a jumping scope, has therefore reduced the address configuration delay, has improved the address configuration success rate.
Fig. 5 is care-of address configuration schematic flow sheet of the present invention.If vehicle node enters in an access node communication range and this access node connects plural couple in router simultaneously, judge that this vehicle node will enter territory, next road from territory, current road, need co-located care-of address; Access node is regularly to neighbours' vehicle node broadcast beacon frame, and the beacon frame load comprises the geographical coordinate interval corresponding to territory, road ID and territory, affiliated road in territory, the affiliated road of access node.
When vehicle node X enters territory, next road, by following Procedure Acquisition Care-of Address:
Step 301: beginning.
The geographical coordinate interval that step 302: vehicle node X is corresponding according to territory, road under own geographical coordinate and access node obtains territory, the road ID in the next car territory that enters and corresponding geographical coordinate interval.
Whether step 303: vehicle node X judgement enters next car territory is territory, local road, if so, carry out step 307, otherwise carry out step 304.
Whether step 304: the vehicle node X judgement neighbours' vehicle node in delivering the car territory has can be distributed address space, if so, carry out step 306, otherwise carry out step 305.
Step 305: vehicle node X obtains Care-of Address by execution in step 101~108, carry out step 307.
Step 306: vehicle node X obtains Care-of Address by execution in step 201~206.
Step 307: finish.
Vehicle node X obtains Care-of Address in delivering the territory, road after, the beacon frame load of its broadcasting is the distributed address space of delivering territory, the road ID in car territory and delivering the car territory and obtain.
Vehicle node X obtains Care-of Address in delivering the territory, road after, couple in router to territory, local road sends address registration message, the Care-of Address of message load for newly obtaining, after couple in router is received address registration message, search the address binding table, the Care-of Address of the corresponding list item of vehicle node X is updated to Care-of Address in address registration message.
The address above mentioned layoutprocedure effectively combines stateless address configuration and two kinds of mechanism of state configuration is arranged, and has state configuration to be based upon on the stateless configure base.In stateless address configuration, the address duplicate detection is controlled in the territory, road and carries out, thereby has reduced address configuration cost and delay.In the state address configuration is arranged, vehicle node is obtained the IPv6 address with uniqueness from the neighbours' vehicle node in a jumping scope, need not to carry out the address duplicate detection, so the address configuration task is distributed to each vehicle node equably, realized the distributed address configuration.In addition, the control information of vehicle node applied address is transmitted in a jumping scope, has therefore reduced the address configuration delay, has improved the address configuration success rate.Due to the priority of the priority that the state address configuration is arranged higher than the stateless configuration, therefore most of node adopts has the state address configuration to obtain the IPv6 address and realized the distributed address configuration, therefore the address configuration cost is less, and the address postpones shorter, and address configuration has higher success rate.
In sum, the invention provides a kind of vehicle-mounted net address collocation method based on locating information, described In-vehicle networking can obtain the IPv6 address with global uniqueness by address configuration method provided by the present invention, thereby realizes and the communicating by letter of IPv6 the Internet, and obtains network service.Because address configuration method provided by the invention postpones short, success rate is high, therefore effectively reduces bursts dropping ratio, thereby has improved the service quality of vehicle-mounted net, the present invention can be applicable to the fields such as road conditions monitoring, vehicle management, is with a wide range of applications.
The invention provides the thinking based on the vehicle-mounted net address collocation method of locating information; method and the approach of this technical scheme of specific implementation are 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 prerequisite that does not break away from the principle 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.In the present embodiment not clear and definite each component part all available prior art realized.

Claims (4)

1. the vehicle-mounted net address collocation method based on locating information, is characterized in that, described vehicle-mounted net comprises couple in router, three kinds of nodes of access node and vehicle node; Couple in router is connected to the backbone network of IPv6 the Internet, and an access node can be connected with more than one couple in router; The rectangular closed region division that will surround with all access nodes that a couple in router is connected is the territory, road; An access node can belong to territory, more than one road simultaneously; Vehicle-mounted net comprises one with the territory of setting out on a journey, wherein territory, k road ([x interval according to geographical coordinate k, x k+1], [y k, y k+1]) determine; Access node in the territory, road accesses the IPv6 the Internet by couple in router, and vehicle node is linked into the IPv6 the Internet by access node and the couple in router in territory, place road;
Vehicle node enters that vehicle-mounted net obtains first IPv6 address is set to its home address, and when vehicle node is obtained home address, the territory, road at place is set to territory, local road; Vehicle node is left the temporary IP v6 address that obtains when territory, local road enters territory, another one road and is set to its Care-of Address, and when vehicle node is obtained Care-of Address, the territory, road at place is set to it and delivers the car territory;
The IPv6 address of vehicle-mounted net node is comprised of five parts: first is territory, road ID, it is overall route prefix, territory, a road of unique identification, territory, the road ID of in territory, a road, all access nodes and vehicle node are obtained in this territory, road IPv6 address is identical, and its value equals territory, the road ID of couple in router in this territory, road; Second portion is the abscissa territory, and sign access node and vehicle node be the geographical abscissa of position separately; Third part is the ordinate territory, and sign access node and vehicle node be the geographical ordinate of position separately; The 4th part is random number ID, is produced by random function; The 5th part is inner ID, vehicle node of unique identification;
The abscissa territory of the IPv6 address of couple in router, ordinate territory, random number ID and inner ID are 0; The random number ID of access node and inner ID are 0;
Obtained the vehicle node of IPv6 address regularly to neighbours' vehicle node broadcast beacon frame, the beacon frame load is the length of territory, the road ID in its territory, place road and the distributed address space that obtains in the territory, road;
Couple in router is preserved an address binding table, is used for being recorded in home address and Care-of Address that vehicle node that the territory of going the same way mutually obtains home address moves to other territories, road;
After vehicle node X started, if its neighbours' vehicle node does not have to distribute the address, vehicle node X was according to following Procedure Acquisition home address:
Step 101: beginning;
Step 102: vehicle node X obtains the geographical coordinate (x of own position, y), produce a random number z and a temporary address, territory, the road ID that territory, the road ID of temporary address obtains for the beacon frame from neighbours' vehicle node, abscissa is x, ordinate is y, and random number ID is z, and inner ID is 0;
Step 103: vehicle node X is the broadcast address detect-message in the territory, road, and the couple in router AR1 to territory, place road sends address detected message simultaneously, and the source address of message is the temporary address of vehicle node X;
Step 104: after couple in router AR1 receives address detected message, check whether the address binding table is identical with abscissa, ordinate and the random number ID of vehicle node X with the vehicle node that judgement moves to other territories, road, if there is identical vehicle node, couple in router AR1 returns to an address identical message to vehicle node X;
Step 105: after other vehicle node in the territory, road are received address detected message, if abscissa, ordinate and the random number ID of its IPv6 address are identical with vehicle node X's, return to an address identical message to vehicle node X, otherwise to neighbours' vehicle node forwarding address detect-message;
Whether step 106: vehicle node X judgement receives the address identical message at the appointed time, if receive, returns to step 102, otherwise carry out step 107;
Step 107: vehicle node X with the temporary address as the home address of oneself and obtain and can distribute address space [1,2 16-1];
Step 108: finish;
After vehicle node X obtains home address, the beacon frame of going on the air.
2. the vehicle-mounted net address collocation method based on locating information according to claim 1, it is characterized in that, after vehicle node Y starts, if having, its neighbours' vehicle node X can distribute address space [L, U], wherein L and U be positive integer and L less than U, vehicle node Y obtains home address by following process from neighbours' vehicle node X so:
Step 201: beginning;
Step 202: vehicle node Y obtains the geographical coordinate (x of own position, y), produce a random number z and a temporary address, territory, the road ID that territory, the road ID of temporary address obtains for the beacon frame from neighbours' vehicle node X, abscissa is x, ordinate is y, and random number ID is z, and inner ID is 0;
Step 203: vehicle node Y-direction vehicle node X sends address request;
Step 204: after vehicle node X receives address request, return to an address response message to vehicle node Y, the message load is for distributing address space
Figure FDA00003016688700021
Vehicle node X is updated to the address space of oneself simultaneously
Figure FDA00003016688700022
Figure FDA00003016688700023
Step 205: after vehicle node Y receives address response message, with the lower limit of address space
Figure FDA00003016688700031
As inner ID, and combine with territory, road ID, abscissa, ordinate and the random number ID of vehicle node X, produce the home address of oneself, obtain simultaneously and can distribute address space
Figure FDA00003016688700032
Step 206: finish;
After vehicle node Y obtains home address, the beacon frame of going on the air.
3. the vehicle-mounted net address collocation method based on locating information according to claim 2, it is characterized in that, if vehicle node enters in an access node communication range and this access node connects plural couple in router simultaneously, judge that this vehicle node will enter territory, next road from territory, current road, need co-located care-of address; Access node is regularly to neighbours' vehicle node broadcast beacon frame, and the beacon frame load comprises the geographical coordinate interval corresponding to territory, road ID and territory, affiliated road in territory, the affiliated road of access node;
When vehicle node X enters territory, next road, by following Procedure Acquisition Care-of Address:
Step 301: beginning;
The geographical coordinate interval that step 302: vehicle node X is corresponding according to territory, road under own geographical coordinate and access node obtains territory, the road ID in the next car territory that enters and corresponding geographical coordinate interval;
Whether step 303: vehicle node X judgement enters next car territory is territory, local road, if so, carry out step 307, otherwise carry out step 304;
Whether step 304: the vehicle node X judgement neighbours' vehicle node in delivering the car territory has can be distributed address space, if so, carry out step 306, otherwise carry out step 305;
Step 305: vehicle node X obtains Care-of Address by execution in step 101~108, carry out step 307;
Step 306: vehicle node X obtains Care-of Address by execution in step 201~206;
Step 307: finish;
Vehicle node X obtains Care-of Address in delivering the territory, road after, the beacon frame load of its broadcasting is the distributed address space of delivering territory, the road ID in car territory and delivering the car territory and obtain;
Vehicle node X obtains Care-of Address in delivering the territory, road after, couple in router to territory, local road sends address registration message, the Care-of Address of message load for newly obtaining, after couple in router is received address registration message, search the address binding table, the Care-of Address of the corresponding list item of vehicle node X is updated to Care-of Address in address registration message.
4. the vehicle-mounted net address collocation method based on locating information according to claim 3, it is characterized in that, if vehicle node moves to and delivers the territory, road after obtaining the address space of home address and correspondence thereof, its home address and corresponding address space thereof remain unchanged; If vehicle node lost efficacy, corresponding home address and corresponding address space thereof discharge automatically;
After if vehicle node is obtained the address space of Care-of Address and correspondence thereof, move to another one new deliver the territory, road, the Care-of Address that it is original and corresponding address space thereof are released, if vehicle node lost efficacy, the Care-of Address that it is corresponding and corresponding address space thereof discharge automatically.
CN201310117583.1A 2013-04-07 2013-04-07 A kind of vehicle-mounted net address collocation method based on locating information Active CN103167057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117583.1A CN103167057B (en) 2013-04-07 2013-04-07 A kind of vehicle-mounted net address collocation method based on locating information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117583.1A CN103167057B (en) 2013-04-07 2013-04-07 A kind of vehicle-mounted net address collocation method based on locating information

Publications (2)

Publication Number Publication Date
CN103167057A true CN103167057A (en) 2013-06-19
CN103167057B CN103167057B (en) 2015-10-07

Family

ID=48589790

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117583.1A Active CN103167057B (en) 2013-04-07 2013-04-07 A kind of vehicle-mounted net address collocation method based on locating information

Country Status (1)

Country Link
CN (1) CN103167057B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312811A (en) * 2013-06-25 2013-09-18 常熟理工学院 Method for connecting vehicle-mounted network into IPv6 internet
CN105187529A (en) * 2015-09-08 2015-12-23 常熟理工学院 Internet of vehicles implementation method based on positioning information
CN105517091A (en) * 2015-11-30 2016-04-20 常熟理工学院 Vehicle-mounted network communication method
CN106162809A (en) * 2016-06-08 2016-11-23 常熟理工学院 A kind of mobile wireless network data communications method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867919A (en) * 2010-07-16 2010-10-20 王晓喃 IPv6 address configuration method of wireless sensor network based on geographical position
CN102291448A (en) * 2011-08-08 2011-12-21 华南理工大学 Automatic IP (Internet protocol) address allocation method based on geographical position in mobile ad hoc network
US20130060633A1 (en) * 2011-09-01 2013-03-07 Nicholas St-Pierre Privacy-enhanced internet advertising system
CN102970393A (en) * 2012-12-25 2013-03-13 常熟理工学院 Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101867919A (en) * 2010-07-16 2010-10-20 王晓喃 IPv6 address configuration method of wireless sensor network based on geographical position
CN102291448A (en) * 2011-08-08 2011-12-21 华南理工大学 Automatic IP (Internet protocol) address allocation method based on geographical position in mobile ad hoc network
US20130060633A1 (en) * 2011-09-01 2013-03-07 Nicholas St-Pierre Privacy-enhanced internet advertising system
CN102970393A (en) * 2012-12-25 2013-03-13 常熟理工学院 Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
CHIH-YUNG CHENG等: "《Three-dimensional Location-based IPv6 Addressing for Wireless Sensor Networks in Smart Grid》", 《IEEE INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS》 *
WANG XIAONAN: "《Implementing Communication Between Ad Hoc Network and IPv6 Network by Using Anycast》", 《IEEE INTERNATIONAL CONFERENCE ON AUTOMATION AND LOGISTICS》 *
王晓喃: "基于定位信息的无线传感器网络IPv6地址配置方案", 《计算机应用研究》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312811A (en) * 2013-06-25 2013-09-18 常熟理工学院 Method for connecting vehicle-mounted network into IPv6 internet
CN103312811B (en) * 2013-06-25 2015-11-04 常熟理工学院 A kind of implementation method of vehicle-mounted net access IPv6 the Internet
CN105187529A (en) * 2015-09-08 2015-12-23 常熟理工学院 Internet of vehicles implementation method based on positioning information
CN105187529B (en) * 2015-09-08 2018-05-11 常熟理工学院 A kind of car networking implementation method based on location information
CN105517091A (en) * 2015-11-30 2016-04-20 常熟理工学院 Vehicle-mounted network communication method
CN105517091B (en) * 2015-11-30 2018-09-21 常熟理工学院 A kind of communication means of vehicle-mounted net
CN106162809A (en) * 2016-06-08 2016-11-23 常熟理工学院 A kind of mobile wireless network data communications method
CN106162809B (en) * 2016-06-08 2019-04-09 常熟理工学院 A kind of mobile wireless network data communications method

Also Published As

Publication number Publication date
CN103167057B (en) 2015-10-07

Similar Documents

Publication Publication Date Title
CN102333118B (en) Automatic Internet protocol version 6 (IPv6) address configuration method for vehicular network
CN103312811B (en) A kind of implementation method of vehicle-mounted net access IPv6 the Internet
CN102056152B (en) Implementation method of automatic configuration for network addresses of wireless sensors based on Internet protocol version 6 over low power wireless personal area network (6LoWPAN)
CN102263831B (en) Realization method of vehicular Ad Hoc network (VANET) communication system based on IPv6
CN102364970B (en) Implementation method for automatically configuring address of mobile ad hoc network
CN107333313B (en) Reliable intelligent Internet of vehicles routing implementation method
CN105246118A (en) Wireless network communication realization method based on positioning information
CN104717307A (en) Implementation method of vehicle-mounted cloud communication
CN102395126B (en) Mobile Ad hoc network address configuration realization method based on tree structure
CN103167484B (en) Method for accessing a car connected network to an IPv6 network
CN102572015B (en) Implementation method for dynamic IPv6 address configuration of mobile ad hoc network
CN103167057B (en) A kind of vehicle-mounted net address collocation method based on locating information
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
CN104869563A (en) Communication realization method of next-generation city internet of vehicle
CN105188104B (en) A kind of implementation method of wireless communication
CN102572016A (en) Method for realizing cluster-based distributed mobile self-organizing network IPv6 (Internet Protocol version 6) address configuration
CN105119828A (en) Fast wireless network routing achievement method
CN102594839B (en) Method for distinguishing pseudo dynamic host configuration protocol (DHCP) servers and switchboards
CN104869601A (en) Communication realization method of next-generation internet of vehicle
CN102970393B (en) Address configuration method based on IPv6 (Internet protocol version 6) for in-vehicle network
CN103945415B (en) Communication implementation method for wireless network
CN103037361A (en) Internet protocol (IP) distribution system in wireless Mesh network based on Ad-hoc and IP distribution method in the wireless Mesh network based on the Ad-hoc
CN107484109B (en) Data communication method for vehicle-mounted sensor network
CN103067996B (en) Method for movement and transfer of urban vehicle-mounted 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: 20201229

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.