A method and system for seamless roaming in a Mesh network

By using the STA connection record database to identify and forward data packets in the Mesh network, the problem of connection interruption caused by gateway switching is solved, seamless roaming is achieved, and the user's Internet speed and experience are improved.

CN118233979BActive Publication Date: 2024-08-27GUANGZHOU TOZED KANGWEI INTELLIGENT TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410635119.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-08-27
Estimated Expiration
2044-05-22

AI Technical Summary

Technical Problem

In Mesh networks, gateway switching when users roam causes existing connections to be interrupted, affecting Internet speed and user experience.

Method used

By identifying whether the data packet belongs to an existing Internet connection in the STA connection record database, and forwarding the data packet or establishing a new connection based on this judgment, ensuring seamless roaming of data packets.

Benefits of technology

It achieves seamless roaming for users when switching gateways, avoids network service interruptions, and improves Internet speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118233979B
    Figure CN118233979B
Patent Text Reader

Abstract

The present invention discloses a method and system for seamless roaming in a Mesh network, wherein the method comprises: receiving a data packet sent by a STA, a first CPE gateway identifying whether the data packet belongs to an existing Internet connection; if the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through a STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection; if the data packet does not belong to an existing Internet connection, the first CPE gateway establishes a second Internet connection for the data packet, and sends the data packet to the Internet according to the second Internet connection. The present invention realizes that when a user switches gateways, the existing network service will not be interrupted, thereby improving the user's Internet access speed and the user's Internet access experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer networks, and in particular relates to a method and system for seamless roaming in a Mesh network. Background Art

[0002] In a Mesh network composed of multiple CPEs with independent cellular connection capabilities, each CPE is a gateway in the Mesh network. Each gateway needs to perform NAT on traffic to establish a connection to the Internet and provide wireless network services to users. The APs in the network have the same SSID and password. After the first connection is completed, users can automatically connect to the nearest device when roaming between routers, realizing fast roaming of multiple gateway terminals in the wireless LAN.

[0003] However, when users roam and switch connection gateways in a wireless network, each gateway needs to perform NAT on the traffic before the user can reconnect to the Internet. This causes the STA (mobile terminal connected to the Mesh network) to roam between CPEs in the Mesh network. The STA's existing public network connection will change its address due to the gateway change, causing the existing connection to be interrupted when the user switches the gateway. The user program needs to re-establish a new connection with the gateway to connect to the Internet, which affects the user's Internet access speed and reduces the user's experience. Summary of the invention

[0004] The present invention proposes a method and system for seamless roaming in a Mesh network, which ensures that existing network services will not be interrupted when users switch gateways, thereby improving the Internet access speed and Internet experience of users.

[0005] A first aspect of the present invention provides a method for seamless roaming in a Mesh network, applicable to a first CPE gateway, the method comprising:

[0006] Receiving a data packet sent by the STA, the first CPE gateway identifies whether the data packet belongs to an existing Internet connection;

[0007] If the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection; wherein the STA connection record database runs on a preset CPE gateway or a preset running device in the Mesh network; the existing Internet connection includes the CPE gateway, STA and connection destination that establish the connection;

[0008] If the data packet does not belong to an existing Internet connection, the first CPE gateway establishes a second Internet connection for the data packet and sends the data packet to the Internet according to the second Internet connection.

[0009] The above scheme first determines whether the data packet belongs to an existing Internet connection, and then forwards the data packet belonging to the existing Internet connection to the CPE gateway that establishes the Internet connection, so that the data packet is sent to the Internet by the CPE gateway that establishes the existing Internet connection, and a new Internet connection is created for the data packet that does not belong to the existing Internet connection to send it to the Internet, thereby achieving continuous roaming between multiple gateways without affecting the transmission of network data and the interruption of network services, thereby improving the user's Internet access speed and the user's Internet usage experience.

[0010] In a possible implementation method of the first aspect, the first CPE gateway identifies whether the data packet belongs to an existing Internet connection, specifically:

[0011] The first CPE gateway searches the STA connection record database for an Internet connection record of the data packet;

[0012] If there is an Internet connection record for the data packet, the data packet belongs to an existing Internet connection;

[0013] If there is no Internet connection record for the data packet, the data packet does not belong to the existing Internet connection.

[0014] The above solution determines whether the data packet belongs to an existing Internet connection by searching the Internet connection record of the data packet in the STA connection record database, thereby providing data support for determining whether to forward the data packet to other CPE gateways.

[0015] In a possible implementation method of the first aspect, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, specifically:

[0016] Obtaining the Internet connection record of the data packet according to the STA connection record database;

[0017] Determine, according to the Internet connection record of the data packet, a first Internet connection to which the data packet belongs and a CPE gateway of the first Internet connection;

[0018] The first CPE gateway forwards the data packet to the first Internet-connected CPE gateway.

[0019] The above scheme obtains the Internet connection record of the data packet in the STA connection record database, determines the CPE gateway responsible for forwarding the data packet, and forwards the data packet to the gateway, thereby realizing seamless roaming of network data in the Mesh network, and sending data packets that do not belong to the first CPE gateway to the Internet without network interruption.

[0020] In a possible implementation method of the first aspect, the first CPE gateway forwards the data packet to the CPE gateway of the first Internet connection, specifically:

[0021] adjusting a routing policy of the first CPE gateway according to the first Internet connection;

[0022] According to the routing policy of the first CPE gateway, all data packets belonging to the first Internet connection received by the first CPE gateway are forwarded to the CPE gateway of the first Internet connection.

[0023] The above scheme adjusts the routing strategy of the first CPE gateway according to the Internet connection established by other CPE gateways, separates the traffic of the original Internet connection and the traffic of the new Internet connection, realizes dynamic forwarding of traffic within the LAN, and reduces the amount of data forwarded within the LAN.

[0024] In a possible implementation method of the first aspect, the first CPE gateway establishes a second Internet connection for the data packet, and sends the data packet to the Internet according to the second Internet connection, specifically:

[0025] The first CPE gateway establishes a second Internet connection for the data packet, and creates a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection;

[0026] The data packet is sent to the Internet according to the second Internet connection.

[0027] In the above scheme, the first CPE gateway creates a new Internet connection for a data packet that does not belong to an existing connection, and creates a new Internet connection record in the STA connection record database for the Internet connection to regularly update the operation dynamics of the Internet connection, thereby supporting seamless roaming when STA roams between multiple CPE gateways.

[0028] In a possible implementation method of the first aspect, creating a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection is specifically:

[0029] When the second Internet connection is not closed, the first CPE gateway sends the operation information and STA information of the second Internet connection to the STA connection record database according to a preset frequency, so that the STA connection record database updates the Internet connection record of the second Internet connection according to the operation information and STA information;

[0030] When the second Internet connection is closed, the first CPE gateway applies to the STA connection record database to remove the Internet connection record of the second Internet connection.

[0031] A second aspect of the present invention provides a system for seamless roaming in a Mesh network, the system comprising: a data packet identification module, a data packet forwarding module and a data packet sending module;

[0032] The data packet identification module is used for the first CPE gateway to identify whether the data packet belongs to an existing Internet connection;

[0033] The data packet forwarding module is used for, if the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection; wherein the STA connection record database runs on a preset CPE gateway or a preset running device in the Mesh network; the existing Internet connection includes the CPE gateway, STA and connection destination for establishing the connection;

[0034] The data packet sending module is used for, if the data packet does not belong to an existing Internet connection, the first CPE gateway to establish a second Internet connection for the data packet, and to send the data packet to the Internet according to the second Internet connection.

[0035] In a possible implementation of the second aspect, the data packet identification module includes: an Internet connection record query unit;

[0036] The Internet connection record query unit is used for the first CPE gateway to search whether there is an Internet connection record of the data packet in the STA connection record database; if there is an Internet connection record of the data packet, the data packet belongs to the existing Internet connection; if there is no Internet connection record of the data packet, the data packet does not belong to the existing Internet connection.

[0037] In a possible implementation of the second aspect, the data packet forwarding module includes: a data packet forwarding unit;

[0038] The data packet forwarding unit is used to obtain the Internet connection record of the data packet according to the STA connection record database; determine the first Internet connection to which the data packet belongs and the CPE gateway of the first Internet connection according to the Internet connection record of the data packet; the first CPE gateway forwards the data packet to the CPE gateway of the first Internet connection.

[0039] In a possible implementation of the second aspect, the data packet forwarding unit includes: a routing policy adjustment unit;

[0040] The routing policy adjustment unit is used to adjust the routing policy of the first CPE gateway according to the first Internet connection; according to the routing policy of the first CPE gateway, all data packets belonging to the first Internet connection received by the first CPE gateway are forwarded to the CPE gateway of the first Internet connection.

[0041] In a possible implementation of the second aspect, the data packet sending module includes: an Internet connection establishing unit;

[0042] The Internet connection establishment unit is used for the first CPE gateway to establish a second Internet connection for the data packet, and to create a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection; and to send the data packet to the Internet according to the second Internet connection.

[0043] In a possible implementation of the second aspect, the Internet connection establishing unit includes: an Internet connection record updating unit;

[0044] The Internet connection record updating unit is used for, when the second Internet connection is not closed, the first CPE gateway to send the operation information and STA information of the second Internet connection to the STA connection record database according to a preset frequency, so that the STA connection record database updates the Internet connection record of the second Internet connection according to the operation information and STA information; when the second Internet connection is closed, the first CPE gateway applies to the STA connection record database to remove the Internet connection record of the second Internet connection. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0046] Figure 1A specific flow chart of a method for seamless roaming in a Mesh network provided by an embodiment of the present invention;

[0047] Figure 2 A typical deployment application scenario diagram of a method for seamless roaming in a Mesh network provided by a certain embodiment of the present invention;

[0048] Figure 3 A schematic diagram of a seamless roaming scenario of a method for seamless roaming in a Mesh network provided by a certain embodiment of the present invention;

[0049] Figure 4 A structural diagram of a system for seamless roaming in a Mesh network is provided according to a certain embodiment of the present invention. DETAILED DESCRIPTION

[0050] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] It should be understood that the step numbers used in this article are only for the convenience of description and are not intended to limit the order in which the steps are executed.

[0052] like Figure 1 As shown, Figure 1 A specific flow chart of a method for seamless roaming in a Mesh network is provided for a certain embodiment of the present invention. The method for seamless roaming in a Mesh network of this embodiment includes steps S1 to S3, which are described in detail as follows:

[0053] Step S1, receiving a data packet sent by a STA, and the first CPE gateway identifying whether the data packet belongs to an existing Internet connection;

[0054] In this step, after accessing the first CPE gateway, the STA sends a data packet to the first CPE gateway. The first CPE gateway will identify the data packet through the STA connection record database to identify whether there is an existing Internet connection record responsible for transmitting the data packet in the STA connection record database.

[0055] If there is an Internet connection record for the data packet, the data packet belongs to an existing Internet connection;

[0056] If there is no Internet connection record for the data packet, the data packet does not belong to the existing Internet connection.

[0057] The STA connection record database runs on a specific CPE gateway or a dedicated device in the Mesh network. The STA connection record database stores all STA roaming information and active Internet connection records. The stored information includes the IP address and network interface of the CPE gateway, STA and connection destination for establishing the connection. The Internet connection record needs to be updated in real time according to the latest data reported by each CPE gateway.

[0058] Furthermore, in some embodiments, each CPE gateway in the Mesh network and the access device STA using WiFi are connected at the MAC layer and the IP layer, and the LAN address configuration of all CPEs and STAs in the Mesh network remains unchanged, so that the STA can automatically connect to the optimal CPE gateway when roaming between CPEs, and the LAN IP of the STA remains unchanged.

[0059] In order to better demonstrate how this embodiment implements the technical solution of the present invention, Figure 2 A typical deployment scenario diagram of the method of seamless roaming in a Mesh network is provided for convenience. Figure 2 It only contains 3 CPE gateways. As shown in the figure, multiple CPE gateways realize Mesh networking. STA accesses CPE2 through WiFi. CPE gateway sends STA data packets to the Internet through cellular connection. The STA connection record database is deployed in CPE1.

[0060] Step S2, if the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection;

[0061] In this step, if the first CPE gateway obtains the Internet connection record of the data packet through the STA connection record database search; according to the Internet connection record of the data packet, the first Internet connection to which the data packet belongs and the CPE gateway of the first Internet connection are determined, and then the first CPE gateway forwards the data packet to the CPE gateway of the first Internet connection, so that the CPE gateway of the first Internet connection sends the data packet to the Internet.

[0062] After determining the first Internet connection to which the data packet belongs, the first CPE gateway will adjust its routing strategy and forward all data packets belonging to the first Internet connection received thereafter to the second CPE gateway that establishes the first Internet connection until the first Internet connection is closed; and when the first Internet connection is closed, upon recognizing the event, the second CPE gateway will delete the Internet connection record of the first Internet connection in the STA connection record database after completing the last data packet forwarding.

[0063] To better describe the process of forwarding packets by the first CPE gateway when the packets have an existing Internet connection, Figure 3 A seamless roaming scenario diagram of a method for seamless roaming in a Mesh network is provided. As shown in the figure, STA sends a data packet to CPE1. When CPE1 recognizes that the data packet belongs to the Internet connection established by CPE2, CPE1 forwards the data packet to CPE2, and CPE2 sends the data packet to the Internet through the existing traffic of STA before switching the CPE gateway; when CPE1 recognizes that the data packet does not belong to any Internet connection, CPE1 directly sends it to the Internet through the local cellular connection, so that STA roams between multiple CPE gateways without affecting data transmission.

[0064] Step S3, if the data packet does not belong to the existing Internet connection, the first CPE gateway establishes a second Internet connection for the data packet, and sends the data packet to the Internet according to the second Internet connection;

[0065] In this step, if the first CPE gateway cannot find the Internet connection record of the data packet through the STA connection record database, the first CPE gateway will create a new Internet connection for the data packet to send the data packet, and the newly created Internet connection is recorded as the second Internet connection. Then the first CPE gateway creates a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection, and the Internet connection record stores the IP address and network interface of the first CPE gateway, STA and the destination of the data packet. Finally, the data packet is sent to the Internet according to the second Internet connection.

[0066] Since the first CPE gateway establishes the second Internet connection, the first CPE gateway needs to manage the second Internet connection in real time.

[0067] When the second Internet connection is not closed, the first CPE gateway sends the operation information and STA information of the second Internet connection to the STA connection record database according to a preset frequency, so that the STA connection record database updates the Internet connection record of the second Internet connection according to the operation information and STA information;

[0068] When the second Internet connection is closed, the first CPE gateway applies to the STA connection record database to remove the Internet connection record of the second Internet connection.

[0069] Further, in order to implement the system for seamless roaming in a Mesh network corresponding to the above method embodiment to achieve the corresponding functions and technical effects, Figure 4 A structural diagram of a system for seamless roaming in a Mesh network is provided. For ease of description, only the parts related to this embodiment are shown. The system for seamless roaming in a Mesh network provided by an embodiment of the present invention includes:

[0070] The data packet identification module 201 is used for the first CPE gateway to identify whether the data packet belongs to an existing Internet connection;

[0071] The data packet forwarding module 202 is configured to, if the data packet belongs to an existing Internet connection, obtain the first Internet connection to which the data packet belongs through the STA connection record database by the first CPE gateway, and forward the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection; wherein the STA connection record database runs on a preset CPE gateway or a preset running device in the Mesh network; the existing Internet connection includes the CPE gateway, STA and connection destination for establishing the connection;

[0072] The data packet sending module 203 is configured to, if the data packet does not belong to an existing Internet connection, cause the first CPE gateway to establish a second Internet connection for the data packet, and send the data packet to the Internet according to the second Internet connection.

[0073] In some embodiments, the data packet identification module 201 includes:

[0074] The Internet connection record query unit is used for the first CPE gateway to search whether there is an Internet connection record of the data packet in the STA connection record database; if there is an Internet connection record of the data packet, the data packet belongs to the existing Internet connection; if there is no Internet connection record of the data packet, the data packet does not belong to the existing Internet connection.

[0075] In some embodiments, the data packet forwarding module 202 includes:

[0076] A data packet forwarding unit is used to obtain the Internet connection record of the data packet according to the STA connection record database; determine the first Internet connection to which the data packet belongs and the CPE gateway of the first Internet connection according to the Internet connection record of the data packet; and the first CPE gateway forwards the data packet to the CPE gateway of the first Internet connection.

[0077] The routing policy adjustment unit is used to adjust the routing policy of the first CPE gateway according to the first Internet connection; according to the routing policy of the first CPE gateway, all data packets belonging to the first Internet connection received by the first CPE gateway are forwarded to the CPE gateway of the first Internet connection.

[0078] In some embodiments, the data packet sending module 203 includes:

[0079] The Internet connection establishment unit is used for the first CPE gateway to establish a second Internet connection for the data packet, and to create a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection; and to send the data packet to the Internet according to the second Internet connection.

[0080] In some embodiments, the Internet connection establishing unit includes:

[0081] The Internet connection record updating unit is used for, when the second Internet connection is not closed, the first CPE gateway sends the operation information and STA information of the second Internet connection to the STA connection record database according to a preset frequency, so that the STA connection record database updates the Internet connection record of the second Internet connection according to the operation information and STA information; when the second Internet connection is closed, the first CPE gateway applies to the STA connection record database to remove the Internet connection record of the second Internet connection.

[0082] This embodiment proposes a method and system for seamless roaming in a Mesh network: receiving a data packet sent by a STA, and the first CPE gateway identifying whether the data packet belongs to an existing Internet connection; if the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection; wherein the STA connection record database runs on a preset CPE gateway or a preset running device in the Mesh network; the existing Internet connection includes the CPE gateway, STA and connection destination for establishing the connection; if the data packet does not belong to an existing Internet connection, the first CPE gateway establishes a second Internet connection for the data packet, and sends the data packet to the Internet according to the second Internet connection. Its beneficial effect is that it realizes that when users switch gateways, the existing network service will not be interrupted, thereby improving the user's Internet access speed and the user's Internet usage experience.

[0083] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present invention. It should be understood that the above description is only a specific embodiment of the present invention and is not intended to limit the scope of protection of the present invention. It is particularly pointed out that for those skilled in the art, any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for seamless roaming in a Mesh network, characterized in that: Applicable to the first CPE gateway, including: Receiving a data packet sent by the STA, the first CPE gateway identifies whether the data packet belongs to an existing Internet connection; If the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection, specifically: obtaining the Internet connection record of the data packet according to the STA connection record database; determining the first Internet connection to which the data packet belongs and the CPE gateway of the first Internet connection according to the Internet connection record of the data packet; adjusting the routing policy of the first CPE gateway according to the first Internet connection; forwarding all data packets belonging to the first Internet connection received by the first CPE gateway to the CPE gateway of the first Internet connection according to the routing policy of the first CPE gateway; wherein the STA connection record database runs on a preset CPE gateway or a preset running device in the Mesh network; the existing Internet connection includes the CPE gateway, STA and connection destination that establish the connection; If the data packet does not belong to an existing Internet connection, the first CPE gateway establishes a second Internet connection for the data packet and sends the data packet to the Internet according to the second Internet connection.

2. The method for seamless roaming in a Mesh network according to claim 1, characterized in that: The first CPE gateway identifies whether the data packet belongs to an existing Internet connection, specifically: The first CPE gateway searches the STA connection record database for an Internet connection record of the data packet; If there is an Internet connection record for the data packet, the data packet belongs to an existing Internet connection; If there is no Internet connection record for the data packet, the data packet does not belong to an existing Internet connection.

3. The method for seamless roaming in a Mesh network according to claim 1, characterized in that: The first CPE gateway establishes a second Internet connection for the data packet, and sends the data packet to the Internet according to the second Internet connection, specifically: The first CPE gateway establishes a second Internet connection for the data packet, and creates a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection; The data packet is sent to the Internet according to the second Internet connection.

4. The method for seamless roaming in a Mesh network according to claim 3, characterized in that: The creating a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection is specifically: When the second Internet connection is not closed, the first CPE gateway sends the operation information and STA information of the second Internet connection to the STA connection record database according to a preset frequency, so that the STA connection record database updates the Internet connection record of the second Internet connection according to the operation information and STA information; When the second Internet connection is closed, the first CPE gateway applies to the STA connection record database to remove the Internet connection record of the second Internet connection.

5. A system for seamless roaming in a Mesh network, characterized in that: Applicable to the first CPE gateway, comprising: a data packet identification module, a data packet forwarding module and a data packet sending module; The data packet identification module is used for the first CPE gateway to identify whether the data packet belongs to an existing Internet connection; The data packet forwarding module is used for, if the data packet belongs to an existing Internet connection, the first CPE gateway obtains the first Internet connection to which the data packet belongs through the STA connection record database, and forwards the data packet according to the first Internet connection, so that the data packet is sent to the Internet by the CPE gateway of the first Internet connection, specifically: obtaining the Internet connection record of the data packet according to the STA connection record database; determining the first Internet connection to which the data packet belongs and the CPE gateway of the first Internet connection according to the Internet connection record of the data packet; adjusting the routing policy of the first CPE gateway according to the first Internet connection; forwarding all data packets belonging to the first Internet connection received by the first CPE gateway to the CPE gateway of the first Internet connection according to the routing policy of the first CPE gateway; wherein the STA connection record database runs on a preset CPE gateway or a preset running device in the Mesh network; the existing Internet connection includes the CPE gateway, STA and connection destination to establish the connection; The data packet sending module is used for, if the data packet does not belong to an existing Internet connection, the first CPE gateway to establish a second Internet connection for the data packet, and to send the data packet to the Internet according to the second Internet connection.

6. The system for seamless roaming in a Mesh network according to claim 5, characterized in that: The data packet identification module includes: an Internet connection record query unit; The Internet connection record query unit is used for the first CPE gateway to search whether there is an Internet connection record of the data packet in the STA connection record database; if there is an Internet connection record of the data packet, the data packet belongs to the existing Internet connection; if there is no Internet connection record of the data packet, the data packet does not belong to the existing Internet connection.

7. The system for seamless roaming in a Mesh network according to claim 5, characterized in that: The data packet sending module includes: an Internet connection new establishment unit; The Internet connection establishment unit is used for the first CPE gateway to establish a second Internet connection for the data packet, and to create a new Internet connection record of the second Internet connection in the STA connection record database according to the second Internet connection; and to send the data packet to the Internet according to the second Internet connection.

8. The system for seamless roaming in a Mesh network according to claim 7, characterized in that: The Internet connection establishing unit comprises: an Internet connection record updating unit; The Internet connection record updating unit is used for, when the second Internet connection is not closed, the first CPE gateway to send the operation information and STA information of the second Internet connection to the STA connection record database according to a preset frequency, so that the STA connection record database updates the Internet connection record of the second Internet connection according to the operation information and STA information; when the second Internet connection is closed, the first CPE gateway applies to the STA connection record database to remove the Internet connection record of the second Internet connection.