Network configuration method and device, electronic equipment, storage medium and program product

By dividing multiple subnetworks in the EasyMesh network and configuring routers uniformly, the problem of insufficient number of main routers and configuration complexity in the existing EasyMesh network is solved, and a stable and efficient multi-master router network is realized, which is suitable for small and medium-sized enterprises.

CN118828587APending Publication Date: 2024-10-22CHINA MOBILE M2M +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410524674.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-28
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

There can only be one master router in the existing EasyMesh network, and the number of management slave routers is limited, resulting in a high risk of network collapse. Routers from different manufacturers have different configuration methods, which increases the difficulty of network configuration.

Method used

Through the collaboration between the cloud platform and the client, multiple sub-networks are divided, a main router is deployed in each sub-network, and the management unit is used to uniformly configure the wireless mesh network modules of routers from different manufacturers to achieve an EasyMesh network with multiple main routers and reduce the difficulty of configuration. and management complexity.

Benefits of technology

It effectively avoids network collapse, improves network configuration efficiency and management simplicity, supports the networking of more routers, is suitable for small and medium-sized enterprise scenarios, and reduces networking costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828587A_ABST
    Figure CN118828587A_ABST
Patent Text Reader

Abstract

The invention discloses a network configuration method and device, electronic equipment, a storage medium and a program product. The method is applied to a cloud platform of a networking system, the networking system further comprises a client and routers, and the method comprises the following steps: obtaining a first router; a first route configuration instruction is sent to the first router, the first router is configured as a main router of a target sub-network through a management unit of the first router, the target sub-network is any sub-network in the target network, and the main router is deployed in each sub-network; the management unit is used for communicating with the first wireless mesh network module of the first router so as to configure a network function provided by the first wireless mesh network module; determining a second router according to the network topology structure of the target sub-network; and sending the routing information of the second router to the first router, so that the first router configures the second router as a slave router. Through the scheme, the network configuration difficulty can be reduced, and the network configuration efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communications, and in particular, relates to a network configuration method, device, electronic device, storage medium and program product. Background Art

[0002] EasyMesh is a basic standard developed by the WiFi Alliance for connecting different routers to each other. Among them, the EasyMesh network can be realized by automatic networking or manually selecting the main router networking method.

[0003] In the related art, a master router is usually deployed in the EasyMesh network to manage the entire network, and all slave routers communicate with the master router, which increases the difficulty of network management. In addition, in the related art, during the process of configuring the network, the routers deployed in the same network may come from different manufacturers, and the configuration methods of routers from different manufacturers are different, which increases the difficulty of network configuration. Summary of the invention

[0004] The embodiments of the present application provide a network configuration method, device, electronic device, storage medium and program product, which can reduce the difficulty of network configuration and improve the efficiency of network configuration.

[0005] In a first aspect, an embodiment of the present application provides a network configuration method, which is applied to a cloud platform of a networking system, wherein the networking system also includes a client and multiple routers, and the method includes: obtaining a first router determined by the client from multiple routers; sending a first routing configuration instruction to the first router, so as to configure the first router as a master router of a target subnet through a management unit of the first router, wherein the target subnet is any subnet in the target network, and a master router is deployed in each subnet, and the master router is used to manage slave routers in the corresponding subnet; the management unit is used to communicate with a first wireless mesh network module of the first router to configure the network function provided by the first wireless mesh network module; according to the network topology corresponding to the target subnet, determining a second router from other routers, wherein the other routers are routers other than the master router among the multiple routers; sending routing information of the second router to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, so as to deploy the second router in the target subnet where the first router is located.

[0006] In a second aspect, an embodiment of the present application provides a network configuration device, which is applied to a cloud platform of a networking system, wherein the networking system also includes a client and multiple routers, and the device includes: a first routing determination module, which is used to obtain a first router determined by the client from multiple routers; a first configuration module, which is used to send a first routing configuration instruction to the first router, so as to configure the first router as a master router of a target subnet through a management unit of the first router, wherein the target subnet is any subnet in the target network, and a master router is deployed in each subnet, and the master router is used to manage slave routers in the corresponding subnet; the management unit is used to communicate with a first wireless mesh network module of the first router to configure the network function provided by the first wireless mesh network module; a second routing determination module, which is used to determine a second router from other routers according to a network topology corresponding to the target subnet, wherein the other routers are routers other than the master router among the multiple routers; and a second configuration module, which is used to send routing information of the second router to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, so as to deploy the second router in the target subnet where the first router is located.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the network configuration method as described in the first aspect is implemented.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the network configuration method as described in the first aspect is implemented.

[0009] In a fifth aspect, an embodiment of the present application provides a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the network configuration method as described in the first aspect.

[0010] It can be seen from the above content that in the embodiment of the present application, the target network is divided into multiple sub-networks, and a main router is deployed in each sub-network, which avoids the problem of network crash caused by deploying too many routers in the target network. At the same time, configuring the network in a subnet manner can reduce the difficulty of network configuration and improve the efficiency of network configuration. In addition, the wireless mesh network module of the router is used to provide various functions of the router. However, the functional forms provided by the wireless mesh network modules corresponding to routers of different manufacturers are different. In this regard, in the embodiment of the present application, a management unit is set in the router, and the management unit is used as an interface. The cloud platform and the client are combined to unify the functional forms provided by the wireless mesh network modules corresponding to routers of different manufacturers, which reduces the management difficulty of the networking equipment in the target sub-network, thereby reducing the difficulty of network configuration and improving the network configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0012] Figure 1 This is a schematic diagram of a multi-master router EasyMesh network provided by an embodiment of the present application;

[0013] Figure 2 is a schematic diagram of a networking system provided by an embodiment of the present application;

[0014] Figure 3 It is a flowchart of a network configuration method provided by an embodiment of the present application;

[0015] Figure 4 This is an interactive diagram of a client designating a first router as a main router provided by an embodiment of the present application;

[0016] Figure 5 This is an interactive schematic diagram of adding a second router to a firewall whitelist of a first router provided by an embodiment of the present application;

[0017] Figure 6 It is an interactive schematic diagram of adding a first router to a firewall whitelist of a second router provided by an embodiment of the present application;

[0018] Figure 7 is an interactive schematic diagram of a location information determination process provided by an embodiment of the present application;

[0019] Figure 8It is an interactive schematic diagram of a third router joining the EasyMesh network of a first router provided by an embodiment of the present application;

[0020] Fig. 9 This is an interactive schematic diagram of a first router being added to a firewall whitelist of a third router provided by an embodiment of the present application;

[0021] Fig.10 It is an interactive schematic diagram of a fourth router AP4 adding a second router AP2 to a firewall whitelist provided by an embodiment of the present application;

[0022] Fig.11 is a structural diagram of a network configuration device provided by another embodiment of the present application;

[0023] Fig.12 It is a structural schematic diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0024] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0025] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0026] For ease of understanding, before explaining the solution provided in this application, the relevant background involved in the solution provided in this application is first explained.

[0027] EasyMesh is a basic standard developed by the WiFi Alliance for interconnecting different APs (Access Points). This standard defines the protocol for interconnecting and controlling APs from different manufacturers. The EasyMesh network manages the entire network through the master AP, and all slave APs are connected to the master AP. The connection method can be wired or wireless. The slave AP is usually the main wireless router at the exit of the home network. Usually, EasyMesh is connected by combining AP and AC (Access Controller) to form a tree-shaped network topology. Terminals accessing the EasyMesh network can roam seamlessly on the routers in the EasyMesh network, and the network data service will not be interrupted during roaming, thus giving users a better Internet experience.

[0028] EasyMesh network is usually achieved by automatic networking or manual selection of the main router. Automatic networking is that multiple routers automatically negotiate to select the main router, and the rest are slave routers. The main router cannot be fixed. When the EasyMesh network is restarted, a new main router needs to be negotiated. To manually select the main router, you need to use a computer or mobile phone to log in to the router page and manually set the router as the main router. Usually, the number of routers that an EasyMesh network can carry is within 10, and there can only be one main router. If the number of slave routers is too large, it will cause the EasyMesh network to be abnormal or even crash. If you need to expand the scale of the network, you can only use the networking method of combining AC and AP. The networking method of combining AC and AP has a high deployment cost. Therefore, in actual applications, enterprises usually use EasyMesh networking as an office network.

[0029] However, the existing EasyMesh networking method has the following defects:

[0030] (1) In the prior art, there can only be one master router in an EasyMesh network, which can only manage a few slave routers, and its usage scenarios are limited to homes or small shops along the street.

[0031] (2) In the prior art, the main router is determined by automatic election or manual configuration. The manual method requires logging into the router's web configuration page through a terminal device such as a computer or mobile phone to set the router as the main router. In addition, since the web configuration pages of routers from different manufacturers are different, the configuration difficulty of EasyMesh is increased.

[0032] (3) In the prior art, in a large LAN, EasyMesh networking will cause all routers in the LAN to form a huge EasyMesh network, which may easily cause the EasyMesh network to be abnormal or even crash.

[0033] In view of the above problems, the embodiments of the present application provide a network configuration method, device, electronic device, storage medium and program product. The method provided in the embodiments of the present application can be applied to a cloud platform of a networking system, wherein the networking system also includes a client and multiple routers.

[0034] The method proposed in the embodiment of the present application adopts the method of mutual cooperation between the client, cloud platform and router, which can solve the problem that multiple EasyMesh networks cannot be divided in the same local area network, and also solve the problem that EasyMesh networking of routers of different manufacturers is difficult and cannot be managed uniformly after networking. Figure 1 Taking the multi-master router EasyMesh network diagram as an example, 12 routers are configured under the same switch (such as Figure 1 The EasyMesh network is divided into three EasyMesh subnets by the method proposed in the embodiment of the present application, and routers AP1, AP5, and AP9 are set as the main routers of EasyMesh subnet 1, EasyMesh subnet 2, and EasyMesh subnet 3, respectively, and the remaining APs are slave routers.

[0035] It should be noted that, in the following, the management of a single EasyMesh subnet is used as an example for explanation.

[0036] Figure 2 A schematic diagram of a networking system is shown, which includes a client, a cloud platform, and a router. Figure 2 It can be seen that the client includes a network communication module and a Mesh management module; the cloud platform includes a topology management module, a data management module and a network communication module; the router includes a management unit (i.e., Multi Controller SDK) and a wireless mesh network Mesh module, wherein the management unit includes a network communication module, a configuration management module, a whitelist module and a Mesh management module.

[0037] The Mesh management module in the client is used to provide users with a unified EasyMesh management interface; the network communication module in the client is used to communicate with the cloud platform; the topology management module of the cloud platform manages the EasyMesh topology network at the business level; the data management module of the cloud platform is used to persistently store EasyMesh network management data; the network communication module of the cloud platform is used to communicate with the client and the Multi Controller SDK; the network communication module of the Multi Controller SDK communicates with the cloud platform through a TCP (Transmission Control Protocol) long connection, receives instructions from the cloud platform, and sends instructions to the whitelist management module and the configuration management module. The whitelist management module is used to manage the firewall whitelist on the router, realize the mutual communication between the same master router and the slave routers subordinate to the master router, and shield the ieee1905 messages between different master routers; the Mesh management module is used to call the manufacturer's EasyMesh interface to realize the switch EasyMesh function and configure the EasyMesh master-slave role.

[0038] The following first introduces the network configuration method provided in the embodiment of the present application.

[0039] Figure 3 FIG. 1 is a flow chart of a network configuration method provided by an embodiment of the present application. Figure 3 As shown, the method comprises the following steps:

[0040] Step S301: obtaining a first router determined by a client from a plurality of routers.

[0041] In step S301, the client may be an application installed on a terminal device, wherein the terminal device may be, but is not limited to, a mobile terminal (e.g., a mobile phone) and a non-mobile terminal (e.g., a computer). In an embodiment of the present application, a Mesh management module and a network communication module are deployed in the client. The Mesh management module in the client presents the EasyMesh topology structure to the user and receives instructions from the user, including designating the first router as the main router, turning on the hotspot function of the mobile phone, selecting a router to join the EasyMesh network of the designated main router, and deleting a router (main router or slave router) from the EasyMesh network.

[0042] As an example, the user selects the first router from multiple routers through the EasyMesh topology map results displayed by the Mesh management module of the client, and specifies that the first router is configured as the main router. At this time, the Mesh management module of the client generates a configuration instruction for the router, and sends the configuration instruction to the network communication module of the cloud platform through the network communication module of the client, so that the cloud platform configures the first router as the main router according to the above configuration instruction.

[0043] It should be noted that in the embodiment of the present application, in addition to sending the configuration instructions generated by the client to the cloud platform, the network communication module of the client can also receive response messages from the network communication module of the cloud platform, and return the response messages to the Mesh management module of the client and display them to the user.

[0044] Step S302: Send a first routing configuration instruction to the first router, so as to configure the first router as a master router of the target sub-network through the management unit of the first router.

[0045] In step S302, the target subnet is any subnet in the target network, and a master router is deployed in each subnet, and the master router is used to manage the slave routers in the corresponding subnet. For example, in the figure, the target network is an EasyMesh network, and the EasyMesh network is divided into 3 subnets, and each subnet is deployed with a master router and multiple slave routers. For example, the master router AP1 and slave routers AP2, AP3, and AP4 are deployed in EasyMesh subnet 1.

[0046] It should be noted that in the embodiment of the present application, multiple main controllers are configured by the client to form multiple sub-networks, and the routers in each sub-network generate a firewall whitelist through firewall technology. The firewall whitelist can isolate the IEEE1905 messages between the sub-networks from each other, ultimately making it possible to divide multiple sub-networks within the same local area network.

[0047] In addition, in order to realize the EasyMesh network of multiple master routers in the same LAN, in the related technology, different EasyMesh networks are divided by adding VLANs (Virtual Local Area Networks) between different master routers, and the master router and the slave routers need to be networked in series. This solution cannot meet the EasyMesh network division of the parallel networking scenario of each router under the same switch, and this solution is only suitable for the equipment of this manufacturer, and is not universal, and cannot uniformly manage the EasyMesh networks of different solutions of different manufacturers.

[0048] In step S302, the management unit is used to communicate with the first wireless mesh network module of the first router to configure the network function provided by the first wireless mesh network module. Figure 2 The Multi Controller SDK (Software Development Kit) in the MultiController SDK has highly centralized internal business. Router manufacturers only need to adapt to the simple interface provided by the Multi Controller SDK to achieve unified management of EasyMesh functions, thus solving the problem in related technologies that the networking method is limited to small home networks and cannot be applied to multi-router networking scenarios such as small and medium-sized enterprises and government enterprises and institutions.

[0049] Step S303: Determine a second router from other routers according to the network topology structure corresponding to the target sub-network.

[0050] In step S303, the other routers are routers other than the master router among the multiple routers. In addition, the second router determined from the other routers will be configured as a slave router of the first router, and together with the first router, the EasyMesh network is formed.

[0051] In one example, the cloud platform can determine the slave router as the master router through the topology management module. The topology management module is used to maintain the topological relationship of each EasyMesh network. In addition, the topology management module can also provide a Web interface for users to issue instructions to the selected routers, including selecting a router as the master router, selecting a router to join the EasyMesh network of the designated master router, and deleting a router (master router or slave router) from the EasyMesh network.

[0052] Step S304: Send the routing information of the second router to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, so as to deploy the second router in the target subnet where the first router is located.

[0053] In step S304, after determining the second router subordinate to the first router, the cloud platform adds the second router to the firewall whitelist corresponding to the first router to implement networking of the subnet where the first router is located.

[0054] Based on the scheme defined by the above steps S301 to S304, it can be known that in the embodiment of the present application, the target network is divided into multiple sub-networks, and a main router is deployed in each sub-network, thereby avoiding the problem of network crash caused by deploying too many routers in the target network. At the same time, configuring the network in a subnet manner can reduce the difficulty of network configuration and improve the efficiency of network configuration. In addition, the wireless mesh network module of the router is used to provide various functions of the router. However, the functional forms provided by the wireless mesh network modules corresponding to routers of different manufacturers are different. In this regard, in the embodiment of the present application, a management unit is set in the router, and the management unit is used as an interface. The cloud platform and the client are combined to unify the functional forms provided by the wireless mesh network modules corresponding to routers of different manufacturers, thereby reducing the management difficulty of the networking equipment in the target sub-network, thereby reducing the difficulty of network configuration and improving the efficiency of network configuration.

[0055] The method proposed in the embodiment of the present application is explained in detail below.

[0056] In one embodiment, the cloud platform includes at least a platform communication module (i.e. Figure 2 The management unit of the first router at least includes a first network communication module, a first configuration management module, a first whitelist management module, and a first network management module (i.e. Figure 2 Mesh management module of the router).

[0057] After the client designates the first router as the main router, the cloud platform sends a first routing configuration instruction to the first router to configure the first router as the main router of the target sub-network through the management unit of the first router.

[0058] Specifically, the cloud platform sends the first routing configuration instruction to the first network communication module of the first router through the platform communication module, so that the configuration management module of the first router controls the first whitelist management module to enter the target state, and calls the network management unit of the first router to configure the wireless mesh network module of the first router, so as to configure the first router as the main router of the target sub-network.

[0059] In the above embodiment, the target state representation allows the user to specify that information sent by at least one router passes through the first router, and the whitelist management module in the target state is used to intercept messages sent by routers outside the target subnet.

[0060] In one example, Figure 4 FIG. 1 shows an interaction diagram in which the client designates the first router as the primary router. Figure 4 In the example, it is defined that the first router AP1 has established a connection with the cloud platform. Figure 4 As shown, the interaction process mainly includes the following steps:

[0061] Step S401, the user selects the first router AP1 as the main router through the Mesh management module of the client;

[0062] Step S402, the client sends a first routing configuration instruction for configuring the first router AP1 to the network communication module of the cloud platform through the network communication module of the client;

[0063] Step S403, the network communication module of the cloud platform sends the first routing configuration instruction to the network communication module of the first router AP1;

[0064] Step S404, the network communication module of the first router AP1 sends the first routing configuration instruction to the configuration management module of the first router AP1;

[0065] Step S405, the configuration management module of the first router AP1 notifies the whitelist management module of the first router AP1;

[0066] Step S406, the whitelist management module of the first router AP1 enables the firewall function whitelist function;

[0067] Step S407, the whitelist management module of the first router AP1 returns the firewall opening result;

[0068] Step S408, the configuration management module of the first router AP1 calls the Mesh management module of the first router AP1, starts EasyMesh and bootstraps itself as a master router;

[0069] Step S409, the Mesh management module of the first router AP1 notifies the manufacturer to turn on the original EasyMesh module and bootstrap to become the main router;

[0070] Step S410, the Mesh management module of the first router AP1 returns the configuration result to the configuration management module of the first router AP1;

[0071] Step S411, the configuration management module of the first router AP1 returns the configuration result to the network communication module of the first router AP1;

[0072] Step S412, the network communication module of the first router AP1 returns the configuration result to the cloud platform;

[0073] Step S413, the network communication module of the cloud platform informs the configuration management module of the cloud platform of the configuration result for persistent storage;

[0074] Step S414, the configuration management module of the cloud platform will persistently store the configuration result and return the configuration result to the network communication module of the cloud platform;

[0075] Step S415, the network communication module of the cloud platform informs the network communication module of the client of the configuration result;

[0076] Step S416: After the network communication module of the client returns the configuration result to the Mesh management module of the client, the Mesh management module of the client displays the configuration result to the user.

[0077] After configuring the first router as the master router, the cloud platform determines the network topology structure of the target subnetwork through the topology management module, and then determines the second router subordinate to the first router according to the network topology result, and then sends the routing information of the second router to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router.

[0078] Specifically, the cloud platform obtains the second router determined by the topology management module according to the network topology structure corresponding to the target sub-network; then, the routing information of the second router is sent to the first network communication module through the platform communication module, and the routing information of the second router is forwarded to the first configuration management module through the first network communication module, so that the first configuration management module calls the first whitelist management module, and adds the second router to the firewall whitelist of the first router according to the routing information of the second router; in addition, the second whitelist management module of the second router is controlled to enter the target state through the topology management module, and the second whitelist management module is called through the second configuration management module of the second router to add the first router to the firewall whitelist of the second router, so as to configure the second router as a slave router of the first router.

[0079] From the above content, it can be seen that configuring the second router as a slave router of the first router mainly includes two stages, namely, the cloud platform adds the second router to the firewall whitelist of the first router through the first router; the cloud platform adds the first router to the firewall whitelist of the second router through the second router.

[0080] The above two stages are introduced below respectively.

[0081] For the first stage, Figure 5 The diagram shows the interaction of the cloud platform adding the second router to the firewall whitelist of the first router through the first router. Figure 5 It can be seen that the process mainly includes the following steps:

[0082] Step S501, the topology management module of the cloud platform sends an instruction for configuring the second router AP2 to the network communication module of the cloud platform, wherein the instruction for configuring the second router AP2 is used to instruct to add the second router AP2 to the firewall whitelist of the first router AP1;

[0083] Step S502, the network communication module of the cloud platform sends the instruction for configuring the second router AP2 to the network communication module of the first router AP1;

[0084] Step S503, the network communication module of the first router AP1 sends the configuration instruction of the second router AP2 to the configuration management module of the first router AP1;

[0085] Step S504, the configuration management module of the first router AP1 notifies the whitelist management module of the first router AP1 of the instruction to configure the second router AP2;

[0086] Step S505, the whitelist management module of the first router AP1 adds the second router AP2 to the firewall whitelist of the first router AP1;

[0087] Step S506, the whitelist management module of the first router AP1 returns the configuration result to the configuration management module of the first router AP1;

[0088] Step S507, the configuration management module of the first router AP1 returns the configuration result to the network communication module of the first router AP1;

[0089] Step S508, the network communication module of the first router AP1 reports the configuration result to the network communication module of the cloud platform;

[0090] Step S509: The network communication module of the cloud platform returns the configuration result to the topology management module of the cloud platform.

[0091] For the second stage, Figure 6 The diagram shows the interaction of the cloud platform adding the first router to the firewall whitelist of the second router through the second router. Figure 6 It can be seen that the process mainly includes the following steps:

[0092] Step S601, the topology management module of the cloud platform sends a configuration instruction for configuring the main router to the network communication module of the cloud platform, and the configuration instruction for configuring the main router is used to instruct to enable the EasyMesh function of the second router AP2, and add the first router AP1 to the firewall whitelist of the second router AP2;

[0093] Step S602, the network communication module of the cloud platform sends the configuration instruction of the main router to the network communication module of the second router AP2;

[0094] Step S603, the network communication module of the second router AP2 sends the configuration instruction of the main router to the configuration management module of the second router AP2;

[0095] Step S604, the configuration management module of the second router AP2 notifies the whitelist management module of the second router AP2 of the configuration instruction for configuring the main router;

[0096] Step S605, the whitelist management module of the second router AP2 adds the first router AP1 to the firewall whitelist of the second router AP2;

[0097] Step S606, the whitelist management module of the second router AP2 returns the configuration result to the configuration management module of the second router AP2;

[0098] Step S607, the configuration management module of the second router AP2 notifies the Mesh management module of the second router AP2 to enable the EasyMesh function and become a slave router;

[0099] Step S608, the Mesh management module of the second router AP2 notifies the original EasyMesh module of the manufacturer to enable its own EasyMesh function, set it as a slave router, and join the EasyMesh network of the first router AP1 through a wired manner;

[0100] Step S609, the Mesh management module of the second router AP2 returns the configuration result to the configuration management module of the second router AP2;

[0101] Step S610, the configuration management module of the second router AP2 sends the configuration result to the network communication module of the second router AP2;

[0102] Step S611, the network communication module of the second router AP2 reports the configuration result to the network communication module of the cloud platform;

[0103] Step S612, the network communication module of the cloud platform notifies the configuration management module of the cloud platform of the configuration result, and persistently stores the EasyMesh networking relationship between the first router AP1 and the second router AP2;

[0104] Step S613, the network communication module of the cloud platform notifies the topology management module of the cloud platform of the configuration result, and updates the EasyMesh topology map of the first router AP1 and the second router.

[0105] It should be noted that, in actual applications, the user can configure the second router as a slave router of the first router through the cloud platform, and the user can also specify the third router as a slave router of the first router through the client.

[0106] Specifically, after sending the first routing configuration instruction to the first router, the cloud platform obtains the wireless hotspot information corresponding to the client and the third router specified by the client, and sends the wireless hotspot information to the third router, so that the third router calculates the wireless signal strength detected by the third router according to the wireless hotspot information, and returns the location information corresponding to the wireless signal strength to the cloud platform; then, the location information is sent to the client, and the second routing configuration instruction returned by the client is obtained, and then, the second routing configuration instruction is sent to the first router, so that the first router adds the third router to the firewall whitelist of the first router according to the second routing configuration instruction; finally, the third routing configuration instruction is sent to the third router, so that the third router adds the first router to the firewall whitelist of the third router according to the third routing configuration instruction.

[0107] In the above embodiment, the location information is used to characterize the location relationship between the client and the third router.

[0108] In one example, the client specifies a router to join the EasyMesh network of the main router, which is mainly divided into three stages. The first stage is that the client turns on the wireless hotspot and obtains the client's wireless hotspot information, and then the third router specified by the user reports that the third router is near the wireless hotspot through the wireless hotspot information; the second stage is that the client sends the second routing configuration instruction to the first router to enable the third router to join the EasyMesh network of the first router; the third stage is to notify the first router and add the third router to the firewall whitelist of the first router.

[0109] For the first stage, Figure 7 The interactive diagram in the process of determining the position information is shown. Figure 7 It can be seen that the process mainly includes the following steps:

[0110] Step S701, the client turns on the wireless hotspot function of the terminal device corresponding to the client through the Mesh management module of the client, and obtains the wireless hotspot information. As an example, the wireless hotspot information of the wireless hotspot may include but is not limited to the name of the wireless hotspot, the channel and other information, and the following explanation is given by taking the wireless hotspot name as SSID-STA as an example;

[0111] Step S702, the client sends the wireless hotspot information to the network communication module of the client;

[0112] Step S703, the network communication module of the client notifies the cloud platform of the wireless hotspot information;

[0113] Step S704, the network communication module of the cloud platform notifies the network communication module of the third router AP3 of the wireless hotspot information and the signal strength threshold rssi_sta;

[0114] Step S705, the network communication module of the third router AP3 notifies the configuration management module of the third router AP3 of the wireless hotspot information and the signal strength threshold rssi_sta;

[0115] Step S706, the configuration management module of the third router AP3 scans the hotspot name SSID-STA, and calculates the signal strength rssi_x of the wireless hotspot detected by the third router AP3. When rssi_x>=rssi_sta, it indicates that the installation and maintenance personnel have held the terminal device close to the third router AP3;

[0116] Step S707, the configuration management module of the third router AP3 notifies the network communication module of the third router AP3 of the scanning result;

[0117] Step S708, the network communication module of the third router AP3 reports the scanning result to the network communication module of the cloud platform;

[0118] Step S709, the network communication module of the cloud platform returns the scanning result to the network communication module of the client;

[0119] Step S710: The network communication module of the client informs the Mesh management module of the client that the third router AP3 is near the terminal device.

[0120] In the second stage, the routing information of the third router is sent to the first network communication module of the first router through the platform communication module of the cloud platform, and the routing information of the third router is forwarded to the first configuration management module of the first router through the first network communication module, so that the first configuration management module calls the first whitelist management module of the first router and adds the third router to the firewall whitelist of the first router according to the routing information of the third router.

[0121] For the second stage, Figure 8 A schematic diagram of the interaction of a third router joining the EasyMesh network of the first router is shown. Figure 8 It can be seen that the process mainly includes the following steps:

[0122] Step S801, the Mesh management module of the client sends the configuration instruction of the third router AP3 to the network communication module of the client;

[0123] Step S802, the network communication module of the client sends the configuration instruction of the third router AP3 to the network communication module of the cloud platform;

[0124] Step S803, the network communication module of the cloud platform sends the configuration instruction of the third router AP3 to the network communication module of the first router AP1;

[0125] Step S804, the network communication module of the first router AP1 transmits the configuration instruction of the third router AP3 to the configuration management module of the first router AP1;

[0126] Step S805, the configuration management module of the first router AP1 notifies the whitelist management module of the first router AP1 to include the third router AP3 in the whitelist;

[0127] Step S806, the whitelist management module of the first router AP1 adds the third router AP3 to the firewall whitelist of the first router AP1;

[0128] Step S807, the whitelist management module of the first router AP1 returns the firewall configuration result to the configuration management module of the first router AP1;

[0129] Step S808, the configuration management module of the first router AP1 returns the configuration result to the network communication module of the first router AP1;

[0130] Step S809: The network communication module of the first router AP1 reports the configuration result to the network communication module of the cloud platform.

[0131] In the third stage, the third whitelist management module of the third router is controlled to enter a target state through the topology management module of the cloud platform, and the third whitelist management module is called through the third configuration management module of the third router to add the first router to the firewall whitelist of the third router, wherein the target state representation allows the user to specify that information sent by at least one router passes through the third router.

[0132] In the third stage, the cloud platform notifies the third router AP3 to add the first router AP1 to the firewall whitelist of the third router AP3, turn on the EasyMesh function of the third router, and bootstrap itself as a slave router, and then automatically join the EasyMesh network of the first router AP1 via wired means.

[0133] As an example, Fig. 9 The diagram shows an interaction diagram of the first router joining the firewall whitelist of the third router. Fig. 9 It can be seen that the process mainly includes the following steps:

[0134] Step S901, the configuration management module of the cloud platform sends an instruction for configuring the master router to the network communication module of the cloud platform, and the instruction for configuring the master router is used to instruct the third router AP3 to add the first router AP1 to the firewall whitelist of the third router AP3, turn on the EasyMesh function of the third router AP3 and bootstrap it as a slave router, and finally join the EasyMesh network of the first router AP1 in a wired manner;

[0135] Step S902, the cloud platform sends the command for configuring the main router to the network communication module of the third router AP3 through the network communication module of the cloud platform;

[0136] Step S903, the network communication module of the third router AP3 forwards the instruction of configuring the main router to the configuration management module of the third router AP3;

[0137] Step S904, after receiving the instruction to configure the main router, the configuration management module of the third router AP3 notifies the whitelist management module of the third router AP3 to add the first router AP1 to the firewall whitelist of the third router AP3;

[0138] Step S905, the whitelist management module of the third router AP3 adds the first router AP1 to the firewall whitelist of the third router AP3;

[0139] Step S906, the whitelist management module of the third router AP3 returns the configuration result to the configuration management module of the third router AP3;

[0140] Step S907, the configuration management module of the third router AP3 notifies the Mesh management module of the third router AP3 to enable the EasyMesh function and become a slave router;

[0141] Step S908, the Mesh management module of the third router AP3 notifies the original EasyMesh module of the manufacturer to enable its own EasyMesh function, set it as a slave router, and join the EasyMesh network of the first router AP1 through a wired manner;

[0142] Step S909, the Mesh management module of the third router AP3 returns the configuration result to the configuration management module of the third router AP3;

[0143] Step S910, the configuration management module of the third router AP3 sends the configuration result to the network communication module of the third router AP3;

[0144] Step S911, the network communication module of the third router AP3 reports the configuration result to the network communication module of the cloud platform;

[0145] Step S912, the network communication module of the cloud platform notifies the configuration management module of the cloud platform to persistently store the EasyMesh networking relationship between the third router AP3 and the first router AP1;

[0146] Step S913, the network communication module of the cloud platform notifies the network communication module of the client of the configuration result;

[0147] In step S914, the network communication module of the client returns the configuration result to the Mesh management module of the client, and the Mesh management module of the client can display the EasyMesh networking relationship between the third router AP3 and the first router AP1 to the user.

[0148] At this point, the process of specifying the master router of the target subnet through the client and deploying the slave router for the master router in the target subnet is realized.

[0149] If there is a fourth router in addition to the first router and the second router (or the third router) in the target subnet where the main router is located, then the first router AP1 needs to add the fourth router AP4 to the firewall whitelist through the second router AP2, and the first router AP1 notifies the fourth router AP4 to add the second router AP2 to the firewall whitelist to achieve EasyMesh message intercommunication between the second router AP2 and the fourth router AP4. The above process can be divided into two stages: the first router AP1 notifies the fourth router AP4 to add the second router AP2 to the firewall whitelist; the first router AP1 notifies the second router AP2 to add the fourth router AP4 to the firewall whitelist.

[0150] Specifically, when it is detected that a fourth router is deployed in the target subnet, a fourth routing configuration instruction is sent to the fourth router through the first router to add the second router to the firewall whitelist of the fourth router, and a fifth routing configuration instruction is sent to the second router to add the fourth router to the firewall whitelist of the second router.

[0151] In one example, Fig.10 FIG. 4 shows an interactive diagram of the fourth router AP4 adding the second router AP1 to the firewall whitelist. Fig.10 As shown, the process mainly includes the following steps:

[0152] Step S1001, the configuration management module of the first router AP1 sends a fourth routing configuration instruction to the network communication module of the first router AP1, wherein the fourth configuration instruction is used to instruct to add the second router AP2 to the firewall whitelist of the fourth router AP4;

[0153] Step S1002, the network communication module of the first router AP1 sends the fourth routing configuration instruction to the network communication module of the fourth router AP4;

[0154] Step S1003, the network communication module of the fourth router AP4 sends the fourth routing configuration instruction to the configuration management module of the fourth router AP4;

[0155] Step S1004, the configuration management module of the fourth router AP4 notifies the whitelist management module of the fourth router AP4 of the fourth routing configuration instruction;

[0156] Step S1005, the whitelist management module of the fourth router AP4 adds the second router AP2 to the firewall whitelist;

[0157] Step S1006, the whitelist management module of the fourth router AP4 returns the configuration result to the configuration management module of the fourth router AP4;

[0158] Step S1007, the configuration management module of the fourth router AP4 returns the configuration result to the network communication module of the fourth router AP4;

[0159] Step S1008, the network communication module of the fourth router AP4 returns the configuration result to the network communication module of the first router AP1;

[0160] Step S1009: the network communication module of the first router AP1 returns the configuration result to the configuration management module of the first router AP1.

[0161] For the second stage, the process of the first router AP1 notifying the second router AP2 to add the fourth router AP4 to the firewall whitelist is the same as that of the first stage, which will not be repeated here.

[0162] Through the above two stages, the EasyMesh ieee1905 messages of the second router AP2 and the fourth router AP4 can communicate with each other, realizing the EasyMesh intercommunication of AP1, AP2, and AP4.

[0163] This completes the explanation of the solution proposed in this application.

[0164] Compared with the prior art, the solution proposed in this application has the following advantages:

[0165] (1) In the related art, it is impossible to divide different routers into different EasyMesh networks under the same switch. The present application divides different routers into EasyMesh networks of different main routers through the whitelist management module of the Multi Controller SDK, thereby avoiding the problem of EasyMesh network crashing due to too many routers in the same EasyMesh network.

[0166] (2) In the related art, the EasyMesh functional forms of various router manufacturers are different and difficult to maintain. This application unifies the EasyMesh functional forms of various manufacturers by combining the client, cloud platform, and Multi Controller SDK, and presents a unified EasyMesh networking configuration management interface to users.

[0167] (3) In the related art, there can only be one master router in an EasyMesh network, which can only manage a few slave routers, and the usage scenarios are limited to homes or small shops along the street. This application proposes to implement a large EasyMesh network with multiple master routers, each of which manages its subordinate slave routers, and can support dozens of routers for EasyMesh networking, and the usage scenarios can be expanded to small and medium-sized enterprises.

[0168] (4) In the related art, the main router is determined by automatic election or manual configuration. The manual method also requires logging into the router's Web configuration page through a terminal device such as a computer or mobile phone to set the router as the main router. In addition, since the Web configuration pages of routers from different manufacturers are different, the configuration difficulty of EasyMesh is increased. This application combines the router Multi Controller SDK, cloud platform, and client to uniformly manage the EasyMesh function of routers from different manufacturers, reducing the management difficulty of EasyMesh.

[0169] In addition, the solution proposed in this application also has broad market prospects:

[0170] (1) Unify the management of EasyMesh capabilities of various manufacturers, and visually manage the EasyMesh network and the routers in the network through the combination of the client and the cloud platform, reducing the difficulty of EasyMesh network management for users or installation and maintenance;

[0171] (2) The EasyMesh networks of different main routers are isolated through the firewall whitelist mechanism, and this isolation mechanism replaces the traditional high-cost AC+AP networking solution to solve the problem of EasyMesh network division on different floors in the same building of small and medium-sized enterprises or government enterprises and institutions, providing users with a low-cost, cost-effective EasyMesh networking solution.

[0172] The embodiment of the present application also provides a network configuration device, which is applied to a cloud platform of a networking system, wherein the networking system also includes a client and multiple routers, such as Fig.11 As shown, the device 1100 includes: a first route determination module 1101 , a first configuration module 1102 , a second route determination module 1103 and a second configuration module 1104 .

[0173] The first route determination module 1101 is used to obtain a first router determined by the client from multiple routers;

[0174] The first configuration module 1102 is used to send a first routing configuration instruction to the first router, so as to configure the first router as a master router of a target sub-network through a management unit of the first router, wherein the target sub-network is any sub-network in the target network, a master router is deployed in each sub-network, and the master router is used to manage slave routers in the corresponding sub-network; the management unit is used to communicate with a first wireless mesh network module of the first router, so as to configure a network function provided by the first wireless mesh network module;

[0175] The second route determination module 1103 is used to determine a second router from other routers according to the network topology corresponding to the target sub-network, wherein the other routers are routers other than the main router among the multiple routers;

[0176] The second configuration module 1104 is used to send the routing information of the second router to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, so as to deploy the second router in the target subnet where the first router is located.

[0177] In one example, the cloud platform includes at least a platform communication module, and the management unit of the first router includes at least a first network communication module, a first configuration management module, a first whitelist management module and a first network management module, wherein the first configuration module is specifically used to send a first routing configuration instruction to the first network communication module of the first router through the platform communication module, so that the configuration management module of the first router controls the first whitelist management module to enter a target state, and calls the network management unit of the first router to configure the wireless mesh network module of the first router to configure the first router as the main router of the target subnet, wherein the target state representation allows a user to specify that information sent by at least one router passes through the first router, and the whitelist management module in the target state is used to intercept messages sent by routers outside the target subnet.

[0178] In one example, the cloud platform also includes a topology management module, wherein the second configuration module is specifically used to obtain a second router determined by the topology management module according to the network topology structure corresponding to the target subnet; the routing information of the second router is sent to the first network communication module through the platform communication module, and the routing information of the second router is forwarded to the first configuration management module through the first network communication module, so that the first configuration management module calls the first whitelist management module, and adds the second router to the firewall whitelist of the first router according to the routing information of the second router; the second whitelist management module of the second router is controlled to enter the target state through the topology management module, and the second whitelist management module is called through the second configuration management module of the second router to add the first router to the firewall whitelist of the second router, so as to configure the second router as a slave router of the first router.

[0179] In one example, the network configuration device further includes: a routing acquisition module, a location determination module, an instruction acquisition module, a third configuration module, and a fourth configuration module. The routing acquisition module is used to acquire the wireless hotspot information corresponding to the client and the third router specified by the client; the location determination module is used to send the wireless hotspot information to the third router, so that the third router calculates the wireless signal strength detected by the third router according to the wireless hotspot information, and returns the location information corresponding to the wireless signal strength to the cloud platform, wherein the location information is used to characterize the location relationship between the client and the third router; the instruction acquisition module is used to send the location information to the client and acquire the second routing configuration instruction returned by the client; the third configuration module is used to send the second routing configuration instruction to the first router, so that the first router adds the third router to the firewall whitelist of the first router according to the second routing configuration instruction; the fourth configuration module is used to send the third routing configuration instruction to the third router, so that the third router adds the first router to the firewall whitelist of the third router according to the third routing configuration instruction.

[0180] In one example, the third configuration module is specifically used to send the routing information of the third router to the first network communication module of the first router through the platform communication module of the cloud platform, and forward the routing information of the third router to the first configuration management module of the first router through the first network communication module, so that the first configuration management module calls the first whitelist management module of the first router, and adds the third router to the firewall whitelist of the first router according to the routing information of the third router.

[0181] In one example, the fourth configuration module is specifically used to control the third whitelist management module of the third router to enter a target state through the topology management module of the cloud platform, and call the third whitelist management module through the third configuration management module of the third router to add the first router to the firewall whitelist of the third router, wherein the target state representation allows a user to specify that information sent by at least one router passes through the third router.

[0182] In one example, the network configuration device also includes: a fifth configuration module, which is used to send a fourth routing configuration instruction to the fourth router through the first router to add the second router to the firewall whitelist of the fourth router when it is detected that a fourth router is deployed in the target subnetwork, and send a fifth routing configuration instruction to the second router to add the fourth router to the firewall whitelist of the second router.

[0183] The network configuration device provided in the embodiment of the present application can implement each process implemented in the aforementioned method embodiment, and will not be described again here to avoid repetition.

[0184] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0185] Fig.12 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0186] The electronic device may include a processor 1201 and a memory 1202 storing computer program instructions.

[0187] Specifically, the processor 1201 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0188] The memory 1202 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1202 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1202 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1202 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1202 is a non-volatile solid-state memory.

[0189] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0190] The processor 1201 implements any one of the network configuration methods in the above embodiments by reading and executing computer program instructions stored in the memory 1202 .

[0191] In one example, the electronic device may further include a communication interface 1203 and a bus 1210. Fig.12 As shown, the processor 1201, the memory 1202, and the communication interface 1203 are connected via a bus 1210 and communicate with each other.

[0192] The communication interface 1203 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0193] Bus 1210 includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1210 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0194] In addition, in combination with the network configuration method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the network configuration methods in the above embodiment is implemented.

[0195] In addition, in combination with the network configuration method in the above embodiment, the embodiment of the present application can provide a computer program product to implement. When the instructions in the computer program product are executed by the processor of the electronic device, the electronic device executes and implements any one of the network configuration methods in the above embodiment.

[0196] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0197] The functional modules shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. Programs or code segments can be stored in machine-readable media, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable media" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0198] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0199] The above reference is to the flowchart and / or block diagram of the network configuration method, device, electronic device, storage medium and program product according to the embodiment of the present disclosure, and describes various aspects of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0200] The above is only a specific implementation of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application.

Claims

1. A network configuration method, characterized in that: In a cloud platform applied to a networking system, the networking system further includes a client and a plurality of routers, and the method includes: Obtaining a first router determined by the client from the plurality of routers; Sending a first routing configuration instruction to the first router, so as to configure the first router as a master router of a target sub-network through a management unit of the first router, wherein the target sub-network is any sub-network in the target network, a master router is deployed in each sub-network, and the master router is used to manage slave routers in the corresponding sub-network; the management unit is used to communicate with a first wireless mesh network module of the first router to configure a network function provided by the first wireless mesh network module; Determine a second router from other routers according to the network topology corresponding to the target subnetwork, wherein the other routers are routers other than the main router among the multiple routers; The routing information of the second router is sent to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, so as to deploy the second router in the target subnet where the first router is located.

2. The method according to claim 1, characterized in that The cloud platform includes at least a platform communication module, and the management unit of the first router includes at least a first network communication module, a first configuration management module, a first whitelist management module, and a first network management module, wherein sending a first routing configuration instruction to the first router to configure the first router as a main router of a target subnet through the management unit of the first router includes: The first routing configuration instruction is sent to the first network communication module of the first router through the platform communication module, so that the configuration management module of the first router controls the first whitelist management module to enter the target state, and calls the network management unit of the first router to configure the wireless mesh network module of the first router, so as to configure the first router as the main router of the target sub-network, wherein the target state representation allows a user to specify that information sent by at least one router passes through the first router, and the whitelist management module in the target state is used to intercept messages sent by routers outside the target sub-network.

3. The method according to claim 2, characterized in that The cloud platform further includes a topology management module, wherein the routing information of the second router is sent to the first router so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, including: Acquire a second router determined by the topology management module according to the network topology structure corresponding to the target subnetwork; Sending the routing information of the second router to the first network communication module through the platform communication module, and forwarding the routing information of the second router to the first configuration management module through the first network communication module, so that the first configuration management module calls the first whitelist management module, and adds the second router to the firewall whitelist of the first router according to the routing information of the second router; The second whitelist management module of the second router is controlled to enter the target state through the topology management module, and the second whitelist management module is called through the second configuration management module of the second router to add the first router to the firewall whitelist of the second router to configure the second router as a slave router of the first router.

4. The method according to claim 1, characterized in that: After sending the first routing configuration instruction to the first router, the method further includes: Obtaining wireless hotspot information corresponding to the client and a third router designated by the client; Sending the wireless hotspot information to the third router, so that the third router calculates the wireless signal strength detected by the third router according to the wireless hotspot information, and returns the location information corresponding to the wireless signal strength to the cloud platform, wherein the location information is used to characterize the location relationship between the client and the third router; Sending the location information to the client, and obtaining a second routing configuration instruction returned by the client; Sending the second routing configuration instruction to the first router, so that the first router adds the third router to the firewall whitelist of the first router according to the second routing configuration instruction; The third routing configuration instruction is issued to the third router, so that the third router adds the first router to the firewall whitelist of the third router according to the third routing configuration instruction.

5. The method according to claim 4, characterized in that Sending the second routing configuration instruction to the first router so that the first router adds the third router to the firewall whitelist of the first router according to the second routing configuration instruction includes: The routing information of the third router is sent to the first network communication module of the first router through the platform communication module of the cloud platform, and the routing information of the third router is forwarded to the first configuration management module of the first router through the first network communication module, so that the first configuration management module calls the first whitelist management module of the first router, and adds the third router to the firewall whitelist of the first router according to the routing information of the third router.

6. The method according to claim 4, characterized in that The method of sending the third routing configuration instruction to the third router so that the third router adds the first router to the firewall whitelist of the third router according to the third routing configuration instruction comprises: The third whitelist management module of the third router is controlled to enter a target state through the topology management module of the cloud platform, and the third whitelist management module is called through the third configuration management module of the third router to add the first router to the firewall whitelist of the third router, wherein the target state representation allows a user to specify that information sent by at least one router passes through the third router.

7. The method according to claim 1, characterized in that After deploying the second router in the target sub-network where the first router is located, the method further includes: When it is detected that a fourth router is deployed in the target subnetwork, a fourth routing configuration instruction is issued to the fourth router through the first router to add the second router to the firewall whitelist of the fourth router, and a fifth routing configuration instruction is issued to the second router to add the fourth router to the firewall whitelist of the second router.

8. A network configuration device, characterized in that: In a cloud platform applied to a networking system, the networking system further includes a client and a plurality of routers, and the device includes: A first routing determination module, configured to obtain a first router determined by the client from among the multiple routers; A first configuration module is used to send a first routing configuration instruction to the first router, so as to configure the first router as a master router of a target sub-network through a management unit of the first router, wherein the target sub-network is any sub-network in the target network, a master router is deployed in each sub-network, and the master router is used to manage slave routers in the corresponding sub-network; the management unit is used to communicate with a first wireless mesh network module of the first router to configure a network function provided by the first wireless mesh network module; A second routing determination module, configured to determine a second router from other routers according to a network topology structure corresponding to the target subnetwork, wherein the other routers are routers other than the main router among the multiple routers; The second configuration module is used to send the routing information of the second router to the first router, so that the management unit of the first router configures the second router as a slave router of the first router according to the routing information of the second router, so as to deploy the second router in the target subnet where the first router is located.

9. An electronic device, characterized in that: The electronic device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the network configuration method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: Computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by the processor, the network configuration method according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the network configuration method as described in any one of claims 1 to 7.