CN103237326B - A kind of vehicle-mounted net mobile switch method based on cross-layer - Google Patents

A kind of vehicle-mounted net mobile switch method based on cross-layer Download PDF

Info

Publication number
CN103237326B
CN103237326B CN201310117534.8A CN201310117534A CN103237326B CN 103237326 B CN103237326 B CN 103237326B CN 201310117534 A CN201310117534 A CN 201310117534A CN 103237326 B CN103237326 B CN 103237326B
Authority
CN
China
Prior art keywords
cluster head
head node
base station
node
router
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
CN201310117534.8A
Other languages
Chinese (zh)
Other versions
CN103237326A (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 CN201310117534.8A priority Critical patent/CN103237326B/en
Publication of CN103237326A publication Critical patent/CN103237326A/en
Application granted granted Critical
Publication of CN103237326B publication Critical patent/CN103237326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of vehicle-mounted net mobile switch method based on cross-layer, described vehicle-mounted net comprises couple in router, base station, and travels vehicle node totally three category nodes on road; Couple in router is connected with the backbone network of the Internet, and base station is connected with a couple in router, and by couple in router accessing Internet, vehicle node realizes the communication with the Internet by base station.The whole vehicle-mounted web area of all base station coverage in described vehicle-mounted net; The region that all base stations be connected with a couple in router cover is set to territory, a road, the region of a base station coverage is set to section.The present invention can keep the continuity communicated in moving process, and shorten mobile handoff and postpone, reduce bursts dropping ratio, thus improve 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

A kind of vehicle-mounted net mobile switch method based on cross-layer
Technical field
The present invention relates to a kind of mobile switch method, in particular a kind of vehicle-mounted net mobile switch method based on cross-layer.
Background technology
Vehicle-mounted net is subject to extensive concern due to its practicality, becomes the focus of research.One of main feature of vehicle-mounted net carries out high-speed mobile for vehicle node along road, therefore, the Seamless Mobile how realizing vehicle node delivers one of focus becoming research.
Current existing mobility protocol (as HMIPv6, FMIPv6 and MIPv6) is applied in In-vehicle networking also exists some problems, and main cause is as follows:
1), in existing mobility protocol, mobile node needs to send and receives a large amount of control informations to guarantee to communicate unimpeded in moving process, and reduce the loss of packet, and control information transmission can consume a large amount of energy, this significantly can reduce the life-span of mobile node;
2) the control information overhead data packet of existing mobility protocol is comparatively large, and mobile to deliver delay longer thus improve bursts dropping ratio.
Therefore need to propose a kind of mobile deliver postpone short, the data mobile implementation method delivered of vehicle-mounted net that loss rate is not low.
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 vehicle-mounted net mobile switch method based on cross-layer.
Technical scheme: the invention discloses a kind of vehicle-mounted net mobile switch method based on cross-layer, described vehicle-mounted net comprises couple in router, base station, and travel vehicle node totally three category nodes on road; Couple in router is connected with the backbone network of the Internet, and base station is connected with a couple in router, and by couple in router accessing Internet, vehicle node realizes the communication with the Internet by base station; The whole vehicle-mounted web area of all base station coverage in described vehicle-mounted net; The region that all base stations be connected with a couple in router cover is set to territory, a road, the region of a base station coverage is set to section.
Vehicle node comprises three classes: cluster head node, bunch interior nodes and isolated node; Cluster head node has route forwarding function, and a bunch interior nodes does not have route forwarding function; Cluster head node and base station direct communication, bunch interior nodes is realized and the communication of the Internet by cluster head node, and isolated node does not add the vehicle node of any bunch; One bunch comprises a cluster head node and one with interior nodes of putting on an arrow.
Territory, a road comprises more than one section, and a section comprises one to put on an arrow; The link protocol communicated between base station and cluster head node adopts Wimax (Worldwide Interoperability for Microwave Access, worldwide interoperability for microwave accesses) agreement, the link protocol communicated between cluster head node with bunch interior nodes adopts Wifi; Cluster head node has two communication interfaces (this interface is software interface), receives the message of Wimax and Wifi respectively; Vehicle node in moving process, by home address unique identification, without the need to co-located care-of address; Cluster head node is generally made up of public full-sized car, such as bus.
Vehicle-mounted net adopts above-mentioned hierarchical system structure, effectively can strengthen the stability of vehicle-mounted net, thus reduces mobile handoff number of times.
The IPv6 address of vehicle-mounted net node is made up of three parts: Part I is territory, the road ID as territory, an overall route prefix unique identification road, in territory, a road, territory, the road ID of all base stations is identical, territory, the road ID of the address that vehicle node obtains in territory, same road is identical, and base station and the value of vehicle node road territory ID equal to go the same way mutually territory, the road ID of couple in router in territory; Part II is the road section ID in a unique identification section, and the road section ID of the address that vehicle node obtains from same section is all identical, and vehicle node road section ID value equals the road section ID of base station in this section; Part III is vehicle ID, the vehicle node in its unique identification section; The road section ID of couple in router and vehicle ID are 0, and the vehicle ID of base station is 0.
Cluster head node is arranged on the public full-sized car in vehicle-mounted net, after public full-sized car starts, cluster head node is started, cluster head node periodic broadcasting message, Message Payload comprises the IPv6 address of base station in node type, speed, move angle, geographical coordinate, working channel and section, place.
Be arranged on isolated node on not common full-sized car node after not common full-sized car node starts, scan all channels, by the cluster head node that the message receiving cluster head node broadcast selects the link association time the longest, and add by this cluster head node place bunch, then oneself is labeled as a bunch interior nodes, the message of periodic broadcasting simultaneously, Message Payload comprises own node type, translational speed, move angle and address coordinate, and the speed of its cluster head node, move angle, geographical coordinate and working channel.
Each vehicle node is furnished with global positioning system, for obtaining the address coordinate of oneself; If vehicle node V igeographical coordinate be (x i, y i), vehicle node V jgeographical coordinate be (x j, y j), vehicle node V ispeed v i, vehicle node V jspeed be v j, vehicle node V imove angle be θ i, vehicle node V jmove angle be θ j, the transmission radius of vehicle node is r, so, and vehicle node V iand V jlink connect hours T ijfor:
T ij = ( a 2 + c 2 ) r 2 - ( ad - bc ) 2 - ( ab + cd ) a 2 + c 2 - - - ( 1 )
Wherein, parameter a, b, c, d adopt following formulae discovery:
a=v icosθ i-v jcosθ j,
b=x i-x j,
c=v isinθ i-v jsinθ j,
d=y i-y j,
The geographical coordinate of neighbor base stations position and the working channel of neighbor base stations are preserved in base station.
The cluster head node that bunch interior nodes selects the link association time the longest, topological structure therefore bunch is more stable, and mobile handoff frequency is lower, and communication quality is better.
In the method for the invention, when cluster head node C1 is by when moving in the determined section S1 of base station B1, base station B1 determines its geographical coordinate by the message receiving cluster head node C1 broadcast; If base station B1 detects that cluster head node C1 is about to leave the communication range of oneself, then be about to as cluster head node C1 the section that enters using with the determined section of cluster head node C1 place geographical coordinate immediate neighbor base stations B2, if the couple in router that base station B1 and base station B2 belongs to territory, Yu Qie road, same road is R1, so base station B1 performs following steps:
Step 101: start.
Step 102: base station B1 sends to couple in router R1 and switches message, and Message Payload is the IPv6 address of cluster head node C1 and base station B2.
Step 103: the base station that cluster head node C1 associates is updated to base station B2 after receiving and switching message by couple in router R1, returns switch acknowledgment message to base station B1 simultaneously.
Step 104: after base station B1 receives switch acknowledgment message, send to cluster head node C1 and switch message, Message Payload is the working channel of base station B2.
Step 105: after cluster head node C1 receives and switches message, adopts base station B2 working channel directly to realize link switching, and starts to receive data from base station B2.
Step 106: terminate.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
In the method for the invention, when cluster head node C1 is by when moving in the determined section S1 of base station B1, base station B1 determines its geographical coordinate by the message receiving cluster head node C1 broadcast; If base station B1 detects that cluster head node C1 is about to leave the communication range of oneself, base station B1 is then about to as cluster head node C1 the section that enters using with the determined section of cluster head node C1 place geographical coordinate immediate neighbor base stations B2, if base station B1 and base station B2 belongs to the territory and the couple in router in territory, road, B1 place, base station is R1 of not going the same way, the couple in router in territory, road, B2 place, base station is R2, and so base station B1 performs following steps:
Step 201: start.
Step 202: base station B1 sends to couple in router R2 and switches message, and Message Payload is the IPv6 address of cluster head node C1 and base station B2.
Step 203: after couple in router R2 receives and switches message, different territories, road is belonged to by judgement base station, the IPv6 address B1 of base station B1, couple in router R2 sets up the incidence relation of cluster head node C1 and base station B2, obtain the couple in router HR transmission switching message in territory, road, home address place to cluster head node C1, Message Payload is the IPv6 address of cluster head node C1 simultaneously.
Step 204: the couple in router that cluster head node C1 associates is updated to couple in router R2 after receiving and switching message by couple in router HR, returns switch acknowledgment message to couple in router R2 simultaneously.
Step 205: after couple in router R2 receives switch acknowledgment message, sends switch acknowledgment message to base station B1, and after base station B1 receives switch acknowledgment message, send to cluster head node C1 and switch message, Message Payload is the working channel of base station B2.
Step 206: after cluster head node C1 receives and switches message, adopts the working channel of base station B2 directly to realize the link switching with base station B2, and starts to receive data from base station B2.
Step 207: terminate.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
In the method for the invention, cluster head node at bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, the couple in router in territory, road, cluster head node C1 place is R1, when the couple in router of IPv6 node N1 place subnet is couple in router R, the communication process of bunch interior nodes M1 and IPv6 node N1 is:
Step 301: start.
Step 302: destination address is that the Packet Generation of IPv6 node N1 is to cluster head node C1 by bunch interior nodes M1, after cluster head node C1 receives packet, packet is forwarded to base station B1, after base station B1 receives packet, packet is forwarded to couple in router R1 by the incidence relation of record bunch interior nodes M1 and cluster head node C1 simultaneously.
Step 303: after couple in router R1 receives packet, the incidence relation of record bunch interior nodes M1 and cluster head node C1, set up the tunnel with couple in router R simultaneously, and by tunnel by Packet Generation to couple in router R, after couple in router R receives packet, packet is transmitted to IPv6 node N1.
First the packet that step 304:IPv6 node N1 returns arrives couple in router R, couple in router R routes a data packet to couple in router R1 by tunnel, couple in router R1 is according to bunch interior nodes M1 of record and the incidence relation of cluster head node C1 and the incidence relation of cluster head node C1 and base station B1, packet is transmitted to a bunch interior nodes M1 according to bunch interior nodes M1 of record and the incidence relation of cluster head node C1 by packet repeating base station B1, base station B1.
Step 305: terminate.
The life span of the incidence relation of bunch interior nodes M1 and cluster head node C1, to after date, is deleted from base station B1 and couple in router R1 automatically.
In above-mentioned mobile handoff process, bunch interior nodes can correctly communicate with IPv6 node, thus ensure that vehicle node can obtain network service timely.
In the method for the invention, cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is couple in router R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as bunch interior nodes M1 be about to enter bunch;
If cluster head node C1 belongs to same section with cluster head node C2 and bunch interior nodes M1 communicates with IPv6 node, so cluster head node C1 performs following steps:
Step 401: start;
Step 402: cluster head node C1 sends to base station B1 and switches message, and Message Payload is the IPv6 address of bunch interior nodes M1 and cluster head node C2;
Step 403: after base station B1 receives and switches message, is updated to cluster head node C2 by a bunch cluster head node for interior nodes M1 association, returns switch acknowledgment message simultaneously to cluster head node C1;
Step 404: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2;
Step 405: a bunch interior nodes M1 directly realizes the link switching with cluster head node C2 by the working channel of cluster head node C2 after receiving and switching message, and start to receive data from cluster head node C2;
Step 406: terminate;
Because network layer handoff carried out before link layer switches, therefore cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
In the method for the invention, cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is couple in router R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as M1 be about to enter bunch.
But cluster head node C1 and cluster head node C2 belongs to identical territory, road different sections, and the base station in section, cluster head node C2 place is B2, if bunch interior nodes M1 communicates with IPv6 node, so cluster head node C1 performs following steps:
Step 501: start.
Step 502: cluster head node C1 sends to base station B2 and switches message, and Message Payload is the IPv6 address of bunch interior nodes M1 and cluster head node C2.
Step 503: base station B1 sets up the incidence relation of bunch interior nodes M1 and cluster head node C2 after receiving and switching message, sends to couple in router R1 simultaneously and switches message.
Step 504: after couple in router R1 receives and switches message, a bunch cluster head node for interior nodes M1 association is updated to cluster head node C2, return switch acknowledgment message to base station B2 simultaneously, after base station B2 receives switch acknowledgment message, send switch acknowledgment message to cluster head node C1.
Step 505: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2.
Step 506: after a bunch interior nodes M1 receives and switches message, adopts the working channel of cluster head node C2 directly to realize the link switching with cluster head node C2, and starts to receive packet from cluster head node C2.
Step 507: terminate.
Because network layer handoff carried out before link layer switches, therefore cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
In the method for the invention, cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as M1 be about to enter bunch.
If cluster head node C1 and cluster head node C2 belongs to different territories, road, the base station in section, cluster head node C2 place is base station B2, the couple in router in territory, place road is couple in router R2, bunch interior nodes M1 is carrying out communicating with IPv6 node and the couple in router of this IPv6 node place subnet is couple in router R3, and so cluster head node C1 performs following steps:
Step 601: start.
Step 602: cluster head node C1 sends to base station B2 and switches message, and Message Payload is the IPv6 address of a bunch interior nodes M1, cluster head node C2 and couple in router R3.
Step 603: after base station B2 receives and switches message, set up the incidence relation of bunch interior nodes M1 and cluster head node C2, send to couple in router R2 simultaneously and switch message, after couple in router R2 receives and switches message, set up the incidence relation of bunch interior nodes M1 and cluster head node C2, send to couple in router R3 simultaneously and switch message.
Step 604: after couple in router R3 receives and switches message, set up with the tunnel of couple in router R2 and be that the Packet Generation of bunch interior nodes M1 is to couple in router R2 by this tunnel by destination address, then switch acknowledgment message is returned to couple in router R2, after couple in router R2 receives switch acknowledgment message, switch acknowledgment message is sent to base station B2, after base station B2 receives switch acknowledgment message, send switch acknowledgment message to cluster head node C1.
Step 605: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2.
Step 606: after a bunch interior nodes M1 receives and switches message, adopts the working channel of cluster head node C2 directly to realize the link switching with cluster head node C2, and starts to receive packet from cluster head node C2.
Step 607: terminate.
Because network layer handoff carried out before link layer switches, therefore cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
In the method for the invention, after bunch interior nodes leaves the cluster head node communication range at its place bunch, if its neighbor node does not have cluster head node, bunch interior nodes is then converted to isolated node, then by receiving the message of neighbours' bunch interior nodes broadcast, select the cluster head node H1 that nearest apart from oneself, and working channel is converted to the working channel of cluster head node H1, after the communication range entering cluster head node H1, the link switching of direct realization and cluster head node H1, add cluster head node H1 place bunch, oneself is converted to a bunch interior nodes simultaneously.
Beneficial effect: the invention provides a kind of vehicle-mounted net mobile switch method based on cross-layer, described In-vehicle networking is by mobile handoff implementation method provided by the present invention, the continuity communicated in moving process can be kept, shorten mobile handoff to postpone, reduce bursts dropping ratio, thus improve 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.
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 couple in router of the present invention, base station and vehicle node structural representation.
Fig. 2 is node IP v6 address structure schematic diagram of the present invention.
Fig. 3 is mobile handoff schematic flow sheet between cluster head node section of the present invention.
Fig. 4 is mobile handoff schematic flow sheet between territory, cluster head node road of the present invention.
Fig. 5 is of the present invention bunch of interior nodes and IPv6 node communication schematic flow sheet.
Fig. 6 is mobile handoff schematic flow sheet in of the present invention bunch of interior nodes section.
Fig. 7 is mobile handoff schematic flow sheet between of the present invention bunch of interior nodes section.
Fig. 8 is mobile handoff schematic flow sheet between territory, of the present invention bunch of interior nodes road.
Embodiment:
The invention provides a kind of vehicle-mounted net mobile switch method based on cross-layer, described In-vehicle networking is by mobile handoff implementation method provided by the present invention, the continuity communicated in moving process can be kept, shorten mobile handoff to postpone, reduce bursts dropping ratio, thus improve 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, base station and vehicle node structural representation.Described vehicle-mounted net comprises couple in router 1, base station 2, and travels vehicle node totally three category nodes on road; Couple in router 1 is connected with the backbone network of the Internet, and a base station 2 is only connected with a couple in router 1, and by couple in router 1 accessing Internet, vehicle node realizes the communication with the Internet by base station 2; In described vehicle-mounted net, all base stations 2 cover whole vehicle-mounted web area; The region that all base stations be connected with a couple in router 1 cover is set to territory, a road 3, the region of a base station coverage is set to section 4; Vehicle node is divided three classes: cluster head node 5, bunch interior nodes 6 and isolated node 7; Cluster head node 5 has route forwarding function, and bunch interior nodes 6 does not have route forwarding function; Cluster head node 5 and base station 2 direct communication, bunch interior nodes 6 realizes the communication with the Internet by cluster head node 5, and isolated node 7 does not add the vehicle node of any bunch; Comprise a cluster head node 5 and one for one bunch 8 with interior nodes 6 of putting on an arrow.
Territory, a road 3 comprises section 4,4, one, more than one section and comprises one to put on an arrow 8; The link protocol of communication between base station 2 and cluster head node 5 adopts Wimax agreement, and the link protocol communicated between cluster head node 5 with bunch interior nodes 6 adopts Wifi; Cluster head node 5 has two interfaces, receives the message of Wimax and Wifi respectively; Vehicle node in moving process, by home address unique identification, without the need to co-located care-of address; Cluster head node 5 is generally made up of public full-sized car, such as bus.
Vehicle-mounted net adopts above-mentioned hierarchical system structure, effectively can strengthen the stability of vehicle-mounted net, thus reduces mobile handoff number of times.
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 territory, the road ID as territory, an overall route prefix unique identification road, in territory, a road, territory, the road ID of all base stations is identical, territory, the road ID of the address that vehicle node obtains in territory, same road is identical, and base station and the value of vehicle node road territory ID equal to go the same way mutually territory, the road ID of couple in router in territory; Part II is the road section ID in a unique identification section, and the road section ID of the address that vehicle node obtains from same section is all identical, and vehicle node road section ID value equals the road section ID of base station in this section; Part III is vehicle ID, the vehicle node in its unique identification section; The road section ID of couple in router and vehicle ID are 0, and the vehicle ID of base station is 0.
Cluster head node is arranged on the public full-sized car in vehicle-mounted net, after public full-sized car starts, cluster head node is started, cluster head node periodic broadcasting message, Message Payload comprises the IPv6 address of base station in node type, speed, move angle, geographical coordinate, working channel and section, place.
Be arranged on isolated node on not common full-sized car node after not common full-sized car node starts, scan all channels, by the cluster head node that the message receiving cluster head node broadcast selects the link association time the longest, and add by this cluster head node place bunch, then oneself is labeled as a bunch interior nodes, the message of periodic broadcasting simultaneously, Message Payload comprises own node type, translational speed, move angle and address coordinate, and the speed of its cluster head node, move angle, geographical coordinate and working channel.
Each vehicle node is furnished with global positioning system, for obtaining the address coordinate of oneself; If vehicle node V igeographical coordinate be (x i, y i), vehicle node V jgeographical coordinate be (x j, y j), the speed v i of vehicle node Vi, vehicle node V jspeed be v j, the move angle of vehicle node Vi is θ i, vehicle node V jmove angle be θ j, the transmission radius of vehicle node is r, so, and vehicle node V iand V jlink connect hours T ijfor:
T ij = ( a 2 + c 2 ) r 2 - ( ad - bc ) 2 - ( ab + cd ) a 2 + c 2 - - - ( 1 )
Wherein, parameter a, b, c, d adopt following formulae discovery:
a=v icosθ i-v jcosθ j,
b=x i-x j,
c=v isinθ i-v jsinθ j,
d=y i-y j,
The geographical coordinate of neighbor base stations position and the working channel of neighbor base stations are preserved in base station.
The cluster head node that bunch interior nodes selects the link association time the longest, topological structure therefore bunch is more stable, and mobile handoff frequency is lower, and communication quality is better.
Fig. 3 is mobile handoff schematic flow sheet between cluster head node section of the present invention.When cluster head node C1 is by when moving in the determined section S1 of base station B1, base station B1 determines its geographical coordinate by the message receiving cluster head node C1 broadcast; If base station B1 detects that cluster head node C1 is about to leave the communication range of oneself, then be about to as cluster head node C1 the section that enters using with the determined section of cluster head node C1 place geographical coordinate immediate neighbor base stations B2, if the couple in router that base station B1 and base station B2 belongs to territory, Yu Qie road, same road is R1, so base station B1 performs following steps:
Step 101: start.
Step 102: base station B1 sends to couple in router R1 and switches message, and Message Payload is the IPv6 address of cluster head node C1 and base station B2.
Step 103: the base station that cluster head node C1 associates is updated to base station B2 after receiving and switching message by couple in router R1, returns switch acknowledgment message to base station B1 simultaneously.
Step 104: after base station B1 receives switch acknowledgment message, send to cluster head node C1 and switch message, Message Payload is the working channel of base station B2.
Step 105: after cluster head node C1 receives and switches message, adopts base station B2 working channel directly to realize link switching, and starts to receive data from base station B2.
Step 106: terminate.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
Fig. 4 is mobile handoff schematic flow sheet between territory, cluster head node road of the present invention.When cluster head node C1 is by when moving in the determined section S1 of base station B1, base station B1 determines its geographical coordinate by the message receiving cluster head node C1 broadcast; If base station B1 detects that cluster head node C1 is about to leave the communication range of oneself, base station B1 is then about to as cluster head node C1 the section that enters using with the determined section of cluster head node C1 place geographical coordinate immediate neighbor base stations B2, if base station B1 and base station B2 belongs to the territory and the couple in router in territory, road, B1 place, base station is R1 of not going the same way, the couple in router in territory, road, B2 place, base station is R2, and so base station B1 performs following steps:
Step 201: start.
Step 202: base station B1 sends to couple in router R2 and switches message, and Message Payload is the IPv6 address of cluster head node C1 and base station B2.
Step 203: after couple in router R2 receives and switches message, different territories, road is belonged to by judgement base station, the IPv6 address B1 of base station B1, couple in router R2 sets up the incidence relation of cluster head node C1 and base station B2, obtain the couple in router HR transmission switching message in territory, road, home address place to cluster head node C1, Message Payload is the IPv6 address of cluster head node C1 simultaneously.
Step 204: the couple in router that cluster head node C1 associates is updated to couple in router R2 after receiving and switching message by couple in router HR, returns switch acknowledgment message to couple in router R2 simultaneously.
Step 205: after couple in router R2 receives switch acknowledgment message, sends switch acknowledgment message to base station B1, and after base station B1 receives switch acknowledgment message, send to cluster head node C1 and switch message, Message Payload is the working channel of base station B2.
Step 206: after cluster head node C1 receives and switches message, adopts the working channel of base station B2 directly to realize the link switching with base station B2, and starts to receive data from base station B2.
Step 207: terminate.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
Fig. 5 is of the present invention bunch of interior nodes and IPv6 node communication schematic flow sheet.Cluster head node at bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, the couple in router in territory, road, cluster head node C1 place is R1, when the couple in router of IPv6 node N1 place subnet is couple in router R, the communication process of bunch interior nodes M1 and IPv6 node N1 is:
Step 301: start.
Step 302: destination address is that the Packet Generation of IPv6 node N1 is to cluster head node C1 by bunch interior nodes M1, after cluster head node C1 receives packet, packet is forwarded to base station B1, after base station B1 receives packet, packet is forwarded to couple in router R1 by the incidence relation of record bunch interior nodes M1 and cluster head node C1 simultaneously.
Step 303: after couple in router R1 receives packet, the incidence relation of record bunch interior nodes M1 and cluster head node C1, set up the tunnel with couple in router R simultaneously, and by tunnel by Packet Generation to couple in router R, after couple in router R receives packet, packet is transmitted to IPv6 node N1.
First the packet that step 304:IPv6 node N1 returns arrives couple in router R, couple in router R routes a data packet to couple in router R1 by tunnel, couple in router R1 is according to bunch interior nodes M1 of record and the incidence relation of cluster head node C1 and the incidence relation of cluster head node C1 and base station B1, packet is transmitted to a bunch interior nodes M1 according to bunch interior nodes M1 of record and the incidence relation of cluster head node C1 by packet repeating base station B1, base station B1.
Step 305: terminate.
The life span of the incidence relation of bunch interior nodes M1 and cluster head node C1, to after date, is deleted from base station B1 and couple in router R1 automatically.
In above-mentioned mobile handoff process, bunch interior nodes can correctly communicate with IPv6 node, thus ensure that vehicle node can obtain network service timely.
Fig. 6 is mobile handoff schematic flow sheet in of the present invention bunch of interior nodes section.Cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is couple in router R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as bunch interior nodes M1 be about to enter bunch.
If cluster head node C1 belongs to same section with cluster head node C2 and bunch interior nodes M1 communicates with IPv6 node, so cluster head node C1 performs following steps:
Step 401: start.
Step 402: cluster head node C1 sends to base station B1 and switches message, and Message Payload is the IPv6 address of bunch interior nodes M1 and cluster head node C2.
Step 403: after base station B1 receives and switches message, is updated to cluster head node C2 by a bunch cluster head node for interior nodes M1 association, returns switch acknowledgment message simultaneously to cluster head node C1.
Step 404: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2.
Step 405: a bunch interior nodes M1 directly realizes the link switching with cluster head node C2 by the working channel of cluster head node C2 after receiving and switching message, and start to receive data from cluster head node C2.
Step 406: terminate.
Because network layer handoff carried out before link layer switches, therefore cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
Fig. 7 is mobile handoff schematic flow sheet between of the present invention bunch of interior nodes section.Cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is couple in router R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as M1 be about to enter bunch.
But cluster head node C1 and cluster head node C2 belongs to identical territory, road different sections, and the base station in section, cluster head node C2 place is B2, if bunch interior nodes M1 communicates with IPv6 node, so cluster head node C1 performs following steps:
Step 501: start.
Step 502: cluster head node C1 sends to base station B2 and switches message, and Message Payload is the IPv6 address of bunch interior nodes M1 and cluster head node C2.
Step 503: base station B1 sets up the incidence relation of bunch interior nodes M1 and cluster head node C2 after receiving and switching message, sends to couple in router R1 simultaneously and switches message.
Step 504: after couple in router R1 receives and switches message, a bunch cluster head node for interior nodes M1 association is updated to cluster head node C2, return switch acknowledgment message to base station B2 simultaneously, after base station B2 receives switch acknowledgment message, send switch acknowledgment message to cluster head node C1.
Step 505: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2.
Step 506: after a bunch interior nodes M1 receives and switches message, adopts the working channel of cluster head node C2 directly to realize the link switching with cluster head node C2, and starts to receive packet from cluster head node C2.
Step 507: terminate.
Because network layer handoff carried out before link layer switches, therefore cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
Fig. 8 is mobile handoff schematic flow sheet between territory, of the present invention bunch of interior nodes road.Cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as M1 be about to enter bunch.
If cluster head node C1 and cluster head node C2 belongs to different territories, road, the base station in section, cluster head node C2 place is base station B2, the couple in router in territory, place road is couple in router R2, bunch interior nodes M1 is carrying out communicating with IPv6 node and the couple in router of this IPv6 node place subnet is couple in router R3, and so cluster head node C1 performs following steps:
Step 601: start.
Step 602: cluster head node C1 sends to base station B2 and switches message, and Message Payload is the IPv6 address of a bunch interior nodes M1, cluster head node C2 and couple in router R3.
Step 603: after base station B2 receives and switches message, set up the incidence relation of bunch interior nodes M1 and cluster head node C2, send to couple in router R2 simultaneously and switch message, after couple in router R2 receives and switches message, set up the incidence relation of bunch interior nodes M1 and cluster head node C2, send to couple in router R3 simultaneously and switch message.
Step 604: after couple in router R3 receives and switches message, set up with the tunnel of couple in router R2 and be that the Packet Generation of bunch interior nodes M1 is to couple in router R2 by this tunnel by destination address, then switch acknowledgment message is returned to couple in router R2, after couple in router R2 receives switch acknowledgment message, switch acknowledgment message is sent to base station B2, after base station B2 receives switch acknowledgment message, send switch acknowledgment message to cluster head node C1.
Step 605: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2.
Step 606: after a bunch interior nodes M1 receives and switches message, adopts the working channel of cluster head node C2 directly to realize the link switching with cluster head node C2, and starts to receive packet from cluster head node C2.
Step 607: terminate.
Because network layer handoff carried out before link layer switches, therefore cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
In above-mentioned mobile handoff process, network layer handoff carried out before link layer switches, in network layer handoff process, vehicle node without the need to address configuration also without the need to the mobile handoff process of participation network layer, because of this reduce network layer mobile handoff postpone and packet loss; In link layer handover procedure, vehicle node, without the need to scanning all channels, because the mobile handoff this reducing link layer postpones and packet loss, improves communication quality.
After bunch interior nodes leaves the cluster head node communication range at its place bunch, if its neighbor node does not have cluster head node, bunch interior nodes is then converted to isolated node, then by receiving the message of neighbours' bunch interior nodes broadcast, select the cluster head node H1 that nearest apart from oneself, and working channel is converted to the working channel of cluster head node H1, after the communication range entering cluster head node H1, the link switching of direct realization and cluster head node H1, add cluster head node H1 place bunch, oneself is converted to a bunch interior nodes simultaneously.
In sum, the invention provides a kind of vehicle-mounted net mobile switch method based on cross-layer, described In-vehicle networking, by mobile handoff implementation method provided by the present invention, can keep the continuity communicated in moving process, shorten mobile handoff to postpone, reduce bursts dropping ratio, thus improve the service quality of vehicle-mounted net, the present invention can be applicable to the fields such as road conditions monitoring, vehicle management, be with a wide range of applications,, therefore, this technology has very high promotional value.
The invention provides the thinking of the vehicle-mounted net mobile switch method based on cross-layer; 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 (3)

1. based on a vehicle-mounted net mobile switch method for cross-layer, it is characterized in that, described vehicle-mounted net comprises couple in router, base station, and travels vehicle node totally three category nodes on road; Couple in router is connected with the backbone network of the Internet; A base station is only connected with a couple in router, and the couple in router accessing Internet by being connected; Vehicle node realizes the communication with the Internet by base station; The whole vehicle-mounted web area of all base station coverage in described vehicle-mounted net; The region that all base stations be connected with a couple in router cover is set to territory, a road, the region of a base station coverage is set to section;
Vehicle node comprises three classes: cluster head node, bunch interior nodes and isolated node; Cluster head node has route forwarding function, and a bunch interior nodes does not have route forwarding function; Cluster head node and base station direct communication, bunch interior nodes is realized and the communication of the Internet by cluster head node, and isolated node does not add the vehicle node of any bunch; One bunch comprises a cluster head node and one with interior nodes of putting on an arrow;
Territory, a road comprises more than one section, and a section comprises one to put on an arrow; The link protocol communicated between base station and cluster head node is Wimax agreement, and the link protocol communicated between cluster head node with bunch interior nodes is Wifi; Cluster head node has two communication interfaces, receives the message of Wimax and Wifi respectively; 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 territory, the road ID as territory, an overall route prefix unique identification road, in territory, a road, territory, the road ID of all base stations is identical, territory, the road ID of the address that vehicle node obtains in territory, same road is identical, and base station and the value of vehicle node road territory ID equal to go the same way mutually territory, the road ID of couple in router in territory; Part II is the road section ID in a unique identification section, and the road section ID of the address that vehicle node obtains from same section is all identical, and vehicle node road section ID value equals the road section ID of base station in this section; Part III is vehicle ID, the vehicle node in its unique identification section; The road section ID of couple in router and vehicle ID are 0, and the vehicle ID of base station is 0;
Cluster head node is arranged on the public full-sized car in vehicle-mounted net, after public full-sized car starts, cluster head node is started, cluster head node periodic broadcasting message, Message Payload comprises the IPv6 address of base station in node type, speed, move angle, geographical coordinate, working channel and section, place;
Be arranged on isolated node on not common full-sized car node after not common full-sized car node starts, scan all channels, by the cluster head node that the message receiving cluster head node broadcast selects the link association time the longest, and add by this cluster head node place bunch, then oneself is labeled as a bunch interior nodes, the message of periodic broadcasting simultaneously, Message Payload comprises own node type, translational speed, move angle and address coordinate, and the speed of its cluster head node, move angle, geographical coordinate and working channel;
Each vehicle node is furnished with global positioning system, for obtaining the address coordinate of oneself; If vehicle node V igeographical coordinate be (x i, y i), vehicle node V jgeographical coordinate be (x j, y j), vehicle node V ispeed v i, vehicle node V jspeed be v j, vehicle node V imove angle be θ i, vehicle node V jmove angle be θ j, the transmission radius of vehicle node is r, so, and vehicle node V iand V jlink connect hours T ijfor:
T ij = ( a 2 + c 2 ) r 2 - ( ad - bc ) 2 - ( ab + cd ) a 2 + c 2
Wherein, parameter a, b, c, d adopt following formulae discovery:
a=v icosθ i-v jcosθ j,
b=x i-x j,
c=v isinθ i-v jsinθ j,
d=y i-y j,
The geographical coordinate of neighbor base stations position and the working channel of neighbor base stations are preserved in base station;
When cluster head node C1 is by when moving in the determined section S1 of base station B1, base station B1 determines its geographical coordinate by the message receiving cluster head node C1 broadcast; If base station B1 detects that cluster head node C1 is about to leave the communication range of oneself, then be about to as cluster head node C1 the section that enters using with the determined section of cluster head node C1 place geographical coordinate immediate neighbor base stations B2, if the couple in router that base station B1 and base station B2 belongs to territory, Yu Qie road, same road is R1, so base station B1 performs following steps:
Step 101: start;
Step 102: base station B1 sends to couple in router R1 and switches message, and Message Payload is the IPv6 address of cluster head node C1 and base station B2;
Step 103: the base station that cluster head node C1 associates is updated to base station B2 after receiving and switching message by couple in router R1, returns switch acknowledgment message to base station B1 simultaneously;
Step 104: after base station B1 receives switch acknowledgment message, send to cluster head node C1 and switch message, Message Payload is the working channel of base station B2;
Step 105: after cluster head node C1 receives and switches message, adopts base station B2 working channel directly to realize link switching, and starts to receive data from base station B2;
Step 106: terminate;
When cluster head node C1 is by when moving in the determined section S1 of base station B1, base station B1 determines its geographical coordinate by the message receiving cluster head node C1 broadcast; If base station B1 detects that cluster head node C1 is about to leave the communication range of oneself, base station B1 is then about to as cluster head node C1 the section that enters using with the determined section of cluster head node C1 place geographical coordinate immediate neighbor base stations B2, if base station B1 and base station B2 belongs to the territory and the couple in router in territory, road, B1 place, base station is R1 of not going the same way, the couple in router in territory, road, B2 place, base station is R2, and so base station B1 performs following steps:
Step 201: start;
Step 202: base station B1 sends to couple in router R2 and switches message, and Message Payload is the IPv6 address of cluster head node C1 and base station B2;
Step 203: after couple in router R2 receives and switches message, different territories, road is belonged to by judgement base station, the IPv6 address B1 of base station B1, couple in router R2 sets up the incidence relation of cluster head node C1 and base station B2, obtain the couple in router HR transmission switching message in territory, road, home address place to cluster head node C1, Message Payload is the IPv6 address of cluster head node C1 simultaneously;
Step 204: the couple in router that cluster head node C1 associates is updated to couple in router R2 after receiving and switching message by couple in router HR, returns switch acknowledgment message to couple in router R2 simultaneously;
Step 205: after couple in router R2 receives switch acknowledgment message, sends switch acknowledgment message to base station B1, and after base station B1 receives switch acknowledgment message, send to cluster head node C1 and switch message, Message Payload is the working channel of base station B2;
Step 206: after cluster head node C1 receives and switches message, adopts the working channel of base station B2 directly to realize the link switching with base station B2, and starts to receive data from base station B2;
Step 207: terminate;
Cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is couple in router R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as bunch interior nodes M1 be about to enter bunch;
If cluster head node C1 belongs to same section with cluster head node C2 and bunch interior nodes M1 communicates with IPv6 node, so cluster head node C1 performs following steps:
Step 401: start;
Step 402: cluster head node C1 sends to base station B1 and switches message, and Message Payload is the IPv6 address of bunch interior nodes M1 and cluster head node C2;
Step 403: after base station B1 receives and switches message, is updated to cluster head node C2 by a bunch cluster head node for interior nodes M1 association, returns switch acknowledgment message simultaneously to cluster head node C1;
Step 404: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2;
Step 405: a bunch interior nodes M1 directly realizes the link switching with cluster head node C2 by the working channel of cluster head node C2 after receiving and switching message, and start to receive data from cluster head node C2;
Step 406: terminate;
Cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1;
Cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is couple in router R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as M1 be about to enter bunch;
But cluster head node C1 and cluster head node C2 belongs to identical territory, road different sections, and the base station in section, cluster head node C2 place is B2, if bunch interior nodes M1 communicates with IPv6 node, so cluster head node C1 performs following steps:
Step 501: start;
Step 502: cluster head node C1 sends to base station B2 and switches message, and Message Payload is the IPv6 address of bunch interior nodes M1 and cluster head node C2;
Step 503: base station B1 sets up the incidence relation of bunch interior nodes M1 and cluster head node C2 after receiving and switching message, sends to couple in router R1 simultaneously and switches message;
Step 504: after couple in router R1 receives and switches message, a bunch cluster head node for interior nodes M1 association is updated to cluster head node C2, return switch acknowledgment message to base station B2 simultaneously, after base station B2 receives switch acknowledgment message, send switch acknowledgment message to cluster head node C1;
Step 505: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2;
Step 506: after a bunch interior nodes M1 receives and switches message, adopts the working channel of cluster head node C2 directly to realize the link switching with cluster head node C2, and starts to receive packet from cluster head node C2;
Step 507: terminate;
Cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1;
Cluster head node when bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, when the couple in router in territory, road, cluster head node C1 place is R1, cluster head node C1 obtains the geographical coordinate of bunch interior nodes M1 by receiving bunch message of interior nodes M1 broadcast; If cluster head node C1 detects that bunch interior nodes M1 is about to leave the communication range of oneself, then using with bunch geographical coordinate immediate neighbours' cluster head node C2 place, interior nodes M1 place bunch as M1 be about to enter bunch;
If cluster head node C1 and cluster head node C2 belongs to different territories, road, the base station in section, cluster head node C2 place is base station B2, the couple in router in territory, place road is couple in router R2, bunch interior nodes M1 is carrying out communicating with IPv6 node and the couple in router of this IPv6 node place subnet is couple in router R3, and so cluster head node C1 performs following steps:
Step 601: start;
Step 602: cluster head node C1 sends to base station B2 and switches message, and Message Payload is the IPv6 address of a bunch interior nodes M1, cluster head node C2 and couple in router R3;
Step 603: after base station B2 receives and switches message, set up the incidence relation of bunch interior nodes M1 and cluster head node C2, send to couple in router R2 simultaneously and switch message, after couple in router R2 receives and switches message, set up the incidence relation of bunch interior nodes M1 and cluster head node C2, send to couple in router R3 simultaneously and switch message;
Step 604: after couple in router R3 receives and switches message, set up with the tunnel of couple in router R2 and be that the Packet Generation of bunch interior nodes M1 is to couple in router R2 by this tunnel by destination address, then switch acknowledgment message is returned to couple in router R2, after couple in router R2 receives switch acknowledgment message, switch acknowledgment message is sent to base station B2, after base station B2 receives switch acknowledgment message, send switch acknowledgment message to cluster head node C1;
Step 605: after cluster head node C1 receives switch acknowledgment message, send to bunch interior nodes M1 and switch message, Message Payload is the working channel of cluster head node C2;
Step 606: after a bunch interior nodes M1 receives and switches message, adopts the working channel of cluster head node C2 directly to realize the link switching with cluster head node C2, and starts to receive packet from cluster head node C2;
Step 607: terminate;
Cluster head node C2 is after the packet receiving bunch interior nodes M1, if a bunch interior nodes M1 does not have link to be linked into cluster head node C2, cluster head node C2 then preserves the packet of bunch interior nodes M1, by the time after a bunch interior nodes M1 link is linked into cluster head node C2, then the packet of buffer memory is forwarded to a bunch interior nodes M1.
2. the vehicle-mounted net mobile switch method based on cross-layer according to claim 1, it is characterized in that, cluster head node at bunch interior nodes M1 place bunch is cluster head node C1, the base station in section, cluster head node C1 place is base station B1, the couple in router in territory, road, cluster head node C1 place is R1, when the couple in router of IPv6 node N1 place subnet is couple in router R, the communication process of bunch interior nodes M1 and IPv6 node N1 is:
Step 301: start;
Step 302: destination address is that the Packet Generation of IPv6 node N1 is to cluster head node C1 by bunch interior nodes M1, after cluster head node C1 receives packet, packet is forwarded to base station B1, after base station B1 receives packet, packet is forwarded to couple in router R1 by the incidence relation of record bunch interior nodes M1 and cluster head node C1 simultaneously;
Step 303: after couple in router R1 receives packet, the incidence relation of record bunch interior nodes M1 and cluster head node C1, set up the tunnel with couple in router R simultaneously, and by tunnel by Packet Generation to couple in router R, after couple in router R receives packet, packet is transmitted to IPv6 node N1;
First the packet that step 304:IPv6 node N1 returns arrives couple in router R, couple in router R routes a data packet to couple in router R1 by tunnel, couple in router R1 is according to bunch interior nodes M1 of record and the incidence relation of cluster head node C1 and the incidence relation of cluster head node C1 and base station B1, packet is transmitted to a bunch interior nodes M1 according to bunch interior nodes M1 of record and the incidence relation of cluster head node C1 by packet repeating base station B1, base station B1;
Step 305: terminate;
The life span of the incidence relation of bunch interior nodes M1 and cluster head node C1, to after date, is deleted from base station B1 and couple in router R1 automatically.
3. the vehicle-mounted net mobile switch method based on cross-layer according to claim 1, it is characterized in that, after bunch interior nodes leaves the cluster head node communication range at its place bunch, if its neighbor node does not have cluster head node, bunch interior nodes is then converted to isolated node, then by receiving the message of neighbours' bunch interior nodes broadcast, select the cluster head node H1 that nearest apart from oneself, and working channel is converted to the working channel of cluster head node H1, after the communication range entering cluster head node H1, the link switching of direct realization and cluster head node H1, add cluster head node H1 place bunch, oneself is converted to a bunch interior nodes simultaneously.
CN201310117534.8A 2013-04-07 2013-04-07 A kind of vehicle-mounted net mobile switch method based on cross-layer Active CN103237326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310117534.8A CN103237326B (en) 2013-04-07 2013-04-07 A kind of vehicle-mounted net mobile switch method based on cross-layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310117534.8A CN103237326B (en) 2013-04-07 2013-04-07 A kind of vehicle-mounted net mobile switch method based on cross-layer

Publications (2)

Publication Number Publication Date
CN103237326A CN103237326A (en) 2013-08-07
CN103237326B true CN103237326B (en) 2015-09-02

Family

ID=48885336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310117534.8A Active CN103237326B (en) 2013-04-07 2013-04-07 A kind of vehicle-mounted net mobile switch method based on cross-layer

Country Status (1)

Country Link
CN (1) CN103237326B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780573B (en) * 2015-04-15 2018-12-25 新华三技术有限公司 A kind of link switch-over method and device
CN106453640B (en) * 2016-11-25 2019-03-01 常熟理工学院 A kind of communication means of intelligence car networking
CN107086962A (en) * 2017-04-01 2017-08-22 天津理工大学 It is a kind of towards vehicle networking by multi-hop reaction equation clustering method
CN107272707B (en) * 2017-08-03 2020-11-27 郑州轻工业学院 IPV 6-based automatic unmanned vehicle track fuzzy PID following control method
CN107395759B (en) * 2017-08-28 2020-04-21 常熟理工学院 Reliable intelligent Internet of vehicles data communication implementation method
CN111182475B (en) * 2020-01-14 2021-12-24 东南大学 Cluster switching method in vehicle-to-vehicle communication

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065446A (en) * 2010-12-20 2011-05-18 北京航空航天大学 Topology control system and method orienting group mobile environment
CN102695220A (en) * 2012-06-25 2012-09-26 常熟理工学院 IPv6-based mobile ad hoc network mobile handover realizing method
CN102905247A (en) * 2012-10-09 2013-01-30 常熟理工学院 Urban vehicle-mounted network moving switching method based on IPv6 (Internet Protocol Version 6)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7869906B2 (en) * 2007-01-08 2011-01-11 Ford Global Technologies Wireless gateway apparatus and method of bridging data between vehicle based and external data networks

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065446A (en) * 2010-12-20 2011-05-18 北京航空航天大学 Topology control system and method orienting group mobile environment
CN102695220A (en) * 2012-06-25 2012-09-26 常熟理工学院 IPv6-based mobile ad hoc network mobile handover realizing method
CN102905247A (en) * 2012-10-09 2013-01-30 常熟理工学院 Urban vehicle-mounted network moving switching method based on IPv6 (Internet Protocol Version 6)

Also Published As

Publication number Publication date
CN103237326A (en) 2013-08-07

Similar Documents

Publication Publication Date Title
CN103237326B (en) A kind of vehicle-mounted net mobile switch method based on cross-layer
CN102202356B (en) Implementation method for mobile handover of vehicle network
CN103947235B (en) Gateway function for mobile-relay system
CN102695220B (en) IPv6-based mobile ad hoc network mobile handover realizing method
CN105246118A (en) Wireless network communication realization method based on positioning information
CN104270461B (en) Car network implementation method
CN103167484B (en) Method for accessing a car connected network to an IPv6 network
CN102263831B (en) Realization method of vehicular Ad Hoc network (VANET) communication system based on IPv6
CN107333313B (en) Reliable intelligent Internet of vehicles routing implementation method
CN104869563B (en) A kind of Realization Method of Communication of city car networking of future generation
CN103475752B (en) What the vehicle-mounted net address of a kind of next generation configured realizes method
CN103312811A (en) Method for connecting vehicle-mounted network into IPv6 internet
CN102905247B (en) Urban vehicle-mounted network moving switching method based on IPv6 (Internet Protocol Version 6)
CN105187529A (en) Internet of vehicles implementation method based on positioning information
CN103036785B (en) Routing method of city vehicle-mounted net
JP3803963B2 (en) Subnet connection switching communication system
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
CN103476084B (en) What a kind of wireless sensor network route based on cross-layer communicated realizes method
CN103067996B (en) Method for movement and transfer of urban vehicle-mounted network
CN102938907A (en) Full IP (Internet Protocol) wireless sensor network mobile method
Wang et al. A cross-layer mobility handover scheme for IPv6-based vehicular networks
Bi et al. Effective packet loss elimination in IP mobility support for vehicular networks
CN103152772B (en) Cross-layer based communication method of 6LoWPAN wireless sensor network
CN107395759B (en) Reliable intelligent Internet of vehicles data communication implementation method

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

Effective date of registration: 20201224

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

TR01 Transfer of patent right
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.

CP02 Change in the address of a patent holder