Networking control method and device, electronic equipment and storage medium

By introducing TIPC address management and cloud server configuration management in the wireless network, the role priority election mechanism of master-slave network equipment is used to realize the automated configuration and management of ad hoc networks, and the problems of high cost, poor ease of use and low reliability in centralized wireless network management are solved, and efficient and reliable wireless networking is achieved.

CN119629043APending Publication Date: 2025-03-14RUIJIE NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311180996.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-13
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing centralized wireless network management methods have problems such as high cost, poor ease of use and low reliability in wireless networking for small and medium-sized customers. Especially after the scale of large wireless LANs is expanded, the requirements for hardware and software performance increase, resulting in cost and applicability issues.

Method used

By introducing transparent inter-process communication (TIPC) address management and cloud server configuration management into network devices, the role priority election mechanism between the master network and the slave network device is used to realize the automated configuration and management of the ad hoc network, and reduce the dependence on centralized access controllers.

Benefits of technology

It realizes cross-device ad hoc networking, reduces networking costs, improves network reliability and applicability, and avoids the complexity of each network device that needs to establish independent communication connections with the cloud server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119629043A_ABST
    Figure CN119629043A_ABST
Patent Text Reader

Abstract

The invention discloses a networking control method and device, electronic equipment and a storage medium, and is used for solving the problems of high networking cost, low networking reliability and low networking applicability. The networking control method comprises the steps that a main network device receives an address allocation request sent by a slave network device, and the main network device and the slave network device are selected according to respective corresponding role priorities; sending the TIPC address information allocated to the slave network equipment to the slave network equipment; and sending the TIPC address information of the slave network equipment and the TIPC address information of the slave network equipment to the cloud server based on the communication connection established with the cloud server, so that the cloud server performs configuration management on the master network equipment and the slave network equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a networking control method, device, electronic device and storage medium. Background Art

[0002] With the widespread application of wireless networks, centralized wireless network architecture has become the preferred wireless networking method for users due to its convenience in implementation, operation and management. In related technologies, wireless access controller (AC) centralized management method and cloud-based centralized management method are used to implement configuration management of wireless access points (AP) and establish a centralized wireless network.

[0003] However, with the development of wireless networks, the above two centralized management methods have begun to show problems of high networking costs, poor networking usability and low networking reliability for the wireless networking needs of small and medium-sized customers. In addition, with the increase in customer business scale, the networking scale of large wireless LANs in scenarios such as campuses and higher education has continued to increase, and the requirements for the software and hardware architecture of AC have become increasingly higher. Improving network performance by improving its hardware capabilities and improving the performance of centralized management software is costly and has low applicability.

[0004] Therefore, how to reduce the cost of networking and improve the reliability and applicability of networking methods is a technical problem that needs to be solved urgently. Summary of the invention

[0005] In order to solve the problems of high networking cost, low networking reliability and low networking applicability, the embodiments of the present application provide a networking control method, device, electronic device and storage medium.

[0006] In a first aspect, an embodiment of the present application provides a networking control method, including:

[0007] The master network device receives an address allocation request sent by a slave network device, wherein the master network device and the slave network device are selected according to their respective corresponding role priorities;

[0008] Sending the transparent inter-process communication TIPC address information allocated to the slave network device to the slave network device;

[0009] Based on the communication connection established with the cloud server, the TIPC address information of the master network device and the TIPC address information of each slave network device are sent to the cloud server, so that the cloud server can perform configuration management on the master network device and each slave network device.

[0010] In one embodiment, the method further comprises:

[0011] Receiving local network identity information sent by the cloud server, where the local network identity is used to identify the ad hoc network to which the primary network device belongs;

[0012] Multicast and send out intra-domain synchronization information according to a first preset time period, wherein the intra-domain synchronization information includes the local network identity information and the Internet Protocol IP address information of the cloud server, so as to synchronize the local network identity information and the IP address information of the cloud server with each slave network device.

[0013] In one embodiment, the method further comprises:

[0014] Sending a neighbor request to a master network device in an adjacent ad hoc network according to a second preset time period;

[0015] Receive information of each network device in the adjacent self-organizing network returned by the master network device in the adjacent self-organizing network.

[0016] In one embodiment, the method further comprises:

[0017] If it is determined that the thin access point AP receives the intra-domain synchronization information, the thin AP is determined as a slave network device, and the thin AP is instructed to connect to the cloud server;

[0018] A corresponding TIPC address is allocated to the thin AP so that the thin AP joins the ad hoc network to which the main network device belongs.

[0019] In one implementation, the ad hoc network to which the master network device belongs further includes a backup master network device corresponding to the master network device; the method further includes:

[0020] The locally stored data is sent to the backup master network device for backup.

[0021] In one implementation, different types of network devices correspond to different preset role priorities; the role priorities of network devices of the same type are determined based on their respective hardware resource capability information and software resource information.

[0022] In one embodiment, the method further comprises:

[0023] If it is determined that the master network device is offline, the master network device is re-elected according to the role priorities corresponding to each of the slave network devices.

[0024] In one implementation, the master network device receives the address allocation request sent by the slave network device, specifically including:

[0025] The master network device receives the address allocation request sent by the slave network device through a preset private communication protocol; and

[0026] Sending the TIPC address information allocated to the slave network device to the slave network device specifically includes:

[0027] The TIPC address information allocated to the slave network device is sent to the slave network device through the preset private communication protocol.

[0028] In a second aspect, an embodiment of the present application provides a networking control device, which is applied to a main network device, including:

[0029] A first receiving unit is used to receive an address allocation request sent by a slave network device, wherein the master network device and the slave network device are selected according to their corresponding role priorities;

[0030] A first sending unit, configured to send the transparent inter-process communication TIPC address information allocated to the slave network device to the slave network device;

[0031] The second sending unit is used to send its own TIPC address information and the TIPC address information of each slave network device to the cloud server based on the communication connection established with the cloud server, so that the cloud server can configure and manage the master network device and each slave network device.

[0032] In one embodiment, the device further comprises:

[0033] A second receiving unit, configured to receive local network identity information issued by the cloud server, wherein the local network identity is used to identify the ad hoc network to which the primary network device belongs;

[0034] A multicast unit is used to multicast and send out intra-domain synchronization information according to a first preset time period, wherein the intra-domain synchronization information includes the local network identity information and the Internet Protocol IP address information of the cloud server, so as to synchronize the local network identity information and the IP address information of the cloud server with each slave network device.

[0035] In one embodiment, the device further comprises:

[0036] A third sending unit, configured to send a neighbor request to a master network device in an adjacent ad hoc network according to a second preset time period;

[0037] The third receiving unit is used to receive the information of each network device in the adjacent self-organizing network returned by the master network device in the adjacent self-organizing network.

[0038] In one embodiment, the device further comprises:

[0039] a determination unit, configured to, if it is determined that the thin access point AP has received the intra-domain synchronization information, determine the thin AP as a slave network device, and instruct the thin AP to connect to the cloud server;

[0040] The allocation unit is used to allocate a corresponding TIPC address to the thin AP so that the thin AP joins the self-organizing network to which the main network device belongs.

[0041] In one implementation, the ad hoc network to which the master network device belongs further includes a backup master network device corresponding to the master network device; and the apparatus further includes:

[0042] The fourth sending unit is used to send the locally stored data to the backup active network device for backup.

[0043] In one implementation, different types of network devices correspond to different preset role priorities; the role priorities of network devices of the same type are determined based on their respective hardware resource capability information and software resource information.

[0044] In one embodiment, the device further comprises:

[0045] The election unit is used to re-elect the master network device according to the role priorities corresponding to each of the slave network devices if it is determined that the master network device is offline.

[0046] In one embodiment, the first receiving unit is specifically configured to receive the address allocation request sent by the slave network device via a preset private communication protocol;

[0047] The first sending unit is specifically configured to send the TIPC address information allocated to the slave network device to the slave network device through the preset private communication protocol.

[0048] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the networking control method described in the present application when executing the program.

[0049] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps in the networking control method described in the present application are implemented.

[0050] The beneficial effects of this application are as follows:

[0051] The networking control method, device, electronic device and storage medium provided in the embodiment of the present application select a master network device and a slave network device according to the role priority corresponding to each network device, the master network device receives the address allocation request sent by each slave network device, and allocates a transparent inter-process communication (Transparent Inter-process Communication) to each slave network device. The master network device establishes a communication connection with the cloud server, and sends its own TIPC address information and the TIPC address information of each slave network device to the cloud server, so that the cloud server can configure and manage the master network device and each slave network device. Thus, self-organizing networking across devices is realized, which is easy to deploy and no longer relies on the AC to perform unified and centralized configuration management of APs. After the master network device establishes a communication connection with the cloud server, the master network device can send the TIPC address information of the master network device and the TIPC address information of each slave network device to the cloud server. The cloud server can realize unified configuration management of the master network device and each slave network device based on the TIPC address information of the master network device and the TIPC address information of each slave network device, without the need for each network device to actively establish a communication connection with the cloud server respectively. Thus, while reducing the networking cost, it improves the networking reliability and the applicability of the networking method.

[0052] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0054] Figure 1 A schematic diagram of an application scenario of the networking control method provided in an embodiment of the present application;

[0055] Figure 2 A schematic diagram of the implementation process of the networking control method provided in the embodiment of the present application;

[0056] Figure 3 A schematic diagram of the structure of a networking control device provided in an embodiment of the present application;

[0057] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] In order to solve the problems of high networking cost, low networking reliability and low networking applicability, the embodiments of the present application provide a networking control method, device, electronic device and storage medium.

[0059] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.

[0060] First reference Figure 1 , which is a schematic diagram of an application scenario of the networking control method provided in an embodiment of the present application, network devices in the same virtual local area network (English: Virtual Local Area Network, abbreviated as VLAN) or the same wireless local area network (English: Wireless Local Area Network, abbreviated as WLAN) can perform cross-device self-organizing networking, Figure 1The application scenario shown includes a self-organizing network 10 and a cloud server 11. The network devices in the self-organizing network 10 are in the same VLAN or in the same WLAN. The network devices may include but are not limited to one or more of the following devices: gateways, switches, routers, firewalls, ACs, APs, E-Gateway (English: E-Gateway, abbreviated as EG) and other devices. Each network device elects a master network device 101 and each slave network device 102 according to their corresponding role priorities, wherein the role priority represents the priority of the role election, and the role priority of the master network device 101 is higher than the role priority of each slave network device 102 After the master network device 101 and the slave network device 102 are selected, the master network device 101 generates a TIPC address as its own address, receives the address allocation request sent by each slave network device 102, allocates a corresponding TIPC address to each slave network device 102, and sends the TIPC address allocated to each slave network device 102 to the corresponding slave network device 102. Then, the master network device 101 and each slave network device 102 can communicate without an IP address through a preset private communication protocol, wherein the preset private communication protocol is an inter-device communication protocol (English: Inter-Device The cross-device communication protocol supports cross-device communication between network devices. The message using the cross-device protocol has a specific header, which can prevent irrelevant services between different VLANs or WLANs from perceiving the self-organizing network message. The message header of the cross-device protocol is used to encapsulate the TIPC message when transmitting the service data message between network devices in the self-organizing network. After receiving the TIPC message encapsulated with the IDCP header, the receiver can perform IDCP decapsulation to extract the TIPC message. The structure of the IDCP header can be set according to the needs, and the embodiment of the present application does not limit this. Furthermore, after the main network device 101 establishes a communication connection with the cloud server 11, the main network device 101 sends the TIPC address information of the main network device 101 itself and the TIPC address information of each slave network device 102 to the cloud server 11. The cloud server 11 records the TIPC address information of the main network device 101 and the TIPC address of each slave network device 102, and centrally performs unified configuration management on the main network device 101 and the slave network device 102. In the embodiment of the present application, a network device may also be elected as a backup master network device 101 ′ corresponding to the master network device 101 , and the backup master network device 101 ′ is used to back up the data stored in the master network device 101 .

[0061] Based on the above application scenarios, the following will refer to the attached Figures 2 to 4The exemplary embodiments of the present application are described in more detail. It should be noted that the above application scenarios are only shown to facilitate understanding of the spirit and principle of the present application, and the implementation of the present application is not limited in any way. On the contrary, the implementation of the present application can be applied to any applicable scenario.

[0062] like Figure 2 As shown, it is a schematic diagram of the implementation flow of the networking control method provided in the embodiment of the present application. The networking control method may include the following steps:

[0063] S21. The master network device receives an address allocation request sent by the slave network device.

[0064] Among them, the master network device and the slave network device are elected according to their corresponding role priorities. Different types of network devices correspond to different preset role priorities. The role priorities of network devices of the same type are determined according to their respective hardware resource capabilities and software resource information.

[0065] During specific implementation, for different types of network devices, the role priorities corresponding to different types of network devices can be pre-set. For example, it can be set as follows: the preset role priority of the gateway > the preset role priority of the switch > the preset role priority of the router > the preset role priority of the router > the preset role priority of the firewall > the preset role priority of the AC > the preset role priority of the AP > the preset role priority of the EG. During implementation, it can be set according to the needs, and the embodiments of the present application do not limit this. For the same type of network devices, the network device can determine its role priority based on its own hardware resource capability information and current software resource information, where the hardware resource capability information of the network device can include but is not limited to: memory size, device model and other indicators, and the software resource information can include but is not limited to: memory occupancy, CPU occupancy and other indicators.

[0066] During implementation, after the network device is powered on, it can multicast and send capability notification information according to a preset private communication protocol, i.e., a cross-device communication protocol. The capability notification information includes a preset role priority of the network device and a role priority determined based on its own hardware resource capability information and current software resource information. When a network device receives capability notification information sent by any other network device, it first compares its own preset role priority with the preset role priorities of other network devices. If it is determined that its own preset role priority is higher than the preset role priorities of other network devices, it continues to send capability notification information; if it is determined that its own preset role priority is the same as the preset role priorities of other network devices, it continues to compare the role priority determined based on its own hardware resource capability information and current software resource information with the role priority determined by other network devices based on their own hardware resource capability information and current software resource information. If it is determined that the role priority determined based on its own hardware resource capability information and current software resource information is higher than the role priority determined by other network devices based on their own hardware resource capability information and current software resource information, it continues to send capability notification information; if it is determined that the role priority determined based on its own hardware resource capability information and current software resource information is lower than the role priority determined by other network devices based on their own hardware resource capability information and current software resource information, the network device remains silent and no longer sends capability notification information; if it is determined that its own preset role priority is lower than the preset role priority of other network devices, the network device remains silent and no longer sends capability notification information. In this way, when the network device itself keeps sending capability announcement information and does not receive capability announcement information sent by any other network device within the preset time, it can be determined that the role priority of the network device is the highest. The network device can be elected as the main network device, and other network devices can be elected as slave network devices.

[0067] In one implementation, after the election of the master network device and the slave network device is completed, the master network device may also designate a slave network device among the slave network devices as a backup master network device. For example, it may be possible but not limited to designating a slave network device with the highest role priority as a backup master network device. The backup master network device is used to back up the data stored in the master network device. In this way, when the master network device abnormally goes offline, the backup master network device can automatically switch to the master network device, thereby ensuring that the business is not interrupted.

[0068] In one implementation, the primary network device may also be specified by the user, which is not limited in this embodiment of the present application.

[0069] Furthermore, the master network device generates a TIPC address as its own communication address, and a timed keep-alive mechanism is used between the master network device and each slave network device to monitor in real time whether there is any abnormality in the communication link between the master network device and each slave network device.

[0070] The master network device and the slave network device in the same VLAN or WLAN can exchange data through a preset private communication protocol, that is, a cross-device communication protocol. The slave network device sends an address allocation request to the master network device through a preset private communication protocol, that is, a cross-device communication protocol, to request the master network device to allocate a TIPC address for it as a communication address. In this way, communication without an IP address can be achieved between the master network device and the slave network device.

[0071] S22. The master network device sends the TIPC address information allocated to the slave network device to the slave network device.

[0072] In specific implementation, for each slave network device, when the master network device receives an address allocation request sent by the slave network device, it allocates a TIPC address to the slave network device and sends the TIPC address to the slave network device via a preset private communication protocol, namely, a cross-device communication protocol.

[0073] S23. The master network device sends its own TIPC address information and the TIPC address information of each slave network device to the cloud server based on the communication connection established with the cloud server, so that the cloud server performs configuration management on the master network device and each slave network device.

[0074] During specific implementation, the main network device can, but is not limited to, establish a communication connection with the cloud server through the Hypertext Transfer Protocol (HTTP), and send the TIPC address information of the main network device and the TIPC address information of each slave network device to the cloud server. It can also establish a communication connection with the cloud server by scanning the QR code of the main network device for communication connection, and send the TIPC address information of the main network device and the TIPC address information of each slave network device to the cloud server. The embodiments of the present application are not limited to this.

[0075] After receiving the TIPC address information of the master network device and the TIPC address information of each slave network device sent by the master network device, the cloud server sets a local network identity (English: Local Network Identity Document, abbreviated as lnid) for the master network device. The local network identity is used to uniquely identify the ad hoc network to which the master network device belongs, and records the corresponding relationship between the local network identity and the TIPC of the master network device and the TIPC of the slave network device. The cloud server sends the local network identity information to the master network device. The cloud server can set different local network identities for different master network devices.

[0076] The master network device receives the local network identity information sent by the cloud server, and multicasts and sends out domain synchronization information through the cross-device communication protocol according to the first preset time period. The domain synchronization information includes the local network identity information and the IP address information of the cloud server, so as to synchronize the local network identity information and the IP address information of the cloud server with each slave network device. After each slave network device receives the intra-domain synchronization information, it stores the local network identity information and the IP address information of the cloud server locally. The first preset time period can be set according to needs, and the embodiments of the present application are not limited to this. After each slave network device receives the local network identity information of the self-organizing network to which it belongs and the IP address information of the cloud server, it can be networked with other slave network devices and the master network device in the current VLAN or WLAN according to the local network identity information, and can communicate and connect with the cloud server according to the IP address information of the cloud server. Then, the cloud server performs centralized and unified configuration management of the master network device and each slave network device, thereby realizing communication connection with the cloud server through a master network device, and connecting all network devices in the entire self-organizing network to the cloud server. The cloud server performs centralized and unified configuration management of all network devices in the entire self-organizing network.

[0077] Network devices in the same VLAN or WLAN can exchange data in a multicast manner through a cross-device communication protocol. A VLAN or WLAN may include multiple self-organizing networks. The main network device can send a neighbor request to the main network device in the adjacent self-organizing network according to a second preset time period to request information of each network device in the adjacent self-organizing network, thereby sensing other self-organizing networks in the same VLAN or WLAN. The second preset time period can be set according to demand, and the embodiments of the present application are not limited to this.

[0078] During specific implementation, the master network device multicasts neighbor request information through a cross-device communication protocol. If the master network device in an adjacent self-organizing network receives the neighbor request information, the locally stored information of each network device in the adjacent self-organizing network is returned to the master network device, namely, the master network device information and the slave network device information. The network device information in the adjacent self-organizing network may include, but is not limited to, at least one or more of the following information: TIPC address information of all network devices in the adjacent self-organizing network, physical address (English: Media Access Control Address, abbreviated as MAC), role (i.e., master network device or slave network device), serial number (English: Serial Number, abbreviated as SN), device model, software version and other information. The embodiments of the present application do not limit this.

[0079] After receiving the information of each network device in the adjacent ad hoc network sent by the master network device in the adjacent ad hoc network, the master network device may also share the information of all network devices in the ad hoc network to which it belongs with the master network device in the adjacent ad hoc network.

[0080] The same VLAN or WLAN may also include thin APs that are centrally configured and managed by a hard AC using a CAPWAP tunnel. When the main network device multicasts and sends out intra-domain synchronization information, if it is determined that the thin AP has received the intra-domain synchronization information, the thin AP can be identified as a slave network device, and the thin AP can be instructed to connect to the cloud server. The corresponding TIPC address is assigned to the thin AP so that the thin AP joins the self-organizing network to which the main network device belongs. The main network device sends the TIPC address of the newly added AP to the cloud server, thereby switching the thin AP to a cloud AP for configuration management by the cloud server.

[0081] In one implementation, if it is determined that the master network device is offline, the master network device may be re-elected according to the role priorities corresponding to each slave network device.

[0082] In specific implementation, if it is determined that all slave network devices in an ad hoc network have timed out from keeping alive the master network device, it can be determined that the master network device has been abnormally disconnected or has been shut down and disconnected, then all slave network devices can re-elect the master network device. The election method has been described in detail before and will not be repeated here.

[0083] In one implementation, if it is determined that the master network device is offline, the backup master network device may also switch to the master network device, and designate a slave network device with a high role priority from all slave network devices as the new backup master network device.

[0084] After the ad hoc network is established, data packets can be transmitted between network devices in the ad hoc network. The following introduces the data transmission process between different network devices.

[0085] The first network device periodically sends a detection message, the detection message is used to discover other network devices, the detection message is an IDCP message, and the detection message carries the port information and MAC address information of the first network device.

[0086] Among them, each network device pre-sets a message receiving module to intercept IDCP messages and sends them to a central processing unit (CPU) for processing. The port information of the first network device may include but is not limited to at least one of the following information: a switch port identity (Switch Identity Document, Switch ID), a slot number (Slot Identity Document, Slot ID, which is a wired port number), and a sub-slot number (Sub-Slot Identity Document, Sub-Slot ID) of the first network device.

[0087] If the second network device receives the detection message sent by the first network device, it returns a response message to the first network device, and the response message carries the port information and MAC address information of the second network device.

[0088] The response message is an IDCP message, and the port information of the second network device may include but is not limited to at least one of the following information: Switch ID, Slot ID, and Sub-Slot ID of the second network device.

[0089] In specific implementation, the second network device receives the detection message sent by the first network, parses the port information and MAC address information of the first network device, and stores the correspondence between the port information and MAC address information of the first network device in a database for subsequent table lookup when forwarding business messages.

[0090] After the first network device receives the response message returned by the second network device, it parses the port information and MAC address information of the second network message from the response message, and stores the correspondence between the port information and MAC address information of the second network device in the database for subsequent table lookup when forwarding business messages.

[0091] In this way, the first network device and the second network device can share their port information and MAC address information.

[0092] When a service message is forwarded between the first network device and the second network device through the TIPC protocol, the sender (assuming it is the first network device) performs IDCP encapsulation on the service message to be forwarded at the forwarding adaptation layer, that is, encapsulates the TIPC message with an IDCP protocol header, and then forwards the IDCP-encapsulated TIPC message to the receiver (assuming it is the second network device).

[0093] When the second network device receives the IDCP-encapsulated TIPC message sent by the first network device, it first decapsulates the IDCP at the forwarding adaptation layer, then parses the TIPC message, searches for the target port information corresponding to the target MAC address from the correspondence between the stored network device and port information, and forwards the TIPC message to the network device corresponding to the target port.

[0094] The networking control method, device, electronic device and storage medium provided in the embodiments of the present application select a master network device and a slave network device according to the role priority corresponding to each network device, the master network device receives the address allocation request sent by each slave network device, allocates a TIPC address to each slave network device respectively, and sends the TIPC address allocated to each slave network device to each slave network device, the master network device establishes a communication connection with the cloud server, and sends its own TIPC address information and the TIPC address information of each slave network device to the cloud server, so that the cloud server performs configuration management on the master network device and each slave network device, thereby realizing cross-device access. It is self-organizing and easy to deploy. It no longer relies on AC to perform unified and centralized configuration management of APs. After the main network device establishes a communication connection with the cloud server, the main network device can send the TIPC address information of the main network device and the TIPC address information of each slave network device to the cloud server. The cloud server can realize unified configuration management of the main network device and each slave network device based on the TIPC address information of the main network device and the TIPC address information of each slave network device, without the need for each network device to actively establish a communication connection with the cloud server respectively. Therefore, while reducing the networking cost, it improves the networking reliability and the applicability of the networking method.

[0095] Based on the same inventive concept, an embodiment of the present application also provides a networking control device. Since the principle of solving the problem by the above-mentioned networking control device is similar to that of the above-mentioned networking control method, the implementation of the above-mentioned device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0096] like Figure 3 As shown, it is a schematic diagram of the structure of a networking control device provided in an embodiment of the present application. The networking control device is applied to a main network device and may include:

[0097] A first receiving unit 31 is configured to receive an address allocation request sent by a slave network device, wherein the master network device and the slave network device are selected according to their respective corresponding role priorities;

[0098] A first sending unit 32, configured to send the transparent inter-process communication TIPC address information allocated to the slave network device to the slave network device;

[0099] The second sending unit 33 is used to send its own TIPC address information and the TIPC address information of each slave network device to the cloud server based on the communication connection established with the cloud server, so that the cloud server can configure and manage the master network device and the slave network devices.

[0100] In one embodiment, the device further comprises:

[0101] A second receiving unit, configured to receive local network identity information issued by the cloud server, wherein the local network identity is used to identify the ad hoc network to which the primary network device belongs;

[0102] A multicast unit is used to multicast and send out intra-domain synchronization information according to a first preset time period, wherein the intra-domain synchronization information includes the local network identity information and the Internet Protocol IP address information of the cloud server, so as to synchronize the local network identity information and the IP address information of the cloud server with each slave network device.

[0103] In one embodiment, the device further comprises:

[0104] A third sending unit, configured to send a neighbor request to a master network device in an adjacent ad hoc network according to a second preset time period;

[0105] The third receiving unit is used to receive the information of each network device in the adjacent self-organizing network returned by the master network device in the adjacent self-organizing network.

[0106] In one embodiment, the device further comprises:

[0107] a determination unit, configured to, if it is determined that the thin access point AP has received the intra-domain synchronization information, determine the thin AP as a slave network device, and instruct the thin AP to connect to the cloud server;

[0108] The allocation unit is used to allocate a corresponding TIPC address to the thin AP so that the thin AP joins the self-organizing network to which the main network device belongs.

[0109] In one implementation, the ad hoc network to which the master network device belongs further includes a backup master network device corresponding to the master network device; the apparatus further includes:

[0110] The fourth sending unit is used to send the locally stored data to the backup active network device for backup.

[0111] In one implementation, the role priority of the master network device is higher than the role priority of each slave network device.

[0112] In one embodiment, the device further comprises:

[0113] The election unit is used to re-elect the master network device according to the role priorities corresponding to each of the slave network devices if it is determined that the master network device is offline.

[0114] In one embodiment, the first receiving unit 32 is specifically configured to receive the address allocation request sent by the slave network device via a preset private communication protocol;

[0115] The first sending unit 32 is specifically configured to send the TIPC address information allocated to the slave network device to the slave network device through the preset private communication protocol.

[0116] Based on the same technical concept, the present application embodiment also provides an electronic device 400, referring to Figure 4 As shown, the electronic device 400 is used to implement the networking control method described in the above method embodiment. The electronic device 400 of this embodiment may include: a memory 401, a processor 402, and a computer program stored in the memory and executable on the processor, such as a networking program. When the processor executes the computer program, the steps in the above networking control method embodiments are implemented.

[0117] The specific connection medium between the memory 401 and the processor 402 is not limited in the embodiment of the present application. Figure 4 In the embodiment, the memory 401 and the processor 402 are connected via a bus 403. The bus 403 is Figure 4 The connection between other components is shown by bold lines, and is not intended to be limiting. The bus 403 can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0118] The memory 401 may be a volatile memory, such as a random-access memory (RAM); the memory 401 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), or the memory 401 may be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 401 may be a combination of the above memories.

[0119] Processor 402 is used to implement the networking control method provided in the embodiment of the present application.

[0120] An embodiment of the present application also provides a computer-readable storage medium that stores computer-executable instructions required to execute the above-mentioned processor, which includes a program required to execute the above-mentioned processor.

[0121] In some possible implementations, various aspects of the networking control method provided in the present application may also be implemented in the form of a program product, which includes a program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the networking control method according to various exemplary implementations of the present application described above in this specification.

[0122] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0123] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (apparatus), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0124] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0125] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0126] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0127] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A networking control method, characterized in that: include: The master network device receives an address allocation request sent by a slave network device, wherein the master network device and the slave network device are selected according to their respective corresponding role priorities; Sending the transparent inter-process communication TIPC address information allocated to the slave network device to the slave network device; Based on the communication connection established with the cloud server, the TIPC address information of the master network device and the TIPC address information of each slave network device are sent to the cloud server, so that the cloud server can perform configuration management on the master network device and each slave network device.

2. The method according to claim 1, characterized in that Also includes: Receiving local network identity information sent by the cloud server, where the local network identity is used to identify the ad hoc network to which the primary network device belongs; Multicast and send out intra-domain synchronization information according to a first preset time period, wherein the intra-domain synchronization information includes the local network identity information and the Internet Protocol IP address information of the cloud server, so as to synchronize the local network identity information and the IP address information of the cloud server with each slave network device.

3. The method according to claim 2, characterized in that Also includes: Sending a neighbor request to a master network device in an adjacent ad hoc network according to a second preset time period; Receive information of each network device in the adjacent self-organizing network returned by the master network device in the adjacent self-organizing network.

4. The method according to claim 2, characterized in that Also includes: If it is determined that the thin access point AP receives the intra-domain synchronization information, the thin AP is determined as a slave network device, and the thin AP is instructed to connect to the cloud server; A corresponding TIPC address is allocated to the thin AP so that the thin AP joins the ad hoc network to which the main network device belongs.

5. The method according to claim 2, characterized in that The self-organizing network to which the master network device belongs also includes a backup master network device corresponding to the master network device; the method further includes: The locally stored data is sent to the backup master network device for backup.

6. The method according to claim 1, characterized in that Different types of network devices correspond to different preset role priorities; the role priorities of network devices of the same type are determined based on their respective hardware resource capability information and software resource information.

7. The method according to claim 1, characterized in that The master network device receives the address allocation request sent by the slave network device, which specifically includes: The master network device receives the address allocation request sent by the slave network device through a preset private communication protocol; and Sending the TIPC address information allocated to the slave network device to the slave network device specifically includes: The TIPC address information allocated to the slave network device is sent to the slave network device through the preset private communication protocol.

8. A networking control device, characterized in that: Applicable to main network equipment, including: A first receiving unit is used to receive an address allocation request sent by a slave network device, wherein the master network device and the slave network device are selected according to their corresponding role priorities; A first sending unit, configured to send the transparent inter-process communication TIPC address information allocated to the slave network device to the slave network device; The second sending unit is used to send its own TIPC address information and the TIPC address information of each slave network device to the cloud server based on the communication connection established with the cloud server, so that the cloud server can configure and manage the master network device and each slave network device.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the networking control method according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the networking control method according to any one of claims 1 to 7 are implemented.