Device management method and network device

The device management system addresses the challenge of continuous network monitoring and management in self-organizing networks by implementing automatic device discovery and configuration through a network device with integrated modules, enhancing network reliability and usability.

JP7829040B2Active Publication Date: 2026-03-12NEW H3C TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-07-22
Publication Date
2026-03-12

AI Technical Summary

Technical Problem

Existing self-organizing networks face challenges in 24/7 monitoring and require manual management due to reliance on mobile device applications, which lack continuous network oversight and are unreliable for large-scale deployments.

Method used

A device management system utilizing a network device with a network support module and service module to facilitate automatic device discovery, configuration, and management through tunnels for inter-device communication, enabling plug-and-play functionality and centralized network control.

Benefits of technology

Enables continuous network monitoring and automatic management of devices, reducing costs and improving usability by allowing seamless device integration and centralized control without the need for continuous human intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007829040000001
    Figure 0007829040000001
  • Figure 0007829040000002
    Figure 0007829040000002
  • Figure 0007829040000003
    Figure 0007829040000003
Patent Text Reader

Abstract

The embodiment of the present application provides a device management method and a network device applied to a first device in a self-organizing network, the method including: when the first device is a master device, the network support module of the first device receives a discovery request sent from the network support module of the second device, the discovery request includes target device information; the network support module of the first device sends a management notification to the network support module of the second device and sends a join event to the network service module of the first device; the network service module of the first device sends first configuration information that matches the target device information to the network support module of the first device; the network support module of the first device sends the first configuration information to the network service module of the second device, and the network service module of the second device uses the first configuration information to perform configuration. The application of the technical means provided by the embodiment of the present application can solve the problem of networks not being able to be monitored 24 hours a day, and realize automatic management of devices and management of the entire network.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present application relates to the field of communications technology, and in particular to a device management method and a network device. [Background technology]

[0002] To reduce the cost of self-organizing networks and improve their security, they are typically managed using mobile terminal applications (APPs). While mobile terminal APPs offer low costs for users, they do not allow for 24 / 7 monitoring of the network. Summary of the Invention

[0003] The present invention aims to provide a device management method and a network device that solves the problem of being unable to monitor a network 24 hours a day, and realizes automatic management of devices and management of the entire network. The specific technical means are as follows:

[0004] In a first aspect, embodiments of the present application provide a device management method applied to a first device in a self-organizing network, the method comprising: If the first device is a master device, a network support module of the first device receives a discovery request sent from a network support module of a second device in the self-organizing network via a first tunnel between the first device and a network support module of the second device, the discovery request including target device information of the second device; the network support module of the first device sends a management notification to the network support module of the second device via the first tunnel and sends a subscription event to the network service module of the first device, the subscription event including target device information; a network service module of the first device obtaining first configuration information that matches the target device information and sending the first configuration information to a network support module of the first device; The network support module of the first device sends the first configuration information to the network service module of the second device via a second tunnel between the network support module of the first device and the network service module of the second device, so that when the network support module of the second device receives the management notification, the network service module of the second device performs configuration using the first configuration information.

[0005] In a second aspect, an embodiment of the present application provides a network device, the network device comprising: a first network support module and a first network service module; the first network support module is used to receive a discovery request sent from a network support module of a second device in the self-organizing network via a first tunnel between the first network support module and the network support module of the second device in the self-organizing network when the network device is a master device in the self-organizing network, the discovery request including target device information of the second device; the first network support module is used to send a management notification to the network support module of the second device via the first tunnel and to send a subscription event to the first network service module, the subscription event including target device information; the first network service module is used to obtain first configuration information that matches the target device information and send the first configuration information to the first network support module; The first network support module is used to send the first configuration information to the network service module of the second device via a second tunnel between the first network support module and the network service module of the second device, so that when the network support module of the second device receives the management notification, the network service module of the second device performs configuration using the first configuration information.

[0006] In a third aspect, an embodiment of the present application provides a network device, the network device comprising a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the machine-executable instructions causing the processor to perform any of the method steps provided in the first aspect.

[0007] In a fourth aspect, an embodiment of the present application provides a machine-readable storage medium having stored thereon a computer program that, when executed by a processor, implements any of the method steps provided in the first aspect.

[0008] In a fifth aspect, an embodiment of the present application provides a computer program product, which when executed by a processor, implements any of the method steps provided in the first aspect.

[0009] In the technical solutions provided in the embodiments of the present application, after a new device joins the network and is powered on, the network support module of the new device interacts with the network support module of the master device, and the network support module of the master device interacts with the network service module to realize automatic management and automatic synchronous configuration of the new device, solving the problem of the network not being able to monitor 24 hours a day. In addition, since the master device manages all slave devices including the new device, a user terminal can access the network through any device and access the master device to manage all devices in the entire network, thereby realizing management of the entire network. [Brief explanation of the drawings]

[0010] In order to more clearly describe the technical solutions of the embodiments of the present application and the technical solutions of the prior art, the drawings necessary for the embodiments and the prior art will be briefly described below. Note that the drawings described below are only some of the embodiments of the present application, and those skilled in the art can obtain other embodiments based on these drawings without any creative efforts. [Figure 1] Figure 1 is a schematic diagram of the architecture of a self-organizing network. [Figure 2a] FIG. 2a is a schematic diagram of a cloud-less device management system provided by an embodiment of the present application. [Figure 2b] FIG. 2b is a schematic diagram of a device management system with cloud provided by an embodiment of the present application. [Figure 3] FIG. 3 is a schematic diagram of a three-tier architecture of a network device provided by an embodiment of the present application. [Figure 4] FIG. 4 is a schematic diagram of the three types of tunnels provided by an embodiment of the present application. [Figure 5] FIG. 5 is a first flow chart diagram of a device management method provided by an embodiment of the present application. [Figure 6] FIG. 6 is a second flow chart diagram of a device management method provided by an embodiment of the present application. [Figure 7] FIG. 7 is a signaling diagram of automatic management, configuration synchronization, and cloud connectivity provided by an embodiment of the present application. [Figure 8] FIG. 8 is a third flow chart diagram of a device management method provided by an embodiment of the present application. [Figure 9] FIG. 9 is a first flow chart schematic diagram of an interface access method provided by an embodiment of the present application. [Figure 10] FIG. 10 is a second flow chart schematic diagram of the interface access method provided by an embodiment of the present application. [Figure 11] FIG. 11 is a signaling diagram for a slave device accessing a web page of a master device provided by an embodiment of the present application. [Figure 12] FIG. 12 is a first configuration schematic diagram of a network device provided by an embodiment of the present application. [Figure 13] FIG. 13 is a second configuration schematic diagram of a network device provided by an embodiment of the present application. [Figure 14] FIG. 14 is a third configuration schematic diagram of a network device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE INVENTION

[0011] In order to clarify the purpose, technical means and advantages of the present application, the present application will be described in more detail below with reference to the drawings and embodiments. It is clear that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. Those skilled in the art will recognize that all other embodiments obtained based on the embodiments of the present application without making inventive efforts are within the scope of protection of the present application.

[0012] A self-organizing network is a network that combines mobile communications and computer networks, and information exchange in the network employs the packet switching mechanism used in computer networks.

[0013] Plug and Play means that the device can access the network once it is powered on.

[0014] Self-organizing networks are often used to build networks in settings such as vacation homes, guesthouses, trade chains, business hotels, and government and corporate offices. As shown in the architecture diagram of a self-organizing network in Figure 1, various access devices access the network through gateways or access controllers (ACs), and user terminals such as mobile phones and personal computers (PCs) access the network through access devices. Here, access devices may be access points (APs), switching devices, routers, etc. APs are classified as fit APs and fat APs. The self-organizing networks in the above scenarios have few access devices, making them low-end and small-scale networks.

[0015] Under the social backdrop of digitalization, industry competition in the low-end and small-scale network market is becoming increasingly fierce. Network manufacturers are successively launching network-wide management architectures for low-end and small-scale networks. Each network product's network-wide management architecture features automatic discovery of new access devices, centralized management of all access devices across the network, and automatic configuration of new access devices. These features improve usability by simplifying startup, facilitating management, and automating logic, further bringing tangible benefits to non-expert users and leading to widespread market adoption.

[0016] The low-end, small-scale network market is very price-sensitive. To reduce the cost of self-organizing networks, they typically use public clouds and mobile device applications (APPs) to manage self-organizing networks. While the cost of using public clouds and mobile device APPs to manage self-organizing networks is low for users, issues such as the reliability of the public cloud itself and the reliability of the network between the self-organizing network and the public cloud make the method of managing self-organizing networks using public clouds unreliable. Because the public cloud cannot be used until the local network is fully established, the scope of application of the method of managing self-organizing networks using public clouds is limited. While mobile device APPs can avoid the reliability issues, they do not provide 24 / 7 network monitoring.

[0017] In order to solve the problem of not being able to monitor the network 24 hours a day and realize automatic management of devices, an embodiment of the present application provides a device management system, which includes, but is not limited to, multiple devices such as FatAPs, FitAPs, switching devices, routers, gateways, and ACs.

[0018] To meet the need to reduce the cost of self-organizing networks, device management systems can use ACs as gateways or incorporate AC functionality into network devices such as gateways, routers, and switching devices. ACs can also connect with FitAPs or other managed APs to extend the coverage of self-organizing networks.

[0019] In a device management system, devices with high demands on hardware configuration and performance, such as the FatAP, switching devices, routers, gateways, and ACs, must function as controllers and apply the device management method provided by the embodiment of the present application. This device management method will be described in detail later, but will not be described here. In the embodiment of the present application, devices such as the FatAP, switching devices, and routers can function as controllers, eliminating the need to install wireless controllers such as gateways and ACs. The self-organizing network applied to the FatAP and switching devices can effectively reduce the cost of the self-organizing network.

[0020] For devices with low hardware configuration and performance such as the FitAP or other managed APs, if it is possible to manage a device that functions as the controller, the device management method provided by the embodiment of the present application can be realized.

[0021] The device management system provided by the embodiment of the present application may use a self-organizing network without a cloud, in which an APP, a browser, etc. access a local network to manage each device in the self-organizing network, as shown in Figure 2a. The APP, the browser, etc. can be installed on devices such as mobile phones and personal computers, and the local network is a self-organizing network.

[0022] The device management system provided by the embodiment of the present application may use a self-organizing network with a cloud, in which, as shown in FIG. 2b, after a connection between the local network and the cloud is established, the APP can remotely control the local network through the cloud and manage each device in the self-organizing network.

[0023] In an embodiment of the present invention, a device in a device management system may include three modules, which may be a network interaction module, a network service module, and a network support module, respectively, as shown in Figure 3. The network interaction module, the network service module, and the network support module will be described in detail below.

[0024] (1) The network interaction module provides a UI (User Interface) for operation on the user terminal and a data channel for communication between the front end and the background on the user terminal. The UI includes, but is not limited to, a mobile phone browser page, a mobile phone APP page, etc. The front end is the network interaction module, and the background is the network service module.

[0025] The data channel for communication between the front end and the background can be realized using the SOAP (Simple Object Access Protocol) protocol framework, with the network configuration protocol interface (e.g., the netconf interface) as the message format.

[0026] (2) The network service module is used to realize various service logics such as network-wide management and plug-and-play, etc. Here, the service logics may include global wireless service authorization logic, global wired service authorization logic, new device network access automatic cloud connection logic, ethernet support VLAN (Virtual Local Area Network) automatic adaptation logic, and automatic synchronization configuration logic.

[0027] In order to facilitate the network service module to realize various service logics, the network service module may include a network service (Web server) means and a service processing means, etc., and the network service module associates with a network configuration protocol interface and a cloud channel, etc. to facilitate communication with the network interaction module, the network support module, and the cloud. For convenience of explanation, the following description will be given taking the network configuration protocol interface as an example of a netconf interface.

[0028] Here, the web server means receives a SOAP message from the front end, and the netconf interface assigns the SOAP message to a corresponding service process for processing based on the actual service of the interface. Data communication can be performed in this manner between the front end, background, and device. Considering the high degree of coupling between the web server means and the service processing means, in an embodiment of the present application, the web server means can be installed in a network service module together with the service processing means and other service logic processing means.

[0029] The service processing means processes service logic such as plug-and-play automatic synchronization configuration, automatic cloud connection, global wireless service authorization logic, Ethernet port VLAN automatic adaptation logic, and global wired service authorization logic, and stores the service configuration of the entire self-organizing network and maintains service data.

[0030] The cloud channel realizes communication between the device and the management cloud and realizes plug-and-play automatic cloud connection function. The cloud channel is a connection established between the network service module of the network device and the cloud, where the management cloud is the cloud.

[0031] (3) The network support module supports the network architecture of the self-organizing network and is used to realize functions such as selecting device roles, maintaining the relationship between master devices and slave devices, maintaining the topology of the entire network, and maintaining data channels for communication between devices.

[0032] To facilitate the network support module to realize various functions, the network support module may include a network architecture means, an AP management means, a link management means, and so on.

[0033] The network architecture means realizes functions such as automatic device discovery and automatic networking, master device self-selection to determine roles, and new device automatic management, and the network architecture means can provide the network service module with an integrated channel for service publishing and information acquisition. The network architecture means can also store and maintain master-slave information, topology relationships, etc. of devices in the network.

[0034] When the device is powered on, the network architecture means can initiate Layer 2 negotiation to determine its own operating role based on the current network environment. For example, when the network is in the construction phase, the device participates in the selection of a master device and determines its own operating mode based on the selection result, i.e., whether the device's role is to be the master device or the slave device. When the network is operating normally, i.e., the network is up and running, the device initiates a network joining process, which will be described in detail later and is not described here.

[0035] The link management means reports and collects neighbor relations so that the network architecture means can draw the topology of the entire network. In the embodiment of the present application, the link management means may be, but is not limited to, an LLDP (Link Layer Discovery Protocol) means or other link protocol means.

[0036] The AP management means is used to manage FitAPs and other managed APs.

[0037] The network service module and network support module in one device have user mode operations and kernel mode operations. User mode operations can be realized by communicating through IPC (Inter-Process Communication). Kernel mode operations can be realized by calling interfaces within the kernel mode. Figure 3 shows that services in the network service module and network support module are realized through IPC communication, but this is not intended to be limiting. The service processing means in the network service module is dedicated to maintaining service data, and the network architecture means in the network support module is dedicated to maintaining data such as the management relationship between master and slave devices in the network and network topology information.

[0038] To realize inter-device communication, in the embodiment of the present application, the network support module provides three types of tunnels for inter-device communication, as shown in FIG.

[0039] (1) The first type of tunnel is called a network architecture tunnel, as shown by the solid line in FIG. 4, and is shown by the solid line in FIG.

[0040] The network architecture tunnel operates at the link layer and mainly serves the network support module, specifically the network architecture means in the network support module, and is used for tasks such as auto-discovery between master and slave devices, role selection, maintenance of relationships between master and slave devices, slave device join response, and keep-alive of master and slave devices.

[0041] A network architecture tunnel is established between network support modules in different devices. When a slave device is managed by a master device, a network architecture tunnel is established between the slave device and the master device to maintain keep-alive, and the master device and the slave device determine whether the other is connected to the network according to the keep-alive status of the network architecture tunnel.

[0042] (2) The second type of tunnel is called an application service tunnel, and is shown by the dashed line in Figure 4.

[0043] An application service tunnel is established between a network support module and a network service module in different devices. For the uplink, the application service tunnel is packaged as a single logical tunnel. That is, when it is directed to the network service module of the device, the application service tunnel is packaged as a single logical tunnel, and the network service module calls an interface provided by the application service tunnel to send messages to other devices. For the downlink, the application service tunnel multiplexes a common mechanism of existing network devices. That is, when it is directed to a target device to send data, the application service tunnel multiplexes a common mechanism of existing network devices and sends messages using SOAP, etc.

[0044] For example, before sending data, the network service module calls the interface of the application service tunnel to send a message to the network architecture means in the network support module, and the network architecture means converts the message into a SOAP message and sends it to the target device. The target device is the receiving side, and the Web server means in the receiving network service module receives the SOAP message and passes the SOAP message to the service processing means via the netconf interface for processing.

[0045] In the embodiment of the present application, the application service tunnel is actually a logical link, so there is no need to maintain an actual physical tunnel between devices for a long time, and SOAP does not require the maintenance of a long-term connection, which can reduce the cost of link maintenance. In addition, in the embodiment of the present application, when devices communicate with each other, the common mechanism of network devices is multiplexed, which greatly reduces the cost of implementing the technical means provided by the embodiment of the present application.

[0046] (3) The third tunnel is called a wireless AP management tunnel and is shown by a dashed line in FIG.

[0047] The wireless AP management tunnel can multiplex the existing AP management tunnel of a wireless product, thereby ensuring that a FitAP or other managed AP with limited resources can apply the technical means provided by the embodiments of the present application without increasing additional performance overhead.

[0048] The network interaction module, network service module, and network support module shown in FIG. 3 constitute a three-layer structure of a self-organizing network, and the first, second, and third types of tunnels shown in FIG. 4 are three types of tunnels in the self-organizing network. A device management system is designed using these three-layer structure and three types of tunnels. An embodiment of the present application provides a device management method applied to a first device in a self-organizing network, as shown in FIG. 5. When the first device is designated as the master device, the first device executes steps S51 to S54.

[0049] In some embodiments, the network support module of a first device in the self-organizing network conducts Layer 2 negotiation with the network support module of the other device via a sixth tunnel between the first device and the network support module of the other device in the self-organizing network to select and determine the roles of the first device and the other device in the self-organizing network, the roles being either master device or slave device, where the sixth tunnel is a tunnel between the network support module of the first device and the network support module of the other device, i.e., the sixth tunnel is the first type of tunnel, i.e., a network architecture tunnel.

[0050] In an embodiment of the present application, a master device in a self-organizing network is determined by selection, and the master device manages the devices in the network, thereby solving availability issues in low-end and small-scale networks, such as automatic discovery and management of devices, plug-and-play of new devices, and management of the entire network with a single login, and also improving startup efficiency and the operating experience of network management login, etc. This effectively solves problems such as the inability to perform automatic discovery and management due to crashes of fixed devices managing the network, and the inability to plug-and-play of new devices.

[0051] As shown in FIG. 5, the device management method includes the following steps:

[0052] Step S51: The network support module of the first device receives a discovery request sent from the network support module of the second device via a first tunnel between the network support module of the first device and the network support module of the second device in the self-organizing network, where the discovery request includes target device information of the second device.

[0053] In the embodiment of the present application, the second device is a network device newly joining the self-organizing network, and the first tunnel is a tunnel between the network support module of the first device and the network support module of the second device, i.e., the first tunnel is the first type of tunnel, i.e., a network architecture tunnel. The device information of the second device is target device information. The device information includes a device type, a serial number, a MAC (Media Access Control) address, etc.

[0054] After the second device is powered on and joins the self-organizing network, the network support module of the second device sends a discovery request to the network support module of the first device via the first tunnel, the discovery request including the target device information, and the network support module of the first device receives the discovery request sent from the network support module of the second device via the first tunnel.

[0055] Referring to the architecture of the self-organizing network shown in Figure 3 above, step S51 may be that the network architecture means in the network support module of the second device sends a discovery request to the network support module of the first device via the first tunnel, and the network architecture means in the network support module of the first device receives the discovery request sent from the network support module of the second device via the first tunnel.

[0056] Step S52, the network support module of the first device sends a management notification to the network support module of the second device through the first tunnel, and sends a subscription event to the network service module of the first device, where the subscription event includes target device information.

[0057] After receiving the discovery request, the network support module of the first device sends a management notification to the network support module of the second device through the first tunnel, completing automatic management for the second device. In this way, the second device successfully joins the self-organizing network, and the network support module of the first device and the network support module of the second device respectively update network data such as master-slave information and topology relationships.

[0058] Also, after completing the management of the second device, the network support module of the first device subsequently sends a subscription event to the network service module of the first device to complete the synchronization configuration to the second device.

[0059] Referring to the architecture of the self-organizing network shown in Figure 3 above, step S52 may be that the network architecture means in the network support module of the first device sends a management notification to the network support module of the second device via the first tunnel, and the network architecture means in the network support module of the first device reports the joining event to the service processing means in the network service module of the first device.

[0060] Step S53: the network service module of the first device obtains first configuration information that matches the target device information, and sends the first configuration information to the network support module of the first device.

[0061] When the network service module of the first device receives the subscription event, it extracts target device information from the subscription event and obtains, for example, first configuration information that matches the target device information, and then transmits the first configuration information to the network support module of the first device.

[0062] In some embodiments, the first device stores configuration information for various device types, and in this case, in step S53, the network service module of the first device obtains the first configuration information that matches the target device information, which may be the network service module of the first device obtaining the first configuration information that matches the device type in the target device information.

[0063] Referring to the architecture of the self-organizing network shown in Figure 3 above, in step S53, the service processing means in the network service module of the first device may, upon receiving the join event, extract target device information from the join event and obtain first configuration information consistent with the target device information. The service processing means in the network service module of the first device then transmits the first configuration information to the network architecture means in the network support module of the first device.

[0064] Step S54: The network support module of the first device sends the first configuration information to the network service module of the second device via a second tunnel between the network support module of the first device and the network service module of the second device, thereby performing configuration using the first configuration information when the network support module of the second device receives the management notification.

[0065] In the embodiment of the present application, the second tunnel is a tunnel between the network support module of the first device and the network service module of the second device, that is, the second tunnel is the above-mentioned second type of tunnel, that is, an application service tunnel.

[0066] After receiving the first configuration information, the network service module of the first device transmits the first configuration information to the network service module of the second device through the second tunnel. When the network support module of the second device receives the management notification, the network service module of the second device performs configuration using the received first configuration information, thereby realizing automatic synchronization configuration of the second device.

[0067] Referring to the architecture of the self-organizing network shown in Figure 3 above, step S54 may be that the network architecture means in the network support module of the first device sends the first configuration information to the network service module of the second device via the second tunnel, and the service processing means in the network service module of the second device performs the configuration using the first configuration information.

[0068] In the technical solutions provided in the embodiments of the present application, after a new device joins the network and is powered on, the network support module of the new device interacts with the network support module of the master device, and the network support module of the master device interacts with the network service module to realize automatic management and automatic synchronous configuration of the new device, solving the problem of the network not being able to monitor 24 hours a day. In addition, since the master device manages all slave devices, including the new device, after any device joins the network, the user terminal can access the master device and manage all devices in the entire network, thereby realizing management of the entire network.

[0069] In addition, new devices can be automatically managed and automatically synchronized, providing great convenience for users in expanding networks and replacing spares. At the same time, new devices can be added to the network by plug-and-play, eliminating the need to wait for all network devices to be plugged in and powered on when starting the network, providing considerable flexibility in network startup.

[0070] In some embodiments, in the above step S53, the network service module of the first device may send the first configuration information to the network support module of the first device by having the network service module of the first device call an interface of the second tunnel and send the first configuration information to the network support module of the first device.

[0071] In this case, in step S54, the network support module of the first device may transmit the first configuration information to the network service module of the second device via the second tunnel between the network support module of the first device and the network service module of the second device, and the network support module of the first device may receive the first configuration information at an interface of the second tunnel between the network support module of the first device and the network service module of the second device, convert the first configuration information into a target message of the preset protocol, and transmit the target message to the network service module of the second device. The preset protocol may be a common protocol between network devices, such as SOAP.

[0072] When the network support module of the second device receives the management notification, the network service module of the second device converts the target message into first configuration information and performs the configuration using the first configuration information.

[0073] Referring to the architecture of the self-organizing network shown in Figure 3 above, the service processing means in the network service module of the first device calls the interface of the second tunnel and sends first configuration information to the network support module of the first device. The network architecture means in the network service module of the first device receives the first configuration information at the interface of the second tunnel, converts the first configuration information into a SOAP target message, and sends the target message to the network service module of the second device. The web server means in the network service module of the second device receives the target message and passes the target message to the service processing means at the netconf interface for processing.

[0074] In the technical solution provided by the embodiment of the present application, when communicating between the network support module of the first device and the network service module of the second device, an application service tunnel is used, and since the application service tunnel is a logical link, there is no need to maintain an actual physical tunnel between the devices, thereby reducing the link maintenance cost. In addition, in the embodiment of the present application, when communicating between devices, the common mechanism of network devices is multiplexed, thereby significantly reducing the cost of implementing the technical solution provided by the embodiment of the present application.

[0075] In some embodiments, a device management method is further provided, which can include steps S61 to S65, as shown in Figure 6. Steps S61 to S64 are similar to the above steps S51 to S54, and will not be described in detail here.

[0076] Step S65: The network service module of the first device sends a registration event including target device information to the cloud via the cloud channel, so that the cloud registers the second device using the target device information; after the second device completes registration and receives a connection request sent from the second device via the cloud channel, the network service module of the first device establishes a connection with the second device, where the connection request is a request periodically sent from the second device.

[0077] In an embodiment of the present application, a first device establishes a connection with a cloud through a cloud channel. A network service module of the first device sends a registration event to the cloud through the cloud channel. After receiving the registration event, the cloud extracts target device information from the registration event and uses the target device information to register a second device. Thus, the first device completes the registration of the second device to the cloud.

[0078] The first device does not need to notify the second device, and the network service module of the second device periodically sends a connection request to the cloud over the cloud channel and attempts to establish a connection with the cloud.

[0079] Before the second device is registered with the cloud, the cloud will not establish a connection with the second device even if it receives a connection request, and after the second device is registered with the cloud, the cloud will establish a connection with the second device when it receives a connection request.

[0080] Referring to the architecture of the self-organizing network shown in Figure 3 above, step S65 may be that the service processing means in the network service module of the first device sends a registration event to the cloud via the cloud channel, the service processing means in the network service module of the second device periodically sends a connection request to the cloud via the cloud channel, and after the cloud registers the second device, establishes a connection with the second device via the cloud channel based on the connection request.

[0081] In the technical means provided by the embodiments of the present application, the master device registers the slave device to the cloud, and the slave device periodically attempts to connect to the cloud, and after the master device registers the slave device to the cloud, the slave device automatically establishes a connection with the cloud, realizing automatic cloud connection of the slave device, and further realizing remote control of the master device and the slave device in the self-organizing network via the cloud.

[0082] Hereinafter, a device management method provided by an embodiment of the present application will be described with reference to the signaling of automatic management, configuration synchronization, and cloud connection shown in Figure 7. In Figure 7, the network service module of the new device (e.g., the second device) includes service processing means 12, the network support module of the new device includes network architecture means 13, the network service module of the master device (e.g., the first device) includes service processing means 22, and the network support module of the master device includes network architecture means 23. In the embodiment of the present application, the new device may refer to the second device, and the master device may refer to the first device, and the network support modules and network service modules of the new device and the master device may include other means as shown in Figure 3, without limitation.

[0083] Step S72: The network architecture means 13 sends a discovery request to the network architecture means 23.

[0084] Step S72: The network architecture means 23 sends a management notification to the network architecture means 13.

[0085] Step S73, the network architecture means 23 sends a join event to the service processing means 22, and the join event includes the device information 1 of the new device.

[0086] In step S74, the service processing means 22 acquires the corresponding configuration information 1 based on the device type in the device information 1.

[0087] In step S75, the service processing means 22 calls the interface of the application service tunnel and transmits the configuration information 1 to the network architecture means 23.

[0088] In step S76, the network architecture means 23 converts the configuration information 1 into a SOAP message 1.

[0089] In step S 77 , the network architecture means 23 sends the SOAP message 1 to the service processing means 12 .

[0090] Step S78: The service processing means 12 validates the configuration, that is, executes the configuration using the configuration information 1 in the SOAP message 1.

[0091] Step S79: The service processing means 22 sends the registration event 1 to the cloud via the cloud channel, and the registration event includes the device information 1.

[0092] In step S710, the service processing means 12 periodically transmits a connection request to the cloud, thereby realizing an automatic connection to the cloud.

[0093] The technical means provided by the embodiments of the present application allow devices such as FatAPs, routers, and switching devices to function as master devices regardless of their types, thereby enabling device plug-and-play even when only FatAPs, routers, and switching devices exist in a network.

[0094] Although the above steps S71 to S710 have been briefly described, for details, please refer to the related descriptions of FIGS. 5 and 6 above.

[0095] In some embodiments, an automatic management function can be set for the master device. For example, if the first device is the master device, the first device can enable / disable this automatic management function, i.e., control the enablement of this automatic management function, thereby flexibly controlling automatic management of new devices. Specifically, the following is performed:

[0096] After receiving the discovery request, the network support module of the first device enables the automatic management function, i.e., if the automatic management function is enabled, the network architecture means in the network support module of the first device responds to the discovery request, i.e., sends a management notification to the network support module of the second device and sends a join event to the network service module of the first device.

[0097] If the network support module of the first device does not enable the automatic management function, i.e., if the automatic management function is disabled, the network architecture means in the network support module of the first device refuses to respond to the discovery request, i.e., does not send a management notification to the network support module of the second device, and does not send a join event to the network service module of the first device.

[0098] In the technical means provided by the embodiments of the present application, the master device can enable / disable the automatic management function to restrict the unexpected addition of devices that do not belong to the network, thereby solving the problem of damage to the security of network information caused by the unexpected addition of devices that do not belong to the network.

[0099] In some embodiments, the master device may also be configured with an administrative whitelist, which contains device information for devices that are allowed to join the self-organizing network.

[0100] In the following description, the first device is a master device. In an embodiment of the present application, the first device may record a device list, which includes device information for each device that has sent a discovery request. The user terminal checks the device information in the recorded device list through the network interaction module of the master device and adds some or all of the device information in the device list to the management whitelist. In an embodiment of the present application, the user may manually add or create device information in the management whitelist, but this is not limiting.

[0101] If the network support module of the first device does not enable the automatic management function, and the network architecture means in the network support module of the first device detects that the management whitelist does not include the target device information, the network architecture means in the network support module of the first device refuses to respond to the discovery request.

[0102] If the network architecture means in the network support module of the first device detects that the management whitelist includes the target device information, the network architecture means in the network support module of the first device responds to the discovery request, i.e., sends a management notification to the network support module of the second device, and sends a join event to the network service module of the first device.

[0103] In the technical solutions provided by the embodiments of the present application, the master device can enable / disable the automatic management function to restrict the unexpected addition of devices that do not belong to the network, thereby solving the problem of damage to network information security caused by the unexpected addition of devices that do not belong to the network. Based on the management whitelist, the network administrator can grant permission to allow specified devices to connect to the network at any time, regardless of whether the new device has already joined the network or whether it is powered on. The combination of the automatic management function and the management whitelist can further improve the flexibility and security of device plug-and-play on the network.

[0104] In some embodiments, the second device becomes a slave device after being managed by the first device. In this case, the embodiment of the present application further provides a device management method, which may include the following steps, as shown in FIG. 8 :

[0105] Step S81: The network service module of the first device sends target page data provided by the network interaction module of the first device to the user terminal, so that the user terminal displays the target page data and operates the target page data to obtain second configuration information related to the second device.

[0106] In the embodiment of the present application, a user terminal can access the network with any device as a slave device or a master device, for example, a PC connects to any port of any switching device or a panel port of any panel AP, and a mobile phone accesses the network in the coverage area of ​​any AP. Since the master device manages all slave devices, after a user terminal joins the network with any device, it can access the network interaction module of the master device and manage all devices in the entire network.

[0107] In an embodiment of the present application, a user terminal accesses a network interaction module of a first device, and a service processing means in the network service module of the first device obtains page data, i.e., target page data, provided by the network interaction module of the first device and sends the target page data to the user terminal. The user terminal displays the target page data, enabling the user terminal to access the web page of the first device. The user terminal operates the target page data to obtain configuration information, such as second configuration information, related to a second device.

[0108] Step S82: the network service module of the first device receives the second configuration information sent from the user terminal, and sends the second configuration information to the network support module of the first device.

[0109] The service processing means in the network service module of the first device receives the second configuration information sent from the user terminal, calculates the service of the second configuration information as an identification, and sends the second configuration information to the network support module of the first device.

[0110] For example, the second configuration information is a SOAP message, and the Web server means in the network service module of the second device receives the SOAP message and passes the SOAP message to the service processing means via the netconf interface for processing. The service processing means in the network service module of the first device invokes an application service tunnel and sends the second configuration information to the network architecture means in the network support module of the first device.

[0111] Step S83: The network support module of the first device sends the second configuration information to the network service module of the second device through the second tunnel, so that the network service module of the second device performs the configuration using the second configuration information.

[0112] After receiving the second configuration information, the network architecture means in the network service module of the first device transmits the second configuration information to the service processing means in the network service module of the second device via the second tunnel. The service processing means in the network service module of the second device performs configuration using the received second configuration information, thereby achieving synchronous configuration of the second device. Furthermore, the service processing means in the network service module of the second device manages the entire network with the first device, thereby achieving management of the entire network with a single login and improving the availability of the self-organizing network.

[0113] In some embodiments, in step S82 above, the network service module of the first device may send the second configuration information to the network support module of the first device by having the network service module of the first device invoke an interface of the second tunnel and send the second configuration information to the network support module of the first device.

[0114] In this case, in step S83, the network support module of the first device may transmit the second configuration information to the network service module of the second device via the second tunnel. The network support module of the first device may receive the second configuration information at the interface of the second tunnel, convert the second configuration information into a target message of a preset protocol, and transmit the target message to the network service module of the second device. The preset protocol may be a common protocol between network devices, such as SOAP. The network service module of the second device converts the target message into the second configuration information and performs configuration using the second configuration information.

[0115] Referring to the architecture of the self-organizing network shown in Figure 3 above, the service processing means in the network service module of the first device calls the interface of the second tunnel and sends second configuration information to the network support module of the first device. The network architecture means in the network service module of the first device receives the second configuration information at the interface of the second tunnel, converts the second configuration information into a SOAP target message, and sends the target message to the network service module of the second device. The web server means in the network service module of the second device receives the target message and passes the target message to the service processing means at the netconf interface for processing.

[0116] In the technical solution provided by the embodiment of the present application, when a network support module of a first device communicates with a network service module of a second device, the communication is performed using an application service tunnel, and since the application service tunnel is a logical link, there is no need to maintain an actual physical tunnel between the devices, which reduces the link maintenance cost. In addition, in the embodiment of the present application, when communicating between devices, a common mechanism of network devices is multiplexed, which significantly reduces the cost of implementing the technical solution provided by the embodiment of the present application.

[0117] In some embodiments, an interface access method is further provided, which may include the following steps, as shown in FIG.

[0118] Step S91: the network service module of the first device receives an access request sent from a user terminal, where the access request includes a target URL (Uniform Resource Locator).

[0119] The user terminal transmits an access request to the first device. The service processing means in the network service module of the first device receives the access request transmitted from the user terminal via the Web server means. The access request may be a SOAP message.

[0120] In an embodiment of the present application, the access request is a request from a user terminal transmitted through a third tunnel between a network support module of a third device in the self-organizing network and a network support module of a first device. In an embodiment of the present application, the third tunnel is a tunnel between a network support module of the first device and a network support module of the third device, i.e., the third tunnel is the third type of tunnel, i.e., a wireless AP management tunnel. In an embodiment of the present application, the third device is a managed device, such as the FitAP or another managed AP.

[0121] The access request may be a request from a user terminal sent from the cloud via a cloud channel.

[0122] In the embodiment of the present application, for example, the user terminal is an APP, and the APP can implement an HTML5 architecture, and through a data channel of the APP<-->cloud<-->cloud channel of the first device<-->webserver means of the first device, the APP sends an access request to the first device to retrieve and display the web page of the first device, and establishes a data channel between the user terminal and the network interaction module of the first device. The subsequent interaction between the user terminal and the network service module and network support module of the first device, and the synchronization process of information such as the first configuration information and the second configuration information between the devices, can refer to the relevant descriptions of Figures 5 to 8 above.

[0123] The access request may be sent directly from the user terminal to the first device, for example, when the user terminal connects to the network using the first device, the user terminal sends the access request directly to the first device.

[0124] Step S92: the network service module of the first device obtains target page data provided by the network interaction module of the first device if the target URL is the domain name of the self-organizing network.

[0125] The service processing means in the network service module of the first device identifies that the target URL in the access request is a domain name of the self-organizing network, and obtains the page data provided by the network interaction module of the first device, i.e., the target page data.

[0126] Step S93: the network service module of the first device carries the target page data in an access response to the access request, and feeds back the access response to the user terminal.

[0127] In an embodiment of the present application, the service processing means in the network service module processes service logics such as plug-and-play automatic synchronization configuration, automatic cloud connection, global wireless service authorization logic, Ethernet port VLAN automatic adaptation logic, global wired service authorization logic, etc. After obtaining the target page data, the service processing means in the network service module of the first device carries the target page data in an access response corresponding to the access request, and feeds the access response back to the user terminal. The access request may be a SOAP message.

[0128] In the technical solution provided by the embodiment of the present application, the above step S81 is realized by the above steps S91 to S93. For the management of the entire network, a user terminal needs to access the master device. For example, accessing the master device through a browser is conventionally unfriendly to most users in the consumer market. Accessing a local web page using an IP address is conventional. In the embodiment of the present application, a user terminal simply joins the network through any AP and accesses a specified domain name using a user terminal such as a mobile phone to open the local web page of the master device and manage all devices in the entire network. This realizes the management of the entire network with a single login, improving the availability of the self-organizing network.

[0129] In some embodiments, an interface access method is further provided, which may include the following steps, as shown in FIG.

[0130] Step S101: The network service module of the first device receives a page request sent from the network support module of a fourth device in the self-organizing network through a fourth tunnel between the network service module of the first device, where the page request is a request sent by the network service module of the fourth device to the first device after receiving an access request from a user terminal, and the target URL included in the access request is the domain name of the self-organizing network.

[0131] The fourth tunnel is a tunnel between the network support module of the fourth device and the network service module of the first device, that is, the fourth tunnel is the second type of tunnel, ie, an application service tunnel.

[0132] The fourth device can be configured with DNS (Domain Name System) redirection and web agent functions.

[0133] The webserver means in the network service module of the fourth device receives the access request from the user terminal and sends the access request to the service processing means, which uses a DNS redirection function to identify that the target URL in the access request is a domain name of the self-organizing network and sends a page request to the network architecture means in the network support module of the fourth device, which sends the page request to the network service module of the first device via the fourth tunnel.

[0134] Step S102: The network service module of the first device obtains target page data from the network interaction module of the first device based on the page request, and sends the target page data to the network service module of the fourth device through a fifth tunnel between the network support module of the first device and the network service module of the fourth device, so that the network service module of the fourth device carries the target page data in an access response to the access request, and feeds back the access response to the user terminal.

[0135] The fifth tunnel is a tunnel between the network support module of the first device and the network service module of the fourth device, that is, the fifth tunnel is the second type of tunnel, ie, an application service tunnel.

[0136] After receiving the page request from the fourth device, the service processing means in the network service module of the first device obtains target page data, such as HTML files, static resources, and data corresponding to the page, from the network interaction module of the first device and sends the target page data to the network support module of the first device. The network architecture means in the network support module of the first device returns the target page data to the network service module of the fourth device through the fifth tunnel. The service processing means in the network service module of the fourth device integrates the target page data and returns it to the user terminal, thereby achieving the effect of accessing the master device web by domain name and managing the entire network.

[0137] In the technical solution provided by the embodiment of the present application, the above step S81 is realized by using the above steps S101 and S102. For the management of the entire network, a user terminal needs to access the master device. For example, accessing the master device through a browser is conventionally not user-friendly for most users in the consumer market; accessing a local web page through an IP address is not user-friendly. In the embodiment of the present application, a user terminal simply joins the network through any AP and accesses a specified domain name using a user terminal such as a mobile phone, thereby opening the local web page of the master device and managing all devices in the entire network. In other words, the entire network can be managed with a single login.

[0138] Home routers often use DNS redirection to enable users to log in to local web pages by domain name. However, traditional DNS redirection methods have the following problems: Wireless routers typically use only one device, which acts as a Dynamic Host Configuration Protocol (DHCP) server and whose IP address normally remains constant. However, the master device in a self-organizing network is selected, and its IP address may change, not necessarily the DHCP server device. Once the IP address corresponding to a domain name changes, the browser may not be able to re-initiate a DNS request (i.e., an access request) in a timely manner to obtain the new IP address corresponding to the domain name, resulting in inaccessible pages.

[0139] Another embodiment involves embedding pages from other devices into the web page of this device, but the embedded pages can cause confusion, the embedded range is limited, and the display on the user's device is not friendly.

[0140] The embodiments of the present application improve the management method of the entire network, and each device is implemented in the form of DNS redirection and a web agent, which can reduce the problem of inaccessibility of domain names due to changes in the IP address of the master device.

[0141] First, the device accessed by the user terminal uses a DNS redirection function. When a domain name is resolved, the IP address returned is the IP address of the device accessed by the user terminal, not the IP address of the master device where the actual page is located. If a device accessed by the user terminal, such as an AP or switching device, crashes, the connection with the user terminal is lost. When the device accessed by the user terminal resumes operation, it is highly likely to be assigned the IP address previously used. However, if the master device crashes, the slave device is upgraded to a master device according to the device role selection mechanism described in the embodiment of the present application, and the IP address of the master device will inevitably change. Therefore, the technical means provided by the embodiment of the present application are employed to reduce the probability of the IP address corresponding to a domain name changing, thereby reducing the probability that the user terminal will be unable to access the master device's page using the domain name.

[0142] Next, a web agent function is added to the master device and slave device. When a user accesses a local web page using a domain name, an AP, switching device, etc. receives an access request from the device. If the URL of the access request is identified as the domain name of the self-organizing network, the network support module sends the same page request to the network service module of the master device. After the network service module of the master device receives the page request from the slave device, the network support module of the master device returns the target page data to the network service module of the slave device. The slave device then integrates the target page data from the master device and returns it to the user terminal. This achieves the effect of managing the entire network by accessing the master device web using a domain name.

[0143] Hereinafter, the interface access method provided by the embodiment of the present application will be described with reference to the signaling diagram of a slave device accessing a web page of a master device shown in Figure 11. In Figure 11, the network service module of the slave device includes a web server means 31 and a service processing means 32, the network support module of the slave device includes a network architecture means 33, the network service module of the master device includes a service processing means 41, the network support module of the master device includes a network architecture means 42, and the network interaction module of the master device includes a local web 43. In the embodiment of the present application, the slave device may refer to the fourth device, and the master device may refer to the first device. The network support modules, network service modules, and network interaction modules of the slave device and master device may include other means as shown in Figure 3 above, and are not limited thereto.

[0144] Step S111, the network architecture means 33 configures the DNS redirection function of the service processing means 32 after the device is managed, and the domain name is configured as the IP address of the device itself.

[0145] In step S112, the Web server means 31 receives the access request sent from the user terminal.

[0146] In step S 113 , the Web server means 31 transmits an access request to the service processing means 32 .

[0147] In step S114, the service processing means 32 calls the interface of the application service tunnel and sends a page request to the network architecture means 33.

[0148] In step S115, the network architecture means 33 converts the page request into a SOAP message 2.

[0149] In step S 116 , the network architecture means 33 sends the SOAP message 2 to the service processing means 41 .

[0150] In step S 117 , the service processing means 41 acquires the page data 1 of the local web 43 based on the SOAP message 2 .

[0151] In step S118, the service processing means 41 calls the interface of the application service tunnel and transmits the page data 1 to the network architecture means .

[0152] In step S119, the network architecture means 42 converts the page data 1 into a SOAP message 3.

[0153] In step S 1110 , the network architecture means 42 sends the SOAP message 3 to the service processing means 32 .

[0154] In step S 1111 , the service processing means 32 transmits the page data 1 corresponding to the SOAP message 3 to the Web server means 31 .

[0155] In step S1112, the Web server means 31 feeds back the page data 1 to the user terminal.

[0156] Although the above steps S111 to S1112 have been briefly explained, for details, please refer to the related explanations of FIG. 5 and FIG.

[0157] Corresponding to the above device management method, the embodiment of the present application further provides a network device, which includes a first network support module 121 and a first network service module 122, as shown in FIG.

[0158] When the network device is a master device in the self-organizing network, the first network support module 121 is used to receive a discovery request sent from the network support module of the second device via a first tunnel between the first network support module and the network support module of the second device in the self-organizing network, and the discovery request includes target device information of the second device.

[0159] The network support module 121 of the first device is used to send a management notification to the network support module of the second device via the first tunnel and to send a subscription event to the first network service module, where the subscription event includes target device information.

[0160] The first network service module 122 is used to obtain first configuration information that matches the target device information and send the first configuration information to the first network support module.

[0161] The network support module 121 of the first device is used to perform configuration using the first configuration information when the network support module of the second device receives a management notification by sending the first configuration information to the network service module of the second device via a second tunnel between the network support module 121 of the first device and the network service module of the second device.

[0162] In some embodiments, the first network service module 122 is specifically used to invoke the interface of the second tunnel and send the first configuration information to the first network support module.

[0163] Specifically, the first network support module 121 receives first configuration information at the interface of the second tunnel with the network service module of the second device, converts the first configuration information into a target message of a preset protocol, and sends the target message to the network service module of the second device, so that when the network support module of the second device receives a management notification, it converts the target message into the first configuration information and performs configuration using the first configuration information.

[0164] In some embodiments, the preset protocol may be SOAP.

[0165] In some embodiments, the first network service module 122 is further used to establish a connection with the second device after the first network support module sends the first configuration information to the network service module of the second device by sending a registration event including the target device information to the cloud via a cloud channel, so that the cloud registers the second device using the target device information, and after the second device completes registration and receives a connection request sent from the second device via the cloud channel, the connection request is a request periodically sent from the second device, and the cloud channel is a connection established between the network service module of the first device and the cloud.

[0166] In some embodiments, the first network support module 121 further comprises: After receiving the discovery request, if the auto-management function is enabled, sending a management notification to the network support module of the second device and sending a join event to the first network service module; Used to refuse to respond to discovery requests if auto-management is not enabled.

[0167] In some embodiments, the first network support module 121 further comprises: If the auto-management function is not enabled, refusing to respond to the discovery request if the management whitelist does not include the target device information, the management whitelist including device information of devices that are allowed to access the self-organizing network; If the management whitelist includes the target device information, it is used to send a management notification to the network support module of the second device and send a subscription event to the first network service module.

[0168] In some embodiments, the network device further comprises a first network interaction module 123, as shown in FIG.

[0169] The first network service module 122 is also used to send target page data provided by the first network interaction module 123 to the user terminal, so that the user terminal displays the target page data, operates the target page data, and obtains second configuration information related to the second device.

[0170] The first network service module 122 is also used to receive second configuration information sent from the user terminal and send the second configuration information to the first network support module.

[0171] The first network support module 121 is also used to send second configuration information to the network service module of the second device via the second tunnel, so that the network service module of the second device uses the second configuration information to perform configuration.

[0172] In some embodiments, the first network service module 122 specifically: receiving an access request sent from a user terminal, the access request including a target URL; If the target URL is a domain name of a self-organizing network, obtain target page data provided by the first network interaction module; It is used to carry target page data in an access response to an access request and to feed back the access response to the user terminal.

[0173] In some embodiments, the access request may be a request of a user terminal transmitted via a third tunnel between a network support module of a third device and a network support module of the first device in the self-organizing network; or The access request may be a request from a user terminal sent from the cloud via a cloud channel.

[0174] In some embodiments, the first network service module 122 specifically: receiving a page request sent from a network support module of a fourth device in the self-organizing network through a fourth tunnel between the network support module of the fourth device and the first network service module, the page request being a request sent by the network service module of the fourth device to the network device after receiving an access request from the user terminal, wherein the target URL included in the access request is a domain name of the self-organizing network; Based on the page request, obtain target page data from the first network interaction module 123, and send the target page data to the network service module of the fourth device through a fifth tunnel between the first network support module and the network service module of the fourth device, so that the network service module of the fourth device carries the target page data in an access response to the access request, and feeds back the access response to the user terminal.

[0175] In some embodiments, the first network support module 121 is further used to perform Layer 2 negotiation with the network support module of the other device via a sixth tunnel between the network support module of the other device to determine the role of the network device and the other device in the self-organizing network, that role being a master device or a slave device.

[0176] In the technical solutions provided in the embodiments of the present application, after a new device joins the network and is turned on, the network support module of the new device interacts with the network support module of the master device, and the network support module of the master device interacts with the network service module to realize automatic management and automatic synchronous configuration of the new device, solving the problem of the network not being able to be monitored 24 hours a day. In addition, since the master device manages all slave devices including the new device, a user terminal can access the network through any device, and then access the master device to manage all devices in the entire network, thereby realizing management of the entire network.

[0177] An embodiment of the present application provides a network device, and as shown in FIG. 14, the network device comprises a processor 141 and a machine-readable storage medium 142, wherein the machine-readable storage medium 142 stores machine-executable instructions that can be executed by the processor 141, and the machine-executable instructions cause the processor 141 to execute the method steps shown in any of the embodiments of FIGS. 5 to 11.

[0178] In the embodiments of the present application, the above-mentioned network support module, network service module, and network interaction module are realized by device-executable programs and instructions, and the processor 141 executes the corresponding device-executable programs and instructions to realize the functions of the above-mentioned network support module, network service module, and network interaction module, and further realize the method steps shown in any of the embodiments of Figures 5 to 11.

[0179] An embodiment of the present application further provides a machine-readable storage medium having a computer program stored therein, the computer program, when executed by a processor, realizing the method steps shown in any of the embodiments of Figures 5 to 11.

[0180] An embodiment of the present application further provides a computer program, which, when executed by a processor, implements the method steps shown in any of the embodiments of FIGS.

[0181] The machine-readable storage medium may include at least one magnetic disk device, such as a random access memory (RAM) or a non-volatile memory (NVM). Optionally, the machine-readable storage medium may be at least one storage device remote from the processor.

[0182] The processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc., a Digital Signal Processing (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.

[0183] In the above embodiments, some or all of the components may be implemented as software, hardware, firmware, or any combination thereof. When implemented as software, the components may be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the flow or functionality described in the present application is generated entirely or partially. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or another programmable device. The computer instructions may be stored on a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, radio, microwave, etc.). The computer-readable storage medium may be any available medium on which a computer can store information, or may include a data storage device, such as a server or data center, in which one or more available media are integrated. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, or a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

[0184] It should be noted that, in this specification, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not require or imply any physical relationship or order between those entities or operations. Furthermore, the terms "comprise," "include," and other variations thereof are intended to be non-exclusive inclusive, and a process, method, article, or device that includes a set of elements may include not only those elements but also other elements not expressly listed, or may include the inherent elements in such a process, method, article, or device. Unless otherwise specified, elements defined by "comprising..." do not exclude a process, method, article, or device that includes the elements from having additional identical elements.

[0185] Although the embodiments in this specification are described as being related to each other, identical or similar parts between the embodiments may be referred to each other, and the description will focus on the differences between each embodiment and other embodiments. In particular, the embodiments of the network device, the machine-readable storage medium, and the computer program are substantially similar to the embodiments of the method, and therefore the description will be simplified and the relevant parts may be referred to the embodiments of the method.

[0186] The above description is merely a preferred embodiment of the present application, and does not limit the scope of protection of the present application. Any amendments, equivalent replacements, changes, etc. made within the spirit and principle of the present application shall be included in the scope of protection of the present application.

Claims

1. 1. A device management method applied to a first device in a self-organizing network, comprising: If the first device is a master device, a network support module of the first device receives a discovery request sent from a network support module of a second device in the self-organizing network via a first tunnel between the first device and a network support module of the second device, the discovery request including target device information of the second device; the network support module of the first device sends a management notification to the network support module of the second device via the first tunnel and sends a subscription event to the network service module of the first device, the subscription event including the target device information; a network service module of the first device obtaining first configuration information that matches the target device information and sending the first configuration information to a network support module of the first device; the network support module of the first device transmitting the first configuration information to the network service module of the second device via a second tunnel between the network support module of the first device and the network service module of the second device, so that the network service module of the second device performs configuration using the first configuration information; A device management method comprising:

2. the network service module of the first device transmitting the first configuration information to the network support module of the first device; a network service module of the first device transmitting the first configuration information to a network support module of the first device and invoking an interface of the second tunnel in the network support module of the first device; the network support module of the first device transmitting the first configuration information to the network service module of the second device via a second tunnel between the network support module of the first device and the network service module of the second device; the network support module of the first device receives the first configuration information from the network service module of the first device at an interface of the second tunnel of the network support module of the first device, converts the first configuration information into a target message of a preset protocol, and transmits the target message to the network service module of the second device, so that the network service module of the second device converts the target message into the first configuration information and performs configuration using the first configuration information.

2. The device management method according to claim 1, wherein:

3. The preset protocol is a Simple Object Access Protocol.

3. The device management method according to claim 2, wherein:

4. After the network support module of the first device transmits the first configuration information to the network service module of the second device, the device management method includes: The network service module of the first device further includes: sending a registration event including the target device information to a cloud via a cloud channel, so that the cloud registers the second device using the target device information; and establishing a connection with the second device after the second device completes registration and receives a connection request sent from the second device via a cloud channel, the connection request being a request periodically sent from the second device, and the cloud channel being a connection established between the network service module of the first device and a cloud.

2. The device management method according to claim 1, wherein:

5. After receiving the discovery request, the device management method includes: If an auto-management feature is enabled, the network support module of the first device performs sending a management notification to the network support module of the second device and sending a join event to the network services module of the first device; If the auto-management function is not enabled, the network support module of the first device further includes refusing to respond to the discovery request.

2. The device management method according to claim 1, wherein:

6. If the network support module of the first device does not enable an automatic management function, the device management method includes: If an administration whitelist does not include the target device information, a network support module of the first device performs refusing to respond to the discovery request, the administration whitelist including device information of devices that are allowed to access the self-organizing network; If the management whitelist includes the target device information, the network support module of the first device performs sending a management notification to the network support module of the second device and sends a subscription event to the network service module of the first device.

6. The device management method according to claim 5, wherein:

7. The network service module of the first device sends target page data provided by the network interaction module of the first device to the user terminal, so that the user terminal displays the target page data and operates the target page data to obtain second configuration information for the second device; a network service module of the first device receiving the second configuration information sent from the user terminal and sending the second configuration information to a network support module of the first device; the network support module of the first device further includes transmitting the second configuration information to the network service module of the second device via the second tunnel, so that the network service module of the second device performs configuration using the second configuration information.

2. The device management method according to claim 1, wherein:

8. The network service module of the first device sends target page data provided by the network interaction module of the first device to the user terminal; A network service module of the first device receives an access request sent from a user terminal, the access request including a target URL; a network service module of the first device, when the target URL is a domain name of the self-organizing network, obtaining target page data provided by a network interaction module of the first device; the network service module of the first device carries the target page data in an access response to the access request, and feeds back the access response to the user terminal; 8. The device management method according to claim 7, wherein:

9. the access request is a request from the user terminal transmitted via a third tunnel between a network support module of a third device in the self-organizing network and a network support module of the first device; or The access request is a request from the user terminal transmitted from the cloud via a cloud channel; 9. The device management method according to claim 8.

10. The network service module of the first device sends target page data provided by the network interaction module of the first device to the user terminal; the network service module of the first device receives a page request sent from a network support module of a fourth device in the self-organizing network via a fourth tunnel between the network service module of the first device, the page request being a request sent to the first device by the network service module of the fourth device after receiving an access request from a user terminal, and a target URL included in the access request being a domain name of the self-organizing network; the network service module of the first device obtains target page data from the network interaction module of the first device based on the page request, and sends the target page data to the network service module of the fourth device through a fifth tunnel between the network support module of the first device and the network service module of the fourth device, so that the network service module of the fourth device carries the target page data in an access response to the access request, and feeds back the access response to the user terminal.

8. The device management method according to claim 7, wherein:

11. the network support module of the first device performs Layer 2 negotiation with the network support module of the other device via a sixth tunnel between the network support module of the other device in the self-organizing network to determine roles of the first device and the other device in the self-organizing network, the roles including being a master device or a slave device; 11. The device management method according to claim 1, wherein the device management method comprises:

12. a network device comprising a first network support module and a first network service module; the first network support module is used to receive a discovery request sent from a network support module of a second device in the self-organizing network via a first tunnel between the first network support module and the network support module of the second device in the self-organizing network, when the network device is a master device in the self-organizing network, the discovery request including target device information of the second device; the first network support module is used to send a management notification to the network support module of the second device via the first tunnel and to send a subscription event to the first network service module, the subscription event including the target device information; the first network service module is adapted to obtain first configuration information corresponding to the target device information and send the first configuration information to the first network support module; the first network support module transmits the first configuration information to the network service module of the second device via a second tunnel between the first network support module and the network service module of the second device, so that the network service module of the second device uses the first configuration information to perform configuration; A network device comprising:

13. the first network service module is used to send the first configuration information to the first network support module and invoke an interface of the second tunnel of the first network support module; the first network support module receives the first configuration information from the first network service module at an interface of the second tunnel of the first network support module, converts the first configuration information into a target message of a preset protocol, and sends the target message to the network service module of the second device, so that the network service module of the second device converts the target message into the first configuration information and performs configuration using the first configuration information; 13. The network device of claim 12.

14. The preset protocol is a Simple Object Access Protocol.

14. The network device of claim 13.

15. the first network service module is further configured to, after the first network support module transmits the first configuration information to the network service module of the second device, transmit a registration event including the target device information to the cloud via a cloud channel, so that the cloud registers the second device using the target device information; and, after the second device completes registration and receives a connection request transmitted from the second device via the cloud channel, the first network service module is used to establish a connection with the second device, the connection request being a request periodically transmitted from the second device, and the cloud channel being a connection established between the first network service module and the cloud.

13. The network device of claim 12.

16. The first network support module further comprises: After receiving the discovery request, if an auto-management function is enabled, perform sending a management notification to a network support module of the second device and send a join event to the first network service module; used to refuse to respond to the discovery request if auto-management functionality is not enabled; 13. The network device of claim 12.

17. The first network support module further comprises: If an auto-management feature is not enabled, refusing to respond to the discovery request if an administration whitelist does not include the target device information, the administration whitelist including device information of devices that are allowed to access the self-organizing network; If the management whitelist includes the target device information, the management whitelist is used to send a management notification to the network support module of the second device and to send a subscription event to the first network service module.

17. The network device of claim 16.

18. the network device further comprises a first network interaction module; the first network service module is used to send target page data provided by the first network interaction module to the user terminal, so that the user terminal displays the target page data and operates the target page data to obtain second configuration information for the second device; the first network service module is used to receive the second configuration information sent from the user terminal and send the second configuration information to the first network support module; the first network support module transmits the second configuration information to the network service module of the second device via the second tunnel, so that the network service module of the second device uses the second configuration information to perform configuration; 13. The network device of claim 12.

19. The first network service module further comprises: receiving an access request sent from a user terminal, the access request including a target URL; If the target URL is a domain name of the self-organizing network, obtain target page data provided by the first network interaction module; used to carry the target page data in an access response to the access request and feed back the access response to the user terminal; 20. The network device of claim 18.

20. the access request is a request of the user terminal transmitted via a third tunnel between a network support module of a third device in the self-organizing network and the first network support module; or The access request is a request from the user terminal sent by the cloud through a cloud channel; 20. The network device of claim 19.

21. The first network service module: receiving a page request sent from a network support module of a fourth device in the self-organizing network via a fourth tunnel between the network support module and the first network service module, the page request being a request sent to the network device by the network service module of the fourth device after receiving an access request from a user terminal, and a target URL included in the access request being a domain name of the self-organizing network; obtain target page data from the first network interaction module according to the page request, and send the target page data to the network service module of the fourth device through a fifth tunnel between the first network support module and the network service module of the fourth device, so that the network service module of the fourth device carries the target page data in an access response to the access request, and the access response is used to feed back the access response to the user terminal; 20. The network device of claim 18.

22. the first network support module is further configured to perform Layer 2 negotiation with the network support module of the other device via a sixth tunnel between the first network support module and the network support module of the other device to determine roles of the network device and the other device in the self-organizing network, the roles being a master device or a slave device; The network device according to any one of claims 12 to 21.

23. A network device comprising a processor and a machine-readable storage medium, the machine-readable storage medium storing machine-executable instructions executable by the processor, the machine-executable instructions causing the processor to execute the steps of the device management method according to any one of claims 1 to 10. A network device comprising:

24. A machine-readable storage medium having a computer program stored therein, the computer program implementing the steps of the device management method according to any one of claims 1 to 10 when executed by a processor. A machine-readable storage medium comprising:

25. When executed by a processor, the method implements the steps of the device management method according to any one of claims 1 to 10. A computer program comprising:

Citation Information

Patent Citations

  • Management device, control method, and program

    JP2018085060A

  • Cloud-based management platform for heterogeneous wireless devices

    US20140328190A1

  • Management data analytics

    US20210021494A1