All-optical networking device control method, system and apparatus, and communication device, storage medium and computer program product

By utilizing the sub-level and master-level interfaces of the communication bus in an all-optical network to obtain device information, determine location and subordinate relationships, and directly send control policies to the target device, the problem of insufficient master device management resources is solved, and management efficiency and device independence are improved.

WO2026011686A1PCT designated stage Publication Date: 2026-01-15CHINA TELECOM CORP LTD +1

Patent Information

Application Number
PCT/CN2024/139217
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-07-11
Filing Date
2024-12-13
Publication Date
2026-01-15

AI Technical Summary

Technical Problem

In commercial and enterprise all-optical networking, when multiple slave devices are connected to the master device, existing technologies result in insufficient management computing resources, affecting network performance and management efficiency.

Method used

By obtaining the device's IP address and MAC information through the sub-layer and master-layer interfaces in the communication bus, the device's position and subordinate relationship in the all-optical network are determined, target control policies are sent, target devices are directly managed, and the coupling of the master device is reduced.

Benefits of technology

It improves the management efficiency of all-optical networking, reduces the coupling between master and target devices, and enhances the management platform's control over each device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024139217_15012026_PF_FP_ABST
    Figure CN2024139217_15012026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of network management and relates to an all-optical networking device control method, system and apparatus, and a communication device, a storage medium and a computer program product. The method comprises: in response to determining, on the basis of a first release message of a target device and a second release message of a master device, that the target device satisfies a preset legitimacy condition, determining location information of the target device in the network hierarchy of all-optical networking, wherein the first release message is acquired on the basis of a sub-level interface in a communication bus, and the second release message is acquired on the basis of a master-level interface in the communication bus; and on the basis of the communication bus and the location information of the target device in the network hierarchy of all-optical networking, sending a target control policy to the target device.
Need to check novelty before this filing date? Find Prior Art

Description

All-optical networking equipment management methods, systems, devices, communication equipment, storage media, and computer program products

[0001] Related applications

[0002] This application claims priority to Chinese patent application filed on July 11, 2024, with application number 2024109263345, entitled "All-optical networking equipment management method, system, apparatus, communication equipment, storage medium and computer program product", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of network management technology, and in particular to a method, system, device, communication equipment, storage medium, and computer program product for controlling all-optical networking equipment. Background Technology

[0004] In the application scenario of all-optical networking for commercial and enterprise users, the master device is usually connected to multiple slave devices, existing network gateways and industrial gateways to achieve high-speed, high-bandwidth and low-latency data transmission and communication, providing high-quality communication networks for commercial and enterprise users.

[0005] However, in existing enterprise internal networks, a master device is used to manage and control slave devices, and a proprietary protocol is used to achieve information exchange between the master and slave devices. As the number and types of slave devices connected to the master device increase, the master device's computing resources may become insufficient to meet the needs of network management, thereby affecting the performance of managing the enterprise internal network and reducing its management efficiency. Summary of the Invention

[0006] This application provides a method, system, device, communication equipment, computer-readable storage medium, and computer program product for managing all-optical networking equipment.

[0007] Firstly, this application provides a method for managing and controlling all-optical networking equipment. The method includes:

[0008] In response to a first publication message from the target device and a second publication message from the master device, if the target device is determined to meet preset legal conditions, then the location information of the target device in the network hierarchy architecture of the all-optical network is determined; the first publication message is obtained based on a sub-layer interface in the communication bus, and the second publication message is obtained based on a master layer interface in the communication bus;

[0009] Based on the communication bus and the location information of the target device in the network hierarchy of the all-optical network, a target management policy is sent to the target device.

[0010] In one embodiment, determining that the target device meets preset legal conditions based on the first publication message from the target device and the second publication message from the master device includes:

[0011] The first publishing message published by the target device is obtained through the sub-layer interface in the communication bus; the first publishing message contains the first IP address of the target device in the WAN-side management channel.

[0012] The second publishing message published by the master device is obtained through the master-level interface in the communication bus; the second publishing message contains the second IP address of the master device in the WAN-side management channel.

[0013] If the first IP address is the same as the second IP address, then the target device is determined to meet the preset legal conditions.

[0014] In one embodiment, the device corresponding to the main layer interface is a main device; the devices corresponding to the sub-layer interfaces include all other devices besides the main device; the method further includes:

[0015] The main-level interface and sub-level interface included in the communication bus are used to obtain the IP address, port type and MAC information of each level of the all-optical network on the LAN side.

[0016] Based on the IP address and port type of each device on the LAN side, the first subordinate relationship between the master device and each second-level device in the all-optical network is determined, wherein the master device is the first-level device;

[0017] Based on the MAC information of each device other than the master device, determine the second dependency relationship between the devices other than the master device;

[0018] Based on the first subordinate relationship, the second subordinate relationship, and the main-level interface and sub-level interface included in the communication bus, the network hierarchy architecture of the all-optical network is determined.

[0019] In one embodiment, the method further includes:

[0020] If it is detected that no management and control middleware has been deployed on any of the devices connected to the all-optical network, the environmental information corresponding to each device is obtained, and each device is identified as a device to be managed.

[0021] In response to the environmental information satisfying the deployment conditions of the management and control middleware, a communication connection is established between the device to be managed and the sub-level interface of the communication bus based on the device type of the device to be managed.

[0022] The management middleware is deployed to the device under management through the sub-level interface corresponding to the device under management.

[0023] In one embodiment, the sub-layer interface includes multiple interfaces arranged in hierarchical order; the layer of each device included in the all-optical network corresponds to the layer of each layer interface included in the communication bus; the target device is any one or more devices in the layer corresponding to the sub-layer interface; the communication bus is used to connect devices in each layer included in the all-optical network.

[0024] In one embodiment, in response to a first publication message from the target device and a second publication message from the master device, determining that the target device meets preset legal conditions and determining the location information of the target device in the network hierarchy of the all-optical network includes: in response to determining that the legal information contained in the first publication information of the target device matches the legal information contained in the second publication information of the master device, determining that the target device is a subordinate device of the master device, and determining that the target device meets preset legal conditions.

[0025] In one embodiment, the legitimate information included in the first published information of the target device and the legitimate information included in the second published information of the master device include network information representing the target device or the master device in the all-optical network, and the network information includes at least one of IP address and subnet mask.

[0026] In one embodiment, the network hierarchy architecture includes at least one of the following: devices at each level in an all-optical network, communication hierarchical relationships between devices at each level, service hierarchical relationships between devices at each level, and connection relationships between devices at the same level.

[0027] In one embodiment, a target management policy is sent to the target device based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network. This includes: determining the communication path between the management platform and the target device based on the location information of the target device, and sending the pre-configured target management policy to the target device through the sub-layer interface of the communication path.

[0028] In one embodiment, the method further includes: subscribing to messages published by each device connected to the all-optical network, and determining from the messages whether each device has deployed the management and control middleware.

[0029] In one embodiment, the method further includes: in response to the fact that the environmental information of the device to be managed does not meet the deployment conditions for deploying the management middleware, the management platform does not manage the device to be managed through the communication bus, but performs basic information query on the device to be managed through the master device.

[0030] Secondly, this application also provides an all-optical networking equipment management and control system. The all-optical networking equipment management and control system includes: a management platform, a master device communicatively connected to the management platform, target devices mounted on the master device, and a communication bus communicatively connected to the management platform, the master device, and the target devices; the communication bus includes a master-level interface and a sub-level interface.

[0031] The management platform is configured to respond to a first publishing message from the target device and a second publishing message from the master device, determine if the target device meets preset legal conditions, and then determine the location information of the target device in the network hierarchy architecture of the all-optical network; the first publishing message is obtained based on the sub-layer interface in the communication bus; the second publishing message is obtained based on the master layer interface in the communication bus;

[0032] The management platform is also used to send target control policies to the target device based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network.

[0033] In one embodiment, the sub-layer interface includes multiple interfaces arranged in hierarchical order; the layer of each device included in the all-optical network corresponds to the layer of each layer interface included in the communication bus; the target device is any one or more devices in the layer corresponding to the sub-layer interface; the communication bus is used to connect devices in each layer included in the all-optical network.

[0034] Thirdly, this application also provides a control device for all-optical networking equipment. The device includes:

[0035] The location determination module is used to determine the location information of the target device in the network hierarchy architecture of the all-optical network if the target device meets the preset legal conditions in response to the first publishing message based on the target device and the second publishing message based on the master device; the first publishing message is obtained based on the sub-layer interface in the communication bus, and the second publishing message is obtained based on the master layer interface in the communication bus.

[0036] The policy sending module is used to send target management policies to the target device based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network.

[0037] Fourthly, this application also provides a communication device. The communication device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the steps of the method described in the first aspect.

[0038] Fifthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, implements the steps of the method described in the first aspect.

[0039] Sixthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, implements the steps of the method as described in the first aspect. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 is an application environment diagram of the all-optical networking equipment management and control method in one embodiment;

[0042] Figure 2 is a flowchart illustrating the all-optical networking equipment management method in one embodiment;

[0043] Figure 3 is a flowchart illustrating the steps for determining the network hierarchy architecture of an all-optical network in one embodiment;

[0044] Figure 4 is a flowchart illustrating the steps of deploying the control middleware in one embodiment;

[0045] Figure 5 is a flowchart illustrating the all-optical networking equipment management method in another embodiment;

[0046] Figure 6 is a structural block diagram of the all-optical networking equipment management and control device in one embodiment;

[0047] Figure 7 is an internal structure diagram of a communication device in one embodiment. Detailed Implementation

[0048] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0049] The all-optical networking device management method provided in this application embodiment can be applied to the application environment shown in Figure 1. The target device 102 communicates with the management platform 104 via a communication bus. Service flows can exist between the target device 102 and the master device, and service data exchange can be performed through these flows. The master device 106 communicates with the management platform 104 via the communication bus. The management platform 104 can communicate independently with both the target device 102 and the master device 106. The target device 102 can publish a first publication message via the communication bus, and the master device 106 can publish a second publication message via the communication bus. The management platform 104 can subscribe to the first publication message published by the target device 102 and the second publication message published by the master device 106 via the communication bus, and determine whether the target device meets preset legal conditions based on the first and second publication messages. If the preset legal conditions are met, the location information of the target device in the all-optical network is determined. The management platform 104 sends a target management policy to the target device 102 via the communication bus and the location information, enabling the management platform 104 to directly manage the target device.

[0050] The target terminal 102 can be, but is not limited to, various personal computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted displays. Head-mounted displays can be virtual reality (VR) devices, augmented reality (AR) devices, and smart glasses. The management platform 104 can be implemented using a dedicated server or a server cluster consisting of multiple servers.

[0051] In an exemplary embodiment, as shown in FIG2, a method for managing all-optical networking devices is provided. Taking the application of this method to the management platform 104 in FIG1 as an example, the method includes the following steps S202 to S204. Wherein:

[0052] Step S202: In response to determining that the target device meets the preset legal conditions based on the first publication message of the target device and the second publication message of the master device, the location information of the target device in the network hierarchy architecture of the all-optical network is determined.

[0053] The first published message is obtained based on the sub-level interface in the communication bus, and the second published message is obtained based on the main-level interface in the communication bus. The main-level interface corresponds to the master device; the sub-level interface corresponds to the downstream device of the master device. The downstream devices of the master device can include the target device, devices at the same level as the target device, and devices with a hierarchical relationship with the target device. Preset legality conditions are used to determine the legality of the target device in the current all-optical network. If the target device is legal, the management platform determines that the target device is a device within the all-optical network. The communication bus includes a main-level interface and a sub-level interface. The main-level interface is used to establish a communication connection between the management platform and the master device, and the sub-level interface is used to establish a communication connection between the management platform and the target device. The target device can include slave devices connected to the master device, existing network gateways, industrial gateways, terminals connected to slave devices, and industrial terminals connected to industrial gateways, etc.

[0054] Specifically, the management platform can obtain the first publication message published by the target device and the second publication message published by the master device based on the sub-layer interface and master-layer interface of the communication bus, respectively. The management platform can obtain the legitimate information of the target device contained in the first publication message and the legitimate information of the master device contained in the second publication message. In response to determining that the legitimate information of the target device matches the legitimate information of the master device, the platform determines that the target device is a subordinate device of the master device and that the target device meets preset legitimate conditions. In one example, the legitimate information may be network information representing the device in an all-optical network, and the network information may include information such as IP address and subnet mask.

[0055] Based on this, the management platform can determine the hierarchical relationship between the target device and the master device through the first and second published messages, and determine the location information of the target device based on the hierarchical relationship and the network hierarchy architecture of the all-optical network. In one example, the location information of the target device can be obtained by merging the multi-level hierarchical relationship between the master device and the target device. For example, master device A is a master-level device, device B is a second-level device, device C is a third-level device, and target device D is a fourth-level device. There is a hierarchical relationship between master device A, device B, device C, and target device D. Device B is a subordinate device of master device A, device C is a subordinate device of device B, and target device D is a subordinate device of device C. Then, the location information of target device D can be determined based on the multi-level hierarchical relationship between master device A, device B, device C, and target device D.

[0056] Step S204: Based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network, send the target control policy to the target device.

[0057] The location information refers to the target device's position within the network hierarchy of the all-optical network. The target management policy is a pre-configured preset policy, such as restarting the target device or changing its configuration parameters. The network hierarchy includes the devices at each level of the all-optical network, the communication hierarchy between devices at each level, the service hierarchy between devices at each level, and the connection relationships between devices at the same level.

[0058] Specifically, the management platform can determine the communication path between the management platform and the target device based on the location information of the target device, and send the pre-configured target control policy to the target device through the sub-level interface of the communication path. The target device receives the target control policy and executes the target control policy, thereby completing the management platform's management of the target device.

[0059] In the aforementioned all-optical networking device management method, the first published message of the target device is obtained through the sub-layer interface in the communication bus, and the second published message of the master device is obtained through the main-layer interface in the communication bus. Based on the first and second published messages, it is determined whether the target device meets the preset legal conditions. In response to the target device meeting the preset legal conditions, the management platform determines the location information of the target device in the network hierarchy architecture of the all-optical network and sends the target management policy to the target device corresponding to the location information through the communication bus. Both the first and second published messages can be published to the management platform through independent interfaces in the communication bus. After verifying that the target device is a legitimate device in the all-optical network, the management platform can also manage each target device separately through the interfaces of the communication bus, without needing to exchange data through the service flow between the target device and the master device. This allows the management platform to bypass the master device and directly manage each target device, thereby reducing the coupling between the master device and the target device and improving the management efficiency of the all-optical network.

[0060] In an exemplary embodiment, the specific implementation process of the step "determining that the target device meets the preset legal conditions based on the first publication message of the target device and the second publication message of the master device" includes:

[0061] The system obtains a first publication message from the target device via a sub-layer interface in the communication bus. This first publication message contains the target device's first IP address on the WAN (Wide Area Network) side management channel. The system then obtains a second publication message from the master device via a master layer interface in the communication bus. This second publication message contains the master device's second IP address on the WAN side management channel. If the first IP address and the second IP address are identical, the system determines that the target device meets preset legal conditions.

[0062] WAN is a remote network connecting computers on different local area networks (LANs) or metropolitan area networks (MANs). The first published message contains the target device's first IP address on the WAN side. The second published message contains the host device's second IP address on the WAN side.

[0063] Specifically, the master device can publish a second publication message through the master-level interface in the communication bus. This second publication message can contain the master device's device information, including the WAN-side IP address, LAN (local area network)-side address, device type, MAC (Media Access Control Address) information, port type, etc. The target device can publish a first publication message through the sub-level interface in the communication bus. This first publication message can contain the target device's device information. Based on this, the management platform subscribes to both the first and second publication messages through the communication bus, obtaining the first IP address from the first and second publication messages, and the second IP address from the second publication message. The management platform determines whether the first IP address and the second IP address match. If they match, the management platform determines that the target device is a legitimate device in the all-optical network and that the target device meets preset legitimacy conditions.

[0064] In this embodiment, by determining whether the first IP address of the target device and the second IP address of the master device are the same, it can be determined whether the target device is in the all-optical network corresponding to the master device and whether the target device is legitimate. The legitimacy can be determined directly through existing device information without additional calculation, thereby improving the efficiency of determining the legitimacy of the target device.

[0065] In an exemplary embodiment, the device corresponding to the main layer interface is the main device, and the devices corresponding to the sub-layer interfaces include all other devices besides the main device, as shown in Figure 3. The all-optical networking device management and control method further includes steps S302 to S308. Wherein:

[0066] Step S302: Obtain the IP address, port type, and MAC information of each layer of devices in the all-optical network on the LAN side through the main layer interface and sub-layer interface included in the communication bus.

[0067] The master device can be connected to the communication bus through the master-level interface, and other devices can be connected to the communication bus through the sub-level interfaces.

[0068] Specifically, the management platform can obtain the IP address, port type, and MAC information of the main device on the LAN side based on the main-level interface. The port type can include a Passive Optical Network (PON) port and an Ethernet (ETH) port, and the MAC information is the MAC address. The management platform can obtain the IP address, port type, and MAC information of other devices besides the main device on the LAN side based on the sub-level interface.

[0069] Step S304: Determine the first subordinate relationship between the master device and each second-level device in the all-optical network based on the IP address and port type of each device on the LAN side.

[0070] The main device is the first-level device. All other devices besides the main device can be multi-level devices attached to the first-level device, and there can be hierarchical relationships between these multi-level devices.

[0071] Specifically, the management platform can identify the master device and the various devices connected to it at each level based on their LAN-side IP addresses. The master device's LAN-side IP address is the master address, and the IP addresses of all other devices are subordinate addresses to this master address. For example, if the master device's LAN-side IP address is 192.168.2.1, the IP addresses of the other devices might be 192.168.2.102, 192.168.2.103, 192.168.2.10, etc.

[0072] Furthermore, the management platform can determine whether a device is directly connected to the main device based on the port type of devices other than the main device, thus identifying the device as a second-level device and establishing the primary subordinate relationship between the main device and the device. For example, a device whose LAN-side IP address is a subordinate address of the main address and whose port type is a PON port is a device directly connected to the main device, i.e., a second-level device, and this device has a primary subordinate relationship with the main device.

[0073] Step S306: Determine the second dependency relationship between the devices other than the master device based on the MAC information of each device.

[0074] Specifically, after determining the first hierarchical relationship, the management platform can obtain the MAC information of all devices except the master device. The second-level device can contain its own MAC information, as well as the MAC information of third-level or lower-level devices mounted on it; the third-level or lower-level device can contain its own MAC information, as well as the MAC information of lower-level devices mounted on it, and so on. Based on this, the server can obtain the MAC information of all devices except the master device, determine the inclusion relationship of the MAC information between the devices, and determine the second hierarchical relationship between the devices except the master device based on the inclusion relationship.

[0075] In one example, the MAC information of all devices other than the master device includes device A, device B, and device C. Device A is a second-level device, device B is a third-level device, and device C is a fourth-level device. Based on this, the management platform can obtain the MAC information of devices A, B, C, and D from device A, the MAC information of devices B and C from device B, and the MAC information of device C from device C. The management platform can determine the second subordinate relationship between devices A, B, and D based on the MAC information obtained from devices A, B, and D respectively, that is, device B is the subordinate device of device A, and device C is the subordinate device of device B.

[0076] Step S308: Determine the network hierarchy architecture of the all-optical network based on the first subordinate relationship, the second subordinate relationship, and the main-level interface and sub-level interface included in the communication bus.

[0077] Specifically, the management platform can determine the connection relationship between the master device and the second-level devices based on the first subordinate relationship; the management platform can determine the connection relationship between the second-level devices and lower-level devices based on the second subordinate relationship, thus obtaining the connection relationship between all devices in the all-optical network. Based on this, each device corresponds to its own interface, the master device corresponds to the master-level interface, and all other devices correspond to the sub-level interfaces, thus obtaining the network hierarchy architecture of the all-optical network.

[0078] In this embodiment, the main device and the second-level devices connected to the main device can be identified by the IP address and port type of each device on the LAN side in the all-optical network. The second subordinate relationship between the devices other than the main device can be determined by the MAC information of each device. Thus, the association relationship between the devices is obtained. Based on this, the interface of each device is determined, and finally the network hierarchy architecture of the all-optical network is obtained. Since the parameters for determining the connection relationship of each device can be obtained directly through the communication bus, the network hierarchy architecture of the all-optical network can be obtained accurately and quickly.

[0079] In an exemplary embodiment, as shown in FIG4, the all-optical networking device management and control method further includes steps S402 to S406. Wherein:

[0080] Step S402: If it is detected that no management and control middleware has been deployed on any of the devices connected to the all-optical network, obtain the environmental information corresponding to each device and determine that each device is a device to be managed.

[0081] The management middleware is a plugin that enables the management platform to directly manage the device. When the management middleware is deployed on the device, the management platform can send target management policies to the device, which can then receive and execute those policies. Environment information refers to the device's current software environment, which may include system version, Lxc / Docker version, dependency libraries, etc.

[0082] Specifically, the management platform can subscribe to messages published by each device connected to the all-optical network and determine from the messages whether each device has deployed management middleware. If it detects that no management middleware has been deployed on any device connected to the all-optical network, it determines that each device is a device to be managed and obtains the environmental information of each device to be managed.

[0083] Step S404: In response to the environmental information meeting the deployment conditions of the control middleware, a communication connection is established between the device to be controlled and the sub-level interface of the communication bus based on the device type of the device to be controlled.

[0084] The device types can include direct downstream devices of the master device, such as slave devices, existing network gateways, and industrial gateways, as well as lower-level downstream devices, such as terminals under slave devices and downstream devices under industrial gateways.

[0085] Specifically, in response to the environmental information of the device to be managed meeting the deployment conditions for the management and control middleware, the management platform can obtain the device type of the device to be managed and determine the corresponding sub-level interface based on the device type. Based on the sub-level interface corresponding to the device to be managed, a connection is established between the device to be managed and the communication bus.

[0086] Optionally, if the environmental information of the device to be managed does not meet the deployment conditions for the management and control middleware, and the management platform does not manage the device to be managed through the communication bus, the master device can query the basic information of the device to be managed.

[0087] Step S406: Deploy the management middleware to the device to be managed through the sub-level interface corresponding to the device to be managed.

[0088] Specifically, the management platform can send management middleware to the device to be managed through the communication bus and the sub-level interface corresponding to the device to be managed, and deploy the management middleware to the device to be managed.

[0089] Optionally, the management platform can send the device to be managed to the management middleware through a business interface, such as a PON port or an ETH port, and then deploy the management middleware to the device to be managed.

[0090] In this embodiment, when the environmental information of the device to be managed meets the deployment conditions, by installing the management middleware on the device to be managed, the management platform can directly manage the device to be managed, thereby improving the management platform's management efficiency for each device.

[0091] In an exemplary embodiment, in the all-optical networking device management method, the sub-layer interface includes a variety of interfaces arranged in hierarchical order; the hierarchy of each device included in the all-optical network corresponds to the hierarchy of each layer interface included in the communication bus; the target device is any one or more devices in the hierarchy corresponding to the sub-layer interface; the communication bus is used to connect devices in each hierarchy included in the all-optical network.

[0092] The sub-layer interface can contain multiple types of interfaces corresponding to various layers. For example, a sub-layer interface can include second-layer interfaces, third-layer interfaces, and so on up to the Nth-layer interface, while the main-layer interface can be a first-layer interface. Correspondingly, the layers of each device in the all-optical network can be first-layer, second-layer, third-layer, and so on up to the Nth-layer. The first-layer interface corresponds to the first layer, and so on. Therefore, the layers of each device in the all-optical network correspond to the layers of the interfaces in the communication bus. The target device can be one or more devices in the layer corresponding to the sub-layer interface. For example, the target device can include second-layer devices or multiple fourth-layer devices. The communication bus can then connect devices at each layer through its interfaces.

[0093] In this embodiment, by establishing communication connections between devices at each level and the management platform through the hierarchical structure of each device in the all-optical network and the hierarchical structure of each interface in the communication bus, the management platform can directly manage and control each level of device individually, thereby reducing the coupling between devices.

[0094] As shown in Figure 5, the following describes in detail the specific execution process of the above-mentioned all-optical networking equipment management and control method with reference to a specific embodiment.

[0095] Among them, all-optical networking can be Fiber to the Room (FTTR), and other methods include Fiber to the Building (FTTB), Fiber to the Curb (FTTC), Fiber to the Zone (FTTZ), and Fiber to the Home (FTTH). All of the above methods can be deployed using bus, ring, star, or tree topologies.

[0096] Specifically, the FTTR master device connects to slave devices, existing network gateways, and industrial gateways via the PON port, and connects terminal devices via the ETH (GE) port, thereby achieving network coverage for businesses and meeting various business needs. After the FTTR master device connects to the Internet, it can initiate the establishment of a message channel to the management platform, that is, establish a communication bus (message bus), as shown in Figure 5. The message bus is the Message Queuing Telemetry Transport (MQTT-B) bus. MQTT is a lightweight, open message transmission protocol commonly used in IoT applications for communication between devices.

[0097] As shown in Figure 5, the master device publishes or subscribes to uplink and downlink topics through the Mm (manage main) interface (message interface between the master device and the MQTT-B bus); the slave device publishes / subscribes to uplink and downlink topics through the Mf (manage fttr) interface (message interface between the slave device and the MQTT-B bus), enabling independent management and control of the slave and master devices and effectively resolving the tight coupling between devices. The terminal publishes / subscribes to uplink and downlink topics through the Md (manage device) interface (message interface between the terminal and the MQTT-B bus), enabling plug-and-play functionality for the terminal.

[0098] It should be understood that when the management channel IP address obtained by the slave device or the existing network gateway based on the Mf interface is the same as the management channel IP address obtained by the master device based on the Mm interface, the slave device and the existing network gateway are both legitimate, thus ensuring the legitimacy of the slave device and determining the subordinate relationship between the master device and the slave device and the existing network gateway.

[0099] In addition, the master device reports environmental information such as the system version, Lxc / docker version, and dependent libraries of the connected industrial gateways to the management platform via the Mm interface. After analyzing the environmental information, if the management platform determines that the industrial gateway's environment meets the conditions for deploying MQTT-C middleware, it will automatically send the information to the industrial gateway and match the corresponding interface type, thereby enabling control of the connected industrial gateways. Similarly, MQTT-C middleware can also be deployed on the connected industrial terminals, allowing the management platform to control them. As shown in Figure 5, MQTT-C middleware is deployed on each device to facilitate management platform control.

[0100] Optionally, the management platform can obtain information such as the WAN-side IP address, LAN-side IP address, device type, MAC address, and port type of each device based on subscription or publication of messages on different topics, thereby forming the relationship between the devices and obtaining the network hierarchy architecture of the all-optical network.

[0101] In an exemplary embodiment, as shown in Table 1 below, the structure of an all-optical network may include: a management platform, a master device, slave devices, a network gateway, an industrial gateway, and an industrial terminal.

[0102] The network topology analysis based on the MQTT-B bus is as follows:

[0103] The system retrieves the MAC information of the slave devices and the existing network gateway, and obtains the management channel IP address (172.20.1.10) determined by the Mf interface. It also retrieves the MAC information of the master device, and obtains the management channel IP address (172.20.1.10) determined by the Mm interface. When the IP addresses obtained based on different topics remain consistent, the legitimacy of the slave devices and the existing network gateway is guaranteed, and loose coupling between the master and slave devices is achieved. The slave-master relationship and network hierarchy architecture are determined based on the LAN side IP address and port type.

[0104] The management platform detected that the downstream device reported via the Mm interface that it had not registered the message bus, meaning the downstream device was not connected to the message bus and had not deployed MQTT-C middleware. The management platform can obtain information such as the system version, Lxc / Docker version, and dependent libraries of the downstream industrial gateway. When the downstream device meets the conditions for deploying MQTT-C middleware, it matches the corresponding interface information (Mf) based on the device type (starting with 0) and automatically sends the MQTT-C middleware to the industrial gateway, thereby enabling control of the downstream industrial gateway. For example, if the terminal type starts with 1, it will match the Md interface.

[0105] When the conditions for deploying MQTT-C intermediate access are not met, only the basic information of the downstream devices / terminals is queried through the master device.

[0106] Table 1

[0107] Among them, the equipment and terminal types are defined as follows: 0 is the downstream device -- existing network gateway (01), FTTR slave device (02), industrial gateway (03); 1 is the existing network terminal -- camera (11), access control (12), sensor (13), industrial control computer (14), and other equipment and terminal types are reserved.

[0108] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0109] Based on the same concept, this application also provides an all-optical networking device management system for implementing the all-optical networking device management method described above. The solution provided by this system is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more all-optical networking device management system embodiments provided below can be found in the limitations of the all-optical networking device management method described above, and will not be repeated here.

[0110] In one exemplary embodiment, an all-optical networking device management and control system is provided, including: a management platform, a master device communicatively connected to the management platform, a target device mounted under the master device, and a communication bus communicatively connected to the management platform, the master device, and the target device; the communication bus includes a master-level interface and a sub-level interface;

[0111] The management platform, in response to a first publication message from the target device and a second publication message from the master device, determines the target device's location information within the all-optical network hierarchy if the target device meets preset legal conditions. The first publication message is obtained based on a sub-layer interface in the communication bus; the second publication message is obtained based on a master layer interface in the communication bus.

[0112] The management platform is also used to send target control policies to target devices based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network.

[0113] Furthermore, in the all-optical networking equipment management system, the sub-layer interface includes a variety of interfaces arranged in hierarchical order; the hierarchy of each device in the all-optical network corresponds to the hierarchy of each interface in the communication bus; the target device is any one or more devices in the hierarchy corresponding to the sub-layer interface; the communication bus is used to connect devices in each hierarchy of the all-optical network.

[0114] Based on the same concept, this application also provides an all-optical networking device management and control apparatus for implementing the all-optical networking device management and control method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more all-optical networking device management and control apparatus embodiments provided below can be found in the limitations of the all-optical networking device management and control method described above, and will not be repeated here.

[0115] In an exemplary embodiment, as shown in FIG6, an all-optical networking device management and control device 600 is provided, including: a location determination module 601 and a policy sending module 602, wherein:

[0116] The location determination module 601 is used to determine the location information of the target device in the network hierarchy architecture of the all-optical network by responding to the first publishing message based on the target device and the second publishing message based on the master device and determining that the target device meets the preset legal conditions; the first publishing message is obtained based on the sub-layer interface in the communication bus and the second publishing message is obtained based on the master layer interface in the communication bus.

[0117] The policy sending module 602 is used to send target control policies to the target device based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network.

[0118] Furthermore, the location determination module 601 is specifically used to: obtain a first release message published by the target device through a sub-layer interface in the communication bus; the first release message contains the first IP address of the target device in the WAN-side management channel; obtain a second release message published by the master device through a master-layer interface in the communication bus; the second release message contains the second IP address of the master device in the WAN-side management channel; and determine that the target device meets the preset legal conditions if the first IP address and the second IP address are the same.

[0119] Furthermore, the device corresponding to the main layer interface is the main device; the devices corresponding to the sub-layer interfaces include all other devices besides the main device; the device also includes an architecture determination module, specifically used for: obtaining the IP address, port type, and MAC information of the devices at each layer in the all-optical network on the LAN side through the main layer interface and sub-layer interface included in the communication bus; determining the first subordinate relationship between the main device and each second-layer device in the all-optical network based on the IP address and port type of each layer on the LAN side, wherein the main device is a first-layer device; determining the second subordinate relationship between the devices besides the main device based on the MAC information of all other devices besides the main device; and determining the network layer architecture of the all-optical network based on the first subordinate relationship, the second subordinate relationship, and the main layer interface and sub-layer interface included in the communication bus.

[0120] Furthermore, the device also includes a middleware deployment module, specifically used for: when it is detected that no management middleware has been deployed on any of the devices connected to the all-optical network, obtaining the environmental information corresponding to each device and determining that each device is a device to be managed; in response to the environmental information meeting the deployment conditions of the management middleware, establishing a communication connection between the device to be managed and the sub-layer interface of the communication bus based on the device type of the device to be managed; and deploying the management middleware to the device to be managed through the sub-layer interface corresponding to the device to be managed.

[0121] Furthermore, in the device, the sub-layer interface includes a variety of interfaces arranged in hierarchical order; the layers of each device included in the all-optical network correspond to the layers of each interface included in the communication bus; the target device is any one or more devices in the layer corresponding to the sub-layer interface; the communication bus is used to connect devices in each layer included in the all-optical network.

[0122] Each module in the aforementioned all-optical networking equipment management and control device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication equipment in hardware form or independent of it, or stored in the memory of the communication equipment in software form, so that the processor can call and execute the corresponding operations of each module.

[0123] In an exemplary embodiment, a communication device is provided, which may be a server, and its internal structure diagram is shown in Figure 7. The communication device includes a processor, memory, input / output interfaces (I / O), and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is connected to the system bus via the I / O interfaces. The processor of the communication device provides computing and control capabilities. The memory of the communication device includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the communication device stores message data published by target devices and master devices. The I / O interfaces of the communication device are used for information exchange between the processor and external devices. The communication interface of the communication device is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a method for managing all-optical networking devices.

[0124] Those skilled in the art will understand that the structure shown in Figure 7 is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0125] In one exemplary embodiment, a communication device is also provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps in the above-described method embodiments.

[0126] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0127] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0128] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0129] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0130] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0131] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for managing all-optical networking equipment, comprising: In response to determining that the target device meets the preset legal conditions based on the first publication message of the target device and the second publication message of the master device, the location information of the target device in the network hierarchy architecture of the all-optical network is determined. The first published message is obtained based on the sub-level interface in the communication bus, and the second published message is obtained based on the main-level interface in the communication bus. Based on the communication bus and the location information of the target device in the network hierarchy of the all-optical network, a target management policy is sent to the target device.

2. The method according to claim 1, wherein, The determination that the target device meets preset legal conditions based on the first publication message from the target device and the second publication message from the master device includes: The first publishing message published by the target device is obtained through the sub-layer interface in the communication bus; the first publishing message contains the first IP address of the target device in the WAN-side management channel. The second publishing message published by the master device is obtained through the master-level interface in the communication bus; the second publishing message contains the second IP address of the master device in the WAN-side management channel. If the first IP address is the same as the second IP address, then the target device is determined to meet the preset legal conditions.

3. The method according to claim 1, wherein, The device corresponding to the main layer interface is the main device; the devices corresponding to the sub-layer interfaces include all other devices besides the main device; the method further includes: The main-level interface and sub-level interface included in the communication bus are used to obtain the IP address, port type and MAC information of each level of the all-optical network on the LAN side. Based on the IP address and port type of each device on the LAN side, the first subordinate relationship between the master device and each second-level device in the all-optical network is determined, wherein the master device is the first-level device; Based on the MAC information of each device other than the master device, determine the second dependency relationship between the devices other than the master device; Based on the first subordinate relationship, the second subordinate relationship, and the main-level interface and sub-level interface included in the communication bus, the network hierarchy architecture of the all-optical network is determined.

4. The method according to claim 3, further comprising: If it is detected that no management and control middleware has been deployed on any of the devices connected to the all-optical network, the environmental information corresponding to each device is obtained, and each device is identified as a device to be managed. In response to the environmental information satisfying the deployment conditions of the management and control middleware, a communication connection is established between the device to be managed and the sub-level interface of the communication bus based on the device type of the device to be managed. The management middleware is deployed to the device under management through the sub-level interface corresponding to the device under management.

5. The method according to any one of claims 1 to 4, wherein, The sub-layer interface includes a variety of interfaces arranged in hierarchical order; the layer of each device in the all-optical network corresponds to the layer of each interface in the communication bus; the target device is any one or more devices in the layer corresponding to the sub-layer interface; the communication bus is used to connect devices in each layer of the all-optical network.

6. The method according to claim 1, wherein, In response to the first publication message from the target device and the second publication message from the master device, it is determined that the target device meets preset legal conditions, and the location information of the target device in the network hierarchy architecture of the all-optical network is determined, including: In response to determining that the legitimate information contained in the first published information of the target device matches the legitimate information contained in the second published information of the master device, the target device is determined to be a subordinate device of the master device, and the target device is determined to meet the preset legitimate conditions.

7. The method according to claim 6, wherein, The legitimate information contained in the first published information of the target device and the legitimate information contained in the second published information of the master device include network information used to indicate the target device or the master device in the all-optical network, and the network information includes at least one of IP address and subnet mask.

8. The method according to claim 1, wherein, The network hierarchy architecture includes at least one of the following: devices at each level in an all-optical network, communication hierarchical relationships between devices at each level, service hierarchical relationships between devices at each level, and connection relationships between devices at the same level.

9. The method according to claim 1, wherein, Based on the communication bus and the target device's location information within the all-optical network architecture, target management policies are sent to the target device, including: Based on the location information of the target device, the communication path between the management platform and the target device is determined, and the pre-configured target control policy is sent to the target device through the sub-level interface of the communication path.

10. The method of claim 4, further comprising: Subscribe to messages published by each device connected to the all-optical network, and determine from the messages whether each device has deployed the management and control middleware.

11. The method according to claim 4, further comprising: If the environmental information of the device to be managed does not meet the deployment conditions for deploying the management middleware, the management platform will not manage the device to be managed through the communication bus, but will instead query the basic information of the device to be managed through the master device.

12. A management and control system for all-optical networking equipment, comprising: The system includes a management platform, a main device communicatively connected to the management platform, a target device mounted on the main device, and a communication bus communicatively connected to the management platform, the main device, and the target device; the communication bus includes a main-level interface and a sub-level interface. The management platform is used to respond to a first publication message based on the target device and a second publication message based on the master device, and determine the location information of the target device in the network hierarchy architecture of the all-optical network if the target device meets the preset legal conditions. The first published message is obtained based on the sub-level interface in the communication bus; the second published message is obtained based on the main-level interface in the communication bus. The management platform is also used to send target control policies to the target device based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network.

13. The system according to claim 12, wherein, The sub-layer interface includes a variety of interfaces arranged in hierarchical order; the layer of each device in the all-optical network corresponds to the layer of each interface in the communication bus; the target device is any one or more devices in the layer corresponding to the sub-layer interface; the communication bus is used to connect devices in each layer of the all-optical network.

14. A control device for all-optical networking equipment, comprising: The location determination module is used to determine the location information of the target device in the network hierarchy architecture of the all-optical network if the target device meets the preset legal conditions in response to the first publication message based on the target device and the second publication message based on the master device. The first published message is obtained based on the sub-level interface in the communication bus, and the second published message is obtained based on the main-level interface in the communication bus. The policy sending module is used to send target management policies to the target device based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network.

15. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, wherein... When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 11.

16. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.

17. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • System, device, equipment and method for monitoring management

    CN101047575A

  • Enterprise cluster distributed cooperative operation system

    CN102142105A

  • Communication method, device, equipment and medium

    CN116578519A

  • All-optical networking equipment management and control method, system and device, communication equipment, storage medium and computer program product

    CN118474583A

  • Traffic policy allocation method and apparatus, and storage medium and electronic device

    WO2024007552A1

Cited By

  • Gateway address allocation method, core network, user terminal, medium and product

    CN122160359A

  • Deterministic intention synchronization and hybrid decision access control method, system and device based on FTTR and medium

    CN122247525A