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

By using the sub-level and main-level interfaces of the communication bus in the all-optical network to obtain target device information and send management and control strategies, the problem of insufficient computing resources of the main device is solved, and the management efficiency and device coupling of the internal network of commercial enterprises are improved. .

CN118474583BActive Publication Date: 2024-10-18CHINA TELECOM CORP LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410926334.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-10-18
Estimated Expiration
2044-07-11

AI Technical Summary

Technical Problem

In commercial enterprise all-optical networking, as the number and types of slave devices connected to the master device increase, the computing resources of the master device cannot meet the needs of the management network, resulting in reduced management efficiency.

Method used

By using the sub-level and main-level interfaces of the communication bus in the all-optical network to obtain the release messages of the target device, determine its legality and send management and control policies, directly manage and control the target device, and reduce the coupling between the main device and the target device. sex.

Benefits of technology

It improves the management efficiency of all-optical networking, reduces the coupling between the main device and the target device, and improves the management platform's direct management and control capability of the target device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118474583B_ABST
    Figure CN118474583B_ABST
Patent Text Reader

Abstract

The present application relates to a method, system, device, communication device, storage medium and computer program product for all-optical networking equipment management and control, and relates to the field of network management technology. The method comprises: if it is determined that the target device meets the preset legal conditions based on the first release message of the target device and the second release message of the main device, then the location information of the target device in the network hierarchy architecture of the all-optical network is determined; the first release message is obtained based on the sub-level interface in the communication bus, and the second release 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 architecture of the all-optical network, a target management and control policy is sent to the target device. The use of this method can improve the management efficiency of the all-optical network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present 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 all-optical networking equipment management and control. Background Art

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

[0003] However, in the existing internal networking of commercial enterprises, the master device agent is used to control the slave devices, and a private protocol is used to realize the information exchange between the master and slave devices. As the number and types of slave devices under the master device increase, the computing resources of the master device will not be able to meet the needs of managing the network, thus affecting the performance of managing the internal networking of commercial enterprises and reducing the management efficiency of the internal networking of commercial enterprises. Summary of the invention

[0004] Based on this, it is necessary to provide a method, system, device, communication equipment, computer-readable storage medium and computer program product for all-optical networking equipment management and control that can improve management efficiency in response to the above technical problems.

[0005] In a first aspect, the present application provides a method for controlling all-optical networking equipment. The method comprises:

[0006] If it is determined that the target device meets the preset legal condition based on the first publishing message of the target device and the second publishing 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 publishing message is obtained based on the sub-level interface in the communication bus, and the second publishing message is obtained based on the main level interface in the communication bus;

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

[0008] In one embodiment, the determining that the target device meets the preset legal condition based on the first publishing message of the target device and the second publishing message of the master device includes:

[0009] Obtaining a first publishing message published by a target device through a sub-level interface in a communication bus; the first publishing message includes a first IP address of a management channel of the target device on the WAN side;

[0010] Obtaining, through the master-level interface in the communication bus, a second publishing message published by the master device; the second publishing message includes a second IP address of the management channel of the master device on the WAN side;

[0011] If the first IP address is the same as the second IP address, it is determined that the target device meets the preset legal condition.

[0012] In one embodiment, the device corresponding to the main-level interface is a main device; the devices corresponding to the sub-level interface include other devices except the main device; and the method further includes:

[0013] Obtaining IP addresses, port types and MAC information of devices at each level included in the all-optical network on the LAN side through the main-level interface and the sub-level interface included in the communication bus;

[0014] Determine a first subordinate relationship between a master device and each second-level device in the all-optical network according to the IP address of each level of device on the LAN side and the port type, wherein the master device is a first-level device;

[0015] Determine, according to MAC information of each device other than the master device, a second subordinate relationship between each device other than the master device;

[0016] The network hierarchical architecture of the all-optical networking is determined according to the first subordinate relationship, the second subordinate relationship, and the main-level interface and the sub-level interface included in the communication bus.

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

[0018] When it is detected that the control middleware is not deployed on the devices connected to the all-optical network, the environment information corresponding to each device is obtained, and each device is determined to be a device to be controlled;

[0019] If the environmental information satisfies the deployment conditions of the control middleware, then based on the device type of the device to be controlled, a communication connection is established between the device to be controlled and the sub-level interface of the communication bus;

[0020] The control middleware is deployed to the device to be controlled through the sub-level interface corresponding to the device to be controlled.

[0021] In one of the embodiments, the sub-level interface includes a plurality of interfaces arranged in a hierarchical order; the level of each device included in the all-optical network corresponds to the level corresponding to each level interface included in the communication bus; the target device is any one or more devices in the level corresponding to the sub-level interface; and the communication bus is used to connect devices of each level included in the all-optical network.

[0022] In the second aspect, the present 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 main device connected to the management platform in communication, a target device mounted under the main device, and a communication bus connected to the management platform, the main device, and the target device in communication; the communication bus includes a main-level interface and a sub-level interface;

[0023] The management platform is used to determine the location information of the target device in the network hierarchy architecture of the all-optical networking if it is determined that the target device meets the preset legal condition based on the first publishing message of the target device and the second publishing message of the master device; the first publishing message is obtained based on the sub-level interface in the communication bus; the second publishing message is obtained based on the main level interface in the communication bus;

[0024] The management platform is further used to send a target management and control strategy 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 networking.

[0025] In one of the embodiments, the sub-level interface includes a plurality of interfaces arranged in a hierarchical order; the level of each device included in the all-optical network corresponds to the level corresponding to each level interface included in the communication bus; the target device is any one or more devices in the level corresponding to the sub-level interface; and the communication bus is used to connect devices of each level included in the all-optical network.

[0026] In a third aspect, the present application also provides an all-optical networking equipment control device. The device includes:

[0027] A location determination module, for determining the location information of the target device in the network hierarchy architecture of the all-optical networking if it is determined that the target device meets a preset legal condition based on a first release message of the target device and a second release message of the master device; the first release message is obtained based on a sub-level interface in a communication bus, and the second release message is obtained based on a main-level interface in the communication bus;

[0028] A strategy sending module is used to send a target management and control strategy 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.

[0029] In a fourth aspect, the present application further provides a communication device, wherein the communication device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in the first aspect are implemented.

[0030] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0031] In a sixth aspect, the present application further provides a computer program product, wherein the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0032] The above-mentioned all-optical networking equipment management and control method, system, device, communication device, storage medium and computer program product obtain the first release message of the target device through the sub-level interface in the communication bus, the second release message of the main device through the main level interface in the communication bus, and determine whether the target device meets the preset legal conditions based on the first release message and the second release message. If the target device meets 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 and control policy to the target device corresponding to the location information through the communication bus. Both the first release message and the second release message can be published to the management platform through independent interfaces in the communication bus. After the management platform verifies that the target device is a legal device of the all-optical network, the management platform can also manage each target device separately through each interface of the communication bus, without the need to exchange data through the service flow between the target device and the main device, so that the management platform can skip the main device and directly manage each target device, thereby reducing the coupling between the main device and the target device and improving the management efficiency of the all-optical network. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0034] Figure 1 This is an application environment diagram of an all-optical networking device control method in an embodiment;

[0035] Figure 2 A schematic diagram of a flow chart of a method for controlling an all-optical networking device in an embodiment;

[0036] Figure 3 A schematic diagram of a flow chart of steps for determining a network layer architecture of an all-optical network in an embodiment;

[0037] Figure 4 A schematic diagram of a process for deploying a management and control middleware step in an embodiment;

[0038] Figure 5 It is a flowchart of a method for controlling all-optical networking equipment in another embodiment;

[0039] Figure 6 It is a structural block diagram of an all-optical networking equipment control device in an embodiment;

[0040] Figure 7 FIG. 4 is a diagram showing the internal structure of a communication device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] The all-optical networking device control method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the target device 102 communicates with the management platform 104 through the communication bus, and there may be a business flow between the target device 102 and the main device, and business data is exchanged through the business flow. The main device 106 communicates with the management platform 104 through the communication bus, and the management platform 104 can communicate independently with the target device 102 and the main device 106 respectively. The target device 102 can publish a first publishing message through the communication bus, and the main device 106 can publish a second publishing message through the communication bus. The management platform 104 can subscribe to the first publishing message published by the target device 102 and the second publishing message published by the main device 106 through the communication bus, and determine whether the target device meets the preset legal conditions through the first publishing message and the second publishing message. In the case of meeting the legal preset conditions, the location information of the target device in the all-optical network is determined, and the management platform 104 sends the target management and control policy to the target device 102 through the communication bus and the location information, so that the management platform 104 directly manages and controls the target device.

[0043] The target terminal 102 may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices, and portable wearable devices. IoT devices may be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices may be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices may be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The management platform 104 may be implemented using an independent server or a server cluster consisting of multiple servers.

[0044] In an exemplary embodiment, Figure 2 As shown, a method for controlling all-optical networking equipment is provided, and the method is applied to Figure 1 The management platform 104 in FIG. 1 is taken as an example to illustrate, including the following steps S202 to S204. Among them:

[0045] Step S202: If the target device is determined to meet the preset legal condition based on the first publishing message of the target device and the second publishing message of the master device, the location information of the target device in the network hierarchy architecture of the all-optical network is determined.

[0046] Among them, the first publishing message is obtained based on the sub-level interface in the communication bus, and the second publishing message is obtained based on the main-level interface in the communication bus; the main-level interface corresponds to the main device; the sub-level interface corresponds to the hanging device corresponding to the main device, and the hanging device of the main device may include the target device, the device of the same level as the target device, and the device that has a superior-subordinate relationship with the target device. The preset legal condition is used to determine the legality of the target device in the current all-optical network. When the target device is legal, the management platform determines that the target device is a device in 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 main device, and the sub-level interface is used to establish a communication connection between the management platform and the target device. The target device may include a slave device hanging under the main device, an existing network gateway, an industrial gateway, a terminal mounted under the slave device, and an industrial terminal mounted under the industrial gateway.

[0047] Specifically, the management platform can obtain the first publishing message published by the target device and the second publishing message published by the main device based on the sub-level interface and the main-level interface of the communication bus. The management platform can obtain the legal information of the target device contained in the first publishing message and the legal information of the main device contained in the second publishing message. If it is determined that the legal information of the target device matches the legal information of the main device, the target device is determined to be a subordinate device of the main device, and it is determined that the target device meets the preset legal conditions. In one example, the legal information can be network information used to represent the device in the all-optical network, and the network information can include information such as IP address and subnet mask.

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

[0049] Step S204: sending a target management and control policy 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.

[0050] The location information may be the location of the target device in the network hierarchy in the all-optical network. The target control strategy is a pre-configured preset strategy, such as restarting the target device, changing configuration parameters, etc. The network hierarchy includes the devices at each level in the all-optical network, the communication superior-subordinate relationship between the devices at each level, the business superior-subordinate relationship between the devices at each level, and the connection relationship between the devices at the same level.

[0051] 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 a pre-configured target management and control policy to the target device through the sub-level interface of the communication path. The target device receives the target management and control policy and executes the target management and control policy, thereby completing the management of the target device by the management platform.

[0052] In the above-mentioned all-optical networking device control method, a first publishing message of the target device is obtained through the sub-level interface in the communication bus, and a second publishing message of the main device is obtained through the main-level interface in the communication bus, and it is determined whether the target device meets the preset legal conditions based on the first publishing message and the second publishing message. If the target device meets 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 control policy to the target device corresponding to the location information through the communication bus. Both the first publishing message and the second publishing message can be published to the management platform through independent interfaces in the communication bus. After the management platform verifies that the target device is a legal device of the all-optical network, the management platform can also manage each target device separately through each interface of the communication bus, without the need to exchange data through the business flow between the target device and the main device, so that the management platform can skip the main device and directly control each target device, thereby reducing the coupling between the main device and the target device, and improving the management efficiency of the all-optical network.

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

[0054] The first publishing message published by the target device is obtained through the sub-level interface in the communication bus; the first publishing message includes the first IP address of the target device on the WAN (Wide Area Network) side management channel. The second publishing message published by the main device is obtained through the main-level interface in the communication bus; the second publishing message includes the second IP address of the main device on the WAN side management channel. If the first IP address is the same as the second IP address, it is determined that the target device meets the preset legal conditions.

[0055] The WAN is a remote network that connects computers in different local area networks or metropolitan area networks for communication. The first publishing message includes the first IP address of the target device on the WAN side. The second publishing message includes the second IP address of the master device on the WAN side.

[0056] Specifically, the master device can publish the second publish message through the main-level interface in the communication bus. The second publish message can include the device information of the master device. The device information can include the WAN side IP address, LAN (local area network) local area network side address, device type, MAC (Media Access Control Address) information, port type and other information. The target device can publish the first publish message through the sub-level interface in the communication bus. The first publish message can include the device information of the target device. Based on this, the management platform subscribes to the first publish message and the second publish message through the communication bus to obtain the first publish message, the first IP address in the second publish message, and the second IP address in the second publish message. The management platform determines whether the first IP address is consistent with the second IP address. If the first IP address is consistent with the second IP address, it is determined that the target device is a legal device in the all-optical network, and it is determined that the target device meets the preset legal conditions.

[0057] In this embodiment, by judging whether the first IP address of the target device and the second IP address of the main device are the same, it can be determined whether the target device is in the all-optical network corresponding to the main device, and whether the target device is legal. The legality can be determined directly through the existing device information without the need for additional calculations, thereby improving the efficiency of determining the legality of the target device.

[0058] In an exemplary embodiment, the device corresponding to the main-level interface is a main device, and the devices corresponding to the sub-level interface include other devices except the main device, such as Figure 3 As shown, the all-optical networking device management and control method further includes steps S302 to S308. Among them:

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

[0060] The main device may be connected to the communication bus via a main-level interface, and other devices except the main device may be connected to the communication bus via a sub-level interface.

[0061] Specifically, the management platform can obtain the IP address, port type and MAC information of the main device on the LAN side according to the main-level interface. The port type may include a passive optical network (PON) port and an Ethernet (ETH) port, and the MAC information is a MAC address. The management platform can obtain the IP address, port type and MAC information of each device other than the main device on the LAN side according to the sub-level interface.

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

[0063] The main device is a first-level device. Other devices except the main device can be multi-level devices mounted under the first-level device, and there can be a superior-subordinate relationship between the multi-level devices.

[0064] Specifically, the management platform can determine the main device and each device mounted under the main device in the devices at each level based on the IP addresses of the devices at each level on the LAN side. The IP address of the main device on the LAN side is the general address, and the IP addresses of the other devices on the LAN side except the main device are subordinate addresses of the general address. For example, the IP address of the main device on the LAN side is 192.168.2.1, and the IP addresses of the other devices on the LAN side except the main device are 192.168.2.102, 192.168.2.103, 192.168.2.10, etc.

[0065] In addition, the management platform can determine whether the device is directly attached to the main device according to the port type of each device other than the main device, that is, determine that the device is a second-level device, and determine the first subordinate relationship between the main device and the device. For example, a device whose LAN side IP address is a subordinate address of the general address and whose port type is a PON port is a device directly attached to the main device, that is, a second-level device, and has a first subordinate relationship with the main device.

[0066] Step S306: Determine a second subordinate relationship between the devices other than the master device according to the MAC information of the devices other than the master device.

[0067] Specifically, after determining the first subordinate relationship, the management platform can obtain the MAC information of each device other than the main device. Among them, the second-level device can contain the MAC information of the device itself, as well as the MAC information of the third-level or lower-level devices mounted on the device; the third-level or lower-level devices can contain their own MAC information, as well as the MAC information of the lower-level devices mounted on the device, and so on. Based on this, the server can obtain the MAC information of each device other than the main device, and obtain the inclusion relationship of the MAC information between the devices, and determine the second subordinate relationship between the devices other than the main device based on the inclusion relationship.

[0068] In an example, the MAC information of each device other than the main 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 device ABC from device A, the management platform can obtain the MAC information of device BC from device B, and the management platform can obtain the MAC information of device C from device C. The management platform can determine the second subordinate relationship between devices ABC based on the MAC information obtained from devices ABC, that is, the downstream device of device A is device B, and the downstream device of device B is device C.

[0069] Step S308, determining the network hierarchical architecture of the all-optical networking according to the first subordinate relationship, the second subordinate relationship, and the main-level interface and the sub-level interface included in the communication bus.

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

[0071] In this embodiment, the main device and the second-level device hanging under the main device can be determined through the IP addresses and port types of the devices at each level in the all-optical network on the LAN side, and the second subordinate relationship between the devices other than the main device can be determined through the MAC information of the devices at each level, thereby obtaining the association relationship between the devices, and the interface of each device is determined based on this, and finally the network hierarchical architecture of the all-optical network is obtained. Since the parameters for judging the connection relationship of each device can be directly obtained through the communication bus, the network hierarchical architecture of the all-optical network can be accurately and quickly obtained.

[0072] In an exemplary embodiment, Figure 4 As shown, the all-optical networking device management and control method further includes steps S402 to S406. Among them:

[0073] Step S402, when it is detected that the control middleware is not deployed on the devices connected in the all-optical network, the environment information corresponding to each device is obtained, and each device is determined to be a device to be controlled.

[0074] Among them, the control middleware is a plug-in used to enable the management platform to directly manage the device. When the control middleware is deployed in the device, the management platform can send the target control policy to the device, and the device can receive and execute the target control policy. The environment information is the current software environment of the device, which can include system version, Lxc / docker version, dependency library and other information.

[0075] Specifically, the management platform can subscribe to the messages published by each device in the all-optical network, and determine from the messages whether each device has deployed the control middleware. If it is detected that the devices in the all-optical network have not deployed the control middleware, each device is determined to be a device to be controlled, and the environmental information of each device to be controlled is obtained.

[0076] Step S404: if the environment information meets 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.

[0077] Among them, the device types may include the directly connected devices of the master device, namely, slave devices, existing network gateways and industrial gateways, etc., as well as lower-level connected devices, namely, terminals under slave devices, connected devices under industrial gateways, etc.

[0078] Specifically, if the environmental information of the device to be controlled meets the deployment conditions of the control middleware, the management platform can obtain the device type of the device to be controlled and determine the sub-level interface corresponding to the device type according to the device type. According to the sub-level interface corresponding to the device to be controlled, the device to be controlled is connected to the communication bus.

[0079] Optionally, if the environmental information of the device to be controlled does not meet the deployment conditions for deploying the control middleware, the management platform does not manage the device to be controlled through the communication bus, and basic information of the device to be controlled can be queried through the main device.

[0080] Step S406: deploy the control middleware to the device to be controlled through the sub-level interface corresponding to the device to be controlled.

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

[0082] Optionally, the management platform may send the device to be controlled to the control middleware through a service interface, such as a PON port or an ETH port, and deploy the control middleware to the device to be controlled.

[0083] In this embodiment, when the environmental information of the device to be controlled meets the deployment conditions, the management platform can directly control the device to be controlled by installing the control middleware on the device to be controlled, which can improve the management platform's control efficiency of each device.

[0084] In an exemplary embodiment, the all-optical networking device management and control method also includes: the sub-level interface includes a plurality of interfaces arranged in hierarchical order; the level of each device included in the all-optical networking corresponds to the level corresponding to each level interface included in the communication bus; the target device is any one or more devices in the level corresponding to the sub-level interface; and the communication bus is used to connect the devices of each level included in the all-optical networking.

[0085] Among them, the sub-level interface may include multiple types of interfaces corresponding to multiple levels. For example, the sub-level interface may include interfaces of the second level interface, the third level interface...the Nth level interface and the like, and the main level interface may be a first level interface. Correspondingly, the levels of the devices included in the all-optical network may be the first level, the second level, the third level...the Nth level. The level of the first level interface corresponds to the first level, and similarly, the level of each device included in the all-knowable optical network corresponds to the level corresponding to the interfaces of each level included in the communication bus. The target device may be one or more devices in the level corresponding to the sub-level interface. For example, the target device may include a second level device or multiple devices of the fourth level. The communication bus may connect devices of each level through each interface.

[0086] In this embodiment, through the hierarchy of each device in the all-optical network and the hierarchy of each interface in the communication bus, a communication connection can be established between the devices of each corresponding hierarchy and the management platform, so that the management platform can directly manage and control the devices of each hierarchy separately, thereby reducing the coupling between the devices.

[0087] like Figure 5 As shown, the specific execution process of the above-mentioned all-optical networking device control method is described in detail below in combination with a specific embodiment.

[0088] Among them, all-optical networking can be fiber to the room FTTR (Fiber To The Room). In addition, other methods may include fiber to the building FTTB (Fiber To The Building), fiber to the curb FTTC (Fiber-To-The-Curb), fiber to the zone FTTZ (Fiber To The Zone) and fiber to the home FTTH (Fiber To The Home). All of the above methods can be laid using bus, ring, star or tree topologies.

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

[0090] like Figure 5 As shown in the figure, the master device completes the publishing or subscription of the upstream and downstream topics through the Mm (manage main) interface (the message interface between the master device and the MQTT-B bus); the slave device completes the publishing / subscription of the upstream and downstream topics through the Mf (manage fttr) interface (the message interface between the slave device and the MQTT-B bus), realizing the independent management and control of the slave device and the master device, and effectively solving the tight coupling between the devices. The terminal completes the publishing / subscription of the upstream and downstream topics through the Md (manage device) interface (the message interface between the terminal and the MQTT-B bus), realizing the plug-and-play of the terminal.

[0091] It should be understood that when the management channel IP address obtained by the downstream slave device and the existing network gateway based on the Mf interface is consistent with 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 legal, thereby 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.

[0092] In addition, the master device reports the system version, Lxc / docker version, dependent libraries and other environmental information of the attached industrial gateway to the management platform based on the Mm interface. After the management platform analyzes the environmental information and determines that the environmental information of the industrial gateway meets the conditions for deploying the MQTT-C middleware, the management platform will automatically send it to the industrial gateway and match the corresponding interface type according to the device type of the industrial gateway, thereby realizing the management and control of the attached industrial gateway; correspondingly, for the attached industrial terminals, MQTT-C middleware can also be deployed to realize the management and control of the industrial terminals by the management platform. Figure 5 As shown in the figure, MQTT-C middleware is deployed in each device to facilitate the management platform to control each device.

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

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

[0095] The network analysis based on MQTT-B bus is as follows:

[0096] The MAC information of the downstream slave device and the existing network gateway is obtained respectively, and the management channel IP address determined based on the Mf interface is 172.20.1.10; the MAC information of the master device is obtained, and the management channel IP address determined based on the Mm interface is 172.20.1.10. When the IP addresses obtained based on different Topics remain consistent, the legitimacy of the slave device and the existing network gateway is guaranteed, and the loose coupling between the master and slave devices is realized. The subordinate relationship and network hierarchy of the master and slave devices are determined according to the LAN side IP address and port type.

[0097] The management platform detects that the downstream device reported by the master device based on the Mm interface has not registered the message bus, that is, the downstream device has no communication connection with the message bus, and the MQTT-C middleware has not been deployed. The management platform can obtain the system version, Lxc / docker version, dependency library and other information of the downstream industrial gateway. When the downstream device meets the conditions for deploying the MQTT-C middleware, the corresponding interface information is matched as Mf according to the device type obtained starting with 0, and the MQTT-C middleware is automatically sent to the industrial gateway, thereby realizing the management and control of the downstream industrial gateway. If the terminal type starts with 1, the Md interface will be matched.

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

[0099] Table 1

[0100]

[0101] Among them: the device and terminal types are defined as follows: those starting with 0 are downstream devices - existing network gateways (01), FTTR slave devices (02), industrial gateways (03); those starting with 1 are existing network terminals - cameras (11), access control (12), sensors (13), industrial computers (14), and other device and terminal types are reserved.

[0102] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0103] Based on the same inventive concept, the embodiment of the present application also provides an all-optical networking equipment control device for implementing the all-optical networking equipment control method involved above. The implementation scheme for solving the problem provided by the system is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more all-optical networking equipment control system embodiments provided below can refer to the limitations of the all-optical networking equipment control method above, and will not be repeated here.

[0104] In an exemplary embodiment, an all-optical networking device management and control system is provided, comprising: a management platform, a master device connected to the management platform in communication, a target device mounted under the master device, and a communication bus connected to the management platform, the master device, and the target device in communication; the communication bus comprises a main-level interface and a sub-level interface;

[0105] A management platform, for determining the location information of the target device in the network hierarchy architecture of the all-optical network if it is determined that the target device meets a preset legal condition based on a first publishing message of the target device and a second publishing message of the master device; the first publishing message is obtained based on a sub-level interface in a communication bus; and the second publishing message is obtained based on a main-level interface in the communication bus;

[0106] The management platform is also used to send target control strategies 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.

[0107] Furthermore, in the all-optical networking equipment management and control system, the sub-level interface includes a plurality of interfaces arranged in hierarchical order; the levels of each device included in the all-optical networking correspond to the levels corresponding to the interfaces of each level included in the communication bus; the target device is any device or multiple devices in the level corresponding to the sub-level interface; and the communication bus is used to connect the devices of each level included in the all-optical networking.

[0108] Based on the same inventive concept, the embodiment of the present application also provides an all-optical networking equipment control device for implementing the all-optical networking equipment control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more all-optical networking equipment control device embodiments provided below can refer to the limitations of the all-optical networking equipment control method above, and will not be repeated here.

[0109] In an exemplary embodiment, Figure 6 As shown, 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:

[0110] 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 if it is determined that the target device meets the preset legal condition based on the first release message of the target device and the second release message of the master device; the first release message is obtained based on the sub-level interface in the communication bus, and the second release message is obtained based on the main level interface in the communication bus;

[0111] The policy sending module 602 is used to send the target management and control policy 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.

[0112] Furthermore, the location determination module 601 is specifically used to: obtain a first publishing message published by the target device through a sub-level interface in the communication bus; the first publishing message includes a first IP address of the target device in the management channel on the WAN side; obtain a second publishing message published by the main device through a main-level interface in the communication bus; the second publishing message includes a second IP address of the main device in the management channel on the WAN side; if the first IP address is the same as the second IP address, it is determined that the target device meets the preset legal conditions.

[0113] Furthermore, the device corresponding to the main-level interface is the main device; the devices corresponding to the sub-level interface include other devices except the main device; the apparatus also includes an architecture determination module, which is specifically used to: obtain the IP address, port type and MAC information of the devices of each level included in the all-optical network on the LAN side through the main-level interface and sub-level interface included in the communication bus; determine the first subordinate relationship between the main device and each second-level device in the all-optical network according to the IP address and port type of the devices of each level on the LAN side, and the main device is the first-level device; determine the second subordinate relationship between the devices except the main device according to the MAC information of the devices except the main device; determine the network hierarchy architecture of the all-optical network according to the first subordinate relationship, the second subordinate relationship, and the main-level interface and sub-level interface included in the communication bus.

[0114] Furthermore, the device also includes a middleware deployment module, which is specifically used to: when it is detected that the control middleware is not deployed on the devices hanging in the all-optical network, obtain the environmental information corresponding to each device and determine that each device is a device to be controlled; if the environmental information meets the deployment conditions of the control middleware, then based on the device type of the device to be controlled, establish a communication connection between the device to be controlled and the sub-level interface of the communication bus; and deploy the control middleware to the device to be controlled through the sub-level interface corresponding to the device to be controlled.

[0115] Furthermore, in the device, the sub-level interface includes a plurality of interfaces arranged in hierarchical order; the levels of the devices included in the all-optical network correspond to the levels corresponding to the interfaces of the various levels included in the communication bus; the target device is any device or multiple devices in the level corresponding to the sub-level interface; and the communication bus is used to connect the devices of the various levels included in the all-optical network.

[0116] Each module in the above-mentioned all-optical networking equipment control device can be implemented in whole or in part by software, hardware and their combination. Each of the above-mentioned modules can be embedded in or independent of the processor in the communication device in the form of hardware, or can be stored in the memory in the communication device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0117] In an exemplary embodiment, a communication device is provided. The communication device may be a server, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The communication device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store message data published by the target device and the main device. The input / output interface of the communication device is used to exchange information between the processor and the external device. The communication interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for controlling all-optical networking equipment is implemented.

[0118] Those skilled in the art will understand that Figure 7The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0119] In an exemplary embodiment, a communication device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0120] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

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

[0122] 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, stored data, displayed data, 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 relevant data must comply with relevant regulations.

[0123] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium 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), magnetoresistive 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. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0124] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, 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.

[0125] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling all-optical networking equipment, characterized in that: Applied to a management platform, the method includes: Obtaining a first publishing message issued by a target device through a sub-level interface in a communication bus, and obtaining a second publishing message issued by a master device through a master-level interface in the communication bus; the first publishing message includes a first IP address of a management channel of the target device on the WAN side; the second publishing message includes a second IP address of a management channel of the master device on the WAN side; If the first IP address is the same as the second IP address, determining that the target device meets a preset legal condition, and determining the location information of the target device in the network hierarchy architecture of the all-optical network; Based on the communication bus and the location information of the target device in the network hierarchy architecture of the all-optical network, sending a target management and control policy to the target device; The device corresponding to the main-level interface is a main device; the devices corresponding to the sub-level interface include other devices except the main device; the method further includes: Obtaining IP addresses, port types and MAC information of devices at each level included in the all-optical network on the LAN side through the main-level interface and the sub-level interface included in the communication bus; Determine a first subordinate relationship between a master device and each second-level device in the all-optical network according to the IP address of each level of device on the LAN side and the port type, wherein the master device is a first-level device; Determine, according to MAC information of each device other than the master device, a second subordinate relationship between each device other than the master device; The network hierarchical architecture of the all-optical networking is determined according to the first subordinate relationship, the second subordinate relationship, and the main-level interface and the sub-level interface included in the communication bus.

2. The method according to claim 1, characterized in that The method further comprises: When it is detected that the control middleware is not deployed on the devices connected to the all-optical network, the environment information corresponding to each device is obtained, and each device is determined to be a device to be controlled; If the environmental information satisfies the deployment conditions of the control middleware, then based on the device type of the device to be controlled, a communication connection is established between the device to be controlled and the sub-level interface of the communication bus; The control middleware is deployed to the device to be controlled through the sub-level interface corresponding to the device to be controlled.

3. The method according to any one of claims 1 to 2, characterized in that: The sub-level interface includes a plurality of interfaces arranged in hierarchical order; the level of each device included in the all-optical network corresponds to the level corresponding to each level interface included in the communication bus; the target device is any one or more devices in the level corresponding to the sub-level interface; the communication bus is used to connect devices of each level included in the all-optical network.

4. An all-optical networking equipment management and control system, characterized in that: The all-optical networking equipment management and control system includes: a management platform, a main device connected to the management platform in communication, a target device mounted under the main device, and a communication bus connected to the management platform, the main device, and the target device in communication; the communication bus includes a main-level interface and a sub-level interface; the device corresponding to the main-level interface is the main device; the device corresponding to the sub-level interface includes other devices except the main device; The management platform is used to obtain a first publishing message published by a target device through a sub-level interface in a communication bus, and obtain a second publishing message published by a main device through a main-level interface in the communication bus; the first publishing message includes a first IP address of a management channel of the target device on the WAN side; the second publishing message includes a second IP address of a management channel of the main device on the WAN side; if the first IP address is the same as the second IP address, it is determined that the target device meets a preset legal condition, and the location information of the target device in the network hierarchical architecture of the all-optical network is determined; The management platform is further used to send a target management and control strategy 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; The management platform is also used to obtain the IP addresses, port types and MAC information of the devices at each level included in the all-optical network on the LAN side through the main-level interface and the sub-level interface included in the communication bus; determine the first subordinate relationship between the main device and each second-level device in the all-optical network according to the IP addresses and the port types of the devices at each level on the LAN side, wherein the main device is a first-level device; determine the second subordinate relationship between the devices other than the main device according to the MAC information of the devices other than the main device; determine the network hierarchical architecture of the all-optical network according to the first subordinate relationship, the second subordinate relationship, and the main-level interface and the sub-level interface included in the communication bus.

5. The system according to claim 4, characterized in that The sub-level interface includes a plurality of interfaces arranged in hierarchical order; the level of each device included in the all-optical network corresponds to the level corresponding to each level interface included in the communication bus; the target device is any one or more devices in the level corresponding to the sub-level interface; the communication bus is used to connect devices of each level included in the all-optical network.

6. An all-optical networking equipment control device, characterized in that: The device comprises: A location determination module is used to obtain a first publishing message published by a target device through a sub-level interface in a communication bus, and to obtain a second publishing message published by a master device through a main-level interface in the communication bus; the first publishing message includes a first IP address of a management channel of the target device on the WAN side; the second publishing message includes a second IP address of a management channel of the master device on the WAN side; if the first IP address is the same as the second IP address, it is determined that the target device meets a preset legal condition, and the location information of the target device in the network hierarchical architecture of the all-optical network is determined; A strategy sending module, configured to send a target management and control strategy 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; An architecture determination module is used to obtain the IP address, port type and MAC information of the devices of each level included in the all-optical network on the LAN side through the main-level interface and sub-level interface included in the communication bus; determine the first subordinate relationship between the main device and each second-level device in the all-optical network according to the IP address and the port type of the devices of each level on the LAN side, and the main device is a first-level device; determine the second subordinate relationship between the devices other than the main device according to the MAC information of the devices other than the main device; determine the network hierarchical architecture of the all-optical network according to the first subordinate relationship, the second subordinate relationship, and the main-level interface and sub-level interface included in the communication bus; the device corresponding to the main-level interface is the main device; the devices corresponding to the sub-level interface include the devices other than the main device.

7. The device according to claim 6, characterized in that The device also includes: A middleware deployment module is used to obtain environmental information corresponding to each device and determine that each device is a device to be controlled when it is detected that the control middleware is not deployed on the devices hanging in the all-optical network; if the environmental information meets 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; and the control middleware is deployed to the device to be controlled through the sub-level interface corresponding to the device to be controlled.

8. A communication device, comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

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

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Communication method, device, equipment and medium

    CN116578519A