Device management method and network device
The device management method and network device facilitate continuous network monitoring and management by enabling automatic discovery and configuration of new devices within self-organizing networks, enhancing network availability and reducing costs.
Patent Information
- Application Number
- JP2024536033
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2022-07-22
- Publication Date
- 2024-12-26
- Estimated Expiration
- 2042-07-22
AI Technical Summary
Self-organizing networks cannot be monitored 24 hours a day, leading to inefficiencies in device management and network monitoring.
A device management method and network device that utilize a master device to connect with other devices in a self-organizing network through tunnels, enabling automatic discovery, configuration, and synchronization, allowing for plug-and-play functionality and remote management.
Enables continuous network monitoring and management, facilitating automatic configuration and synchronization of new devices, improving network availability and reducing costs by eliminating the need for continuous human oversight.
Smart Images

Figure 2024546969000001_ABST
Abstract
Description
[Technical field]
[0001] The present application relates to the field of communication technology, and in particular to a device management method and a network device. [Background technology]
[0002] In order to reduce the cost of self-organizing networks and improve their security, self-organizing networks are usually managed using mobile terminal applications (APPs). For users, self-organizing networks using mobile terminal APPs are low cost, but the network cannot be monitored 24 hours a day. Summary of the Invention
[0003] The present embodiment aims to provide a device management method and a network device to solve the problem that a network cannot be monitored 24 hours a day, and to realize automatic management of devices and management of the entire network. The specific technical means are as follows:
[0004] In a first aspect, an embodiment of the present application provides 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 a 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 services 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 a 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 corresponding to 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 execute to implement 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 which, 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 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 synchronization configuration of the new device, solving the problem that the network cannot be monitored 24 hours a day. In addition, since the master device manages all slave devices such as 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 description of the drawings]
[0010] In order to more clearly describe the technical means of the embodiments of the present application and the technical means 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 some of the embodiments of the present application, and those skilled in the art can obtain other embodiments based on these drawings without creative efforts. [Figure 1] FIG. 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. [Diagram 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. [Diagram 5] FIG. 5 is a first flow chart schematic diagram of a device management method provided by an embodiment of the present application. [Figure 6] FIG. 6 is a second flow chart schematic 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 schematic 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 PREFERRED EMBODIMENTS
[0011] In order to make the purpose, technical means and advantages of the present application clearer, the present application will be described in more detail below in conjunction with the embodiments with reference to the drawings. It is clear that the described embodiments are only a part of the embodiments of the present application, not all the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present application without 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 the information exchange in the network adopts the packet switching mechanism in computer networks.
[0013] Plug and Play means that the device can access the network once it is powered on.
[0014] In scenes such as villas, guesthouses, commercial trade chains, business hotels, government and corporate offices, etc., networks are often constructed using self-organizing networks. As shown in the architecture schematic diagram of a self-organizing network in Figure 1, various access devices access the network through a gateway or AC (Access Controller), and user terminals such as mobile phones and PCs (Personal Computers) access the network through the access devices. Here, the access devices may be APs (Access Points), switching devices, routers, etc. There are Fit APs and Fat APs for APs. In the self-organizing network in the above scene, there are few access devices, so it is a low-end and small-scale network.
[0015] Under the social background of digitalization, the industry competition in the low-end and small-scale network market is becoming increasingly fierce. Network manufacturers are successively launching the whole network management architecture used in low-end and small-scale networks. In each network product, the whole network management architecture has functions such as automatic discovery of new access devices, centralized management of all access devices in the entire network, and automatic configuration of new access devices. These functions improve the availability of simplified start-up, easy management, logic automation, etc., and further bring tangible benefits to non-professional users, and are widely used in the market.
[0016] The low-end and small-scale network market is very sensitive to price, and in order to reduce the cost of self-organizing networks, public clouds and mobile terminal applications (APPs) are usually used to realize the management of self-organizing networks. For users, the cost of self-organizing networks using public clouds and mobile terminal APPs is low, but due to problems such as the reliability of the public cloud itself and the reliability of the network between the self-organizing network and the public cloud, the reliability of the method of managing self-organizing networks using public clouds is low, and the public cloud cannot be used until the construction of the local network is completed, so the scope of application of the method of managing self-organizing networks using public clouds is small. On the other hand, mobile terminal APPs can avoid the above reliability problems, but they cannot monitor the network 24 hours a day.
[0017] In order to solve the problem of not being able to monitor a 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 FatAP, FitAP, switching devices, routers, gateways, ACs, etc.
[0018] To meet the need to reduce the cost of self-organizing networks, device management systems can use ACs as gateways or incorporate the functions of ACs into network devices such as gateways, routers, and switching devices, and ACs can connect with FitAPs or other managed APs to extend the coverage of the self-organizing network.
[0019] In the device management system, devices with high demands on hardware configuration and performance, such as the FatAP, switching device, router, gateway, and AC, need to function as a controller 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 device, and router can function as a controller, so that in the embodiment of the present application, there is no need to install wireless controllers such as gateways and ACs, and the self-organizing network applied to the FatAP and switching device 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, browser, etc. access a local network to manage each device in the self-organizing network, as shown in Figure 2a. The APP, browser, etc. can be installed on devices such as mobile phones, personal computers, etc., 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 a local network and a cloud is established, an 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 provides 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 a network configuration protocol interface (e.g., the netconf interface) as the message format, to realize communication between the front end and the background.
[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, Ether Support VLAN (Virtual Local Area Network, Virtual LAN) automatic adaptation logic, and automatic synchronization configuration logic, etc.
[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 is associated 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 Webserver means receives the SOAP message of the front end, and the netconf interface assigns the SOAP message to a corresponding service process according to the actual service of the interface for processing. In this manner, data communication can be performed between the front end, the background, and the device. Considering the high degree of coupling between the Webserver means and the service processing means, in the embodiment of the present application, the Webserver means can be installed in a network service module together with the service processing means and the processing means of other service logic.
[0029] The service processing means processes service logic such as plug-and-play automatic synchronization configuration, automatic cloud connection, global wireless service authorization logic, EtherPort VLAN automatic adaptation logic, and global wired service authorization logic, and stores the service configuration of the entire self-organizing network and maintains the service data.
[0030] The cloud channel realizes communication between the device and the management cloud, and realizes the 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 is used to support the network architecture of the self-organizing network and 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] In order 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 discovery and automatic networking of devices, self-selection of role of master device, and automatic management of new devices, and the network architecture means can provide the network service module with an integrated channel for service publication and information acquisition. The network architecture means can also store and maintain master-slave information, topology relationship, etc. of devices in the network.
[0034] When the device is powered on, the network architecture means can start a layer 2 negotiation to determine its own working role based on the current network environment. For example, when the network is in the construction stage, the device participates in the selection of a master device, and determines its working mode based on the selection result, i.e., determines whether the role of the device is a master device or a slave device. When the network is working normally, i.e., the network is up and running, the device starts a network joining process, the details of which will be described later and are not described here.
[0035] The link management means reports and collects neighbor relations for the network architecture means to draw the topology of the whole 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 the FitAP and other managed APs.
[0037] The network service module and the 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 inside the kernel mode. Although FIG. 3 shows that services in the network service module and the network support module are realized through IPC communication, 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 the master device and the slave device 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. The network architecture tunnel is used for tasks such as auto-discovery between master devices and slave devices, role selection, maintenance of relationships between master devices and slave devices, slave device join response, keep-alive of master devices and slave devices, etc.
[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] The application service tunnel is established between the network support module and the network service module in different devices. When facing the uplink and packaged in one logical tunnel, i.e., facing the network service module of the device, the application service tunnel is packaged as one logical tunnel, and the network service module calls the interface provided by the application service tunnel to send messages to other devices. When facing the downlink and multiplexing the common mechanism of existing network devices, i.e., facing the target device to send data, the application service tunnel multiplexes the 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 receiver, and the Web server means in the network service module on the receiver side 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 a real physical tunnel between devices for a long time, and SOAP does not need to maintain a long connection, which can reduce the maintenance cost of the link.In addition, in the embodiment of the present application, the common mechanism of the network devices is multiplexed during communication between devices, which greatly reduces the cost of realizing 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 the wireless product, thereby ensuring that the FitAP or other managed APs with fewer 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 type of tunnel, the second type of tunnel and the third type of tunnel shown in Fig. 4 are three types of tunnels of the self-organizing network, and 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 of a self-organizing network, as shown in Fig. 5. When the first device is set as a master device, the first device executes steps S51 to S54.
[0049] In some embodiments, the network support module of the first device in the self-organizing network performs Layer 2 negotiation with the network support module of the other device through a sixth tunnel between the network support module of the other device in the self-organizing network to select and determine the role of the first device and the other device in the self-organizing network, the role being a master device or a 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 the 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 problems such as automatic discovery and automatic management of devices in low-end and small-scale networks, plug-and-play of new devices, and management of the entire network with one login, and improving startup efficiency, operation experience of network management login, etc. This effectively solves problems such as automatic discovery and automatic management due to crashes of fixed devices managing the network, and inability to plug and play new devices.
[0051] As shown in FIG. 5, the above-mentioned 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, that is, the first tunnel is the above-mentioned first type of tunnel, i.e., a network architecture tunnel. The device information of the second device is the 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 FIG. 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 the 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 relationship.
[0058] Also, after the management of the second device is completed, 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 for the network architecture means in the network support module of the first device to send a management notification to the network support module of the second device via the first tunnel, and for the network architecture means in the network support module of the first device to report 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, the network service module of the first device extracts the target device information from the subscription event and obtains, for example, first configuration information that matches the target device information. The network service module of the first device sends the first configuration information to the network support module of the first device.
[0062] In some embodiments, the first device stores configuration information of various device types, in which case, in step S53, the network service module of the first device obtains the first configuration information that matches the target device information, the network service module of the first device may obtain 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 Fig. 3 above, in step S53, the service processing means in the network service module of the first device may, upon receiving the subscription event, extract target device information from the subscription event to obtain first configuration information that matches the target device information. The service processing means in the network service module of the first device sends 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 second device, thereby performing configuration using the first configuration information when the network support module of the second device receives a management notification.
[0065] In the embodiment of the present application, the second tunnel is a tunnel between a network support module of the first device and a network service module of the second device, that is, the second tunnel is the above-mentioned second type of tunnel, ie, 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 a management notification, the network service module of the second device uses the received first configuration information to perform configuration, 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 for the network architecture means in the network support module of the first device to send first configuration information to the network service module of the second device via the second tunnel, and for the service processing means in the network service module of the second device to perform 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 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 synchronization configuration of the new device, solving the problem that the network cannot be monitored 24 hours a day. In addition, since the master device manages all slave devices such as 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 the management of the entire network.
[0069] In addition, new devices can perform automatic management and automatic synchronization configuration, providing great convenience for users to expand the network and replace spares. At the same time, new devices can join the network by plug-and-play, so there is no need to wait until all network devices have been plugged in and powered on when the network is started, providing considerable flexibility for network startup.
[0070] In some embodiments, in step S53 above, the network services module of the first device may send the first configuration information to the network support module of the first device by the network services module of the first device invoking an interface of the second tunnel and sending the first configuration information to the network support module of the first device.
[0071] In this case, in the above 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 the first configuration information and performs the configuration using the first configuration information.
[0073] With reference to the architecture of the self-organizing network shown in Fig. 3 above, the service processing means in the network service module of the first device calls the interface of the second tunnel and transmits the 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 transmits 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 the application service tunnel is a logical link, so there is no need to maintain an actual physical tunnel between the devices, and the link maintenance cost is reduced. In addition, in the embodiment of the present application, when communicating between the devices, the common mechanism of the network devices is multiplexed, and the cost of realizing the technical solution provided by the embodiment of the present application is greatly reduced.
[0075] In some embodiments, a device management method is further provided, which can include steps S61 to S65, as shown in Fig. 6. Steps S61 to S64 are similar to steps S51 to S54 above, 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, and establishes a connection with the second device after the second device completes registration and receives a connection request sent from the second device via the cloud channel, 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 the 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 in the cloud, the cloud will not establish a connection with the second device when it receives a connection request, and after the second device is registered in 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 through the cloud.
[0082] Hereinafter, the device management method provided by the 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 above-mentioned second device) comprises a service processing means 12, the network support module of the new device comprises a network architecture means 13, the network service module of the master device (e.g., the above-mentioned first device) comprises a service processing means 22, and the network support module of the master device comprises a network architecture means 23. In the embodiment of the present application, the new device may refer to the above-mentioned second device, the master device may refer to the above-mentioned first device, and the network support module and the network service module of the new device and the master device may comprise other means as shown in the above-mentioned Figure 3, and are not limited thereto.
[0083] Step S72: the network architecture means 13 sends a discovery request to the network architecture means 23.
[0084] Step S 72 , 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 subscription event to the service processing means 22, where the subscription event includes the device information 1 of the new device.
[0086] 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] 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 transmits 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 by 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, where 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] In the technical means provided by the embodiments of the present application, regardless of the device type, a FatAP, a router, a switching device, etc. can also function as a master device, thereby enabling device plug-and-play even when only a FatAP, a router, or a switching device exists in a network.
[0094] Although the above steps S71 to S710 have been briefly described, for details, reference can be made to the related descriptions of FIG. 5 and FIG.
[0095] In some embodiments, an automatic management function can be set for the master device. Taking the first device as an example, the first device can enable / disable this automatic management function, that is, control the enablement of this automatic management function, thereby flexibly controlling automatic management for the new device. 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 auto-management function, i.e., if the auto-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, and solve the problem of the security of network information being damaged due to 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 administration whitelist, which contains device information of devices that are allowed to join the self-organizing network.
[0100] It is taken as an example that the first device is a master device. In an embodiment of the present application, the first device can record a device list, and the device list includes device information of 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 can also directly and manually add or create device information in the management whitelist, but this is not limited thereto.
[0101] If the network support module of the first device does not enable the automatic management function, if 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 with a 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 means provided by the embodiment of the present application, the master device can restrict the unexpected addition of devices that do not belong to the network by enabling / disabling the automatic management function, and the problem of the damage to the security of network information caused by the unexpected addition of devices that do not belong to the network can be solved. Based on the management whitelist, the network administrator gives the authority to allow the connection of a specified device to the network at any time, regardless of conditions such as 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 in 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 for the second device.
[0106] In the embodiment of the present application, the 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 the slave devices, after the user terminal joins the network with any device, it can access the network interaction module of the master device and manage all the 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 a network service module of the first device obtains page data provided by the network interaction module of the first device, i.e., target page data, and sends the target page data to the user terminal. The user terminal displays the target page data, thereby realizing the user terminal accessing the web page of the first device. The user terminal operates the target page data to obtain configuration information for a second device, for example, second configuration information.
[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 transmitted from the user terminal, calculates an identification of the service of the second configuration information, and transmits the second configuration information to the network support module of the first device.
[0110] As an example, the second configuration information is a SOAP message, and the Webserver 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 transmits 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 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.
[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 realizing synchronous configuration of the second device. In addition, the service processing means in the network service module of the second device manages the entire network in the first device, thereby realizing 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 services module of the first device may send the second configuration information to the network support module of the first device by the network services module of the first device invoking an interface of the second tunnel and sending the second configuration information to the network support module of the first device.
[0114] In this case, in the above 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, and the network support module of the first device may receive the second configuration information at an 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 the configuration using the second configuration information.
[0115] With reference to the architecture of the self-organizing network shown in Fig. 3 above, the service processing means in the network service module of the first device calls the interface of the second tunnel and transmits the 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 transmits 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 the network support module of the first device communicates with the network service module of the second device, the application service tunnel is used for communication, and since the application service tunnel is a logical link, there is no need to maintain an actual physical tunnel between the devices, and the link maintenance cost is reduced. In addition, in the embodiment of the present application, when communicating between the devices, the common mechanism of the network devices is multiplexed, and the cost of realizing the technical solution provided by the embodiment of the present application is greatly reduced.
[0117] In some embodiments, an interface access method is further provided, which may include the following steps, as shown in FIG.
[0118] Step S91, a network service module of a 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 by 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 of a user terminal sent through a third tunnel between a network support module of a third device in a 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 a first device and a network support module of a third device, that is, the third tunnel is the above-mentioned 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 above-mentioned FitAP or other 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, the user terminal is taken as an example of an APP, and the APP can realize the HTML5 architecture, and through the 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 description of Figures 5 to 8 above.
[0123] The access request may be directly sent by the user terminal to the first device, for example, when the user terminal connects to the network using the first device, the user terminal directly sends an access request 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 a 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, EtherPort 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 back the access response to the user terminal. The access request can be a SOAP message.
[0128] In the technical means provided by the embodiment of the present application, the above step S81 is realized by using the above steps S91 to S93. For the management of the entire network, the user terminal needs to access the master device, and accessing a local web page with a conventional IP address is not friendly to most users in the consumer market, for example, accessing the master device with a browser. In the embodiment of the present application, the user terminal only needs to join the network with any AP and access a specified domain name with 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, that is, it realizes the management of the entire network with a single login, and improves 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 a 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, the page request being a request that the network service module of the fourth device sends to the first device after receiving an access request from a user terminal, and the target URL included in the access request is a 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 an access request from the user terminal and transmits 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 transmits a page request to the network architecture means in the network support module of the fourth device, which transmits 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, data, etc. 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, and 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, and the service processing means in the network service module of the fourth device integrates and returns the target page data 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 means provided by the embodiment of the present application, the above step S81 is realized by using the above steps S101-S102. For the management of the entire network, the user terminal needs to access the master device. Taking accessing the master device with a browser as an example, accessing a local web page with a conventional IP address is not friendly to most users in the consumer market. In the embodiment of the present application, the user terminal only needs to join the network with any AP and access a specified domain name with a user terminal such as a mobile phone, to open the local web page of the master device and manage all the devices in the entire network, that is, the management of the entire network is realized with a single login.
[0138] Home routers often use the DNS redirection method to realize the function of logging in to local web pages by domain name. However, the traditional DNS redirection method has the following problems. That is, a wireless router usually uses only one, which is itself a DHCP (Dynamic Host Configuration Protocol) server, and its own address does not usually change, but the master device in a self-organizing network is the one selected, and its IP address may change, not necessarily the DHCP server device. Once the IP address corresponding to the domain name is changed, the browser may not be able to timely re-initiate a DNS request (i.e., an access request) to obtain the new IP address corresponding to the domain name, which may result in the page being inaccessible.
[0139] Another embodiment is to embed pages from other devices in the web page of this device, but the embedded pages can cause confusion on the page, and the embedded range is limited, which is not friendly to the display on the user's terminal.
[0140] The embodiment of the present application improves 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 the DNS redirection function, but for the resolved IP address of the domain name, it returns the IP address of the device accessed by the user terminal itself, not the IP address of the master device where the actual page is located. When a device such as an AP or switching device accessed by the user terminal crashes, the connection with the user terminal is cut off, and when the device accessed by the user terminal resumes operation, there is a high probability that the IP address used last time will be assigned. However, when the master device crashes, according to the device role selection mechanism described in the embodiment of the present application, the slave device is upgraded to a master device, and the IP address of the master device will inevitably change. Therefore, the technical means provided by the embodiment of the present application are adopted to reduce the probability of the change of the IP address corresponding to the domain name, thereby reducing the probability that the user terminal cannot access the page of the master device by the domain name.
[0142] Next, add a web agent function to the master device and the slave device. When a user accesses a local web page by using a domain name, the AP, switching device, etc. receive an access request from the device, and if it identifies that the URL of the access request is 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, and 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, and the slave device integrates the target page data from these master devices and returns it to the user terminal. This achieves the effect of accessing the master device web by using the domain name to manage the entire network.
[0143] Hereinafter, the interface access method provided by the embodiment of the present application will be described with reference to the signaling diagram of the slave device accessing the web page of the master device shown in Figure 11. In Figure 11, the network service module of the slave device includes a Webserver 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 above fourth device, the master device may refer to the above first device, and the network support module, network service module and network interaction module of the slave device and the 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] Step S 114 , 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] Step S 115 , the network architecture means 33 converts the page request into a SOAP message 2 .
[0149] In step S 116 , the network architecture means 33 transmits 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 S 119 , 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 transmits 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 described, for details, reference can be made to the related descriptions 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] 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 network support module of the first device 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, where 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 the 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 of the second device.
[0162] In some embodiments, the first network service module 122 is specifically used to invoke an 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 is used to receive first configuration information at the interface of the second tunnel between the network service module of the second device, convert the first configuration information into a target message of a preset protocol, and send 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 send a registration event including the target device information to the cloud via the cloud channel after the first network support module sends the first configuration information to the network service module of the second device, so that the cloud registers the second device using the target device information, and to establish a connection with the second device after the second device completes registration and receives a connection request sent from the second device via the 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 the cloud.
[0166] In some embodiments, the first network support module 121 further comprises: After receiving the discovery request, if an 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 the auto-management feature is not enabled.
[0167] In some embodiments, the first network support module 121 further comprises: If the auto-management feature 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 contains the target device information, it is used to send a management notification to the network support module of the second device and to send a join 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, manipulates the target page data, and obtains second configuration information for the second device.
[0170] The first network service module 122 is also used for receiving second configuration information sent from the user terminal, and sending 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: Receive 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; It is used to carry target page data in an access response to an access request and 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 through 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 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 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 a 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, which role is 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 a 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 synchronization configuration of the new device, solving the problem that the network cannot be monitored 24 hours a day. In addition, since the master device manages all slave devices such as 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, which as shown in FIG. 14 includes a processor 141 and a machine-readable storage medium 142, the machine-readable storage medium 142 storing machine-executable instructions executable 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 an embodiment 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, realizes 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., or may be 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 embodiment, some or all of the above may be realized as software, hardware, firmware, or any combination thereof. When software is implemented, it may be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed by a computer, the flow or function is generated in whole or in part according to the description of the embodiment of the present application. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or may be transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website site, 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 that a computer can store, or may include a data storage device such as a server, data center, etc., in which one or more available media are integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (eg, a solid state disk (SSD)).
[0184] It should be noted that, in this specification, relational terms such as first and second are merely used to distinguish one entity or operation from another entity or operation, and do not require or imply the existence of any such actual relationship or order between those entities or operations. Additionally, the terms "comprise," "include," or other variations thereof are intended to be non-exclusive inclusive, such that a process, method, article, or device that includes a set of elements includes not only those elements, but also other elements not expressly listed, or includes the inherent elements in such process, method, article, or device. Unless otherwise specifically limited, an element limited by "comprises a ..." does not exclude the process, method, article, or device that includes the above-mentioned element from having other 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 differences between each embodiment and other embodiments will be mainly described. 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 a second device in the self-organizing network, the discovery request including target device information of the second device; a network support module of the first device sending a management notification to a network support module of the second device via the first tunnel and sending a subscription event to a 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 transmits 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. A device management method comprising:
2. The network service module of the first device sending the first configuration information to a network support module of the first device, a network service module of the first device invoking an interface of the second tunnel 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 services module of the second device via a second tunnel between the network support module of the first device and the network services module of the second device; the network support module of the first device receives the first configuration information at an interface of a second tunnel between the network support module of the first device and the network service module of the second 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 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 the first configuration information and performs configuration using the first configuration information.
2. The device management method according to claim 1, wherein the device management method comprises:
3. The preset protocol is a Simple Object Access Protocol.
3. The device management method according to claim 2.
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 further comprises: The network service module of the first device further includes: 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 establishing a connection with the second device after the second device completes registration and receives a connection request sent from the second device via the 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 the cloud.
2. The device management method according to claim 1, wherein the device management method comprises:
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 a management notification to the network support module of the second device and sends a join event to the network services module of the first device; If the auto-management feature 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 the device management method comprises:
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 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.
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 related to 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 the device management method comprises:
8. The network service module of the first device transmits to the user terminal target page data provided by the network interaction module of the first device; 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 obtains target page data provided by a network interaction module of the first device when the target URL is a domain name of the self-organizing network; 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. The device management method according to claim 7 .
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; The device management method according to claim 8 .
10. The network service module of the first device transmits to the user terminal target page data provided by the network interaction module of the first device; a network service module of the first device 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 service module of the first device, the page request being 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 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. The device management method according to claim 7 .
11. the network support module of the first device performs a 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; The device management method according to any one of claims 1 to 10.
12. 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 a 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 transmit 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 when the network support module of the second device receives the management notification, 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 invoke an interface of the second tunnel and send the first configuration information to the first network support module; the first network support module receives the first configuration information at an interface of a second tunnel between the first network support module and the network service module of the second 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 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 the first configuration information and uses the first configuration information to perform configuration; 13. The network device according to claim 12, characterized in that
14. The preset protocol is a Simple Object Access Protocol.
14. The network device according to claim 13,
15. The first network service module further includes, after the first network support module sends the first configuration information to the network service module of the second device, 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 a cloud channel, the connection request is used to establish a connection with the second device, the connection request being a request periodically sent from the second device, and the cloud channel is a connection established between the first network service module and the cloud.
13. The network device according to claim 12, characterized in that
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 sending a join event to the first network service module; used to refuse to respond to the discovery request if auto-management is not enabled; 13. The network device according to claim 12, characterized in that
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, sending a management notification to the network support module of the second device and sending a subscription event to the first network service module.
17. The network device according to 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 a 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 for receiving the second configuration information sent from the user terminal and sending 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 according to claim 12, characterized in that
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 according to claim 18, characterized in that
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 of the user terminal sent by the cloud through a cloud channel; 20. The network device according to 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 through a fourth tunnel between the network support module and the first network service module, the page request being a request that the network service module of the fourth device sends to the network device after receiving an access request from a user terminal, and a target URL included in the access request is 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 to the user terminal.
20. The network device according to claim 18, characterized in that
22. The first network support module is further used to perform a layer 2 negotiation with the network support module of the other device through a sixth tunnel between the first network support module and the network support module of the other device to determine the roles of the network device and the other device in the self-organizing network, the roles being a master device or a slave device. A 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 steps of a 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
