Communication method, communication system and storage medium

By detecting the disconnection of the user terminal on the server side and publishing lost announcement information, the second router simulates the first router to establish a guest network, solving the difficulties of managing routers with the same name and differentiating the permissions of user terminals in WiFi coverage expansion, and realizing the expansion of WiFi coverage and simplification of permissions of permissions of WiFi coverage.

WO2025044508A1PCT designated stage expired Publication Date: 2025-03-06BOE TECHNOLOGY GROUP CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/103895
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-08-31
Filing Date
2024-07-05
Publication Date
2025-03-06

AI Technical Summary

Technical Problem

When the prior art expands WiFi coverage, it is difficult to manage routers with the same name and differently manage roaming permissions of different user terminals.

Method used

By detecting the disconnection of the user terminal on the server side, publishing lost announcement information, after receiving the second router simulates the first router to establish a guest network, and the user terminal obtains the network permissions of the first router through the guest network.

Benefits of technology

It realizes the expansion of WiFi coverage without adding a router or bridging, simplifies the management of routers with the same name, and supports different management of roaming permissions of different user terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024103895_06032025_PF_FP_ABST
    Figure CN2024103895_06032025_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of communications, and provides a communication method, a communication system and a storage medium. The communication method is applied to a communication system, the communication system comprising a first router, multiple second routers and a server. The second routers are configured with a host primary network. The first router and the second routers all have communication connections with the server. When the first router detects that a user terminal connected thereto is disconnected, the first router reports to the server a connection lost message associated with the user terminal disconnected therefrom. On the basis of the received connection lost message, the server publishes connection lost announcement information associated with the user terminal. For any of the second routers, the connection lost announcement information is received, and simulation of the first router is performed on the basis of the connection lost announcement information, to establish a guest network, such that the user terminal obtains network permissions of the first router by means of the communication connection with the guest network. Network permissions of the guest network are the same as the network permissions of the first router. The network permissions of the guest network are different from network permissions of the local host network.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, communication system and storage medium Technical Field

[0001] The present disclosure belongs to the field of communication technology, and particularly relates to a communication method, a communication system, and a storage medium. Background Art

[0002] Wireless network communication technology (WiFi), also known as mobile hotspot, is used to connect network devices wirelessly. Unlike wired connections, Wi-Fi uses radio waves to connect to the internet. A common hardware component is a wireless router, and Wi-Fi can be used to connect to the internet within the router's radio range.

[0003] However, the radio wave coverage range of common WiFi routers is limited to about 200 square meters. To address the existing WiFi coverage issues, existing technologies for expanding WiFi coverage usually require adding routers or using a bridge method to allow user terminals to roam and connect to different routers with the same name.

[0004] However, the above-mentioned method of expanding WiFi coverage has the problems of inconvenient management of routers with the same name and difficulty in differentiating the management of permissions for different user terminals when roaming.

[0005] Summary of the Invention

[0006] The present disclosure aims to solve at least one of the technical problems existing in the prior art and provides a communication method, a communication system and a storage medium.

[0007] In a first aspect, a technical solution adopted to solve the technical problem of the present disclosure is a communication method, which is applied to a communication system, wherein the communication system includes a first router, a plurality of second routers, and a server; the second router is configured with a local primary network; the first router and the second router are both in communication connection with the server;

[0008] The communication method comprises:

[0009] When the first router detects that the user terminal connected to the first router is disconnected, the first router reports a loss message of the disconnected user terminal to the server;

[0010] The server publishes loss announcement information of the user terminal based on the received loss message;

[0011] For any second router, the loss announcement information is received, and the first router is simulated based on the loss announcement information to establish a guest network, so that the user terminal obtains the network permissions of the first router through a communication connection with the guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network.

[0012] In some embodiments, the loss announcement information includes device information of the user terminal and first attribute information of the first router;

[0013] The simulating the first router based on the loss announcement information to establish a guest network includes:

[0014] generating an internet protocol for the guest network in response to receiving the loss announcement information;

[0015] Downloading a first network policy of the first router from the server based on the device information in the loss announcement information;

[0016] The guest network is established based on the internet protocol, the first attribute information, and the first network policy.

[0017] In some embodiments, the server is a gateway; the gateway is equipped with a partial proxy system, and the partial proxy system is connected to the remaining proxy system built by the user terminal to form a proxy service system.

[0018] In some embodiments, the communication method further includes: the second router receiving access information sent by the user terminal through the guest network; the access information includes subject information and a first access packet header representing the guest network; the subject information is accessible information that indicates that the network authority of the first router is open to the outside world; converting the first access packet header carried in the access information into a second access packet header representing the first router, and packaging the second access packet header and the subject information and sending them to the gateway;

[0019] The gateway receives the second access packet header and the subject information, obtains reply information of the access information based on the subject information and the second access packet header, and packages the reply information and the second access packet header and sends the package to the second router;

[0020] The second router receives the reply information and the second access packet header fed back by the gateway, converts the second access packet header into a first access packet header, and feeds back the reply information to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

[0021] In some embodiments, the IP pool of the local primary network of the second router is different from the IP pool of the guest network.

[0022] In some embodiments, the server is a core network.

[0023] In some embodiments, the first router and the second router are both integrated with dynamic domain name resolution software;

[0024] The first router publishes the private IP address of the IP device with its own network authority to the core network;

[0025] The second router publishes the private IP address of the IP device with its own network authority to the core network;

[0026] The core network instantiates the received private IP address of the IP device into a public IP address as a third access packet header for accessing the IP device.

[0027] In some embodiments, the communication method further includes: the second router receiving access information sent by the user terminal through the guest network; the access information including subject information and a first access packet header representing the guest network; the subject information being accessible information indicating network permissions of the first router are open to the outside world; based on the subject information, converting the first access packet header carried in the access information into a third access packet header instantiated in the core network by the IP device accessed by the access information, and packaging the third access packet header and the subject information and sending them to the core network;

[0028] The core network receives the third access packet header and the subject information, obtains reply information of the access information based on the subject information and the third access packet header, and packages the reply information and the third access packet header and sends the package to the second router;

[0029] The second router receives the reply information and the third access packet header fed back by the core network, converts the third access packet header into a first access packet header, and feeds back the reply information to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

[0030] In some embodiments, after any second router establishes the guest network, the method further includes:

[0031] If no connection is established with the user terminal within a set time, stopping simulating the first router;

[0032] If a connection is established with the user terminal within a set time, an instruction to stop simulating the first router is sent to other second routers; the other second routers are the remaining second routers among the multiple second routers except the second router connected to the user terminal.

[0033] In some embodiments, both the first router and the second router communicate with the server via a message queue telemetry transport (MQTT) protocol.

[0034] In a second aspect, an embodiment of the present disclosure further provides a communication method, which is applied to a communication system, wherein the communication system includes a first router, a plurality of second routers, a user terminal, and a server; the second router is configured with a local primary network; the first router and the second router are both in communication connection with the server;

[0035] The communication method comprises:

[0036] When the first router detects that the user terminal connected to the first router is disconnected, the first router reports a loss message of the disconnected user terminal to the server;

[0037] The server publishes loss announcement information of the user terminal to the second router based on the received loss message;

[0038] For any second router, receiving the loss announcement information, and simulating the first router based on the loss announcement information to establish a guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network;

[0039] The user terminal scans for hotspots, connects to the guest network, and obtains network permissions of the first router through the guest network connected thereto.

[0040] In some embodiments, the server is a gateway.

[0041] In some embodiments, the loss announcement information includes device information of the user terminal and first attribute information of the first router;

[0042] The simulating the first router based on the loss announcement information to establish a guest network includes:

[0043] generating an internet protocol for the guest network in response to receiving the loss announcement information;

[0044] Downloading a first network policy of the first router from the gateway based on the first attribute information in the loss announcement information;

[0045] establishing the guest network based on the internet protocol, the first attribute information, and the first network policy;

[0046] The user terminal scans for hotspots, connects to the guest network, and obtains network permissions of the first router through the guest network connected thereto, including:

[0047] The user terminal scans for hotspots and connects to the guest network when the attribute information carried in the connection signal transmitted by the guest network matches the first attribute information; and obtains the network permission of the first router based on the first network policy of the guest network.

[0048] In some embodiments, the server is a gateway; the gateway is equipped with a partial proxy system, and the partial proxy system is connected to the remaining proxy system built by the user terminal to form a proxy service system.

[0049] In some embodiments, the communication method further includes: the user terminal sending access information to the second router; the access information includes subject information and a first access packet header representing the guest network; the subject information is accessible information indicating that the network authority of the first router is open to the outside world;

[0050] The second router receives access information sent by the user terminal through the guest network; converts the first access packet header carried in the access information into a second access packet header representing the first router, and packages the second access packet header and the main information and sends them to the gateway;

[0051] The gateway receives the second access packet header and the subject information, obtains reply information of the access information based on the subject information and the second access packet header, and packages the reply information and the second access packet header and sends the package to the second router;

[0052] The second router receives the reply information fed back by the gateway and the second access packet header, converts the second access packet header into a first access packet header, and feeds back the reply information to the user terminal based on the first access packet header;

[0053] The user terminal receives the reply information fed back by the second router to complete the access.

[0054] In some embodiments, the server is a core network.

[0055] In some embodiments, the communication method further includes: the user terminal sending access information to the second router; the access information includes subject information and a first access packet header representing the guest network; the subject information is accessible information indicating that the network authority of the first router is open to the outside world;

[0056] The second router receives the access information sent by the user terminal through the guest network; converts the first access packet header carried in the access information into a third access packet header instantiated in the core network by the IP device accessed by the access information, and packages the third access packet header and the main information to the core network;

[0057] The core network receives the third access packet header and the subject information, obtains reply information of the access information based on the subject information and the third access packet header, and packages the reply information and the third access packet header and sends the package to the second router;

[0058] The second router receives the reply information fed back by the core network and the third access packet header, converts the third access packet header into a first access packet header, and feeds back the reply information to the user terminal based on the first access packet header;

[0059] The user terminal receives the reply information fed back by the second router to complete the access.

[0060] In some embodiments, the first attribute information of the first router includes a service set identifier and a password;

[0061] The communication method further includes:

[0062] The user terminal initiates a connection request to the first router using the service set identifier and password of the first router to establish a communication connection with the first router;

[0063] The first router responds to a connection request from a user terminal, where the connection request carries a service set identifier and a password matching the first attribute information, establishes a connection with the user terminal, and sends device information of the user terminal to the server.

[0064] In a third aspect, an embodiment of the present disclosure further provides a communication system, applicable to the communication method described in any one of the first aspects; the communication system includes a first router, a plurality of second routers, and a server; the second router is configured with a local primary network; the first router and the second router are both in communication connection with the server;

[0065] The first router is configured to report a loss message of the disconnected user terminal to the server when detecting that the user terminal connected to the first router is disconnected;

[0066] The server is configured to publish loss announcement information of the user terminal based on the received loss message;

[0067] For any second router, it is configured to receive the loss announcement information, and simulate the first router based on the loss announcement information to establish a guest network, so that the user terminal obtains the network permissions of the first router through a communication connection with the guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network.

[0068] In a fourth aspect, an embodiment of the present disclosure further provides a communication system, applicable to the communication method described in any one of the second aspects; the communication system includes a first router, a plurality of second routers, a user terminal, and a server; the second router is configured with a local primary network; the first router and the second router are both in communication connection with the server;

[0069] The first router is configured to report a loss message of the disconnected user terminal to the server when detecting that the user terminal connected to the first router is disconnected;

[0070] The server is configured to publish loss announcement information of the user terminal to the second router based on the received loss message;

[0071] Any second router is configured to receive the loss announcement information and simulate the first router based on the loss announcement information to establish a guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network;

[0072] The user terminal is configured to scan hotspots, connect to the guest network, and obtain network permissions of the first router through the guest network connected thereto.

[0073] In a fifth aspect, an embodiment of the present disclosure further provides a computer non-volatile readable storage medium, wherein a computer program is stored on the computer non-volatile readable storage medium, and when the computer program is executed by a processor, the steps of the communication method as described in any one of the first aspect or any one of the second aspect are executed. BRIEF DESCRIPTION OF THE DRAWINGS

[0074] FIG1 is a schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0075] FIG2 is a flow chart of a communication method provided by an embodiment of the present disclosure;

[0076] FIG3 is a schematic diagram of a workflow of a first router provided in an embodiment of the present disclosure;

[0077] FIG4 is a schematic diagram of a workflow of a server provided in an embodiment of the present disclosure;

[0078] FIG5 is a flowchart of a second router provided in an embodiment of the present disclosure;

[0079] FIG6 a is a flowchart of establishing a guest network according to an embodiment of the present disclosure;

[0080] FIG6 b is a schematic diagram of a guest network provided by an embodiment of the present disclosure;

[0081] FIG7 is a flow chart of a second router and a gateway cooperating to implement roaming communication of a user terminal according to an embodiment of the present disclosure;

[0082] FIG8 is a schematic diagram of a gateway management IP pool provided in an embodiment of the present disclosure;

[0083] FIG9 is a flow chart of a second router and a core network cooperating to implement roaming communication of a user terminal according to an embodiment of the present disclosure;

[0084] FIG10 is a specific working flow diagram of the second router provided in an embodiment of the present disclosure;

[0085] FIG11 is a schematic diagram of a communication connection between a server and a router provided in an embodiment of the present disclosure;

[0086] FIG12 is a flow chart of a communication method provided by an embodiment of the present disclosure;

[0087] 13 is a flowchart of another embodiment of the present disclosure provided by the second router and the gateway to achieve roaming communication of the user terminal;

[0088] FIG14 is a flowchart of another embodiment of the present disclosure providing cooperation between a second router and a core network to implement roaming communication of a user terminal;

[0089] FIG15 is a schematic diagram of a communication system provided by an embodiment of the present disclosure;

[0090] FIG16 is a schematic diagram of another communication system provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0091] In order to make the purpose, technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the disclosure for which protection is sought, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present disclosure.

[0092] Unless otherwise defined, the technical or scientific terms used in this disclosure should have the usual meanings understood by people with ordinary skills in the field to which this disclosure belongs. The "first", "second" and similar words used in this disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "an" or "the" do not indicate a quantitative limitation, but rather indicate the presence of at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0093] In this disclosure, "multiple or several" refers to two or more. "And / or" describes the relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can mean: A exists alone, A and B exist simultaneously, or B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0094] In related technologies, expanding WiFi coverage typically requires adding routers or employing a bridging approach to allow user terminals to roam across different routers with the same name. However, these approaches to expanding WiFi coverage pose challenges such as inconvenient management of routers with the same name and difficulty managing the differentiated roaming permissions for different user terminals.

[0095] In view of this, the embodiments of the present disclosure provide a communication method, a communication system, and a storage medium, which can solve the problem that a user terminal cannot find a hotspot after roaming, and the problem of insufficient WiFi coverage.

[0096] For ease of understanding, the communication method provided by the embodiment of the present disclosure is first described in detail.

[0097] In a first aspect, an embodiment of the present disclosure provides a communication method applied to a communication system, the communication system including a first router, multiple second routers and a server; the second router is configured with a local primary network; the first router and the second router are both communicatively connected to the server.

[0098] The communication system includes multiple routers. The first router and the second router of the present disclosure are not fixed routers specified by the communication system. Instead, for ease of understanding, they distinguish between router A, to which the user terminal is connected before roaming, and other routers managed by the server other than router A. For example, in a certain scenario, the first router is the router to which the user terminal is connected before roaming; the second router is a router other than the first router among the multiple routers connected to the server for communication.

[0099] Exemplarily, the first router is configured with a local primary network, and the first attribute information of the first router includes a service set identifier (SSID) and a password (PSW). When the user terminal is within the signal coverage of the first router, it receives the signal transmitted by the first router. If the PSW of the user terminal for the SSID matches the SSID and PSW of the first router, the user terminal establishes a connection with the first router, thereby obtaining the network permission of the local primary network of the first router, hereinafter referred to as the network permission of the first router. Similarly, the second router is configured with a local primary network, and the second attribute information of the local primary network of the second router includes an SSID and a PSW. If the PSW of the user terminal for the SSID matches the second attribute information, the user terminal establishes a connection with the local primary network of the second router, thereby obtaining the network permission of the local primary network of the second router.

[0100] It should be noted that different routers have different names and Internet Protocols (IPs). In order to ensure that the user terminal can access the Internet even when it moves out of the signal coverage area of ​​the original WiFi hotspot (such as the first router), it is necessary to set up roaming services for the user terminal. Roaming is very important for large shopping malls and office areas. However, due to confidentiality and authority issues, the user terminal should only be able to access the original WiFi hotspot to obtain corresponding permissions. For example, Figure 1 is a schematic diagram of the application scenario provided by the embodiment of the present disclosure. As shown in Figure 1, router A and router B are respectively connected to the server. The user has the SSID and PSW of router A in the office to access the Internet. Afterwards, the user goes to the laboratory and still needs to access the Internet, but due to confidentiality and authority management, the user cannot obtain the PSW of router B, so he can only try to access the original WiFi hotspot to obtain corresponding permissions.

[0101] FIG2 is a flow chart of a communication method provided by an embodiment of the present disclosure. As shown in FIG2 , the communication method includes steps S11 to S13, wherein:

[0102] S11. When detecting that a user terminal connected to the first router is disconnected, the first router reports a message of loss of the disconnected user terminal to the server.

[0103] FIG3 is a schematic diagram of the workflow of the first router provided by an embodiment of the present disclosure. As shown in FIG3 , the first router transmits a connection signal within its signal coverage range. If the first router responds to a connection request from a user terminal, which carries a PSW with an SSID that matches the first attribute information, it establishes a connection with the user terminal and sends the device information of the user terminal to the server. The device information of the user terminal is, for example, the user's Mac address. The first router provides the user terminal with network permissions for the local primary network. When the first router detects that the user terminal connected to it is disconnected, it reports the loss information of the disconnected user terminal to the server. The loss information carries, for example, the user's Mac address of the user terminal.

[0104] S12. The server publishes loss announcement information of the user terminal based on the received loss message.

[0105] FIG4 is a schematic diagram of the workflow of a server provided in an embodiment of the present disclosure. As shown in FIG4 , the server performs device management, receives device information reported by a user terminal, and records the user MAC address of the terminal. Upon receiving a loss message from a first router indicating a user terminal is lost, the server determines, based on the loss message, that the user terminal corresponding to the user MAC address is lost, and publishes a loss announcement for the user terminal, which includes at least the device information of the user terminal and first attribute information of the first router.

[0106] It should be noted that the server can publish loss announcement information to all routers it is connected to to avoid the situation where the first router reports a false alarm and the user terminal is still within the coverage of the first router; alternatively, the server can exclude the first router based on the source of the received loss message, that is, the first router, and only publish the loss announcement information to the second router, thereby saving network resources.

[0107] S13: For any second router, receive the loss announcement information, and simulate the first router based on the loss announcement information to establish a guest network.

[0108] The network permissions of the guest network are the same as those of the first router; the network permissions of the guest network are different from those of the local primary network.

[0109] It should be noted that SSID technology can divide a wireless LAN into several sub-networks that require different authentication methods. Each sub-network requires independent authentication, and only users who pass the authentication can enter the corresponding sub-network, preventing unauthorized users from entering the network.

[0110] The second router can establish a guest network for the user terminal to access the Internet and obtain the network permission of the first router's local main network when receiving the information that the first router has lost the user and does not change the communication of its own local main network.

[0111] Figure 5 is a workflow diagram of the second router provided in an embodiment of the present disclosure. As shown in Figure 5, the second router receives the loss announcement information, and simulates the SSID and PSW of the first router based on the first attribute information (PSW of the SSID) in the loss announcement information, and configures it to the guest network, so that the user terminal can establish a communication connection with the guest network within the signal coverage range of the second router through the SSID and PSW of the first router, and obtain the network authority of the first router.

[0112] The communication method provided by the embodiments of the present disclosure establishes a guest network by simulating a first router with a second router. This ensures that the third attribute information of the guest network is identical to the first attribute information and has the network permissions of the first router. This allows user terminals to obtain the network permissions of the first router within the signal coverage of the second router. Furthermore, any second router can provide Internet access to the user terminal by establishing a guest network. Therefore, the present disclosure eliminates the need for additional routers or bridges; the router originally connected to the server can be used to expand the WiFi signal coverage.

[0113] In some embodiments, for step S13, the second router simulates the process of the first router, that is, the process of establishing a guest network. The process of establishing a guest network is the process of generating IP, network policy, and attribute information. FIG6a is a flowchart of establishing a guest network provided by an embodiment of the present disclosure, and the execution subject is the second router. FIG6b is a schematic diagram of the guest network provided by an embodiment of the present disclosure. As shown in FIG6a and FIG6b, the process specifically includes steps S131 to S133, wherein:

[0114] S131 . In response to receiving the loss announcement information, generate an Internet protocol for the guest network.

[0115] After receiving the loss announcement information, the second router actively generates the IP address of the guest network.

[0116] The loss announcement information includes device information of the user terminal and first attribute information of the first router.

[0117] S132: Download the first network policy of the first router from the server based on the device information in the loss announcement information.

[0118] Based on the device information in the loss notification, the second router determines the first router corresponding to the user's MAC address and downloads the first router's first network policy from the server. The first network policy includes the networks and IP devices that are allowed to access, as well as the networks and IP devices that are prohibited from access, indicating the first router's relevant network permissions.

[0119] The server stores the network policies of each router connected to it.

[0120] S133: Establish a guest network based on the Internet protocol, the first attribute information, and the first network policy.

[0121] The second router establishes a guest network that can simulate the first router by using the IP, SSID, PSW, and the first network policy. The first network policy, SSID, and PSW of the established guest network are the same as those of the first router, but the IP is different.

[0122] In some embodiments, the server is a gateway, which serves as a superior network device of the first router and the second router and has the ability to manage routers so that multiple routers in the same local area network can access each other through IP.

[0123] Furthermore, the gateway is equipped with a partial proxy system, and the partial proxy system built in the gateway is connected with the remaining proxy system built in the user terminal to form a proxy service system together. The proxy service system is used to provide the network authority of the first router to the user terminal covered by the second router.

[0124] Exemplarily, the proxy service system includes an agent system.

[0125] It should be noted that agent is an artificial intelligence term that refers to a software or hardware entity that can act autonomously. For example, it can be a computer program that automatically performs various functions on behalf of an individual or organization, or a software that can query and return results autonomously.

[0126] The following is an actual access example to further illustrate how the gateway builds an agent system to achieve roaming communication for user terminals.

[0127] 7 is a flowchart of a second router and a gateway cooperating to implement roaming communication of a user terminal provided by an embodiment of the present disclosure. As shown in FIG7 , the flowchart includes steps S21 to S27, wherein:

[0128] S21. The second router receives access information sent by the user terminal through the guest network.

[0129] The access information includes subject information and a first access header representing the guest network. The subject information is accessible information about the first router's network permissions, such as information indicating the network to be accessed by the user terminal. The first access header is, for example, the guest network's IP address (192.168.1.1).

[0130] S22. The second router converts the first access packet header carried in the access information into a second access packet header representing the first router.

[0131] Since the guest network simulates the first router, the first access packet header should be converted into the IP of the first router simulated by the guest network during conversion, that is, the second access packet header is the IP of the first router (169.254.1.3).

[0132] S23. The second router packages the second access packet header and the body information and sends them to the gateway.

[0133] S24. The gateway receives the second access packet header and the subject information, and obtains reply information of the access information based on the subject information and the second access packet header.

[0134] The gateway receives the second access packet header (169.254.1.3), determines that the second router is requesting network access from the first router, and then, based on the subject information, determines a response to the access request. This response corresponds to the access request. For example, if the subject information is www.aaaa.com, the website that the first router has access to, and that website prohibits access from the second router's local network, the response will contain search data provided by www.aaaa.com.

[0135] S25. The gateway packages the reply information and the second access packet header and sends the package to the second router.

[0136] S26. The second router receives the reply information and the second access packet header fed back by the gateway, and converts the second access packet header into the first access packet header.

[0137] S27: Feedback reply information to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

[0138] The second router receives the search data provided by www.aaaa.com and the second access packet header (169.254.1.3), and converts the second access packet header (169.254.1.3) into the first access packet header (192.168.1.1). In this way, the second router can find the corresponding user terminal based on the first access packet header (192.168.1.1), and thus send the search data provided by www.aaaa.com to the corresponding user terminal.

[0139] In some embodiments, FIG8 is a schematic diagram of a gateway management IP pool provided in an embodiment of the present disclosure. As shown in FIG8 , the IP pool of the local primary network of the second router and the IP pool of the guest network are different.

[0140] An IP pool, also known as a proxy IP pool, is a managed group of proxy IPs, usually in large quantities, that is used by a gateway to control proxy quality and determine which IPs are included in the proxy set assigned to a specific user. On a gateway with a partial agent system, separate IP pools are set up for the second router's local primary network and guest network. This isolates the access paths of the second router's local primary network and guest network, allowing the guest network to replicate the access policy of the first router in guest mode, thereby completely isolating the guest network's network permissions from those of the local primary network.

[0141] In some embodiments, the Domain Name System (DNS) settings of the first router are different from the DNS settings of the second router.

[0142] In combination with the various embodiments of the above-mentioned gateway, the second router converts the access packet header before routing, and by setting different IP pools for the first router and the second router, and the two do not share DNS and other settings, it is possible to obtain network permissions prohibited by the local main network of the second router through the guest network.

[0143] In some embodiments, the server is a core network.

[0144] Here, the core network is different from the gateway and does not have a unified management function. However, the Internet access part of the core network is similar to the gateway, and both are carried out through the same measurement rate, with the focus on the access to the local area network. Unlike the first router and the second router under the unified management of the gateway, which can access each other through IP, the first router and the second router under the core network cannot access each other through IP, that is, the first router and the second router can imitate each other's SSID and PSW through the core network, but cannot access IP. Based on this, the present disclosure adopts IP reverse breakdown technology to enable the first router and the second router to be interconnected through IP, so that the user terminal can obtain IP device permissions under the coverage of the first router within the coverage range of the second router.

[0145] In some embodiments, the first router integrates dynamic domain name resolution software. This allows the first router to publish the private IP addresses of IP devices with network permissions to the core network using dynamic domain name resolution technology. Similarly, the second router integrates dynamic domain name resolution software. This allows the second router to publish the private IP addresses of IP devices with network permissions to the core network using dynamic domain name resolution technology. The core network instantiates the received private IP address of the IP device as a public IP address and uses it as the third access packet header for accessing the IP device.

[0146] The following is an actual access example to further illustrate how the system uses dynamic domain name resolution technology to achieve roaming communication for user terminals.

[0147] 9 is a flowchart of a second router and a core network cooperating to implement roaming communication of a user terminal provided by an embodiment of the present disclosure. As shown in FIG9 , the flowchart includes steps S31 to S37, wherein:

[0148] S31. The second router receives access information sent by the user terminal through the guest network.

[0149] The access information includes subject information and a first access header representing the guest network. The subject information is accessible information that indicates the network permissions of the first router, such as information indicating the IP device to be accessed by the user terminal. The first access header is, for example, the IP address of the guest network (192.168.1.1).

[0150] S32. The second router converts the first access packet header carried in the access information into a third access packet header instantiated in the core network by the IP device accessed by the access information according to the main information.

[0151] For example, the core network pre-instantiates the private IP address of a printer (IP device) within the coverage area of ​​the first router as a public IP address, which is used as the third access packet header for accessing the printer (IP device). When the subject information indicates accessing the printer (IP device) within the coverage area of ​​the first router, the first access packet header (192.168.1.1) is converted into the third access packet header.

[0152] S33. The second router packages the third access packet header and the main information and sends them to the core network.

[0153] S34. The core network receives the third access packet header and the subject information, and obtains reply information of the access information based on the subject information and the third access packet header.

[0154] The core network receives the third access packet header and determines that the second router is requesting network permissions for printers within the first router's coverage area. Based on the subject information, the core network then determines a response to the access request. This response corresponds to the access request. Continuing with the previous example, if the subject information is for printer access, the response grants network permissions for printers within the first router's coverage area, allowing the user terminal to control printers within the first router's coverage area through the guest network.

[0155] S35. The core network packages the reply information and the third access packet header and sends the package to the second router.

[0156] S36. The second router receives the reply information and the third access packet header fed back by the core network, and converts the third access packet header into the first access packet header.

[0157] S37. The second router feeds back the reply information to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

[0158] The second router converts the third access packet header into the first access packet header (192.168.1.1), so that the second router can find the corresponding user terminal according to the first access packet header (192.168.1.1), thereby providing the printer authority to the corresponding user terminal.

[0159] In some embodiments, FIG10 is a specific workflow diagram of the second router provided in an embodiment of the present disclosure. As shown in FIG10 , the execution subject is the second router, and specifically includes steps S41 to S46, wherein:

[0160] S41. Receive loss announcement information.

[0161] S42. Establish a guest network.

[0162] S43: Determine whether a connection is established with the user terminal within the set time. If so, execute S44; otherwise, execute S46.

[0163] S44. Establish a connection with the user terminal.

[0164] S45. Send an instruction to the other second routers to stop simulating the first router.

[0165] The other second routers are the remaining second routers among the multiple second routers except the second router that establishes a connection with the user terminal.

[0166] S46. Stop simulating the first router.

[0167] In some embodiments, Figure 11 is a schematic diagram of the communication connection between the server and the router provided in an embodiment of the present disclosure. As shown in Figure 11, the router communicates with the server through the Message Queuing Telemetry Transport (MQTT) protocol, that is, the first router and the second router both communicate with the server through the MQTT protocol.

[0168] Among them, MQT is a message protocol based on the publish / subscribe paradigm under the ISO standard (ISO / IEC PRF 20922).

[0169] In MQTT, there are two types of loss announcements published by the server: the first type is the SSID and PSW of the first router after the first router loses the user terminal. The second type is the SSID and PSW of the guest network after the guest network loses the user terminal, which is also the SSID and PSW of the simulated first router.

[0170] For the second type of loss announcement information, after the guest network loses the user terminal, it reports to the server, and the server announces the SSID and PSW, that is, announces the SSID and PSW of the first router, which is equivalent to the first router losing the user terminal. For specific implementation, please refer to the roaming communication process after the user terminal is lost in the above-mentioned first router.

[0171] In a second aspect, an embodiment of the present disclosure also provides another communication method, which is applied to a communication system, wherein the communication system includes a first router, multiple second routers, a user terminal and a server; the second router is configured with a local primary network; and both the first router and the second router are communicatively connected to the server.

[0172] Compared with the communication system of the first aspect, the communication system here has an additional user terminal.

[0173] FIG12 is a flow chart of a communication method provided by an embodiment of the present disclosure. As shown in FIG12 , the communication method includes steps S51 to S54, wherein:

[0174] S51. When detecting that a user terminal connected to the first router is disconnected, the first router reports a message of loss of the disconnected user terminal to a server.

[0175] S52: The server publishes loss announcement information of the user terminal to the second router based on the received loss message.

[0176] S53: For any second router, receive the loss announcement information, and simulate the first router based on the loss announcement information to establish a guest network.

[0177] The network permissions of the guest network are the same as those of the first router; the network permissions of the guest network are different from those of the local primary network.

[0178] It should be noted that the execution process of S51 to S53 in the embodiment of the present disclosure is the same as the execution process of steps S11 to S13 in the communication method of the first aspect, and the repeated parts are not repeated here.

[0179] S54. The user terminal scans for hotspots, connects to the guest network, and obtains network permissions of the first router through the connected guest network.

[0180] The communication method provided by the embodiments of the present disclosure establishes a guest network by simulating a first router with a second router. This ensures that the third attribute information of the guest network is identical to the first attribute information and has the network permissions of the first router. This allows user terminals to obtain the network permissions of the first router within the signal coverage of the second router. Furthermore, any second router can provide Internet access to the user terminal by establishing a guest network. Therefore, the present disclosure eliminates the need for additional routers or bridges; the router originally connected to the server can be used to expand the WiFi signal coverage.

[0181] In some embodiments, the server is a gateway.

[0182] In some embodiments, the loss announcement information includes device information of the user terminal and first attribute information of the first router; simulating the first router based on the loss announcement information to establish a guest network includes: generating an internet protocol for the guest network in response to receiving the loss announcement information; downloading a first network policy for the first router from a gateway based on the first attribute information in the loss announcement information; and establishing the guest network based on the internet protocol, the first attribute information, and the first network policy. It should be noted that the execution process of establishing the guest network in the embodiment of the present disclosure is the same as the execution process of steps S131 to S133 in the communication method of the first aspect, and the repeated parts are not repeated here.

[0183] The user terminal scans the hotspot and obtains the network permission of the first router through the guest network connected thereto, including: the user terminal scans the hotspot and connects to the guest network when the attribute information carried by the connection signal transmitted by the guest network matches the first attribute information; and obtains the network permission of the first router based on the first network policy of the guest network.

[0184] The first network policy includes the networks and IP devices that are allowed and prohibited for the first router, indicating the network permissions of the first router. The guest network is configured with the first network policy, indicating that the guest network has the network permissions of the first router. User terminals can obtain network permissions of the first router through the guest network.

[0185] User terminals within the coverage area of ​​the second router can obtain network access to the first router in at least two ways: First, when the server is a gateway, an agent system jointly established by the gateway and the user terminal is used to provide network access to the first router to user terminals within the coverage area of ​​the second router. Second, when the server is a core network, dynamic domain name resolution software is integrated into the router, utilizing dynamic domain name resolution technology to provide network access to the first router to user terminals within the coverage area of ​​the second router.

[0186] The two methods of obtaining the network permission of the first router are described below respectively.

[0187] In some embodiments, the server is a gateway; the gateway is equipped with a partial proxy system, and the partial proxy system built in the gateway is connected to the remaining proxy system built in the user terminal to form a proxy service system together. The proxy service system is used to provide the network permissions of the first router to the user terminal under the coverage of the second router.

[0188] Exemplarily, the proxy service system includes an agent system.

[0189] In some embodiments, when the server is a gateway, a user terminal located within the coverage area of ​​the second router obtains the network permission of the first router. FIG13 is a flowchart of another embodiment of the present disclosure provided by the second router and the gateway cooperating to implement roaming communication of the user terminal, as shown in FIG13, including steps S61 to S69, wherein:

[0190] S61. The user terminal sends access information to the second router.

[0191] The access information includes subject information and a first access packet header representing the visitor network; the subject information is accessible information that the network authority of the first router is open to the outside.

[0192] S62: The second router receives access information sent by the user terminal through the guest network.

[0193] S63: The second router converts the first access packet header carried in the access information into a second access packet header representing the first router.

[0194] S64. The second router packages the second access packet header and the body information and sends them to the gateway.

[0195] S65. The gateway receives the second access packet header and the subject information, and obtains reply information of the access information based on the subject information and the second access packet header.

[0196] S66. The gateway packages the reply information and the second access packet header and sends the package to the second router.

[0197] S67: The second router receives the reply information and the second access packet header fed back by the gateway, and converts the second access packet header into a first access packet header.

[0198] S68. The second router feeds back the reply information to the user terminal based on the first access packet header.

[0199] S69: The user terminal receives the reply information fed back by the second router to complete the access.

[0200] The above processes S61 to S69 of the user terminal roaming communication process can refer to the specific implementation processes of S21 to S27 in the communication method of the first aspect, and the repeated parts will not be repeated.

[0201] In some embodiments, the server is a core network.

[0202] Here, the core network, unlike the gateway, lacks unified management capabilities. However, the core network's Internet access is similar to that of the gateway, operating through the same measurement rate, with the focus on accessing the local area network. Unlike the first and second routers under unified gateway management, which can access each other via IP, the first and second routers under the core network cannot access each other via IP. In other words, the first and second routers can mimic each other's SSID and PSW via the core network, but cannot access IP. Based on this, the present disclosure utilizes IP reverse penetration technology to enable the first and second routers to interconnect via IP, allowing user terminals within the second router's coverage area to obtain IP device permissions within the first router's coverage area.

[0203] In some embodiments, the first router integrates dynamic domain name resolution software. This allows the first router to publish the private IP addresses of IP devices with network permissions to the core network using dynamic domain name resolution technology. Similarly, the second router integrates dynamic domain name resolution software. This allows the second router to publish the private IP addresses of IP devices with network permissions to the core network using dynamic domain name resolution technology. The core network instantiates the received private IP address of the IP device as a public IP address and uses it as the third access packet header for accessing the IP device.

[0204] The following is an actual access example to further illustrate how the system uses dynamic domain name resolution technology to achieve roaming communication for user terminals.

[0205] Exemplarily, FIG14 is a flowchart of another embodiment of the present disclosure, in which a second router and a core network cooperate to implement roaming communication of a user terminal. As shown in FIG14 , the flowchart includes steps S71 to S79, wherein:

[0206] S71. The user terminal sends access information to the second router.

[0207] The access information includes subject information and a first access packet header representing the visitor network; the subject information is accessible information indicating that the network authority of the first router is open to the outside world.

[0208] S72. The second router receives access information sent by the user terminal through the guest network.

[0209] S73. The second router converts the first access packet header carried in the access information into a third access packet header instantiated in the core network by the IP device accessed by the access information.

[0210] S74. The second router packages the third access packet header and the main information and sends them to the core network.

[0211] S75. The core network receives the third access packet header and the subject information, and obtains reply information of the access information based on the subject information and the third access packet header.

[0212] S76. The core network packages the reply information and the third access packet header and sends the package to the second router.

[0213] S77. The second router receives the reply information and the third access packet header fed back by the core network, and converts the third access packet header into the first access packet header.

[0214] S78. The second router feeds back the reply information to the user terminal based on the first access packet header.

[0215] S79: The user terminal receives the reply information fed back by the second router to complete the access.

[0216] The above processes S71 to S79 ​​of the user terminal roaming communication process can refer to the specific implementation processes of S31 to S37 in the communication method of the first aspect, and the repeated parts will not be repeated.

[0217] In some embodiments, the first attribute information of the first router includes a service set identifier SSID and a password PSW; and the communication method further includes:

[0218] As shown in Figure 3, the user terminal initiates a connection request to the first router using the service set identifier and password of the first router to establish a communication connection with the first router; the first router responds to the connection request from the user terminal, which carries the service set identifier and password that match the first attribute information, establishes a connection with the user terminal, and sends the device information of the user terminal to the server.

[0219] Those skilled in the art will understand that in the above-mentioned method of the specific implementation method, the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of each step should be determined by its function and possible internal logic.

[0220] In addition, a communication system corresponding to the communication method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the communication system in the embodiment of the present disclosure is similar to the above-mentioned communication method in the embodiment of the present disclosure, the implementation of the communication system can refer to the implementation of the communication method, and the repeated parts will not be repeated.

[0221] In a third aspect, embodiments of the present disclosure further provide a communication system applicable to any of the communication methods of the first aspect. Figure 15 is a schematic diagram of a communication system provided by an embodiment of the present disclosure. As shown in Figure 15 , the communication system 001 includes a first router 81, multiple second routers 82, and a server 83; the second router 82 is configured with a local primary network 821; and both the first router 81 and the second router 82 are in communication with the server 83.

[0222] The first router 81 is configured to report a loss message of the disconnected user terminal to the server 83 when detecting that the user terminal connected thereto is disconnected.

[0223] The server 83 is configured to publish loss announcement information of the user terminal based on the received loss message.

[0224] For any second router 82, it is configured to receive loss announcement information, and simulate the first router 81 based on the loss announcement information, establish a guest network 822, so that the user terminal obtains the network permissions of the first router 81 through a communication connection with the guest network 822; the network permissions of the guest network 822 are the same as the network permissions of the first router 81; the network permissions of the guest network 822 are different from the network permissions of the local main network 821.

[0225] The communication system provided by the disclosed embodiment establishes a guest network 822 by simulating the first router 81 through the second router 82. The third attribute information of the guest network 822 is identical to the first attribute information, and the guest network 822 has the network permissions of the first router 81. This allows user terminals to obtain the network permissions of the first router 81 within the signal coverage of the second router 82. Furthermore, any second router 82 can provide Internet access to user terminals by establishing the guest network 822. Therefore, the present disclosure eliminates the need for additional routers or bridges; the router originally connected to the server 83 can be used to expand the WiFi signal coverage.

[0226] In some embodiments, the loss announcement information includes device information of the user terminal and first attribute information of the first router 81; the second router 82 is specifically configured to generate an Internet protocol for the guest network 822 in response to receiving the loss announcement information; based on the device information in the loss announcement information, download the first network policy of the first router 81 from the server 83; and establish the guest network 822 based on the Internet protocol, the first attribute information and the first network policy.

[0227] In some embodiments, the server 83 is a gateway; the gateway is equipped with a partial proxy system, and the partial proxy system is connected to the remaining proxy system built by the user terminal to form a proxy service system.

[0228] In some embodiments, the second router 82 is further configured to receive access information sent by the user terminal through the guest network 822; the access information includes subject information and a first access header representing the guest network 822; the subject information is accessible information that the network authority of the first router 81 is open to the outside world; the first access header carried in the access information is converted into a second access header representing the first router 81, and the second access header and the subject information are packaged and sent to the gateway; and, the reply information and the second access header fed back by the gateway are received, the second access header is converted into the first access header, and the reply information is fed back to the user terminal based on the first access header, so that the user terminal receives the reply information and completes the access.

[0229] The gateway is configured to receive the second access header and the body information, and obtain reply information of the access information based on the body information and the second access header, and package the reply information and the second access header and send it to the second router 82.

[0230] In some embodiments, the IP pool of the local primary network 821 of the second router 82 is different from the IP pool of the guest network 822 .

[0231] In some embodiments, the server 83 is a core network.

[0232] In some embodiments, the first router 81 and the second router 82 are both integrated with dynamic domain name resolution software; the first router 81 is also configured to publish the private IP of the IP device with its own network authority to the core network; the second router 82 is also configured to publish the private IP of the IP device with its own network authority to the core network; the core network is also configured to instantiate the received private IP of the IP device into a public IP as the third access packet header for accessing the IP device.

[0233] In some embodiments, the second router 82 is further configured to receive access information sent by the user terminal through the guest network 822; the access information includes subject information and a first access packet header representing the guest network 822; the subject information is the accessible information that the network authority of the first router 81 is open to the outside world; according to the subject information, the first access packet header carried in the access information is converted into a third access packet header instantiated in the core network by the IP device accessed by the access information, and the third access packet header and the subject information are packaged and sent to the core network; and, the reply information and the third access packet header fed back by the core network are received, the third access packet header is converted into the first access packet header, and the reply information is fed back to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

[0234] The core network is further configured to receive the third access header and the main body information, and obtain reply information of the access information based on the main body information and the third access header, and package the reply information and the third access header and send it to the second router 82.

[0235] In some embodiments, after establishing the guest network 822, the second router 82 is further configured to stop simulating the first router 81 if no connection is established with the user terminal within a set time; if a connection is established with the user terminal within the set time, an instruction to stop simulating the first router 81 is sent to other second routers 82; the other second routers 82 are the remaining second routers 82 among the multiple second routers 82 except the second router 82 that establishes a connection with the user terminal.

[0236] In some embodiments, the first router 81 and the second router 82 both communicate with the server 83 via the MQTT protocol.

[0237] Fourthly, embodiments of the present disclosure further provide another communication system applicable to the communication method of any one of the second aspects. Figure 16 is a schematic diagram of a communication system provided by an embodiment of the present disclosure. As shown in Figure 16 , the communication system includes a first router 81, multiple second routers 82, a user terminal 84, and a server 83; the second router 82 is configured with a local primary network 821; and both the first router 81 and the second router 82 are in communication with the server 83.

[0238] The first router 81 is configured to report a loss message of the disconnected user terminal 84 to the server 83 when detecting that the disconnected user terminal 84 is disconnected.

[0239] The server 83 is configured to publish loss announcement information of the user terminal 84 to the second router 82 based on the received loss message.

[0240] For any second router 82, it is configured to receive the loss announcement information, and simulate the first router 81 based on the loss announcement information to establish a guest network 822; the network permissions of the guest network 822 are the same as the network permissions of the first router 81; the network permissions of the guest network 822 are different from the network permissions of the local main network 821.

[0241] The user terminal 84 is configured to scan hotspots, connect to the guest network 822 , and obtain network permissions of the first router 81 through the guest network 822 connected thereto.

[0242] Compared with the communication system of the third aspect, the communication system here adds a user terminal 84, and the other structures and execution principles are the same, and the repeated parts are not repeated.

[0243] The communication system provided by the disclosed embodiment establishes a guest network 822 by simulating the first router 81 through a second router 82. This ensures that the third attribute information of the guest network 822 is identical to the first attribute information and has the network permissions of the first router 81. This allows user terminals 84 to obtain network permissions of the first router 81 within the signal coverage of the second router 82. Furthermore, any second router 82 can provide Internet access to the user terminal 84 by establishing a guest network 822. Therefore, the present disclosure eliminates the need for additional routers or bridges; the router originally connected to the server 83 can be used to expand the WiFi signal coverage.

[0244] In a fifth aspect, an embodiment of the present disclosure further provides a computer non-volatile readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the communication method as described in any one of the first aspect or any one of the second aspect are executed.

[0245] It is understood that the above embodiments are merely exemplary embodiments for illustrating the principles of the present disclosure, and the present disclosure is not limited thereto. Those skilled in the art may make various modifications and improvements without departing from the spirit and substance of the present disclosure, and such modifications and improvements are also considered to be within the scope of protection of the present disclosure.

Claims

1. A communication method, applied to a communication system, wherein the communication system comprises a first router, a plurality of second routers and a server; The second router is configured with a local primary network; the first router and the second router are both connected to the server for communication; The communication method comprises: When the first router detects that a user terminal connected to the first router is disconnected, the first router reports a loss message of the user terminal disconnected to the server; The server publishes loss announcement information of the user terminal based on the received loss message; For any second router, the loss announcement information is received, and the first router is simulated based on the loss announcement information to establish a guest network, so that the user terminal obtains the network permissions of the first router through a communication connection with the guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network.

2. The communication method according to claim 1, wherein: The loss announcement information includes device information of the user terminal and first attribute information of the first router; The simulating the first router based on the loss announcement information to establish a guest network includes: In response to receiving the loss announcement information, generating an internet protocol for the guest network; Downloading a first network policy of the first router from the server based on the device information in the loss announcement information; The guest network is established based on the Internet protocol, the first attribute information and the first network policy.

3. The communication method according to claim 1, wherein: The server is a gateway; the gateway is equipped with a partial proxy system, and the partial proxy system is connected with the remaining proxy system built by the user terminal to form a proxy service system.

4. The communication method according to claim 3, wherein: Also includes: The second router receives access information sent by the user terminal through the guest network; the access information includes subject information and a first access packet header representing the guest network; the subject information is accessible information of the network authority of the first router being open to the outside; the first access packet header carried in the access information is converted into a second access packet header representing the first router, and the second access packet header and the subject information are packaged and sent to the gateway; The gateway receives the second access packet header and the subject information, obtains reply information of the access information based on the subject information and the second access packet header, and packages the reply information and the second access packet header and sends the package to the second router; The second router receives the reply information and the second access packet header fed back by the gateway, converts the second access packet header into a first access packet header, and feeds back the reply information to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

5. The communication method according to any one of claims 1 to 4, wherein: The IP pool of the local primary network of the second router is different from the IP pool of the guest network.

6. The communication method according to claim 1 or 2, wherein: The server is a core network.

7. The communication method according to claim 6, wherein: The first router and the second router are both integrated with dynamic domain name resolution software; The first router publishes the private network IP of the IP device with its own network authority to the core network; The second router publishes the private network IP of the IP device with its own network authority to the core network; The core network instantiates the received private network IP of the IP device into a public network IP as a third access packet header for accessing the IP device.

8. The communication method according to claim 7, wherein: Also includes: The second router receives access information sent by the user terminal through the guest network; the access information includes subject information and a first access packet header representing the guest network; the subject information is accessible information of the network authority of the first router open to the outside; information, converting the first access packet header carried in the access information into a third access packet header instantiated in the core network by the IP device accessed by the access information, and packaging the third access packet header and the main information and sending them to the core network; The core network receives the third access packet header and the subject information, obtains reply information of the access information based on the subject information and the third access packet header, and packages the reply information and the third access packet header and sends them to the second router; The second router receives the reply information and the third access packet header fed back by the core network, converts the third access packet header into the first access packet header, and feeds back the reply information to the user terminal based on the first access packet header, so that the user terminal receives the reply information and completes the access.

9. The communication method according to claim 1, wherein: After establishing the guest network, any of the second routers further includes: If no connection is established with the user terminal within a set time, stopping simulating the first router; If a connection is established with the user terminal within a set time, an instruction to stop simulating the first router is sent to other second routers; the other second routers are the remaining second routers among the plurality of second routers except the second router connected with the user terminal.

10. The communication method according to claim 1, wherein: The first router and the second router both communicate with the server via the message queue telemetry transmission MQTT protocol.

11. A communication method, applied to a communication system, the communication system comprising a first router, a plurality of second routers, a user terminal and a server; The second router is configured with a local main network; the first router and the second router are both connected to the server for communication; The communication method comprises: When the first router detects that a user terminal connected to the first router is disconnected, the first router reports a loss message of the user terminal disconnected to the server; The server publishes loss announcement information of the user terminal to the second router based on the received loss message; For any second router, receiving the loss announcement information, and simulating the first router based on the loss announcement information to establish a guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network; The user terminal scans the hotspot, connects to the guest network, and obtains the network permission of the first router through the guest network connected thereto.

12. The communication method according to claim 11, wherein: The server is a gateway.

13. The communication method according to claim 12, wherein: The loss announcement information includes device information of the user terminal and first attribute information of the first router; The simulating the first router based on the loss announcement information to establish a guest network includes: In response to receiving the loss announcement information, generating an internet protocol for the guest network; Downloading a first network policy of the first router from the gateway based on the first attribute information in the loss announcement information; Establishing the guest network based on the Internet protocol, the first attribute information and the first network policy; The user terminal scans the hotspot, connects to the guest network, and obtains the network permission of the first router through the guest network connected thereto, including: The user terminal scans the hotspot and connects to the guest network when the attribute information carried by the connection signal transmitted by the guest network matches the first attribute information; and obtains the network permission of the first router based on the first network policy of the guest network.

14. The communication method according to claim 11, wherein: The server is a gateway; the gateway is equipped with a partial proxy system, and the partial proxy system is connected with the remaining proxy system built by the user terminal to form a proxy service system.

15. The communication method according to claim 14, wherein: Also includes: The user terminal sends access information to the second router; the access information includes subject information and a first access packet header representing the visitor network; The subject information is the first router Accessible information that is open to the public through network permissions; The second router receives access information sent by the user terminal through the guest network; Converting a first access packet header carried in the access information into a second access packet header representing the first router, and packaging the second access packet header and the main information and sending them to the gateway; The gateway receives the second access packet header and the subject information, obtains reply information of the access information based on the subject information and the second access packet header, and packages the reply information and the second access packet header and sends the package to the second router; The second router receives the reply information fed back by the gateway and the second access packet header, converts the second access packet header into a first access packet header, and feeds back the reply information to the user terminal based on the first access packet header; The user terminal receives the reply information fed back by the second router to complete the access.

16. The communication method according to claim 11, wherein: The server is a core network.

17. The communication method according to claim 16, wherein: Also includes: The user terminal sends access information to the second router; the access information includes subject information and a first access packet header representing the visitor network; The subject information is the accessible information of the network authority of the first router that is open to the outside world; The second router receives the access information sent by the user terminal through the guest network; converts the first access packet header carried in the access information into a third access packet header instantiated in the core network by the IP device accessed by the access information, and packages the third access packet header and the main information and sends them to the core network; The core network receives the third access packet header and the subject information, obtains reply information of the access information based on the subject information and the third access packet header, and packages the reply information and the third access packet header and sends them to the second router; The second router receives the reply information fed back by the core network and the third access packet header, converts the third access packet header into the first access packet header, and feeds back the reply information to the user terminal based on the first access packet header; The user terminal receives the reply information fed back by the second router to complete the access.

18. The communication method according to claim 11, wherein: The first attribute information of the first router includes a service set identifier and a password; The communication method further comprises: The user terminal initiates a connection request to the first router through the service set identifier and password of the first router to establish a communication connection with the first router; The first router responds to a connection request from a user terminal, the connection request carrying a service set identifier and a password matching the first attribute information, establishes a connection with the user terminal, and sends device information of the user terminal to the server.

19. A communication system, applied to the communication method according to any one of claims 1 to 10; the communication system comprises a first router, a plurality of second routers and a server; the second router is configured with a local primary network; the first router and the second router are both connected to the server for communication; The first router is configured to report a loss message of the user terminal disconnected from the first router to the server when detecting that the user terminal connected to the first router is disconnected; The server is configured to publish loss announcement information of the user terminal based on the received loss message; Any of the second routers is configured to receive the loss announcement information, and simulate the first router based on the loss announcement information to establish a guest network, so that the user terminal obtains the network permission of the first router through a communication connection with the guest network; The network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network.

20. A communication system, applied to the communication method according to any one of claims 11 to 18; the communication system comprises a first router, a plurality of second routers, a user terminal and a server; the second router is configured with a local primary network; the first router and the second router are both connected to the server for communication; The first router is configured to detect that the user terminal connected to it is disconnected reporting to the server a message about the user terminal being disconnected from the server; The server is configured to publish loss announcement information of the user terminal to the second router based on the received loss message; Any of the second routers is configured to receive the loss announcement information, and simulate the first router based on the loss announcement information to establish a guest network; the network permissions of the guest network are the same as the network permissions of the first router; the network permissions of the guest network are different from the network permissions of the local main network; The user terminal is configured to scan hotspots, connect to the guest network, and obtain network permissions of the first router through the guest network connected thereto.

21. A computer non-transitory readable storage medium, wherein: The computer non-transitory readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the communication method according to any one of claims 1 to 10 or any one of claims 11 to 18 are executed.

Citation Information

Patent Citations

  • Control system for automatically judging a user to go home and withdraw protection and method thereof

    CN109167800A

  • Controlled guest access to WI-FI networks

    US20190104411A1

  • Wi-Fi networks with multiple party control and management

    US20230025898A1