Mobile network switching method, system, medium and device

Through the weighted binary graph matching algorithm, the mobile trend of mobile nodes is predicted, and the strategy of pre-establishing tunnels and cached data packets is used to solve the problem of delay and packet loss during network handover, and efficient network handover and data transmission is achieved .

CN119095130BActive Publication Date: 2025-02-11SHENYANG AEROSPACE ELECTRIC POWER EQUIP CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411515499.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-02-11
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

The existing MIPv6 protocol has a long delay, high packet loss rate during network switching, and a long time to detect repeated addresses, which affects network efficiency.

Method used

Weighted binary graph matching algorithm is used to predict the movement trend of mobile nodes, and to achieve fast network handover and packet transmission through pre-establishing strategies for tunneling and cached packets.

Benefits of technology

It reduces network switching delay, reduces data loss rate, improves network efficiency and user experience, and has a clear structure for monitoring and debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095130B_ABST
    Figure CN119095130B_ABST
Patent Text Reader

Abstract

The present invention discloses a mobile network switching method, system, medium and device, wherein the system comprises a mobile node movement trend prediction unit and a mobile network switching execution unit, the mobile node movement trend prediction unit is communicatively connected with the mobile network switching execution unit, and the mobile network switching execution unit is communicatively connected with the current mobile access gateway. The present invention has a clear structure and clear steps in each process, which is conducive to quickly identifying and solving problems that may occur during the switching process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile network technology, and in particular to a mobile network switching method, system, medium and device. Background Art

[0002] With the rapid advancement of mobile Internet and wireless communication technology, mobile devices such as smart phones, tablet computers, and laptops have become widely popular, and people's demand for mobile IP has grown rapidly. Users expect to be able to continuously access wireless networks in different environments and enjoy true mobile communications. Therefore, achieving seamless and smooth network access and switching of mobile nodes has become the focus of research on mobile IP core technologies. Mobile IPv6 (MIPv6) was developed by the IETF. Since the first draft was released in November 1996, it has undergone 24 revisions and was officially standardized in June 2004.

[0003] In the standard MIPv6 protocol framework, the mobile node (MN) needs to participate in the entire network switching process. This process involves steps such as mobility detection, new network address configuration, duplicate address detection, and binding update. During this process, the mobile node is often in an inaccessible state, resulting in long delays and high packet loss rates in the standard MIPv6 protocol during switching. To address these challenges, the IETF has gradually introduced several improvement measures. These solutions include Fast Mobile IPv6 (FMIPv6) based on Layer 2 (L2) prediction, Hierarchical MIPv6 (HMIPv6) using Mobility Anchor Points (MAP), and Fast Hierarchical MIPv6 (FHMIPv6) that combines the advantages of these two methods. These improvements aim to reduce switching delays and data loss.

[0004] With the development of next generation networks, mobility, heterogeneity and the integration of wireless mobile technology with the Internet are deepening. Proxy Mobile IPv6 (PMIPv6) as a micro-mobility management protocol has been widely used and developed. Through this software-based mobility management, the continuity and stability of communication can be effectively maintained when the user node changes its location within the coverage area.

[0005] In the existing standard MIPv6 protocol and its extensions, the Duplicate Address Detection (DAD) process takes a long time, so many methods are dedicated to reducing the DAD time to reduce the switching delay, such as Advance Duplicate Address Detection (ADAD), Optimistic Duplicate Address Detection (ODAD) and Proactive Duplicate Address Detection (PDAD), which do improve the network efficiency to a certain extent. However, these methods have their own limitations: some methods may increase the complexity of network equipment and thus increase the network load; while others may not be suitable for use in large-scale network environments.

[0006] In a proxy mobile IPv6 domain including multiple Local Mobility Anchors (LMAs), there is often a problem of being unable to effectively coordinate the cooperation among multiple LMAs. Summary of the invention

[0007] To this end, the technical problem to be solved by the present invention is to provide a mobile network switching method, system, medium and device with a clear structure and clear process steps, which is conducive to quickly identifying and solving problems that may arise during the switching process.

[0008] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0009] A mobile network switching method comprises the following steps:

[0010] S1) The local mobile anchor point uses a weighted bipartite graph matching algorithm to determine the moving direction of the mobile node;

[0011] S2) the current mobile access gateway sends a handover initiation message to the new mobile access gateway to which the mobile node is close according to the mobile trend of the mobile node determined in step S1), wherein the handover initiation message includes the mobile node ID, the 'P' probe bit and the mobile node home network prefix;

[0012] S3) The new mobile access gateway establishes a mapping table from the mobile node ID to the home network prefix according to the received handover initiation message, and sends a handover confirmation message to the current mobile gateway, and at the same time sends a handshake initialization message containing the 'F' response bit and the mobile node ID to the current mobile access gateway; wherein the setting of the 'F' response bit indicates that the current mobile access gateway starts forwarding data packets to the new mobile access gateway, and the forwarded data packets contain the response of the F response bit, the current sending sequence number and the reply sequence number, the current field strength, the suppression timer time, the estimated handover time and the handover sequence number;

[0013] S4) After the current mobile access gateway receives the handshake completion confirmation message, the current mobile access gateway establishes a tunnel for forwarding the data packet of the mobile node and forwards the data packet of the mobile node to the new mobile access gateway through the tunnel. After receiving the data packet of the mobile node, the new mobile access gateway caches the received data packet of the mobile node; wherein, before the current mobile access gateway sends the data packet of the mobile node to the new mobile access gateway, the current mobile access gateway modifies the IP header of the data packet to ensure that the data is correctly routed to the new mobile access gateway;

[0014] S5) The mobile node performs handover at the data link layer and changes the access link to the new mobile access gateway;

[0015] S6) The new mobile access gateway forwards the cached data packet to the mobile node to complete the forwarding of the data packet. At the same time, the new mobile access gateway performs a binding update process with the local mobile anchor point to complete the mobile network handover and ensure that all subsequent data packets are correctly routed to the mobile node.

[0016] In the above mobile network switching method, in step S1), when the weighted bipartite graph matching algorithm is used to determine the moving trend of the mobile node, the bipartite graph matching algorithm is first used to find the maximum match, and then the best match is obtained by dynamically optimizing the dynamic weight and the depth-first method to predict the moving trend of the mobile node; wherein the dynamic weight is calculated by the following formula:

[0017]

[0018] In the formula, For mobile nodes In the area Signal quality score within For mobile nodes In the area User preference ratings within For mobile nodes In the area User historical behavior scores within; For mobile nodes With area distance scores between the center and the edge; , , as well as They are , , and The weighting coefficient of .

[0019] The above mobile network switching method, Calculated by the following formula:

[0020]

[0021] In the formula, the signal function is used to obtain the mobile node In the area Signal strength within max Expressed as the maximum signal strength, signal min Expressed as minimum signal strength.

[0022] The above mobile network switching method, Calculated by the following formula:

[0023]

[0024] In the formula, the f function is used to obtain the mobile node In the area The historical access frequency within; f max Expressed as the maximum access frequency, f min Expressed as the minimum access frequency.

[0025] The above mobile network switching method, Calculated by the following formula:

[0026]

[0027] In the formula, the activate function is used to obtain the mobile node In the area Historical activity score within; activate max Represents the maximum historical activity score, activate min Expressed as the minimum historical activity score.

[0028] The above mobile network switching method, Calculated by the following formula:

[0029]

[0030] Where, d function is used to calculate the mobile node To area The average value of the center distance and the edge distance; b is represented by the bias, and τ is represented by the attenuation coefficient.

[0031] A system for performing mobile network switching using the above mobile network switching method comprises:

[0032] A mobile node moving trend prediction unit, used to determine the moving trend of the mobile node using a weighted bipartite graph matching algorithm;

[0033] A mobile network switching execution unit, configured to send a mobile network switching instruction to the current mobile access gateway according to the moving trend of the mobile node, and the current mobile access gateway sends a switching initiation message to the new mobile access gateway;

[0034] The mobile node movement trend prediction unit is communicatively connected to the mobile network switching execution unit, and the mobile network switching execution unit is communicatively connected to the current mobile access gateway.

[0035] In the above system, a data collection module and a dynamic weight calculation module are provided in the mobile node movement trend prediction unit. The data collection module is used to collect the average value of the distance from the mobile node to the center and the edge of a certain area, as well as the signal strength, historical access frequency and historical activity score of the mobile node in the area. The dynamic weight calculation module is used to calculate the dynamic weight for the weighted bipartite graph matching algorithm in the area based on the average value of the distance from the mobile node to the center and the edge of a certain area, as well as the signal strength, historical access frequency and historical activity score of the mobile node in the area.

[0036] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the mobile network switching method is implemented.

[0037] A computer device includes a readable storage medium, a processor, and a computer program stored in the readable storage medium and executable on the processor, wherein the computer program implements the mobile network switching method when executed by the processor.

[0038] The technical solution of the present invention achieves the following beneficial technical effects:

[0039] 1. By introducing the Fastest PMIPv6 mechanism, this solution achieves high-efficiency processing when the mobile node (MN) performs network switching. This efficiency is mainly reflected in the rapid establishment of new network connections and ensuring the continuous transmission of data packets.

[0040] 2. Due to the pre-established tunnel and pre-cached data packet strategy, the network delay during the switching process is greatly shortened, making the user almost unaware of the switching process.

[0041] 3. By starting the data cache processing in the pre-switching stage, the data loss problem that may occur in the traditional switching process is effectively avoided.

[0042] 4. Due to the clear structure and clear steps of each process, the present invention is easy to monitor and debug, and is conducive to quickly identifying and solving problems that may occur during the switching process.

[0043] 5. The predictive switching method in the present invention has the following advantages:

[0044] Load balancing: Taking network quality into account in the prediction algorithm can help distribute user load and avoid the situation where some areas are overloaded while others are idle;

[0045] Strong adaptability: The algorithm uses dynamic optimization weights, which can dynamically adjust weights according to network conditions and user behavior, making switching decisions highly adaptable;

[0046] Reduce costs: By predicting, sorting and selecting the optimal switching area, unnecessary switching and information transmission and reception are reduced, thereby reducing network costs;

[0047] Improve the success rate: Dynamic planning is performed through network characteristics and user behavior characteristics, and the weight coefficient is continuously adjusted to improve the success rate. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a working principle diagram of the mobile network switching system in the present invention;

[0049] Figure 2 A flow chart of mobile network switching in the present invention;

[0050] Figure 3 It is a flow chart of network switching of mobile nodes in PMIPv6 domain;

[0051] Figure 4 It is a signaling flow chart of mobile network switching in the present invention;

[0052] Figure 5 The schematic diagram of a computer device capable of switching between mobile networks. DETAILED DESCRIPTION

[0053] The present invention is further described below with reference to examples.

[0054] like Figure 1 As shown, the mobile network switching system of the present invention includes a mobile node movement trend prediction unit and a mobile network switching execution unit. The mobile node movement trend prediction unit is communicatively connected to the mobile network switching execution unit, and the mobile network switching execution unit is communicatively connected to the current mobile access gateway.

[0055] Among them, the mobile node movement trend prediction unit is used to determine the movement trend of the mobile node by using the weighted bipartite graph matching algorithm, and the mobile node movement trend prediction unit is provided with a data collection module and a dynamic weight calculation module, the data collection module is used to collect the average value of the distance from the mobile node to the center and the edge of a certain area, and the signal strength, historical access frequency and historical activity score of the mobile node in the area, and the dynamic weight calculation module is used to calculate the dynamic weight for the weighted bipartite graph matching algorithm in the area according to the average value of the distance from the mobile node to the center and the edge of the area, and the signal strength, historical access frequency and historical activity score of the mobile node in the area; the mobile network switching execution unit is used to send a mobile network switching instruction to the current mobile access gateway according to the movement trend of the mobile node, and the current mobile access gateway sends a switching initiation message to the new mobile access gateway.

[0056] In the present invention, the dynamic weight is calculated by the following formula:

[0057]

[0058] In the formula, For mobile nodes In the area Signal quality score within For mobile nodes In the area User preference ratings within For mobile nodes In the area User historical behavior scores within; For mobile nodes With area distance scores between the center and the edge; , , as well as They are , , and The weighting coefficient of .

[0059] in, Calculated by the following formula:

[0060]

[0061] In the formula, the signal function is used to obtain the mobile node In the area Signal strength within max Expressed as the maximum signal strength, signal min Expressed as minimum signal strength.

[0062] Calculated by the following formula:

[0063]

[0064] In the formula, the f function is used to obtain the mobile node In the area The historical access frequency within; f max Expressed as the maximum access frequency, f min Expressed as the minimum access frequency.

[0065] Calculated by the following formula:

[0066]

[0067] In the formula, the activate function is used to obtain the mobile node In the area Historical activity score within; activate max Represents the maximum historical activity score, activate min Expressed as the minimum historical activity score.

[0068] Calculated by the following formula:

[0069]

[0070] Where, d function is used to calculate the mobile node To area The average value of the center distance and the edge distance; b is represented by the bias, and τ is represented by the attenuation coefficient.

[0071] When a mobile node switches from one access point to another, the mobile access gateway detects the movement of the mobile node, interacts with the local mobile anchor point, and processes related signaling. For the mobile node, these operations are transparent to the user, as if its location has never changed, thus ensuring service continuity and seamless access. This processing method greatly reduces the operational burden of the mobile node and improves network efficiency and user experience.

[0072] In the existing mobile network switching methods, there are methods of predicting the position of the mobile node through GPS and preparing for the mobile network switching, and there are also methods of sending a switching initiation message to the mobile access gateway in the adjacent area of ​​the current mobile access gateway through multicast. The former has certain misjudgments, especially for the mobile node moving in the cross-coverage area of ​​two mobile access gateways, which may cause the mobile node to frequently switch networks, while the latter will make the network full of more invalid multicast messages, occupying the network bandwidth and affecting the network communication. The present invention makes a more accurate prediction through the movement trend of the mobile node, which can not only avoid the frequent network switching of the mobile node in the cross-coverage area of ​​two mobile access gateways, but also reduce the invalid multicast messages in the network.

[0073] Specifically, Figure 2 As shown, the mobile network switching system of the present invention is used to perform mobile network switching, and the specific steps are as follows:

[0074] S1) The local mobile anchor point uses a weighted bipartite graph matching algorithm to determine the moving trend of the mobile node; specifically, when using the weighted bipartite graph matching algorithm to determine the moving trend of the mobile node, the bipartite graph matching algorithm is first used to find the maximum match, and then the dynamic optimization dynamic weight and depth-first method are used to obtain the best match to predict the moving trend of the mobile node;

[0075] S2) the current mobile access gateway sends a handover initiation message to the new mobile access gateway to which the mobile node is close according to the mobile trend of the mobile node determined in step S1), wherein the handover initiation message includes the mobile node ID, the 'P' probe bit and the mobile node home network prefix;

[0076] S3) The new mobile access gateway establishes a mapping table from the mobile node ID to the home network prefix according to the received initiation switching message, and sends a switching confirmation message to the current mobile gateway, and at the same time sends a handshake initialization message containing an 'F' response bit and the mobile node ID to the current mobile access gateway; wherein, the setting of the 'F' response bit indicates that the current mobile access gateway starts forwarding data packets to the new mobile access gateway, ensuring that data will not be lost during the MN switching to the new network, and that data can be transferred immediately after the MN successfully accesses, and the data packet forwarded by the current mobile access gateway to the new mobile access gateway contains a response to the F response bit, the current sending sequence number and the reply sequence number, the current field strength, the suppression timer time, the estimated switching time and the switching sequence number;

[0077] S4) After the current mobile access gateway receives the handshake completion confirmation message, the current mobile access gateway establishes a tunnel for forwarding the data packet of the mobile node and forwards the data packet of the mobile node to the new mobile access gateway through the tunnel. After receiving the data packet of the mobile node, the new mobile access gateway caches the received data packet of the mobile node and waits for the mobile node to complete the link switching. Before the current mobile access gateway sends the data packet of the mobile node to the new mobile access gateway, the current mobile access gateway modifies the IP header of the data packet to ensure that the data is correctly routed to the new mobile access gateway.

[0078] S5) The mobile node performs handover at the data link layer and changes the access link to the new mobile access gateway;

[0079] S6) The new mobile access gateway forwards the cached data packet to the mobile node to complete the forwarding of the data packet. At the same time, the new mobile access gateway performs a binding update process with the local mobile anchor point to complete the mobile network handover and ensure that all subsequent data packets are correctly routed to the mobile node.

[0080] Moreover, in the present invention, distributed policy management is also performed on the local mobile anchor points, that is, multiple local mobile anchor points can share context information and achieve collaborative control. The distributed policy is to utilize a predictive multicast mechanism based on the second layer (L2) and a packet priority caching strategy, aiming to minimize the delay and packet loss rate during network switching. In this way, when the mobile node (MN) is expected to perform a network switch, the system can prepare resources in advance and efficiently forward data through the multicast mechanism. At the same time, the packet priority caching strategy ensures the priority processing and storage of critical data, so that the communication quality can be quickly restored and maintained when the network status changes. This combination of strategies greatly improves the stability and response speed of the network.

[0081] From the historical evolution of mobility management, it is essentially a resource management strategy. Different mobility management solutions target different layers or specific aspects of the network to solve mobility-related problems, and each layer of the network protocol stack corresponds to its own mobility management technology. In order to provide a comprehensive technical perspective, Table 1 summarizes the common mobility management technologies in different protocol layers:

[0082] Table 1 Mobility management technologies

[0083]

[0084] With the advancement of mobility management technology, future development will tend to be diversified and practical, especially in terms of adaptability, self-organization and security mechanisms. At the IP layer, mobility management protocols have received extensive attention from research institutions due to their good scalability and practicality. The Mobile IPv6 (MIPv6) protocol particularly solves the problem of host mobility in an IPv6 network environment and provides a widely applicable network layer mobility management solution. This enables mobile nodes to seamlessly switch between networks using different technologies while maintaining connections at the IP layer to ensure that the continuity of data communications is not affected.

[0085] For example, when a mobile node switches from one access point to another, the mobile access gateway detects the movement of the mobile node, interacts with the local mobile anchor point, and processes related signaling. For the mobile node, these operations are transparent to the user, as if its location has never changed, thus ensuring service continuity and seamless access. This processing method greatly reduces the operational burden of the mobile node and improves network efficiency and user experience.

[0086] In the PMIPv6 protocol, the Proxy Care-of Address (PCoA) and the Local Mobility Anchor Address (LMAA, LMAAddress) play a core role. They are responsible for establishing a bidirectional tunnel between the Mobile Access Gateway (MAG) and the Local Mobility Anchor (LMA). PCoA is a global IPv6 address located on the external interface of the MAG and is used as a temporary address for the mobile node. In the local mobility anchor, the mapping relationship between PCoA and the mobile node is stored in the Binding Cache Entry (BCE) list to ensure that all data packets sent to the mobile node are forwarded to the mobile node through this bidirectional tunnel of the mobile access gateway. LMAA is the global address of the local mobility anchor, which represents the local mobility anchor itself and is used as the destination address of the proxy binding update message. This enables the system to quickly update the location information of the mobile node when it moves, maintaining the continuity of data transmission. In addition, multiple network prefixes may be allocated between the mobile node and the mobile access gateway, each of which serves as the mobile node's home network prefix (MN-HNP, Mobile Node's Home Network Prefix), providing the mobile node with an identity in the network. Another key element is the mobile node identifier (MN-ID, MobileNodeIdentifier), which is a stable identifier of the mobile node in the PMIPv6 domain, used to assist the mobile entity to confirm the identity and location of the mobile node. The effective coordination of these components ensures the seamless transmission of data and efficient management of the network during the mobile process of the mobile node.

[0087] In the PMIPv6 protocol, the Proxy Binding Update message (PBU) and the Proxy Binding Acknowledgement message (PBA) are two key signaling messages extended from MIPv6. They play a core role in the protocol, ensuring the smooth switching of mobile nodes and the continuity of network connections.

[0088] The PBU is sent by the mobile access gateway on behalf of the mobile node to the local mobility anchor point. It can be a registration request or a binding update request. The PBU mainly contains two key pieces of information: one is the network prefix of the mobile node, which is part of the identity and location information of the mobile node; the other is the current PCoA of the mobile access gateway, which is the global IPv6 address of the external interface of the mobile access gateway and is mainly used to establish or update the communication tunnel between the mobile access gateway and the local mobility anchor point. This address allows the mobile access gateway to quickly and effectively update the communication path between the mobile node and the local mobility anchor point when the mobile node changes its location, ensuring the continuity of data transmission and the stability of network connection.

[0089] In the PMIPv6 protocol, the mobile access gateway monitors the entry and exit of mobile nodes. Figure 3As shown in the figure, when the mobile node enters the coverage area, the mobile access gateway identifies and obtains the ID and related policy files of the mobile node. The mobile access gateway then sends an authentication request to the Authentication Authorization Accounting (AAA) server to verify the network access authority of the MN. After confirmation, the mobile access gateway sends a proxy binding update message containing the ID information of the mobile node to the local mobility anchor point. The local mobility anchor point that receives the PBU allocates a home network prefix to the mobile node, and sends a proxy binding confirmation message containing the MN-HNP back to the mobile access gateway, and establishes a bidirectional tunnel and binding cache with the mobile access gateway. After the mobile access gateway updates the binding list and tunnel information, it builds a data channel for the mobile node and sends a routing announcement (RA) message to the mobile node, which contains the MN-HNP assigned by the local mobility anchor point. In this way, the mobile node can configure its IPv6 address without understanding the complexity of the underlying network, as if it is always in the local network.

[0090] After the mobile node successfully accesses the network, the mobile access gateway and the local mobility anchor point configure the necessary routes to efficiently handle the mobile node's data transmission. As the topological anchor point for the mobile node's home network prefix, the local mobility anchor point is responsible for receiving data packets from each communicating peer and forwarding them through the bidirectional tunnel established with the mobile access gateway. After receiving these data packets, the mobile access gateway decapsulates and forwards them to the mobile node. At the same time, the mobile access gateway also processes data packets sent from the mobile node and sends them through the same tunnel to the local mobility anchor point, which then decapsulates and forwards the data to the specified destination. Once the mobile node has configured the initial address, it can begin sending and receiving data packets.

[0091] If the mobile node needs to change the access point, that is, to switch the network, it will follow a specific switching process. This process is as follows Figure 3 shown.

[0092] When a mobile node accesses the link where the mobile access gateway is located, the mobile access gateway will first detect the access of the mobile node and collect its identifier, home address, and proxy forwarding address. Subsequently, the mobile node sends a proxy route resolution request (Rtr Sol) to the mobile access gateway. In response to the request, the mobile access gateway sends a proxy binding update message containing the MN-ID to the local mobility anchor point. After receiving the proxy binding update message, the local mobility anchor point will record the data of the mobile node in its binding cache entry and establish a mapping between the MN-HNP and the proxy forwarding address. Next, the local mobility anchor point sends a proxy binding confirmation message to the mobile access gateway and establishes a bidirectional tunnel with it. After receiving the proxy binding confirmation message, the mobile access gateway also establishes a bidirectional tunnel and sends a route advertisement (RtrAdv) to the mobile node, which contains information such as MN-HNP. After the mobile node is configured with an address, it ensures that its address in the PMIPv6 domain is stable, so that it can communicate normally with other communication nodes (CN).

[0093] When a mobile node accesses the network of a new mobile access gateway (NMGA), the new mobile access gateway detects the access of the mobile node and sends a signal to the local mobility anchor to update the binding status of the mobile node. Once the binding is successfully updated, the mobile node will continue to receive routing broadcast messages containing its home network prefix, which makes the mobile node aware that it is still on the original link and continues to communicate using the same address configuration, thereby reducing handover awareness.

[0094] In order to reduce the delay and data packet loss rate during the switching process, the present invention adopts the method of first predicting the movement trend of the mobile node, and then establishing a bidirectional tunnel between the current mobile access gateway and the new mobile access gateway in advance based on the prediction results. In this way, when the mobile node starts the switching process, the current mobile access gateway can directly send data packets to the new mobile access gateway through this bidirectional tunnel. The new mobile access gateway receives these data and temporarily stores them. After the mobile node successfully accesses the network of the new mobile access gateway, the new mobile access gateway will forward these cached data packets to the mobile node. This method greatly reduces the data loss during the switching process, ensuring the continuity of data transmission and the high response speed of the network. In the present invention, the mobile network switching mobile node fast switching signaling process is as follows Figure 4 shown.

[0095] The switching steps are as follows:

[0096] (1) Pre-handover preparation: The current mobile access gateway sends a handover initiation message to the new mobile access gateway;

[0097] (2) Response establishment: The new mobile access gateway establishes a mapping table from MN-ID to HNP based on the received information, and sends a handover confirmation message back to the current mobile access gateway;

[0098] (3) Data cache preparation: The new mobile access gateway sends a handshake initialization (HI) message containing the 'F' response bit and the MN identifier (MN-ID) to the current mobile access gateway;

[0099] (4) Data forwarding: When the current mobile access gateway receives the handshake confirmation message from the new mobile access gateway, the current mobile access gateway establishes a tunnel between the current mobile access gateway and the new mobile access gateway for forwarding data packets of the mobile node;

[0100] (5) Tunnel establishment is completed: When the tunnel is established, the new mobile access gateway begins to receive data packets forwarded by the current mobile access gateway through the tunnel;

[0101] (6) Packet processing: When the current mobile access gateway receives a packet destined for the mobile node, it modifies the address in the IP header and then forwards the modified packets to the new mobile access gateway. After receiving the packets, the new mobile access gateway caches them and waits for the mobile node to complete the link switch.

[0102] (7) Link layer handover: The mobile node performs handover at the data link layer, changing the access link to the new mobile access gateway;

[0103] (8) Data packet delivery: The new mobile access gateway forwards the cached data packet to the mobile node, completing the final data delivery;

[0104] (9) Binding Update: The new mobile access gateway performs a binding update process with the local mobility anchor to ensure that all subsequent data packets are correctly routed to the mobile node.

[0105] Through this exhaustive process, the mobile node can smoothly switch from one network to another without losing data, minimizing the impact of the switch on the user experience.

[0106] Based on the above mobile network switching method, correspondingly, a computer-readable storage medium storing a computer program is also provided in this example. When the computer program is executed by a processor, the following steps are implemented: using a weighted bipartite graph matching algorithm to predict the moving trend of the mobile node, and then according to the prediction result, the current mobile access gateway sends a switching initiation message to the new mobile access gateway to which the mobile node is close, and then the new mobile access gateway establishes a mapping table from the mobile node ID to the home network prefix according to the received switching initiation message, and sends a switching confirmation message to the current mobile gateway, and at the same time sends a handshake initialization message containing an 'F' response bit and the mobile node ID to the current mobile access gateway, and then at the current mobile access gateway, the new mobile access gateway sends a switching confirmation message containing an 'F' response bit and the mobile node ID to the current mobile access gateway. After the access gateway receives the handshake confirmation message, the current mobile access gateway establishes a tunnel for forwarding the data packets of the mobile node and forwards the data packets of the mobile node to the new mobile access gateway through the tunnel. After receiving the data packets of the mobile node, the new mobile access gateway caches the received data packets of the mobile node and waits for the mobile node to complete the link switching. Then the mobile node performs switching at the data link layer and changes the access link to the new mobile access gateway. The new mobile access gateway then forwards the cached data packets to the mobile node to complete the forwarding of the data packets. At the same time, the new mobile access gateway performs a binding update process with the local mobile anchor point to complete the mobile network switching and ensure that all subsequent data packets are correctly routed to the mobile node.

[0107] like Figure 5As shown, based on the above intelligent routing selection method and computer-readable storage medium, in this embodiment, a computer device is also provided, which includes a readable storage medium, a processor, and a computer program stored in the readable storage medium and executable on the processor, wherein the readable storage medium and the processor are both arranged on a bus, and the processor implements the following steps when executing the computer program: using a weighted bipartite graph matching algorithm to predict the moving trend of the mobile node, and then according to the prediction result, the current mobile access gateway sends a switching initiation message to the new mobile access gateway to which the mobile node is close, and then the new mobile access gateway establishes a mapping table from the mobile node ID to the home network prefix according to the received switching initiation message, and sends a switching confirmation message to the current mobile gateway, and at the same time sends a message containing ' F' response bit and the handshake initialization message of the mobile node ID, and then after the current mobile access gateway receives the handshake confirmation message, the current mobile access gateway establishes a tunnel for forwarding the data packet of the mobile node and forwards the data packet of the mobile node to the new mobile access gateway through the tunnel. After receiving the data packet of the mobile node, the new mobile access gateway caches the received data packet of the mobile node and waits for the mobile node to complete the link switching. Then the mobile node performs switching at the data link layer and changes the access link to the new mobile access gateway. The new mobile access gateway then forwards the cached data packet to the mobile node to complete the forwarding of the data packet. At the same time, the new mobile access gateway performs a binding update process with the local mobile anchor point to complete the mobile network switching and ensure that all subsequent data packets are correctly routed to the mobile node.

[0108] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection of the claims of this patent application.

Claims

1. A mobile network switching method, characterized in that: The steps include: S1) The local mobile anchor point uses a weighted bipartite graph matching algorithm to determine the moving trend of the mobile node. When using the weighted bipartite graph matching algorithm to determine the moving trend of the mobile node, the bipartite graph matching algorithm is first used to find the maximum match, and then the dynamic weight is dynamically optimized and the depth-first method is used to obtain the best match to predict the moving trend of the mobile node. The dynamic weight is calculated by the following formula: In the formula, For mobile nodes In the area Signal quality score within For mobile nodes In the area User preference ratings within For mobile nodes In the area User historical behavior scores within; For mobile nodes With area distance scores between the center and the edge; , , as well as They are , , and The weighting coefficient of S2) the current mobile access gateway sends a handover initiation message to the new mobile access gateway to which the mobile node is close according to the mobile trend of the mobile node determined in step S1), wherein the handover initiation message includes the mobile node ID, the 'P' probe bit and the mobile node home network prefix; S3) The new mobile access gateway establishes a mapping table from the mobile node ID to the home network prefix according to the received handover initiation message, and sends a handover confirmation message to the current mobile gateway, and at the same time sends a handshake initialization message containing the 'F' response bit and the mobile node ID to the current mobile access gateway; wherein the setting of the 'F' response bit indicates that the current mobile access gateway starts forwarding data packets to the new mobile access gateway, and the forwarded data packets contain the response of the F response bit, the current sending sequence number and the reply sequence number, the current field strength, the suppression timer time, the estimated handover time and the handover sequence number; S4) After the current mobile access gateway receives the handshake completion confirmation message, the current mobile access gateway establishes a tunnel for forwarding the data packet of the mobile node and forwards the data packet of the mobile node to the new mobile access gateway through the tunnel. After receiving the data packet of the mobile node, the new mobile access gateway caches the received data packet of the mobile node; wherein, before the current mobile access gateway sends the data packet of the mobile node to the new mobile access gateway, the current mobile access gateway modifies the IP header of the data packet to ensure that the data is correctly routed to the new mobile access gateway; S5) The mobile node performs handover at the data link layer and changes the access link to the new mobile access gateway; S6) The new mobile access gateway forwards the cached data packet to the mobile node to complete the forwarding of the data packet. At the same time, the new mobile access gateway performs a binding update process with the local mobile anchor point to complete the mobile network handover and ensure that all subsequent data packets are correctly routed to the mobile node.

2. The mobile network switching method according to claim 1, characterized in that: Calculated by the following formula: In the formula, the signal function is used to obtain the mobile node In the area Signal strength within max Expressed as the maximum signal strength, signal min Expressed as minimum signal strength.

3. The mobile network switching method according to claim 1, characterized in that: Calculated by the following formula: In the formula, the f function is used to obtain the mobile node In the area The historical access frequency within; f max Expressed as the maximum access frequency, f min Expressed as the minimum access frequency.

4. The mobile network switching method according to claim 1, characterized in that: Calculated by the following formula: In the formula, the activate function is used to obtain the mobile node In the area Historical activity score within; activate max Represents the maximum historical activity score, activate min Expressed as the minimum historical activity score.

5. The mobile network switching method according to claim 1, characterized in that: Calculated by the following formula: Where, d function is used to calculate the mobile node To area The average value of the center distance and the edge distance; b is represented by the bias, and τ is represented by the attenuation coefficient.

6. A system for performing mobile network switching using the mobile network switching method according to claim 1, characterized in that: include: A mobile node moving trend prediction unit, used to determine the moving trend of the mobile node using a weighted bipartite graph matching algorithm; The mobile node movement trend prediction unit is provided with a data collection module and a dynamic weight calculation module. The data collection module is used to collect the average value of the distance from the mobile node to the center and the edge of a certain area, as well as the signal strength, historical access frequency and historical activity score of the mobile node in the area. The dynamic weight calculation module is used to calculate the dynamic weight for the weighted bipartite graph matching algorithm in the area according to the average value of the distance from the mobile node to the center and the edge of a certain area, as well as the signal strength, historical access frequency and historical activity score of the mobile node in the area. A mobile network switching execution unit, configured to send a mobile network switching instruction to the current mobile access gateway according to the moving trend of the mobile node, and the current mobile access gateway sends a switching initiation message to the new mobile access gateway; The mobile node movement trend prediction unit is communicatively connected to the mobile network switching execution unit, and the mobile network switching execution unit is communicatively connected to the current mobile access gateway.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the mobile network switching method according to any one of claims 1 to 5 is implemented.

8. A computer device comprising a readable storage medium, a processor, and a computer program stored on the readable storage medium and executable on the processor, characterized in that: When the computer program is executed by a processor, the mobile network switching method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method of through-the-wall radar for multi-moving target real-time tracking in complex environment

    CN107861123A