CN113329459A - Method and device for fast switching of ad hoc network node link - Google Patents

Method and device for fast switching of ad hoc network node link Download PDF

Info

Publication number
CN113329459A
CN113329459A CN202110572037.1A CN202110572037A CN113329459A CN 113329459 A CN113329459 A CN 113329459A CN 202110572037 A CN202110572037 A CN 202110572037A CN 113329459 A CN113329459 A CN 113329459A
Authority
CN
China
Prior art keywords
subnet
mobile node
address
care
new
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.)
Pending
Application number
CN202110572037.1A
Other languages
Chinese (zh)
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.)
Qingdao Kunyuan Communication Technology Co ltd
Original Assignee
Qingdao Kunyuan Communication Technology Co ltd
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 Qingdao Kunyuan Communication Technology Co ltd filed Critical Qingdao Kunyuan Communication Technology Co ltd
Priority to CN202110572037.1A priority Critical patent/CN113329459A/en
Publication of CN113329459A publication Critical patent/CN113329459A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0055Transmission or use of information for re-establishing the radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention discloses a method and a device for fast switching ad hoc network node links, wherein the method comprises the following steps: the mobile node in the cross coverage of the local subnet and the foreign subnet calculates the predicted time value for moving out of the local subnet and the foreign subnet, and when the predicted time value reaches a certain condition, the mobile node triggers the inter-network switching; after initiating inter-network switching, the mobile node automatically configures the care-of address, and after successful configuration, sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway; the mobile node receives a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table; and the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally joins the new subnet to complete the node link switching.

Description

Method and device for fast switching of ad hoc network node link
Technical Field
The invention relates to the technical field of self-organizing network switching, in particular to a method and a device for quickly switching a self-organizing network node link.
Background
A hierarchical ad-hoc network, consisting of freely moving terminals, which uses omni-directional and directional antennas for the transmission of wireless communications, is a network that does not require a fixed infrastructure. In an ad-hoc network, all end nodes have forwarding capability, which allows free interaction of information between nodes without relying entirely on existing infrastructure.
Hierarchical ad hoc network mobility handoff refers to the process of a mobile node handing off from one subnet to another. The influence of the handover process on the network performance mainly relates to a link layer and a network layer, when a mobile node performs mobile handover, a large amount of signaling needs to be interacted between an attribution gateway and a new gateway, a large amount of signaling interaction can cause a small handover delay, the continuity of communication cannot be ensured during mobile handover between node networks, and a large packet loss can be caused in the handover process.
Disclosure of Invention
The present invention provides a method and an apparatus for fast switching an ad hoc network node link, and aims to solve the above problems.
The invention provides a method for fast switching of a self-organized network node link, which comprises the following steps:
s1, a mobile node in a cross coverage range of a local subnet and a foreign subnet calculates a predicted time value for moving out of the local subnet and a predicted time value for moving out of the foreign subnet according to received notification messages broadcasted by the two subnets, and when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching;
s2, the mobile node automatically configures the care-of address after initiating the inter-network switching, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to a new subnet gateway;
s3, the mobile node receives a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
and S4, the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete node link switching.
The invention provides a fast switching device for a node link of an ad hoc network, which comprises:
a mobile detection module: the method comprises the steps that a mobile node in a local subnet and a foreign subnet cross coverage range calculates a predicted time value for moving out of a local subnet and a predicted time value for moving out of a foreign subnet according to received notification messages broadcasted by the two subnets, and when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching;
a care-of address configuration module: the mobile node is used for automatically configuring the care-of address after initiating the internetwork switching, and after the successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway;
a duplicate detection confirmation module: the mobile node is used for receiving a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
an information registration module: and the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete the node link switching.
An embodiment of the present invention further provides an ad hoc network node link fast switching device, including: the system comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the computer program realizes the steps of the self-networking node link fast switching method when being executed by the processor.
The embodiment of the invention also provides a computer-readable storage medium, wherein an implementation program for information transfer is stored on the computer-readable storage medium, and the program is executed by a processor to implement the steps of the method for fast switching the self-networking node link.
By adopting the embodiment of the invention, the mobile detection process can be completed before the mobile node is completely moved out of the home subnet, so that the time delay caused by the mobile detection is well reduced, meanwhile, the data packet forwarded by the home gateway can still be received in the detection process, the packet loss caused in the network layer switching process is reduced, and the network switching performance is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for fast switching of an ad hoc network node link according to an embodiment of the present invention;
FIG. 2 is a flow chart of an overall framework for handover of a mobile node according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a mobile node initiating an inter-network handover in accordance with an embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus for fast switching of an ad hoc network node link according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an ad hoc network node link fast switching device according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise. Furthermore, the terms "mounted," "connected," and "connected" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Method embodiment
According to an embodiment of the present invention, a method for fast switching of an ad hoc network node link is provided, fig. 1 is a flowchart of the method for fast switching of an ad hoc network node link according to the embodiment of the present invention, and as shown in fig. 1, the method for fast switching of an ad hoc network node link according to the embodiment of the present invention specifically includes:
s1, a mobile node in a cross coverage range of a local subnet and a foreign subnet calculates a predicted time value for moving out of the local subnet and a predicted time value for moving out of the foreign subnet according to received notification messages broadcasted by the two subnets, when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching, and a schematic diagram for the mobile node to initiate inter-network switching is shown in FIG. 3.
Specifically, the mobile node starts detecting the information of the foreign subnet while still being in the home subnet and remaining connected with the home gateway node, meanwhile, receiving the notification messages broadcast by the local subnet gateway, namely the home gateway, and the foreign subnet gateway, namely the new subnet gateway, acquiring the position information of the subnet gateway node sending the notification message according to the notification message, predicting the predicted time value of the mobile node moving out of the local subnet and the predicted time value of the mobile node moving out of the foreign subnet based on the position information auxiliary detection mechanism of the subnet gateway node, according to the preset threshold value, when the mobile node detects that the predicted time value of moving out of the local subnet is lower than the preset threshold value and the predicted time value of moving out of the foreign subnet is higher than the preset threshold value, the fast switching process is triggered, the mobile node initiates inter-network switching, and sending a switching notification message to the home gateway, wherein the notification message contains the network prefix of the new subnet to be moved in and the address information of the new subnet gateway.
The mobile node needs to periodically detect whether the signal strength of the home gateway is lower than a threshold value, and then trigger the node to switch to a new subnet.
S2, the mobile node automatically configures the care-of address after initiating inter-network switching, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway;
specifically, the specific method for automatically configuring the care-of address includes: the mobile node automatically configures a care-of address with a network number as the network prefix of the switched subnet according to the switched foreign subnet, namely the network prefix and the original address of the new subnet, and sends mobile node switching registration information to the new subnet gateway after successful configuration, wherein the registration information sent to the new gateway contains the care-of address automatically configured by the mobile node to be detected; meanwhile, the registration information sent to the new gateway contains the hop-by-hop header information for establishing the reverse path.
S3, the mobile node receives a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
specifically, when the new subnet gateway checks whether the care-of address is reused in the new subnet according to the registration information table, if the care-of address is reused in the subnet, the new subnet gateway configures a new care-of address that is not used in the subnet according to the registration information table, and the new care-of address is included in the confirmation information packet and replied to the mobile node.
And S4, the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete the node link switching.
Specifically, after the link of the mobile node is switched to a new subnet, an announcement message is sent to a new gateway, after receiving the announcement message, the new gateway can forward a packet to the mobile node according to the new care-of address, and after receiving the switching announcement message, the new gateway sends a response message to the mobile node to formally complete the link switching of the mobile node.
Fig. 2 is a flowchart of an overall frame for mobile node handover, and it can be seen from fig. 2 that after a mobile node sends a registration packet to a new subnet gateway, the new subnet gateway sends a packet to a selected gateway according to a topology table to establish a specific host route lease, the selected gateway establishes a specific host route to the mobile node according to the packet, so that stable communication between links is possible, and in order to enable continuous and stable communication between links, the new subnet gateway needs to periodically select a gateway for establishing a specific host route.
The fast handover process may be triggered by the home gateway, or may be triggered by the mobile node, where the case of the home gateway initiating handover is: when the mobile node is in the communication range of the home subnet and the new subnet gateway, the home subnet gateway predicts that the mobile node will move out of the home subnet and move into the new subnet according to the detection information, the home subnet gateway needs to perform control information interaction with the new subnet gateway, when the home subnet has enough information about that the mobile node is about to move into the new subnet, the home subnet generates switching information to the mobile node, and the mobile node starts to switch into the new subnet after receiving the switching command.
If the home gateway is switched by network triggering, the home gateway and the new gateway complete control message interaction, and simultaneously have information to be switched by the mobile node, although the home gateway does not receive the agent notification message sent by the mobile node, the home gateway can actively send the agent notification message to the mobile node to mark the start of the switching of the mobile node, wherein the agent notification message contains gateway information to be moved into a new subnet by the mobile node; after receiving the agent notification message of the home gateway, the mobile node sends a binding message to the home gateway, and requires the home gateway to update the new care-of address information of the binding mobile node. When the home gateway receives the packet forwarded to the mobile node, a tunnel needs to be established between the home gateway and the new gateway, and the packet is forwarded to the new gateway through the tunnel and then to the mobile node.
By adopting the embodiment of the invention, the mobile detection process can be completed before the mobile node is completely moved out of the home subnet, so that the time delay caused by the mobile detection is well reduced, meanwhile, the data packet forwarded by the home gateway can still be received in the detection process, the packet loss caused in the network layer switching process is reduced, and the network switching performance is improved.
Device embodiment
According to an embodiment of the present invention, there is provided a fast switching apparatus for an ad hoc network node link, fig. 4 is a schematic diagram of the fast switching apparatus for an ad hoc network node link according to an embodiment of the present invention, and as shown in fig. 4, the fast switching apparatus for an ad hoc network node link according to an embodiment of the present invention specifically includes:
the movement detection module 40: the mobile node in the cross coverage of the local subnet and the foreign subnet calculates the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet according to the received notification messages broadcasted by the two subnets, and when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching;
the movement detection module 40 is specifically configured to: the mobile node acquires the position information of the subnet gateway node which sends the notification message according to the notification message, and predicts the predicted time value of the mobile node moving out of the subnet and the predicted time value of the mobile node moving out of a foreign subnet based on the position information auxiliary detection mechanism of the subnet gateway node.
Care-of address configuration module 42: the system is used for automatically configuring the care-of address after the mobile node initiates the internetwork switching, and after the successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway;
the care-of address configuration module 42 is specifically configured to: the mobile node automatically configures the care-of address according to the switched foreign subnet, namely the new subnet network prefix and the original address, and after the configuration is successful, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table containing the care-of address automatically configured by the mobile node to be detected and hop-by-hop header information for establishing a reverse path to the new subnet gateway.
Duplicate detection confirmation module 44: the mobile node is used for receiving a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
the duplicate detection confirmation module 44 is specifically configured to: and checking whether the care-of address is repeatedly used in the new subnet according to the registration information table, and if the care-of address is repeatedly used in the subnet, the new subnet gateway configures a new care-of address which is not used in the subnet according to the registration information table, contains the new care-of address in the confirmation information packet and replies to the mobile node.
The information registration module 46: and the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete the node link switching.
The embodiment of the present invention is a system embodiment corresponding to the above method embodiment, and specific operations of each module may be understood with reference to the description of the method embodiment, which is not described herein again.
Device embodiment II
An embodiment of the present invention provides an ad hoc network node link fast switching device, as shown in fig. 5, including: a memory 50, a processor 52 and a computer program stored on the memory 50 and executable on the processor 52, which computer program, when executed by the processor 52, carries out the following method steps:
s1, a mobile node in a cross coverage range of a local subnet and a foreign subnet calculates a predicted time value for moving out of the local subnet and a predicted time value for moving out of the foreign subnet according to received notification messages broadcasted by the two subnets, when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching, and a schematic diagram for the mobile node to initiate inter-network switching is shown in FIG. 3.
Specifically, the mobile node starts detecting the information of the foreign subnet while still being in the home subnet and remaining connected with the home gateway node, meanwhile, receiving the notification messages broadcast by the local subnet gateway, namely the home gateway, and the foreign subnet gateway, namely the new subnet gateway, acquiring the position information of the subnet gateway node sending the notification message according to the notification message, predicting the predicted time value of the mobile node moving out of the local subnet and the predicted time value of the mobile node moving out of the foreign subnet based on the position information auxiliary detection mechanism of the subnet gateway node, according to the preset threshold value, when the mobile node detects that the predicted time value of moving out of the local subnet is lower than the preset threshold value and the predicted time value of moving out of the foreign subnet is higher than the preset threshold value, the fast switching process is triggered, the mobile node initiates inter-network switching, and sending a switching notification message to the home gateway, wherein the notification message contains the network prefix of the new subnet to be moved in and the address information of the new subnet gateway.
The mobile node needs to periodically detect whether the signal strength of the home gateway is lower than a threshold value, and then trigger the node to switch to a new subnet.
S2, the mobile node automatically configures the care-of address after initiating inter-network switching, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway;
specifically, the specific method for automatically configuring the care-of address includes: the mobile node automatically configures a care-of address with a network number as the network prefix of the switched subnet according to the switched foreign subnet, namely the network prefix and the original address of the new subnet, and sends mobile node switching registration information to the new subnet gateway after successful configuration, wherein the registration information sent to the new gateway contains the care-of address automatically configured by the mobile node to be detected; meanwhile, the registration information sent to the new gateway contains the hop-by-hop header information for establishing the reverse path.
S3, the mobile node receives a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
specifically, when the new subnet gateway checks whether the care-of address is reused in the new subnet according to the registration information table, if the care-of address is reused in the subnet, the new subnet gateway configures a new care-of address that is not used in the subnet according to the registration information table, and the new care-of address is included in the confirmation information packet and replied to the mobile node.
And S4, the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete the node link switching.
Specifically, after the link of the mobile node is switched to a new subnet, an announcement message is sent to a new gateway, after receiving the announcement message, the new gateway can forward a packet to the mobile node according to the new care-of address, and after receiving the switching announcement message, the new gateway sends a response message to the mobile node to formally complete the link switching of the mobile node.
Fig. 2 is a flowchart of an overall frame for mobile node handover, and it can be seen from fig. 2 that after a mobile node sends a registration packet to a new subnet gateway, the new subnet gateway sends a packet to a selected gateway according to a topology table to establish a specific host route lease, the selected gateway establishes a specific host route to the mobile node according to the packet, so that stable communication between links is possible, and in order to enable continuous and stable communication between links, the new subnet gateway needs to periodically select a gateway for establishing a specific host route.
The fast handover process may be triggered by the home gateway, or may be triggered by the mobile node, where the case of the home gateway initiating handover is: when the mobile node is in the communication range of the home subnet and the new subnet gateway, the home subnet gateway predicts that the mobile node will move out of the home subnet and move into the new subnet according to the detection information, the home subnet gateway needs to perform control information interaction with the new subnet gateway, when the home subnet has enough information about that the mobile node is about to move into the new subnet, the home subnet generates switching information to the mobile node, and the mobile node starts to switch into the new subnet after receiving the switching command.
If the home gateway is switched by network triggering, the home gateway and the new gateway complete control message interaction, and simultaneously have information to be switched by the mobile node, although the home gateway does not receive the agent notification message sent by the mobile node, the home gateway can actively send the agent notification message to the mobile node to mark the start of the switching of the mobile node, wherein the agent notification message contains gateway information to be moved into a new subnet by the mobile node; after receiving the agent notification message of the home gateway, the mobile node sends a binding message to the home gateway, and requires the home gateway to update the new care-of address information of the binding mobile node. When the home gateway receives the packet forwarded to the mobile node, a tunnel needs to be established between the home gateway and the new gateway, and the packet is forwarded to the new gateway through the tunnel and then to the mobile node.
Device embodiment III
The embodiment of the present invention provides a computer-readable storage medium, on which an implementation program for information transmission is stored, and when being executed by the processor 52, the implementation program implements the following method steps:
s1, a mobile node in a cross coverage range of a local subnet and a foreign subnet calculates a predicted time value for moving out of the local subnet and a predicted time value for moving out of the foreign subnet according to received notification messages broadcasted by the two subnets, when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching, and a schematic diagram for the mobile node to initiate inter-network switching is shown in FIG. 3.
Specifically, the mobile node starts detecting the information of the foreign subnet while still being in the home subnet and remaining connected with the home gateway node, meanwhile, receiving the notification messages broadcast by the local subnet gateway, namely the home gateway, and the foreign subnet gateway, namely the new subnet gateway, acquiring the position information of the subnet gateway node sending the notification message according to the notification message, predicting the predicted time value of the mobile node moving out of the local subnet and the predicted time value of the mobile node moving out of the foreign subnet based on the position information auxiliary detection mechanism of the subnet gateway node, according to the preset threshold value, when the mobile node detects that the predicted time value of moving out of the local subnet is lower than the preset threshold value and the predicted time value of moving out of the foreign subnet is higher than the preset threshold value, the fast switching process is triggered, the mobile node initiates inter-network switching, and sending a switching notification message to the home gateway, wherein the notification message contains the network prefix of the new subnet to be moved in and the address information of the new subnet gateway.
The mobile node needs to periodically detect whether the signal strength of the home gateway is lower than a threshold value, and then trigger the node to switch to a new subnet.
S2, the mobile node automatically configures the care-of address after initiating inter-network switching, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway;
specifically, the specific method for automatically configuring the care-of address includes: the mobile node automatically configures a care-of address with a network number as the network prefix of the switched subnet according to the switched foreign subnet, namely the network prefix and the original address of the new subnet, and sends mobile node switching registration information to the new subnet gateway after successful configuration, wherein the registration information sent to the new gateway contains the care-of address automatically configured by the mobile node to be detected; meanwhile, the registration information sent to the new gateway contains the hop-by-hop header information for establishing the reverse path.
S3, the mobile node receives a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
specifically, when the new subnet gateway checks whether the care-of address is reused in the new subnet according to the registration information table, if the care-of address is reused in the subnet, the new subnet gateway configures a new care-of address that is not used in the subnet according to the registration information table, and the new care-of address is included in the confirmation information packet and replied to the mobile node.
And S4, the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete the node link switching.
Specifically, after the link of the mobile node is switched to a new subnet, an announcement message is sent to a new gateway, after receiving the announcement message, the new gateway can forward a packet to the mobile node according to the new care-of address, and after receiving the switching announcement message, the new gateway sends a response message to the mobile node to formally complete the link switching of the mobile node.
Fig. 2 is a flowchart of an overall frame for mobile node handover, and it can be seen from fig. 2 that after a mobile node sends a registration packet to a new subnet gateway, the new subnet gateway sends a packet to a selected gateway according to a topology table to establish a specific host route lease, the selected gateway establishes a specific host route to the mobile node according to the packet, so that stable communication between links is possible, and in order to enable continuous and stable communication between links, the new subnet gateway needs to periodically select a gateway for establishing a specific host route.
The fast handover process may be triggered by the home gateway, or may be triggered by the mobile node, where the case of the home gateway initiating handover is: when the mobile node is in the communication range of the home subnet and the new subnet gateway, the home subnet gateway predicts that the mobile node will move out of the home subnet and move into the new subnet according to the detection information, the home subnet gateway needs to perform control information interaction with the new subnet gateway, when the home subnet has enough information about that the mobile node is about to move into the new subnet, the home subnet generates switching information to the mobile node, and the mobile node starts to switch into the new subnet after receiving the switching command.
If the home gateway is switched by network triggering, the home gateway and the new gateway complete control message interaction, and simultaneously have information to be switched by the mobile node, although the home gateway does not receive the agent notification message sent by the mobile node, the home gateway can actively send the agent notification message to the mobile node to mark the start of the switching of the mobile node, wherein the agent notification message contains gateway information to be moved into a new subnet by the mobile node; after receiving the agent notification message of the home gateway, the mobile node sends a binding message to the home gateway, and requires the home gateway to update the new care-of address information of the binding mobile node. When the home gateway receives the packet forwarded to the mobile node, a tunnel needs to be established between the home gateway and the new gateway, and the packet is forwarded to the new gateway through the tunnel and then to the mobile node.
The computer-readable storage medium of this embodiment includes, but is not limited to: ROM, RAM, magnetic or optical disks, and the like.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for fast switching of self-networking node links is characterized by comprising the following steps:
s1, a mobile node in a cross coverage range of a local subnet and a foreign subnet calculates a predicted time value for moving out of the local subnet and a predicted time value for moving out of the foreign subnet according to received notification messages broadcasted by the two subnets, and when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching;
s2, the mobile node automatically configures the care-of address after initiating the inter-network switching, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to a new subnet gateway;
s3, the mobile node receives a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
and S4, the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete node link switching.
2. The method of claim 1, wherein the method comprises the step of performing link fast handover,
the specific method for predicting the predicted time value of the mobile node moving out of the local subnet and the predicted time value of the mobile node moving out of the foreign subnet through the received notification messages broadcast by the two subnets in step S1 is as follows: the mobile node acquires the position information of the subnet gateway node which sends the notification message according to the notification message, and predicts the predicted time value of the mobile node moving out of the subnet and the predicted time value of the mobile node moving out of a foreign subnet based on a position information auxiliary detection mechanism of the subnet gateway node;
the reaching of a certain condition is specifically as follows: the predicted time value of the mobile node moving out of the local subnet is lower than a preset threshold value, and the predicted time value of the mobile node moving out of the foreign subnet is higher than the preset threshold value.
3. The method according to claim 1, wherein the specific method for automatically configuring the care-of address in step S2 is as follows: the mobile node automatically configures the care-of address according to the switched foreign subnet, namely the new subnet network prefix and the original address, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table containing the care-of address automatically configured by the mobile node to be detected and hop-by-hop header information for establishing a reverse path to the new subnet gateway.
4. The method according to claim 1, wherein, in step S3, when the new subnet gateway checks whether the care-of address is reused in the new subnet according to the registration information table, if the care-of address is reused in the subnet, the new subnet gateway configures a new care-of address that is not used in the subnet according to the registration information table, and the new care-of address is included in the acknowledgement packet and replies to the mobile node.
5. An apparatus for fast switching of ad hoc network node link, comprising:
a mobile detection module: the method comprises the steps that a mobile node in a local subnet and a foreign subnet cross coverage range calculates a predicted time value for moving out of a local subnet and a predicted time value for moving out of a foreign subnet according to received notification messages broadcasted by the two subnets, and when the predicted time value for moving out of the local subnet and the predicted time value for moving out of the foreign subnet reach certain conditions, the mobile node triggers inter-network switching;
a care-of address configuration module: the mobile node is used for automatically configuring the care-of address after initiating the internetwork switching, and after the successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table to the new subnet gateway;
a duplicate detection confirmation module: the mobile node is used for receiving a confirmation information packet obtained after the new subnet gateway verifies whether the care-of address is repeatedly used in the new subnet according to the care-of address repeated verification grouping message and the registration information table;
an information registration module: and the mobile node sends a registration group to the new subnet gateway according to the received confirmation information packet, and formally adds the registration group into the new subnet to complete the node link switching.
6. The device according to claim 5, wherein the movement detection module is specifically configured to:
and the mobile node acquires the position information of the subnet gateway node which sends the notification message according to the notification message, and predicts the predicted time value of the mobile node moving out of the local subnet and the predicted time value of the mobile node moving out of the foreign subnet based on the position information auxiliary detection mechanism of the subnet gateway node.
7. The apparatus of claim 5, wherein the care-of address configuration module is specifically configured to:
the mobile node automatically configures the care-of address according to the switched foreign subnet, namely the new subnet network prefix and the original address, and after successful configuration, the mobile node sends a care-of address repeated check grouping message and a mobile node registration information table containing the care-of address automatically configured by the mobile node to be detected and hop-by-hop header information for establishing a reverse path to the new subnet gateway.
8. The device of claim 5, wherein the duplicate detection confirmation module is specifically configured to:
and checking whether the care-of address is repeatedly used in the new subnet according to the registration information table, and if the care-of address is repeatedly used in the subnet, the new subnet gateway configures a new care-of address which is not used in the subnet according to the registration information table, contains the new care-of address in the confirmation information packet and replies to the mobile node.
9. An ad hoc network node link fast switching device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which when executed by the processor implements the steps of the ad hoc network node link fast switching method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which an information transfer implementing program is stored, which, when executed by a processor, implements the steps of the ad hoc network node link fast switching method according to any one of claims 1 to 4.
CN202110572037.1A 2021-05-25 2021-05-25 Method and device for fast switching of ad hoc network node link Pending CN113329459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110572037.1A CN113329459A (en) 2021-05-25 2021-05-25 Method and device for fast switching of ad hoc network node link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110572037.1A CN113329459A (en) 2021-05-25 2021-05-25 Method and device for fast switching of ad hoc network node link

Publications (1)

Publication Number Publication Date
CN113329459A true CN113329459A (en) 2021-08-31

Family

ID=77416865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110572037.1A Pending CN113329459A (en) 2021-05-25 2021-05-25 Method and device for fast switching of ad hoc network node link

Country Status (1)

Country Link
CN (1) CN113329459A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747495A (en) * 2014-01-02 2014-04-23 湖南大学 Hybrid fast handover (HFH) method adapted to mobile worldwide interoperability for microwave access (WiMAX) network
US20180234901A1 (en) * 2017-02-14 2018-08-16 Samsung Electronics Co., Ltd. Apparatus for performing handoff in wireless communication system and method therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103747495A (en) * 2014-01-02 2014-04-23 湖南大学 Hybrid fast handover (HFH) method adapted to mobile worldwide interoperability for microwave access (WiMAX) network
US20180234901A1 (en) * 2017-02-14 2018-08-16 Samsung Electronics Co., Ltd. Apparatus for performing handoff in wireless communication system and method therefor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
叶发达: ""分层自组网中支持节点移动的路由算法研究"", 《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》 *

Similar Documents

Publication Publication Date Title
US20230074899A1 (en) Link switching method and apparatus, link switching configuration method and apparatus, communication node, and medium
JP6439823B2 (en) Radio base station and method thereof
JP6317491B2 (en) Mobile communication network, infrastructure device, mobile communication terminal, and method.
KR102503605B1 (en) Communication system
EP1929828B1 (en) Hard handoff from a wireless local area network to a cellular telephone network
US11233722B2 (en) System and method for network topology management
KR101411968B1 (en) Self-configuration of donor/relay node relationship
US20210360496A1 (en) Methods and apparatus for using conditional handovers for wireless backhaul
US20220015176A1 (en) Methods and apparatus for using redundant links in wireless backhaul
US20090061881A1 (en) Seamless transmission of data to mobile nodes during fast handovers in a mobile communication system
US20060072532A1 (en) Method and system for proactive setup of multicast distribution tree at a neighbor cell or subnet during a call
KR20150040989A (en) Always-on bearer for small data transfers in lte systems
CN113950110B (en) Method and device for switching Uu path to direct communication path and indicating candidate relay UE, storage medium, terminal and base station
JP2014522164A (en) Communication terminal and method
JP2014524222A (en) Communication terminal and method
WO2009083529A1 (en) Auto configuration of mobility entity
KR102499999B1 (en) Rapid Block Discovery and Recovery in Multi-Hop Routing
US10587431B2 (en) Tunnel establishment method and apparatus
Dias et al. Seamless horizontal and vertical mobility in VANET
CN113329459A (en) Method and device for fast switching of ad hoc network node link
CN111656809A (en) System and user equipment
CN101243628A (en) Traffic transmission path relocation method for radio communication system
KR101658237B1 (en) Mobility management method of mobile router in mobile communication network and apparatus therefor
JP2022091001A (en) Communication device, method for controlling communication device, and program
JP2017046210A (en) Radio communication system and base station

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210831