Communication method, communication system and storage medium

By introducing servers and multiple routers into the WiFi communication system, using the server to publish lost announcement information and the second router to simulate the guest network, the problems of WiFi coverage expansion and user permission management are solved, and simple coverage expansion and permission distinction are achieved.

CN119545339APending Publication Date: 2025-02-28BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311120126.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-31
Publication Date
2025-02-28

AI Technical Summary

Technical Problem

When the prior art expands the WiFi coverage, management is inconvenient and it is difficult to distinguish the roaming permissions of different user terminals.

Method used

By introducing a first router, a plurality of second routers and servers into the communication system, the server is used to publish the loss announcement information of the user terminal. 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 bridge, simplifies the management of routers with the same name, and supports different permission management of different user terminals.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119545339A_ABST
    Figure CN119545339A_ABST
Patent Text Reader

Abstract

The invention provides a communication method, a communication system and a storage medium, and belongs to the technical field of communication, the communication method is applied to the communication system, and the communication system comprises a first router, a plurality of second routers and a server; the second router is configured with a local main network; the first router and the second router are both in communication connection with the server; when the first router detects that the user terminal connected with the first router is disconnected, the first router reports a loss message of the user terminal disconnected with the first router to the server; the server issues loss announcement information of the user terminal based on the received loss message; for any second router, receiving the loss announcement information, simulating the first router based on the loss announcement information, and establishing a visitor network, so that the user terminal obtains the network authority of the first router through the communication connection with the visitor network; the network authority of the visitor network is the same as that of the first router; the network authority of the visitor network is different from the network authority of the local main network.
Need to check novelty before this filing date? Find Prior Art

Description

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 to each other wirelessly. Unlike wired networking, Wi-Fi connects to the Internet through radio waves. The most common hardware is a wireless router. Wi-Fi can be used to connect to the Internet within the effective range of the router's radio waves.

[0003] However, the radio wave coverage of common WiFi routers is limited to about 200 square meters. In view of the existing problems of WiFi coverage, the existing technology for expanding WiFi coverage usually requires adding routers or using a bridge method to allow user terminals to roam and connect when different routers have the same name.

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

[0005] 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.

[0006] In a first aspect, the 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 connected to the server in communication;

[0007] The communication method comprises:

[0008] 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;

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

[0010] 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.

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

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

[0013] In response to receiving the loss announcement information, generating an internet protocol for the guest network;

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

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

[0016] 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.

[0017] In some embodiments, the communication method further 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 header representing the guest network; the subject information is accessible information of the network authority of the first router open to the outside; the first access header carried in the access information is converted into a second access header representing the first router, and the second access header and the subject information are packaged and sent to the gateway;

[0018] 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;

[0019] 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.

[0020] 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.

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

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

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

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

[0025] 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.

[0026] In some embodiments, the communication method further 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 header representing the guest network; the subject information is accessible information of the network authority of the first router open to the outside; according to the subject information, the first access header carried in the access information is converted into a third access header instantiated in the core network by the IP device accessed by the access information, and the third access header and the subject information are packaged and sent to the core network;

[0027] 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;

[0028] 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.

[0029] In some embodiments, after any of the second routers establishes the guest network, the method further includes:

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

[0031] 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 to the user terminal.

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

[0033] In a second aspect, the 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;

[0034] The communication method comprises:

[0035] 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;

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

[0037] 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;

[0038] 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.

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

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

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

[0042] In response to receiving the loss announcement information, generating an internet protocol for the guest network;

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

[0044] Establishing the guest network based on the Internet protocol, the first attribute information and the first network policy;

[0045] 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:

[0046] 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.

[0047] In some embodiments, 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.

[0048] In some embodiments, the communication method further 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 guest network; the subject information is accessible information of the network authority of the first router being open to the outside;

[0049] The second router receives the access information sent by the user terminal through the visitor 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;

[0050] 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;

[0051] 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;

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

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

[0054] In some embodiments, the communication method further 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 guest network; the subject information is accessible information of the network authority of the first router being open to the outside;

[0055] 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;

[0056] 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;

[0057] 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;

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

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

[0060] The communication method further comprises:

[0061] 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;

[0062] 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.

[0063] In a third aspect, the embodiment of the present disclosure further provides a communication system, which is applied to the communication method described in any one of the first aspects; 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 in communication connection with the server;

[0064] 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;

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

[0066] 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.

[0067] In a fourth aspect, the embodiment of the present disclosure further provides a communication system, which is applied to the communication method described in any one of the second aspects; 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 in communication connection with the server;

[0068] 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;

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

[0070] 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;

[0071] 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.

[0072] 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

[0073] Figure 1A schematic diagram of an application scenario provided for an embodiment of the present disclosure;

[0074] Figure 2 A flow chart of a communication method provided by an embodiment of the present disclosure;

[0075] Figure 3 A schematic diagram of the workflow of a first router provided in an embodiment of the present disclosure;

[0076] Figure 4 A schematic diagram of the workflow of a server provided in an embodiment of the present disclosure;

[0077] Figure 5 A workflow diagram of a second router provided in an embodiment of the present disclosure;

[0078] Figure 6a A flow chart of establishing a guest network provided by an embodiment of the present disclosure;

[0079] Figure 6b A schematic diagram of a guest network provided for an embodiment of the present disclosure;

[0080] Figure 7 A flow chart of a second router and a gateway cooperating to realize roaming communication of a user terminal provided in an embodiment of the present disclosure;

[0081] Figure 8 A schematic diagram of a gateway management IP pool provided in an embodiment of the present disclosure;

[0082] Fig. 9 A flow chart of a second router and a core network cooperating to realize roaming communication of a user terminal provided in an embodiment of the present disclosure;

[0083] Fig.10 A specific workflow diagram of the second router provided in the embodiment of the present disclosure;

[0084] Fig.11 A schematic diagram of the communication connection between the server and the router provided in the embodiment of the present disclosure;

[0085] Fig.12 A flow chart of a communication method provided by an embodiment of the present disclosure;

[0086] Fig.13 Another flowchart of a second router and a gateway cooperating to realize roaming communication of a user terminal provided by an embodiment of the present disclosure;

[0087] Fig.14 Another flowchart of a second router and a core network cooperating to implement roaming communication of a user terminal provided in an embodiment of the present disclosure;

[0088] Fig.15 A schematic diagram of a communication system provided in an embodiment of the present disclosure;

[0089] Fig.16 A schematic diagram of another communication system provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0090] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme 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, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here 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 present disclosure for protection, but merely represents the 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 belong to the scope of protection of the present disclosure.

[0091] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantitative restrictions, but indicate that there is at least one. "Including" or "comprising" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects.

[0092] The "multiple or several" mentioned in this disclosure refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0093] In the related art, expanding the WiFi coverage usually requires adding routers or using a bridge to allow user terminals to roam and connect to different routers with the same name. However, the above-mentioned methods of expanding the WiFi coverage have problems such as inconvenient management of routers with the same name and difficulty in managing the different permissions of different user terminals when roaming.

[0094] 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.

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

[0096] In a first aspect, an embodiment of the present disclosure provides a communication method, which is applied to a communication system, wherein the communication system includes a first router, multiple second routers 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.

[0097] 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, but for ease of understanding, the router A connected to the user terminal before roaming and other routers managed by the server except the router A are distinguished. For example, in a certain scenario, the first router is the router connected to the user terminal before roaming; the second router is the other routers except the first router among the multiple routers connected to the server for communication.

[0098] 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 permissions of the local primary network of the first router, hereinafter referred to as the network permissions 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 the SSID and 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 permissions of the local primary network of the second router.

[0099] It should be noted that different routers have different names and Internet Protocols (IP). 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 A schematic diagram of an application scenario provided by an embodiment of the present disclosure, such as Figure 1As shown in the figure, router A and router B are connected to the server respectively. The user has the SSID and PSW of router A in the office to access the Internet. Later, the user goes to the laboratory and still needs to access the Internet. However, due to confidentiality and permission management, the user cannot obtain the PSW of router B, so he can only try to access the original WiFi hotspot to obtain the corresponding permissions.

[0100] Figure 2 A flow chart of a communication method provided by an embodiment of the present disclosure is as follows: Figure 2 As shown, the communication method includes steps S11 to S13, wherein:

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

[0102] Figure 3 A schematic diagram of the workflow of the first router provided in the embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the first router transmits a connection signal within its signal coverage range. If it responds to a connection request from a user terminal, which carries a PSW with an SSID matching 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, and the loss information carries, for example, the user's Mac address of the user terminal.

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

[0104] Figure 4 A schematic diagram of the workflow of the server provided in the embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the server performs device management; receives device information reported by the user terminal, and records the user Mac address of the terminal. In the case of receiving a loss message of the user terminal sent by the first router, based on the loss message, it is determined that the user terminal corresponding to the user Mac address is lost, and the loss announcement information of the user terminal is published, and the loss announcement information at least includes the device information of the user terminal and the first attribute information of the first router.

[0105] It should be noted that the server can publish loss announcement information to all routers it is connected to, so as 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 conserving network resources.

[0106] 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.

[0107] 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 main network of the local machine.

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

[0109] The second router can establish a guest network for the user terminal to access the Internet and obtain the network authority of the first router's local main network when receiving the information that the first router has lost the user and without changing the communication of its own local main network.

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

[0111] The communication method provided by the embodiment of the present disclosure simulates the first router to establish a guest network through the second router, so that the third attribute information of the guest network is the same as the first attribute information, and has the network authority of the first router, so that the user terminal can obtain the network authority of the first router within the signal coverage of the second router. At the same time, for any second router, the user terminal can be provided with Internet access function by establishing a guest network. Therefore, the present disclosure does not need to add a router or bridge, and the router originally connected to the server can be used to expand the signal coverage of WiFi.

[0112] 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; and the process of establishing a guest network is the process of generating IP, network policy and attribute information. Figure 6a The flowchart of establishing a guest network provided by the embodiment of the present disclosure is executed by the second router. Figure 6b A schematic diagram of a guest network provided by an embodiment of the present disclosure, such as Figure 6a and Figure 6bAs shown, it specifically includes steps S131 to S133, wherein:

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

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

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

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

[0117] The second router determines the first router corresponding to the user's Mac address based on the device information in the loss announcement information, and downloads the first network policy of the first router from the server. The first network policy includes the networks and IP devices that are allowed to be accessed, and the networks and IP devices that are prohibited to be accessed, etc. configured for the first router, indicating the relevant network permissions of the first router.

[0118] The server stores the network policies for each router connected to it.

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

[0120] The second router establishes a guest network capable of simulating the first router by means of the IP, SSID, its 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.

[0121] 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.

[0122] 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 jointly constitute a proxy service system, which is used to provide the network authority of the first router to the user terminal covered by the second router.

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

[0124] It should be noted that agent is an artificial intelligence term that refers to a software or hardware entity that can act autonomously, such as 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.

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

[0126] For example, Figure 7 A flowchart of a second router and a gateway cooperating to realize roaming communication of a user terminal provided by an embodiment of the present disclosure, such as Figure 7 As shown, it includes steps S21 to S27, wherein:

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

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

[0129] 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.

[0130] Since the guest network simulates the first router, the first access packet header should be converted to 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).

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

[0132] 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.

[0133] The gateway receives the second access packet header (169.254.1.3), determines that the second router is requesting the network permission of the first router, and then determines the reply information of the access information based on the subject information. The reply information corresponds to the access information. For example, if the subject information is the website www.aaaa.com that the first router has permission to access, and the website prohibits the second router's local main network from accessing it, then the reply information is the search data provided by www.aaaa.com.

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

[0135] 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.

[0136] S27. Feedback 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.

[0137] The second router receives the search data + the second access packet header (169.254.1.3) provided by www.aaaa.com, and converts the second access packet header (169.254.1.3) 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), and send the search data provided by www.aaaa.com to the corresponding user terminal.

[0138] In some embodiments, Figure 8 A schematic diagram of a gateway management IP pool provided in an embodiment of the present disclosure, such as Figure 8 As shown, the IP pool of the local main network of the second router is set to be different from the IP pool of the guest network.

[0139] An IP pool, or proxy IP pool, is a group of managed proxy IPs, usually in large numbers, that are controlled through a gateway to control the quality of the proxy and determine the IPs to be included in the proxy set assigned to a specific user. Set up different IP pools for the local main network and guest network of the second router on the gateway where a partial agent system is built, thereby isolating the access paths of the local main network and guest network of the second router, so that the guest network can copy the access policy of the first router in guest mode, thereby completely isolating the network permissions of the guest network from the network permissions of the local main network.

[0140] In some embodiments, a Domain Name System (DNS) setting of the first router is different from a DNS setting of the second router.

[0141] 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.

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

[0143] 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 regional 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, so that the first router and the second router can be interconnected through IP, so that the user terminal obtains the IP device authority under the coverage of the first router within the coverage range of the second router.

[0144] In some embodiments, the first router is integrated with dynamic domain name resolution software, so that the first router can publish the private network IP of the IP device with its own network authority to the core network by using dynamic domain name resolution technology. Similarly, the second router is integrated with dynamic domain name resolution software, so that the second router can publish the private network IP of the IP device with its own network authority to the core network by using dynamic domain name resolution technology. The core network instantiates the received private network IP of the IP device into a public network IP as the third access packet header for accessing the IP device.

[0145] 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.

[0146] For example, Fig. 9 A flowchart of a second router and a core network cooperating to realize roaming communication of a user terminal is provided in an embodiment of the present disclosure, such as Fig. 9 As shown, steps S31 to S37 are included, wherein:

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

[0148] The access information includes subject information and a first access header representing the guest network. The subject information is the accessible information of the network authority 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 of the guest network (192.168.1.1).

[0149] 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.

[0150] Exemplarily, it is known that the core network instantiates the private network IP of the printer (IP device) covered by the first router as a public network IP in advance as the third access packet header for accessing the printer (IP device). When the subject information indicates accessing the printer (IP device) covered by the first router, the first access packet header (192.168.1.1) is converted into the third access packet header.

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

[0152] 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.

[0153] The core network receives the third access packet header and determines that the second router requests the network permission of the printer within the coverage area of ​​the first router; then determines the reply information of the access information based on the subject information. The reply information corresponds to the access information. Continuing with the above example, if the subject information is to access the printer, the reply information is to open the network permission of the printer within the coverage area of ​​the first router, allowing the user terminal to control the printer within the coverage area of ​​the first router through the guest network.

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

[0155] 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.

[0156] 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.

[0157] 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.

[0158] In some embodiments, Fig.10 A specific working flow diagram of the second router provided in the embodiment of the present disclosure is as follows: Fig.10 As shown, the execution subject is the second router, and specifically includes steps S41 to S46, wherein:

[0159] S41. Receive loss announcement information.

[0160] S42. Establish a guest network.

[0161] S43, determine whether a connection is established with the user terminal within the set time, if so, execute S44, otherwise, execute S46.

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

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

[0164] 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.

[0165] S46: Stop simulating the first router.

[0166] In some embodiments, Fig.11 A schematic diagram of the communication connection between the server and the router provided in the embodiment of the present disclosure, such as Fig.11 As shown, 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.

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

[0168] In MQTT, there are two types of loss announcement information 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, that is, the SSID and PSW of the simulated first router.

[0169] 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 first router loses the user terminal.

[0170] 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.

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

[0172] Fig.12A flow chart of a communication method provided by an embodiment of the present disclosure is as follows: Fig.12 As shown, the communication method includes steps S51 to S54, wherein:

[0173] 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.

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

[0175] 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.

[0176] 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 main network of the local machine.

[0177] 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 will not be repeated.

[0178] S54: 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.

[0179] The communication method provided by the embodiment of the present disclosure simulates the first router to establish a guest network through the second router, so that the third attribute information of the guest network is the same as the first attribute information, and has the network authority of the first router, so that the user terminal can obtain the network authority of the first router within the signal coverage of the second router. At the same time, for any second router, the user terminal can be provided with Internet access function by establishing a guest network. Therefore, the present disclosure does not need to add a router or bridge, and the router originally connected to the server can be used to expand the signal coverage of WiFi.

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

[0181] 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 of the guest network in response to receiving the loss announcement information; downloading the first network policy of the first router from the 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 will not be repeated.

[0182] The user terminal scans the hotspot and obtains the network permission of the first router through the guest network connected to it, 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; based on the first network policy of the guest network, obtains the network permission of the first router.

[0183] The first network policy includes the networks and IP devices that are allowed to be accessed, and the networks and IP devices that are prohibited to be accessed, etc. configured for the first router, indicating the relevant network permissions of the first router. The guest network is configured with the first network policy, indicating that the guest network opens the relevant network permissions of the first router, and the user terminal can obtain the network permissions of the first router through the guest network connected to it.

[0184] The user terminal located within the coverage of the second router obtains the network rights of the first router in at least two ways: first, when the server is a gateway, the network rights of the first router are provided to the user terminal covered by the second router through an agent system jointly built by the gateway and the user terminal. Second, when the server is a core network, the network rights of the first router are provided to the user terminal covered by the second router by integrating dynamic domain name resolution software into the router and using dynamic domain name resolution technology.

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

[0186] 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 with the remaining proxy system built in the user terminal to form a proxy service system together, and the proxy service system is used to provide the network authority of the first router to the user terminal under the coverage of the second router.

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

[0188] In some embodiments, when the server is a gateway, a user terminal located within the coverage of the second router obtains the network permission of the first router. Fig.13 Another flow chart of the second router and the gateway cooperating to realize roaming communication of the user terminal provided by the embodiment of the present disclosure is as follows: Fig.13 As shown, steps S61 to S69 are included, wherein:

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

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

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

[0192] 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.

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

[0194] 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.

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

[0196] 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 the first access packet header.

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

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

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

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

[0201] 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 regional 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, so that the first router and the second router can be interconnected through IP, so that the user terminal obtains the IP device authority under the coverage of the first router within the coverage range of the second router.

[0202] In some embodiments, the first router is integrated with dynamic domain name resolution software, so that the first router can publish the private network IP of the IP device with its own network authority to the core network by using dynamic domain name resolution technology. Similarly, the second router is integrated with dynamic domain name resolution software, so that the second router can publish the private network IP of the IP device with its own network authority to the core network by using dynamic domain name resolution technology. The core network instantiates the received private network IP of the IP device into a public network IP as the third access packet header for accessing the IP device.

[0203] 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.

[0204] For example, Fig.14 Another flow chart of the second router and the core network cooperating to realize roaming communication of the user terminal provided by the embodiment of the present disclosure is as follows Fig.14 As shown, it includes steps S71 to S79, wherein:

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

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

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

[0208] 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.

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

[0210] 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.

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

[0212] 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.

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

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

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

[0216] 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:

[0217] like Figure 3 As shown, 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 the connection request of the user terminal, the connection request carries the service set identifier and password matching the first attribute information, establishes a connection with the user terminal, and sends the device information of the user terminal to the server.

[0218] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0219] 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.

[0220] In a third aspect, an embodiment of the present disclosure further provides a communication system, which is applied to any communication method in the first aspect. Fig.15 A schematic diagram of a communication system provided in an embodiment of the present disclosure is shown in FIG. Fig.15As shown, the communication system 001 includes a first router 81 , a plurality of second routers 82 and a server 83 ; the second router 82 is configured with a local primary network 821 ; the first router 81 and the second router 82 are both in communication connection with the server 83 .

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

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

[0223] 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.

[0224] The communication system provided by the embodiment of the present disclosure establishes a guest network 822 by simulating the first router 81 through the second router 82, so that the third attribute information of the guest network 822 is the same as the first attribute information, and has the network authority of the first router 81, so that the user terminal can obtain the network authority of the first router 81 within the signal coverage of the second router 82. At the same time, for any second router 82, the user terminal can be provided with an Internet access function by establishing a guest network 822. Therefore, the present disclosure does not need to add a router or a bridge, and the router originally connected to the server 83 can be used to expand the signal coverage of the WiFi.

[0225] 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.

[0226] 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 with the remaining proxy system built by the user terminal to form a proxy service system.

[0227] In some embodiments, the second router 82 is also configured to receive access information sent by the user terminal through the guest network 822; the access information includes main information and a first access header representing the guest network 822; the main information is the 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 main 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.

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

[0229] 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 .

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

[0231] 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 a third access packet header for accessing the IP device.

[0232] In some embodiments, the second router 82 is also configured to receive access information sent by the user terminal through the guest network 822; the access information includes main information and a first access packet header representing the guest network 822; the main information is the accessible information that opens the network authority of the first router 81 to the outside world; according to the main 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 main 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.

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

[0234] In some embodiments, after establishing the guest network 822, the second router 82 is also 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.

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

[0236] In a fourth aspect, an embodiment of the present disclosure further provides another communication system, which is applied to any communication method in the second aspect. Fig.16 A schematic diagram of a communication system provided in an embodiment of the present disclosure is shown in FIG. Fig.16 As shown, 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 main network 821; the first router 81 and the second router 82 are both connected to the server 83 for communication.

[0237] 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.

[0238] 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.

[0239] 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 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.

[0240] The user terminal 84 is configured to scan hot spots, connect to the guest network 822, and obtain the network authority of the first router 81 through the guest network 822 connected thereto.

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

[0242] The communication system provided by the embodiment of the present disclosure establishes a guest network 822 by simulating the first router 81 through the second router 82, so that the third attribute information of the guest network 822 is the same as the first attribute information, and has the network authority of the first router 81, so that the user terminal 84 can obtain the network authority of the first router 81 within the signal coverage of the second router 82. At the same time, for any second router 82, the user terminal 84 can be provided with an Internet access function by establishing a guest network 822. Therefore, the present disclosure does not need to add a router or a bridge, and the router originally connected to the server 83 can be used to expand the signal coverage of the WiFi.

[0243] 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.

[0244] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present disclosure, but the present disclosure is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and substance of the present disclosure, and these 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 being open to the outside; 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; 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 to 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 accessible information of the network authority of the first router that is open to the outside world; 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 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 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.