Network device management method, system and apparatus
By deploying management applications and network device applications on the same processing chip and utilizing AI chips, the network device manages itself efficiently, addressing inefficiencies in existing systems and enhancing management capabilities.
Patent Information
- Application Number
- JP2024535888
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-03-04
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-03-04
AI Technical Summary
Existing network device management systems face inefficiencies and timeliness issues due to the large amount of data being processed by a centralized analyzer, leading to increased pressure and reduced management efficiency.
Implementing a management application and network device application on the same processing chip within a network device, allowing for direct data acquisition, processing, and management without relying on a third-party analyzer, utilizing virtual containers or modules for communication, and leveraging AI chips for advanced data processing.
Enhances network device management efficiency by utilizing the network device's own computing resources, reducing reliance on external analyzers, and optimizing data processing through AI algorithms, thereby improving management capabilities.
Smart Images

Figure 0007760063000001 
Figure 0007760063000002 
Figure 0007760063000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to the field of network communication technology, and more particularly to a network device management method, system and apparatus. [Background technology]
[0002] Network devices, including switches, routers, etc., generate various data and experience various faults during operation. Therefore, it is necessary to manage these network devices. Monitoring network devices by analyzing the data generated by them and troubleshooting network devices both fall within the scope of network device management.
[0003] In the prior art, network devices are managed by an analyzer. Specifically, the network devices send data to the analyzer, and the analyzer processes the received data to complete the network device management process, such as monitoring and troubleshooting the network devices. However, if an analyzer manages a large number of network devices, each network device must send data to the corresponding analyzer, which causes the analyzer to receive a large amount of data and places too much pressure on the analyzer to process the data, resulting in low efficiency of network device management and making it difficult to ensure the timeliness of network device management. Summary of the Invention [Problem to be solved by the invention]
[0004] The objective of the embodiments of the present invention is to provide a network device management method, system and apparatus for improving the efficiency of network device management. Specific technical solutions are as follows: [Means for solving the problem]
[0005] In a first aspect, an embodiment of the present invention provides a network device management method, the network device management method being applied to a management application configured in a network device, the management application being for managing network device applications, the network device applications being for realizing network communication functions of the network device, the network device applications and the management application running on the same processing chip in the network device, the network device management method comprising: sending a data acquisition command to the network device application such that the network device application responds to the data acquisition command by sending a data response to the management application, the data response including data requested in the data acquisition command; processing the data included in the data response to obtain a processing result; and implementing network device management based on the processing results.
[0006] In one embodiment of the present invention, the management application is located in a first container and the managed network device application is located in a second container; sending the data retrieval command to the managed network device application such that the network device application responds to the data retrieval command by sending a data response to the management application; sending the data retrieval command to the network device application through the virtual bridge based on an IP address of the second container, such that the network device application, in response to the data retrieval command, sends a data response to the management application through the virtual bridge between the first container and the second container based on an IP address of the first container.
[0007] In one embodiment of the invention, the management application is located on a first module and the managed network device application is located on a second module; sending the data retrieval command to the managed network device application such that the network device application responds to the data retrieval command by sending a data response to the management application; sending a data retrieval command to the network device application based on the local loopback address of the network device and a socket port number of the first module, such that in response to the data retrieval command, the network device application sends a data response to the management application based on the local loopback address of the network device and the socket port number of the first module.
[0008] In one embodiment of the present invention, when the management application is an artificial intelligence (AI) application and an AI chip is disposed in the network device, processing the data included in the data response to obtain a processing result includes: Sending the data included in the data response to the AI chip so that the AI chip processes the data; and obtaining the processing result fed back from the AI chip.
[0009] In one embodiment of the present invention, transmitting the data included in the data response to the AI chip so that the AI chip processes the data includes: Sending the data to a target sub-chip included in the AI chip based on the type of algorithm used in the management application so that the target sub-chip will process the data, the target sub-chip being a sub-chip that matches the type in the AI chip.
[0010] In a second aspect, an embodiment of the present invention provides a network device management method, the network device management method being applied to a network device application configured in a network device, the network device application being for realizing a network communication function of the network device, the network device management method comprising: receiving a data retrieval command sent from a management application, wherein the management application and the network device application execute on the same processing chip in the network device, and the management application is for managing the network device application; acquiring data requested in the data acquisition command; and sending the data response including the data to the management application so that the management application processes the data included in the data response and realizes network device management based on the processing result.
[0011] In one embodiment of the present invention, the management application is located in a first container and the network device application is located in a second container, and receiving a data acquisition command sent from the management application includes: receiving, from a management application, a data retrieval command sent via a virtual bridge between the first container and the second container based on an IP address of the second container; sending a data response to the management application that includes the data; Sending a data response including the data to the management application via the virtual bridge based on an IP address of the first container.
[0012] In one embodiment of the present invention, the management application is located on a first module and the network device application is located on a second module, and receiving a data acquisition command sent from the management application includes: receiving a data acquisition command from a management application, the data acquisition command being sent based on a local loopback address of the network device and a socket port number of the second module; sending a data response to the management application that includes the data; and sending a data response including the data to the management application based on the local loopback address and a socket port number of the first module.
[0013] In a third aspect, an embodiment of the present invention provides a network device management system, the system including a management application and a network device application executing on the same processing chip in a network device, the management application for managing the network device application, and the network device application for implementing network communication functions of the network device; the management application sends a data retrieval command to the network device application; The network device application acquires the data requested in the data acquisition command and sends a data response including the data to the management application; The management application processes the data included in the data response, obtains a processing result, and realizes network device management based on the processing result.
[0014] In one embodiment of the present invention, the management application is located in a first container and the managed network device application is located in a second container; the management application sends a data retrieval command to the network device application via a virtual bridge between the first container and the second container based on an IP address of the second container; The network device application sends a data response including the data to the management application via the virtual bridge based on the IP address of the first container.
[0015] In one embodiment of the invention, the management application is located on a first module and the managed network device application is located on a second module; the management application sends a data acquisition command to the network device application based on a local loopback address of the network device and a socket port number of the second module; The network device application sends a data response including the data to the management application based on the local loopback address and the first module's socket port number.
[0016] In one embodiment of the present invention, the management application is an artificial intelligence (AI) application, and if an AI chip is installed in the network device, the management application: Sending the data included in the data response to the AI chip so that the AI chip processes the data; The processing results fed back from the AI chip are obtained.
[0017] In one embodiment of the present invention, the management application transmits the data to the target sub-chip included in the AI chip based on the type of algorithm used in the management application so that the target sub-chip processes the data; The target sub-chip is a sub-chip in the AI chip that matches the type.
[0018] In a fourth aspect, an embodiment of the present invention provides a network device management apparatus, the network device management apparatus being applied to a management application configured in a network device, the management application being for managing network device applications, the network device applications being for realizing network communication functions of the network device, the network device applications and the management application running on the same processing chip in the network device, the network device management apparatus comprising: a command sending module that sends a data acquisition command to the network device application such that the network device application responds to the data acquisition command and sends a data response to the management application, the data response including data requested in the data acquisition command; and a data processing module that processes data included in the data response and obtains a processing result; and a network device management module that realizes network device management based on the processing result.
[0019] In a fifth aspect, an embodiment of the present invention provides a network device management apparatus, the network device management apparatus being applied to a network device application configured in a network device, the network device application being for realizing a network communication function of the network device, the network device management apparatus comprising: a command receiving module that receives a data acquisition command sent from a management application, the management application and the network device application executing on the same processing chip in the network device, and the management application for managing the network device application; a data acquisition module that acquires data requested in the data acquisition command; and a response sending module that sends the data response including the data to the management application so that the management application processes the data included in the data response and realizes network device management based on the processing result. [Effects of the Invention]
[0020] In an embodiment of the present invention, a management application deployed in a network device can send a data acquisition command to a network device application, where the network device application and the management application run on the same processing chip in the network device. The network device application responds to the data acquisition command by sending a data response to the management application, the data response including data requested in the data acquisition command. After obtaining the requested data, the management application can process the data to obtain a processing result, and further manage the network device application based on the processing result.
[0021] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management. [Brief explanation of the drawings]
[0022] In order to more clearly explain the embodiments of the present invention and the technical solutions of the prior art, the following will briefly describe the drawings necessary for the embodiments and the prior art. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings based on these drawings.
[0023] [Figure 1] FIG. 1 is a schematic flowchart of a first type of network device management method provided by an embodiment of the present invention. [Figure 2] FIG. 2 is a schematic diagram of the connection relationship between containers provided by an embodiment of the present invention. [Figure 3] FIG. 3 is a schematic flowchart of a second type of network device management method provided by an embodiment of the present invention. [Figure 4] FIG. 4 is a schematic flowchart of a third type of network device management method provided by an embodiment of the present invention. [Figure 5] FIG. 5 is a schematic diagram of a hierarchical structure of a network device provided by an embodiment of the present invention. [Figure 6] FIG. 6 is a schematic flowchart of a fourth type of network device management method provided by an embodiment of the present invention. [Figure 7] FIG. 7 is a schematic flowchart of a fifth type of network device management method provided by an embodiment of the present invention. [Figure 8] FIG. 8 is a schematic flowchart of a sixth type of network device management method provided by an embodiment of the present invention. [Figure 9] FIG. 9 is a schematic diagram of a network device management apparatus provided by an embodiment of the present invention. [Figure 10] FIG. 10 is a schematic diagram of a network device management apparatus provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0024] In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below by giving examples with reference to the drawings. Obviously, the described examples are only some examples of the present invention, but not all examples. All other examples that those skilled in the art can obtain based on the examples in the present invention belong to the protection scope of the present invention.
[0025] To solve the problem of low efficiency of network device management in the prior art, embodiments of the present invention provide a method, system and apparatus for managing network devices.
[0026] An embodiment of the present invention provides a network device management method, the network device management method being applied to a management application deployed on a network device, the management application being for managing a network device application, the network device application being for realizing a network communication function of the network device, the network device application and the management application running on the same processing chip in the network device, the network device management method comprising: sending a data acquisition command to the network device application such that the network device application responds to the data acquisition command by sending a data response to the management application, the data response including data requested in the data acquisition command; processing the data included in the data response to obtain a processing result; and implementing network device management based on the processing results.
[0027] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management.
[0028] Please refer to Fig. 1, which is a schematic flowchart of a first type of network device management method provided by an embodiment of the present invention. The network device management method is applied to a management application deployed on a network device, the management application is for managing network device applications, the network device applications are for realizing network communication functions of the network device, the network device applications and the management application run on the same processing chip in the network device, and the network device management method includes the following steps S101 to S103.
[0029] Here, the network device may be a switch, a router, or the like. The network device includes a processing chip that can execute applications and perform data processing. In an embodiment of the present invention, both the management application and the network device application are executed on the same processing chip, such as a CPU (Central Processing Unit), an FPGA (Field Programmable Gate Array), a DSP (Digital Signal Processing) chip, or a switching chip.
[0030] In S101, a data acquisition command is sent to the network device application so that the network device application responds to the data acquisition command and sends a data response to the management application. Here, the data response includes the data requested in the data acquisition command.
[0031] Specifically, the network device application may be any application executed on the network device. For example, the network device application may be for implementing functions such as message transfer of the network device. The management application obtains different data from the network device application by sending different data obtainment commands to the network device application based on the request. The data may be generated during the execution of the network device application and may indicate the execution status of the network device application. In the embodiment of the present invention, there is no limitation on the data requested in the data obtainment commands.
[0032] For example, if the management application is intended to monitor whether a network device application is in a fault state, the management application can obtain the execution time of the network device application, the corresponding thread, the amount of data being processed, etc. by sending a data acquisition command to the network device application, thereby realizing fault monitoring of the network device application.
[0033] The management application and the managed network device application located on the processing chip communicate via a command-response architecture.
[0034] Here, the management application can send commands to the network device application based on NETCONF (Network Configuration Protocol), and the response architecture can send responses to the management application based on the RPC (Remote Procedure Call) protocol, thereby forming a NETCONF-RPC architecture between the management application and the network device application.
[0035] In S102, the data included in the data response is processed to obtain the processing result.
[0036] Specifically, the management application can perform corresponding processing on the data based on the corresponding management function. Here, the management application can be packaged with multiple different codes to realize different management functions for different network devices. When the management application is installed on different network devices, different parameters can be set in the configuration file of the management application to adapt the management application to different network devices.
[0037] For example, when the management application processes the data to determine whether the network device application has failed, the processing result may be a failure determination result, or when it is determined that the network device application has failed, it may be a failure adjustment parameter for eliminating the failure of the network device application, etc.
[0038] Alternatively, when the management application processes the data to monitor the execution status of the network device application, such as the status of data processing speed, the status of data flow rate, etc., the processing result may be a monitoring result.
[0039] In S103, network device management is realized based on the processing result.
[0040] Specifically, the management application records the processing result in a cache, so that the user can read the processing result later to manage the network device application.
[0041] Furthermore, when the network device management process relates to adjusting a network device application, the management application realizes network device management by sending the management command, including the processing result, to the network device application so that the network device application adjusts itself in response to the management command.
[0042] Specifically, the network device application may stop or pause execution after receiving the management command. For example, if the processing result indicates that the network device application has failed, the network device application may stop or pause execution after receiving the management command.
[0043] Alternatively, the network device application may adjust its own execution parameters after receiving the management command, thereby adjusting its own execution state and realizing the network device management process. In this case, the processing result is the execution parameters that are the adjustment targets of the network device application. For example, the execution parameters may be a data processing speed, an application interface parameter, etc.
[0044] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management.
[0045] In one embodiment of the present invention, the management application is located in a first container, and the managed network device application is located in a second container. The first container and the second container are virtual environments for executing the management application and the network device application, respectively. The operating systems located in the first container and the second container can be different from each other, thereby allowing the management application and the network device application to run on different operating systems.
[0046] The first container and the second container are assigned different IP addresses and socket port numbers, respectively. Between the first container and the second container, a process of transferring data acquisition commands and data responses between the management application in the first container and the network device application in the second container can be realized by calling a socket in the abstraction layer based on NETCONF and RPC in the application layer using the IP address and socket port number, thereby realizing IPC (Inter-Process Communication) between the management application and the network device application.
[0047] Please refer to FIG. 2, which is a schematic diagram of the connection relationship between containers provided by an embodiment of the present invention.
[0048] 2, a management application is placed inside the first container, and network device application 1 to network device application n are placed in second container 1 to second container n, respectively. The first container and each of the second containers are connected to the virtual bridge docker0. After each container is connected to docker0, each is assigned an IP address. For example, the IP address of the first container is 172.17.0.2, the IP address of second container 1 is 172.17.0.3, the IP address of second container 2 is 172.17.0.4, etc., and the IP address of docker0 is 172.17.0.1 / 16. In addition, different socket port numbers are assigned to the first container, second container 1, and second container 2, and communication between the containers can be performed based on each other's IP addresses and each other's socket port numbers.
[0049] Referring to Fig. 3, Fig. 3 is a schematic flowchart of a second type of network device management method provided by an embodiment of the present invention. Based on the first container and the second container, compared with the embodiment shown in Fig. 1, step S101 can be realized by the following step S101A:
[0050] In S101A, the data acquisition command is sent to the network device application via the virtual bridge based on the IP address of the second container, such that the network device application responds to the data acquisition command and sends a data response to the management application via the virtual bridge between the first container and the second container based on the IP address of the first container.
[0051] Specifically, the management application can send a data acquisition command to the second container using the IP address of the second container in which the network device application is located as the destination address and the IP address of the first container in which the management application is located as the source address, which is equivalent to sending the data acquisition command to the network device application located in the second container.
[0052] In response to the data acquisition command, the network device application can conversely send a data response to the first container, using the IP address of the first container in which the management application is located as the destination address and the IP address of the second container in which the network device application is located as the source address, which is equivalent to sending the data response to the management application located in the first container.
[0053] As can be seen from the above, the management application and the network device application are respectively placed in the first container and the second container, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the IP addresses of the first container and the second container, thereby realizing the network device management process.
[0054] In another embodiment of the present invention, the management application is located in a first module and the managed network device application is located in a second module. Unlike the container, the management application and the network device application are located in modules, which corresponds to the management application and the network device application being software modules or components themselves. The management application and the network device application run on the same operating system.
[0055] The first module and the second module are each assigned a different socket port number. Between the first module and the second module, a process of transferring data acquisition commands and data responses between the management application in the first module and the network device application in the second module can be realized by calling the abstraction layer socket based on NETCONF and RPC in the application layer using the assigned socket port number and the local loopback address of the network device. IPC between the management application and the network device application is realized.
[0056] 4, which is a schematic flowchart of a third network device management method according to an embodiment of the present invention. Compared with the embodiment shown in FIG. 1, step S101 can be implemented by the following step S101B:
[0057] In S101B, a data acquisition command is sent to the network device application based on the local loopback address of the network device and the socket port number of the first module, so that the network device application responds to the data acquisition command by sending a data response to the management application based on the local loopback address of the network device and the socket port number of the first module.
[0058] Specifically, the management application and the network device application are located in a first module and a second module, respectively, and run as separate processes, whereby the management application and the network device application transmit data acquisition commands and data responses to each other by encapsulating the data acquisition commands and data responses in a predefined IPC format in the manner of IPC.
[0059] Here, different socket port numbers can be configured for the first module and the second module, respectively, so that the management application and the network device application can communicate with each other based on the local loopback address and the socket port number.
[0060] As can be seen from the above, the management application and the network device application are respectively located in the first module and the second module, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the local loopback addresses and the socket port numbers of the first module and the second module, thereby realizing the network device management process.
[0061] In another embodiment of the present invention, the management application is an AI (Artificial Intelligence) application, and an AI chip is disposed in the network device.
[0062] Here, the AI application is an application for implementing network device management using a machine learning algorithm, and the machine learning algorithm may be, for example, a deep learning algorithm or a neural network model.
[0063] An AI chip is a system consisting of multiple different types of sub-chips, and is used to run AI applications, enabling high-speed, high-density calculations of big data. For example, an AI chip may include sub-chips such as a CPU, SDRAM (Synchronous Dynamic Random-Access Memory), and NP (Neural Networking Processor). The SDRAM is DDR SDRAM (Double Data Rate Synchronous Dynamic Random-Access Memory).
[0064] Please refer to FIG. 5, which is a schematic diagram of a network device hierarchical structure provided by an embodiment of the present invention.
[0065] As shown in the figure, the user layer of the network device includes a management application and a network device application. The hardware layer includes a processing chip and an AI chip. The dashed frame in the figure indicates that the management application and network device application run on the processing chip. The management application sends data acquisition commands to the network device application based on NETCONF, and the network device application feeds back data responses to the management device based on RPC. The arrow between the management application and the AI chip indicates that if the management application is an AI application, communication between the management application and the AI chip is possible via the RPC IO (Input / Output) interface provided by the AI chip. The AI application can process large amounts of data quickly using the computing power of the AI chip.
[0066] In the above case, please refer to Fig. 6, which is a schematic flowchart of a fourth type of network device management method provided by an embodiment of the present invention. Compared with the embodiment shown in Fig. 1, step S102 can be realized by the following steps S102A to S102B.
[0067] In S102A, the data included in the data response is sent to the AI chip so that the AI chip processes the data.
[0068] Specifically, the management application can send the data to the AI chip based on the RPC IO provided by the AI chip, allowing the AI chip to process the data. After data processing is completed, the AI chip also uses the RPC IO to feed back the processing result to the management application, allowing the management application to obtain the processing result.
[0069] In one embodiment of the present invention, the AI chip is a system consisting of multiple different sub-chips, each with different functions and adapted to execute different algorithms. To fully utilize the data processing capabilities of the AI chip, step S102A can be implemented by the following step A:
[0070] In step A, the data is sent to a target sub-chip included in the AI chip so that the target sub-chip processes the data based on the type of algorithm used in the management application. Here, the target sub-chip is a sub-chip that matches the type of the algorithm in the AI chip.
[0071] Specifically, the NP chip included in the AI chip is used to realize the data processing process of deep learning algorithms, and the CPU chip included in the AI chip is used to realize the data processing process of other machine learning algorithms such as the Holt-Winters algorithm, random forest, and skyline algorithm.
[0072] Thus, if the algorithm applied to the management application is a deep learning algorithm, the target sub-chip is an NP chip, and if the algorithm applied to the management application is a machine learning algorithm other than a deep learning algorithm, the target sub-chip is a CPU chip.
[0073] In S102B, the processing result fed back from the AI chip is obtained.
[0074] Here, the AI chip sends the processing result to the management application via RPC IO, and the management application obtains the processing result fed back from the AI chip.
[0075] As can be seen from the above, when the management application is an AI application and an AI chip is installed in the network device, the management application sends data to the AI chip, which has strong computing power and is adapted to data processing using AI algorithms, so that the data processing process can be realized by the AI chip, rather than being directly realized by the processing chip on which the management application is installed, thereby saving the data processing resources of the processing chip on which the management application is installed and fully utilizing the data processing resources of the AI chip, thereby achieving a highly efficient network device management process.
[0076] Corresponding to the network device management method applied to the management application, an embodiment of the present invention further provides a network device management method applied to a managed network device application.
[0077] Please refer to FIG. 7, which is a schematic flowchart of a fifth type of network device management method provided by an embodiment of the present invention, and the network device management method includes the following steps S701 to S703.
[0078] In S701, a data acquisition command sent from a management application is received. wherein the management application and the network device application run on the same processing chip in the network device, and the management application manages the network device application.
[0079] In S702, the data requested by the data acquisition command is acquired.
[0080] In S703, the data response including the data is sent to the management application, so that the management application processes the data included in the data response and realizes network device management based on the processing result.
[0081] Specifically, steps S701 to S703 are similar to steps S101 to S103 shown in FIG. 1, and specific embodiments can refer to the content described above, and detailed descriptions are omitted here.
[0082] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management.
[0083] In one embodiment of the present invention, step S701 can be realized by the following step B.
[0084] In step B, a data acquisition command is received from a management application, the data acquisition command being sent via a virtual bridge between the first container and a second container based on the IP address of the second container.
[0085] Note that in step C below, a data response can be sent to the management application.
[0086] In step C, a data response including the data is sent to the management application via the virtual bridge based on the IP address of the first container.
[0087] Specifically, steps B to C are similar to step S101A shown in FIG. 2, and specific examples can refer to the above description, and detailed descriptions are omitted here.
[0088] As can be seen from the above, the management application and the network device application are respectively placed in the first container and the second container, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the IP addresses of the first container and the second container, thereby realizing the network device management process.
[0089] In one embodiment of the present invention, step S701 can be realized by the following step D.
[0090] In step D, the management application receives a data acquisition command sent based on the local loopback address of the network device and the socket port number of the second module.
[0091] Note that in step E below, a data response may be sent to the management application.
[0092] In step E, a data response including the data is sent to the management application based on the local loopback address and the socket port number of the first module.
[0093] Specifically, steps D to E are similar to step S101B shown in FIG. 3, and specific examples can refer to the content described above, and detailed descriptions are omitted here.
[0094] As can be seen from the above, the management application and the network device application are respectively located in the first module and the second module, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the local loopback addresses and the socket port numbers of the first module and the second module, thereby realizing the network device management process.
[0095] Corresponding to the network device management method applied to the management application and the network device management method applied to the network device application, an embodiment of the present invention further provides a network device management system, which includes a management application and a network device application running on the same processing chip in a network device, the management application for managing the network device application, and the network device application for realizing a network communication function of the network device.
[0096] Please refer to FIG. 8, which is a schematic flowchart of a sixth type of network device management method provided by an embodiment of the present invention, and the network device management method includes the following steps S801 to S804.
[0097] In S801, the management application sends a data acquisition command to the network device application.
[0098] In S802, the network device application obtains the data requested in the data obtainment command.
[0099] In S803, the network device application sends a data response including the data to the management application.
[0100] In S804, the management application processes the data included in the data response, obtains a processing result, and realizes network device management based on the processing result.
[0101] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management.
[0102] In one embodiment of the invention, the management application is located in a first container and the managed network device application is located in a second container.
[0103] The step S801 can be realized by the following step F.
[0104] In step F, the management application sends a data retrieval command to the network device application via a virtual bridge between the first container and the second container based on the IP address of the second container.
[0105] The step S803 can be realized by the following step G.
[0106] In step G, the network device application sends a data response including the data to the management application via the virtual bridge based on the IP address of the first container.
[0107] As can be seen from the above, the management application and the network device application are located in the first container and the second container, respectively, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the IP addresses of the first container and the second container, thereby realizing the network device management process.
[0108] In one embodiment of the invention, the management application is located in a first module and the managed network device application is located in a second module.
[0109] The step S801 can be realized by the following step H.
[0110] In step H, the management application sends a data retrieval command to the network device application based on the local loopback address of the network device and the socket port number of the second module.
[0111] The step S803 can be realized by the following step I.
[0112] In step I, the network device application sends a data response including the data to the management application based on the local loopback address and the socket port number of the first module.
[0113] As can be seen from the above, the management application and the network device application are respectively located in the first module and the second module, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the local loopback addresses and the socket port numbers of the first module and the second module, thereby realizing the network device management process.
[0114] In one embodiment of the present invention, if the management application is an AI application and an AI chip is installed in the network device, step S804 can be realized by the following steps J to K.
[0115] In step J, the management application sends the data included in the data response to the AI chip so that the AI chip processes the data.
[0116] In step K, the processing result fed back from the AI chip is obtained, and network device management is realized based on the processing result.
[0117] As can be seen from the above, when the management application is an AI application and an AI chip is installed in the network device, the management application sends data to the AI chip, which has strong computing power and is adapted to data processing using AI algorithms, so that the data processing process can be realized by the AI chip, rather than being directly realized by the processing chip on which the management application is installed, thereby saving the data processing resources of the processing chip on which the management application is installed and fully utilizing the data processing resources of the AI chip, thereby achieving a highly efficient network device management process.
[0118] In one embodiment of the present invention, the step J can be realized by the following step J1.
[0119] In step J1, the management application transmits the data to the target sub-chip included in the AI chip, based on the type of algorithm used in the management application, so that the target sub-chip processes the data. Here, the target sub-chip is a sub-chip in the AI chip that matches the type.
[0120] Corresponding to the network device management method applied to the management application, an embodiment of the present invention further provides a network device management apparatus applied to the management application.
[0121] 9, which is a schematic diagram of a network device management apparatus provided by an embodiment of the present invention. The network device management apparatus is applied to a management application deployed in a network device, the management application is for managing a network device application, and the network device application is for realizing a network communication function of the network device, and the network device application and the management application run on the same processing chip in the network device, and the network device management apparatus: a command sending module 901 that sends a data acquisition command to the network device application so that the network device application responds to the data acquisition command and sends a data response to the management application, the data response including data requested in the data acquisition command; a data processing module 902 for processing data included in the data response to obtain a processing result; and a network device management module 903 that implements network device management based on the processing results.
[0122] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management.
[0123] In one embodiment of the present invention, the management application is located in a first container, and the managed network device application is located in a second container, and the command sending module 901: The data retrieval command is sent to the network device application through the virtual bridge based on the IP address of the second container, such that the network device application responds to the data retrieval command by sending a data response to the management application through the virtual bridge between the first container and the second container based on the IP address of the first container.
[0124] As can be seen from the above, the management application and the network device application are respectively placed in the first container and the second container, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the IP addresses of the first container and the second container, thereby realizing the network device management process.
[0125] In one embodiment of the present invention, the management application is located in a first module, and the managed network device application is located in a second module, and the command sending module 901 is A data retrieval command is sent to the network device application based on the local loopback address of the network device and the socket port number of the first module, such that the network device application, in response to the data retrieval command, sends a data response to the management application based on the local loopback address of the network device and the socket port number of the first module.
[0126] As can be seen from the above, the management application and the network device application are respectively located in the first module and the second module, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the local loopback addresses and the socket port numbers of the first module and the second module, thereby realizing the network device management process.
[0127] In one embodiment of the present invention, if the management application is an artificial intelligence (AI) application and an AI chip is installed in the network device, the data processing module 902: a data transmission submodule that transmits the data included in the data response to the AI chip so that the AI chip processes the data; and a data acquisition sub-module for acquiring the processing results fed back from the AI chip.
[0128] As can be seen from the above, when the management application is an AI application and an AI chip is installed in the network device, the management application sends data to the AI chip, which has strong computing power and is adapted to data processing using AI algorithms, so that the data processing process can be realized by the AI chip, rather than being directly realized by the processing chip on which the management application is installed, thereby saving the data processing resources of the processing chip on which the management application is installed and fully utilizing the data processing resources of the AI chip, thereby achieving a highly efficient network device management process.
[0129] In one embodiment of the present invention, the data transmission sub-module: The data is sent to a target subchip included in the AI chip based on the type of algorithm used in the management application so that the target subchip can process the data, and the target subchip is a subchip in the AI chip that matches the type.
[0130] Corresponding to the network device management method applied to the network device application, an embodiment of the present invention further provides a network device management apparatus applied to the network device application.
[0131] 10, which is a schematic diagram of a network device management apparatus provided by an embodiment of the present invention. The network device management apparatus is applied to a network device application arranged in a network device, and the network device application realizes the network communication function of the network device. The network device management apparatus: a command receiving module 1001 for receiving a data acquisition command sent from a management application, wherein the management application and the network device application run on the same processing chip in the network device, and the management application is for managing the network device application; a data acquisition module 1002 for acquiring data requested in the data acquisition command; and a response sending module 1003 for sending the data response including the data to the management application so that the management application processes the data included in the data response and realizes network device management based on the processing result.
[0132] As can be seen from the above, the management application for managing the network device applications and the network device applications are both deployed on the same processing chip in the network device. Because the execution of the network device is realized by the deployed network device applications, managing the network device applications deployed on the network device is equivalent to managing the network device. That is, the network device of the embodiment of the present invention does not need to be managed by a third-party analyzer, but can achieve management of itself, making full use of the network device's own computing resources, thereby improving the efficiency of network device management.
[0133] In one embodiment of the present invention, the management application is located in a first container, the network device application is located in a second container, and the command receiving module 1001 receiving, from a management application, a data retrieval command sent via a virtual bridge between the first container and a second container based on an IP address of the second container; The response sending module 1003 A data response including the data is sent to the management application via the virtual bridge based on the IP address of the first container, so that the management application processes the data included in the data response and realizes network device management based on the processing result.
[0134] As can be seen from the above, the management application and the network device application are located in the first container and the second container, respectively, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the IP addresses of the first container and the second container, thereby realizing the network device management process.
[0135] In one embodiment of the present invention, the management application is located in a first module, the network device application is located in a second module, and the command receiving module 1001 receiving a data acquisition command sent by a management application based on the local loopback address of the network device and the socket port number of the second module; The response sending module 1003 A data response including the data is sent to the management application based on the local loopback address and the socket port number of the first module, so that the management application processes the data included in the data response and realizes network device management based on the processing result.
[0136] As can be seen from the above, the management application and the network device application are respectively located in the first module and the second module, and the management application and the network device application can realize the transfer of data acquisition commands and data responses between each other through the local loopback addresses and the socket port numbers of the first module and the second module, thereby realizing the network device management process.
[0137] It should be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another and do not necessarily require or imply the existence of any actual relationship or order between those entities or operations. Furthermore, the terms "comprise," "comprises," or any other variation thereof imply a non-exclusive inclusion, such that a process, method, article, or facility comprising a set of elements includes not only those elements but also other elements not expressly listed or inherent in such process, method, article, or facility. Absent further limitations, an element qualified by the term "comprises a ..." does not exclude the presence of other identical elements in a process, method, article, or facility that includes the element.
[0138] The embodiments in this specification are described in a related manner, and common parts between the embodiments may be referred to, and differences between the embodiments are mainly described. In particular, since the system and device embodiments are basically similar to the method embodiments, the explanation is relatively simple, and for related points, it is sufficient to refer to the partial explanation of the method embodiments.
[0139] The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall fall within the scope of protection of the present invention.
Claims
1. 1. A network device management method applied to a management application located on a network device, the management application being for managing a network device application, the network device application being for realizing a network communication function of the network device, the network device application and the management application running on a same processing chip in the network device, the network device management method comprising: sending a data acquisition command to the network device application such that the network device application responds to the data acquisition command by sending a data response to the management application, the data response including data requested in the data acquisition command; processing the data included in the data response to obtain a processing result; and implementing network device management based on the processing result; the management application is located in a first container and the managed network device application is located in a second container; sending the data retrieval command to the managed network device application such that the network device application sends a data response to the data retrieval command to the management application; sending the data retrieval command to the network device application through the virtual bridge based on an IP address of the second container, such that the network device application, in response to the data retrieval command, sends a data response to the management application through the virtual bridge between the first container and the second container based on an IP address of the first container. A network device management method comprising:
2. A network device management method applied to a management application disposed on a network device, wherein the management application is for managing a network device application, the network device application is for realizing a network communication function of the network device, the network device application and the management application run on the same processing chip in the network device, and the network device management method comprises: sending a data acquisition command to the network device application such that the network device application responds to the data acquisition command by sending a data response to the management application, the data response including data requested in the data acquisition command; processing the data included in the data response to obtain a processing result; and implementing network device management based on the processing result; the management application is located on a first module and the managed network device application is located on a second module, and sending the data retrieval command to the managed network device application such that the network device application sends a data response to the management application in response to the data retrieval command, sending a data retrieval command to the network device application based on the local loopback address of the network device and a socket port number of the first module, such that the network device application, in response to the data retrieval command, sends a data response to the management application based on the local loopback address of the network device and the socket port number of the first module; A network device management method comprising:
3. When the management application is an artificial intelligence (AI) application and an AI chip is installed in the network device, processing the data included in the data response to obtain a processing result is performed. Sending the data included in the data response to the AI chip so that the AI chip processes the data; Obtaining a processing result fed back from the AI chip; 3. The network device management method according to claim 1, wherein the network device management method is a method for managing a network device.
4. transmitting the data included in the data response to the AI chip so that the AI chip processes the data; transmitting the data to a target sub-chip included in the AI chip based on a type of algorithm used in the management application so that the target sub-chip processes the data, the target sub-chip being a sub-chip that matches the type in the AI chip; 4. The network device management method according to claim 3.
5. 1. A network device management method applied to a network device application disposed in a network device, the network device application being for realizing a network communication function of the network device, the network device management method comprising: receiving a data retrieval command sent from a management application, wherein the management application and the network device application execute on the same processing chip in the network device, and the management application is for managing the network device application; acquiring data requested in the data acquisition command; sending the data response including the data to the management application so that the management application processes the data included in the data response and realizes network device management based on a processing result; The management application is located in a first container, and the network device application is located in a second container, and receiving a data acquisition command sent from the management application includes: receiving, from a management application, a data retrieval command sent via a virtual bridge between the first container and the second container based on an IP address of the second container; sending a data response to the management application that includes the data; sending a data response including the data to the management application via the virtual bridge based on an IP address of the first container. A network device management method comprising:
6. A network device management method applied to a network device application arranged on a network device, the network device application being for realizing a network communication function of the network device, the network device management method comprising: receiving a data retrieval command sent from a management application, wherein the management application and the network device application execute on the same processing chip in the network device, and the management application is for managing the network device application; acquiring data requested in the data acquisition command; sending the data response including the data to the management application so that the management application processes the data included in the data response and realizes network device management based on a processing result; The management application is located on a first module, and the network device application is located on a second module, and receiving a data acquisition command sent from the management application includes: receiving a data acquisition command from a management application, the data acquisition command being sent based on a local loopback address of the network device and a socket port number of the second module; sending a data response to the management application that includes the data; sending a data response including the data to the management application based on the local loopback address and a socket port number of the first module; A network device management method comprising:
7. A network device management system including a management application and a network device application executing on the same processing chip in a network device, the management application for managing the network device application, and the network device application for implementing network communication functions of the network device; the management application sends a data retrieval command to the network device application; The network device application acquires the data requested in the data acquisition command and sends a data response including the data to the management application; the management application processes the data included in the data response to obtain a processing result, and realizes network device management based on the processing result; the management application is located in a first container and the managed network device application is located in a second container; the management application sends a data retrieval command to the network device application via a virtual bridge between the first container and the second container based on an IP address of the second container; the network device application sends a data response including the data to the management application via the virtual bridge based on the IP address of the first container; A network device management system comprising:
8. A network device management system, comprising: a management application and a network device application running on the same processing chip in a network device, the management application for managing the network device application, and the network device application for implementing network communication functions of the network device; the management application sends a data retrieval command to the network device application; The network device application acquires the data requested in the data acquisition command and sends a data response including the data to the management application; the management application processes the data included in the data response to obtain a processing result, and realizes network device management based on the processing result; the management application is located on a first module and the managed network device application is located on a second module; The management application sends a data acquisition command to the network device application based on a local loopback address of the network device and a socket port number of the second module; the network device application sends a data response including the data to the management application based on the local loopback address and the socket port number of the first module; A network device management system comprising:
9. When the management application is an artificial intelligence (AI) application and an AI chip is installed in the network device, the management application: Sending the data included in the data response to the AI chip so that the AI chip processes the data; Obtaining the processing results fed back from the AI chip; 9. The network device management system according to claim 7, wherein the network device management system is a management system for managing a network device.
10. The management application transmits the data to the target sub-chip included in the AI chip based on the type of algorithm used in the management application so that the target sub-chip processes the data; The target sub-chip is a sub-chip that matches the type in the AI chip.
10. The network device management system according to claim 9,
11. A network device management apparatus applied to a management application disposed on a network device, the management application being for managing a network device application, the network device application being for realizing a network communication function of the network device, the network device application and the management application running on the same processing chip in the network device, the network device management apparatus comprising: a command sending module that sends a data acquisition command to the network device application such that the network device application responds to the data acquisition command and sends a data response to the management application, the data response including data requested in the data acquisition command; and a data processing module that processes data included in the data response and obtains a processing result; a network device management module that realizes network device management based on the processing result; the management application is located in a first container and the managed network device application is located in a second container; The command sending module: sending the data retrieval command to the network device application through the virtual bridge based on the IP address of the second container, such that the network device application, in response to the data retrieval command, sends a data response to the management application through the virtual bridge between the first container and the second container based on the IP address of the first container. A network device management apparatus comprising:
12. A network device management apparatus applied to a network device application arranged on a network device, the network device application for realizing a network communication function of the network device, the network device management apparatus comprising: a command receiving module that receives a data acquisition command sent from a management application, the management application and the network device application executing on the same processing chip in the network device, and the management application for managing the network device application; a data acquisition module that acquires data requested in the data acquisition command; a response sending module configured to send the data response including the data to the management application, so that the management application processes the data included in the data response and realizes network device management based on a processing result; the management application is located in a first container and the network device application is located in a second container; The command receiving module: receiving a data retrieval command from a management application, the data retrieval command being sent via a virtual bridge between the first container and a second container based on an IP address of the second container; The response sending module: sending a data response including the data to the management application via the virtual bridge based on the IP address of the first container, so that the management application processes the data included in the data response and realizes network device management based on the processing result; A network device management apparatus comprising:
Citation Information
Patent Citations
Network equipment management method and system and network equipment
CN113132127A
Packet processing apparatus, and network system
JP2011114391A
Work load estimation method and work load estimation device
JP2017152956A
Fiber access apparatus and method for providing internet service over ftth
KR1020210051917A
Network Management Interface
US20200374334A1