Network device management method, system and apparatus

By executing management applications and network device applications on the same chip, network devices can manage themselves efficiently, leveraging their own resources and potentially utilizing AI for enhanced processing, thus overcoming inefficiencies in existing systems.

JP2024544294AActive Publication Date: 2024-11-28NEW H3C TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024535888
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2022-03-04
Publication Date
2024-11-28
Estimated Expiration
2042-03-04

AI Technical Summary

Technical Problem

Existing network device management systems face inefficiencies due to the high data processing load on analyzers when managing multiple network devices, leading to reduced management validity.

Method used

Implementing a management application and network device application on the same processing chip within a network device, enabling data retrieval and processing commands to be handled locally, with optional integration of an AI chip for advanced data processing.

Benefits of technology

This approach allows for efficient network device management utilizing the device's own computing resources, reducing the need for third-party analyzers and enhancing management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024544294000001_ABST
    Figure 2024544294000001_ABST
Patent Text Reader

Abstract

The present invention relates to a network device management method, system and apparatus applied to a management application deployed in a network device, which relates to the field of network device technology, the management application is for managing the network device application, and the network device application is for realizing the network communication function of the network device, and the network device management method includes: sending 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 network device application and the management application are executed on the same processing chip in the network device, the data response includes data requested in the data acquisition command, processing the data included in the data response to obtain a processing result, and realizing network device management according to the processing result. The technical solution provided by the embodiments of the present invention can fully utilize the computing resources of the network device itself, thereby improving the efficiency of network device management.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of network communication technology, and in particular to a network device management method, system and apparatus. [Background technology]

[0002] Network devices include switches, routers, etc., and generate various data and cause various faults during operation. In response to this, it is necessary to manage the network devices. Monitoring the network devices by analyzing the data generated by the network devices and troubleshooting the network devices are both within the scope of network device management.

[0003] In the prior art, network devices can be managed by an analyzer. Specifically, the network devices send data to the analyzer, and the analyzer processes the received data to complete the process of network device management, such as monitoring and troubleshooting the network devices. If the analyzer manages many network devices, each network device will send data to the corresponding analyzer, and the analyzer will receive a large amount of data, which will cause the analyzer to be under too much pressure 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] An 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. [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 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 get command to the network device application such that the network device application responds to the data get command by sending a data response to the management application, the data response including data requested in the data get command; processing the data included in the data response to obtain a processing result; and achieving network device management based on the processing results.

[0006] 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; sending the data acquisition command to the managed network device application such that the network device application responds to the data acquisition command by sending a data response to the management application; sending the data retrieval command to the network device application via the virtual bridge based on an IP address of the second container such that in response to the data retrieval command, the network device application sends a data response to the management application via a 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 acquisition command to the managed network device application such that the network device application responds to the data acquisition 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 and a socket port number of the second 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: The method includes transmitting the data to a target sub-chip included in the AI ​​chip based on a type of algorithm used for 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.

[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 implementing a network communication function of the network device, the network device management method comprising: receiving 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, the management application for managing the network device application; Obtaining data requested in the data acquisition command; and 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 a 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 transmitted via a virtual bridge between the first container and a second container based on an IP address of the second container; Sending a data response to the management application including the data includes: 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, from a management application, a data acquisition command 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 including the data includes: 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 a same processing chip in a network device, the management application for managing the network device application, and the network device application for implementing a network communication function of the network device; the management application sending a data acquisition command to the network device application; The network device application obtains the data requested in the data obtainment 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.

[0014] 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; 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 an 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 disposed 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 are fed back from the AI ​​chip.

[0017] In one embodiment of the present invention, the management application transmits the data to the 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; The target sub-chip is a sub-chip that matches the type in the AI ​​chip.

[0018] In a fourth aspect, an embodiment of the present invention provides a network device management apparatus, the network device management apparatus is applied to a management application configured in a network device, 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 a same processing chip in the network device, the network device management apparatus comprises: a command sending module for 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; a data processing module that processes data included in the data response to obtain a processing result; 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 implementing a network communication function of the network device, the network device management apparatus comprising: a command receiving module for receiving a data acquisition command sent from a management application, the management application and the network device application executing on a same processing chip in the network device, the management application for managing the network device application; a data acquisition module for acquiring data requested in the data acquisition command; and a response sending module 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 a processing result. Effect 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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the network device management. [Brief description 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 network device management method provided by an embodiment of the present invention. [Diagram 2] FIG. 2 is a schematic diagram of the connection relationship between containers provided by an embodiment of the present invention. [Diagram 3] FIG. 3 is a schematic flowchart of a second network device management method provided by an embodiment of the present invention. [Figure 4] FIG. 4 is a schematic flowchart of a third network device management method provided by an embodiment of the present invention. [Diagram 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 network device management method provided by an embodiment of the present invention. [Figure 7] FIG. 7 is a schematic flowchart of a fifth network device management method provided by an embodiment of the present invention. [Figure 8] FIG. 8 is a schematic flowchart of a sixth 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 PREFERRED EMBODIMENTS

[0024] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in more detail below by taking 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 a person skilled in the art can obtain based on the examples in the present invention belong to the scope of protection of the present invention.

[0025] To address 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 in 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 get command to the network device application such that the network device application responds to the data get command by sending a data response to the management application, the data response including data requested in the data get command; processing the data included in the data response to obtain a processing result; and achieving 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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the 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 in 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 a 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 is a switch, a router, etc. 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, such that the network device application responds to the data acquisition command by sending 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 a network device, for example, the network device application may be for implementing functions such as message forwarding of a 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 data generated during the execution of the network device application and indicating the status of the execution 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 for monitoring 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 to be 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 managed network device applications 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 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 a processing result.

[0036] Specifically, the management application can perform corresponding processing on the data according to 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 so as 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 the data processing speed, the status of the data flow rate, etc., the processing result may be the monitoring result.

[0039] In S103, network device management is realized based on the result of the processing.

[0040] Specifically, the management application records the processing result in a cache, so that a user can later read the processing result 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 is faulty, the network device application may stop or pause execution after receiving the management command.

[0043] Alternatively, the network device application can 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 data processing speed, application interface parameters, 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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the 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, such that the management application and the network device application can be executed in 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 a management application in the first container and a network device application in the second container can be realized by invoking a socket in the abstraction layer based on NETCONF and RPC in the application layer using the IP address and the socket port number, thereby realizing an 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] A management application is placed inside the first container included in FIG. 2, and a network device application 1 to a network device application n are placed in the second container 1 to the 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 of them is assigned an IP address, for example, the IP address of the first container is 172.17.0.2, the IP address of the second container 1 is 172.17.0.3, the IP address of the second container 2 is 172.17.0.4, etc., and the IP address of docker0 is 172.17.0.1 / 16. In addition, the first container, the second container 1, and the second container 2 are assigned different socket port numbers, and communication between each container can be performed based on each other's IP addresses and each other's socket port numbers.

[0049] Please refer to Fig. 3, which 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, the 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 an IP address of the second container, such that in response to the data acquisition command, the network device application sends a data response to the management application via the virtual bridge between the first container and the second container based on an 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 a destination address and the IP address of the first container in which the management application is located as a 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 a destination address and the IP address of the second container in which the network device application is located as a 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 located in a first container and a 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.

[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, where, unlike the container case, 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, and the management application and the network device application run on the same operating system.

[0055] The first module and the second module are assigned different socket port numbers, respectively. 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 invoking the socket of the abstraction layer based on NETCONF and RPC of 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] Please refer to Fig. 4, which is a schematic flowchart of a third type of network device management method provided by an embodiment of the present invention. Compared with the embodiment shown in Fig. 1, the step S101 can be realized 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 and the socket port number of the second module, such that in response to the data acquisition 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.

[0058] Specifically, the management application and the network device application are located in a first module and a second module, respectively, and run as different processes, whereby the management application and the network device application transmit data acquisition commands and data responses to each other in the manner of IPC by encapsulating the data acquisition commands and data responses into a predefined IPC format.

[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 realize communication between 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, a neural network model, etc.

[0063] An AI chip is a system consisting of multiple different types of sub-chips, and is used to execute AI applications, allowing high-density calculations of big data at high speed. For example, an AI chip includes sub-chips such as a CPU, SDRAM (Synchronous Dynamic Random-Access Memory), and NP (Neural Networking Processor). The SDRAM is a 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 drawing, 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 drawing indicates that the management application and the network device application are executed on the processing chip. The management application sends a data acquisition command to the network device application based on NETCONF, and the network device application feeds back a data response to the management device based on RPC. The arrow between the management application and the AI ​​chip indicates that when 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 at high speed 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, the 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, so that the AI ​​chip can process the data. After the data processing is completed, the AI ​​chip also based on the RPC IO to feed back the processing result to the management application, so that the management application can obtain the processing result.

[0069] In one embodiment of the present invention, the AI ​​chip is a system consisting of multiple different sub-chips, and different sub-chips have different functions and are adapted to execute different algorithms. In order to fully utilize the data processing capabilities of the AI ​​chip, the step S102A can be realized 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 for 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 the deep learning algorithm, 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, when the algorithm applied to the management application is a deep learning algorithm, the target sub-chip is an NP chip; when 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 configured in the network device, the management application can send data to the AI ​​chip with strong computing power and adapted to AI algorithm data processing, so that the data processing process can be realized by the AI ​​chip, rather than directly by the processing chip configured with the management application, thereby saving the data processing resources of the processing chip configured with the management application and making full use of the data processing resources of the AI ​​chip, so as to realize the network device management process with high efficiency.

[0076] Corresponding to the above-mentioned network device management method applied to a 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 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. Here, the management application and the network device applications run on the same processing chip in the network device, and the management application manages the network device applications.

[0079] In S702, the data requested in 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 a processing result.

[0081] Specifically, steps S701 to S703 are similar to steps S101 to S103 shown in FIG. 1, and specific embodiments may refer to the contents described above, and detailed descriptions thereof will be 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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the network device management.

[0083] In one embodiment of the present invention, the 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 an IP address of the second container.

[0085] However, in step C below, a data response may 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 an IP address of the first container.

[0087] Specifically, steps B to C are similar to step S101A shown in FIG. 2, and specific embodiments can refer to the contents described above, and detailed descriptions thereof will be omitted here.

[0088] As can be seen from the above, the management application and the network device application are located in a first container and a 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.

[0089] In one embodiment of the present invention, the step S701 can be realized by the following step D.

[0090] In step D, a data acquisition command sent by a management application is received based on the local loopback address of the network device and the socket port number of the second module.

[0091] However, 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 first module's socket port number.

[0093] Specifically, steps D to E are similar to step S101B shown in FIG. 3, and specific embodiments can refer to the contents described above, and detailed descriptions thereof will be 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, the system includes a management application and a network device application running on a same processing chip in a network device, the management application is for managing the network device application, and the network device application is for realizing a network communication function of the network device.

[0096] Please refer to FIG. 8, which is a schematic flowchart of a sixth 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] At S802, the network device application obtains the data requested in the data obtainment command.

[0099] At 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 to obtain 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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the 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 through a virtual bridge between the first container and the second container based on an 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 a first container and a 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 on a first module and the managed network device application is located on a second module.

[0109] The step S801 can be realized by the following step H.

[0110] In step H, the management application sends a get data 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 first module's socket port number.

[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, when 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 configured in the network device, the management application can send data to the AI ​​chip with strong computing power and adapted to AI algorithm data processing, so that the data processing process can be realized by the AI ​​chip, rather than directly by the processing chip configured with the management application, thereby saving the data processing resources of the processing chip configured with the management application and making full use of the data processing resources of the AI ​​chip, so as to realize the network device management process with high efficiency.

[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 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 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] Please refer to Fig. 9, which is a schematic configuration 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 arranged in a network device, 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 are executed on the same processing chip in the network device, and the network device management apparatus: a command sending module 901 for sending a data acquisition command to the network device application so 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; 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 for implementing network device management based on the processing result.

[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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the 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 is The data retrieval command is sent to the network device application via the virtual bridge based on an IP address of the second container such that in response to the data retrieval command, the network device application sends a data response to the management application via the virtual bridge between the first container and the second container based on an IP address of the first container.

[0124] As can be seen from the above, the management application and the network device application are located in a first container and a 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.

[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 acquisition command is sent to the network device application based on the local loopback address and the socket port number of the second module, such that in response to the data acquisition 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.

[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, when the management application is an artificial intelligence (AI) application and an AI chip is disposed in the network device, the data processing module 902: a data transmission submodule for transmitting 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 result 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 configured in the network device, the management application can send data to the AI ​​chip with strong computing power and adapted to AI algorithm data processing, so that the data processing process can be realized by the AI ​​chip, rather than directly by the processing chip configured with the management application, thereby saving the data processing resources of the processing chip configured with the management application and making full use of the data processing resources of the AI ​​chip, so as to realize the network device management process with high efficiency.

[0129] In one embodiment of the present invention, the data transmission sub-module: The data is sent to a target sub-chip included in the AI ​​chip so that the data can be processed by the target sub-chip based on the type of algorithm used for the management application, the target sub-chip being a sub-chip in the AI ​​chip that matches the type.

[0130] Corresponding to the network device management method applied to the network device application, the embodiment of the present invention further provides a network device management apparatus applied to the network device application.

[0131] Please refer to FIG. 10, which is a schematic configuration 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 a 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, the management application and the network device application running on the same processing chip in the network device, the management application 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 a 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. Since 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 realize the network device management by a third party analyzer, but can realize the management of itself, making full use of the computing resources of the network device itself, thereby improving the efficiency of the network device management.

[0133] 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 the command receiving module 1001: receiving, from a management application, a data retrieval command transmitted through 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 is 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 a first container and a 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 is receiving a data acquisition command sent by a management application based on a local loopback address of the network device and a socket port number of the second module; The response sending module 1003 is 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 entity or operation, and do not necessarily require or imply that such actual relationship or sequence exists between these entities or operations. And, "comprises," "comprises," or any other variation thereof means a non-exclusive inclusion, and thus a process, method, article, or equipment that includes a set of elements includes not only those elements, but also other elements not expressly listed or that are inherent to such process, method, article, or equipment. In the absence of further limitations, an element qualified by the term "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or equipment that includes the element.

[0138] Each embodiment in this specification is described in a related manner, and common parts between the embodiments can be referred to each other, and each embodiment is mainly described with respect to the differences from other embodiments. In particular, for systems and devices, the description is relatively simple because they are basically similar to the method embodiments, and the description of the method embodiments can be referred to for related points.

[0139] The above description is only the 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 be included in the scope of protection of the present invention.

Claims

1. A network device management method applied to a management application located on a network device, the management application for managing a network device application, the network device application for implementing a network communication function of the network device, the network device application and the management application executing on a same processing chip in the network device, the network device management method comprising: sending a data get command to the network device application such that the network device application responds to the data get command by sending a data response to the management application, the data response including data requested in the data get command; processing the data included in the data response to obtain a processing result; and implementing network device management based on the processing result. A network device management method comprising:

2. the management application is located in a first container and the managed network device application is located in a second container; sending the data acquisition command to the managed network device application such that the network device application responds to the data acquisition command by sending a data response to the management application; sending the get data 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 get data 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.

2. The network device management method according to claim 1.

3. the management application is located on a first module and the managed network device application is located on a second module; sending the data acquisition command to the managed network device application such that the network device application responds to the data acquisition 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 the 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.

2. The network device management method according to claim 1.

4. 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 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; 4. The network device management method according to claim 1, wherein the network device management method further comprises:

5. transmitting the data included in the data response to the AI ​​chip so that the AI ​​chip processes the data; Sending 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; 5. The network device management method according to claim 4.

6. A network device management method applied to a network device application disposed in a network device, the network device application being for implementing a network communication function of the network device, the network device management method comprising: receiving 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, the management application for managing the network device application; Obtaining data requested in the data acquisition command; and 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 a processing result. A network device management method comprising:

7. The management application is disposed in a first container, and the network device application is disposed 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 transmitted via a virtual bridge between the first container and a second container based on an IP address of the second container; Sending a data response to the management application including the data includes: sending a data response including the data to the management application via the virtual bridge based on an IP address of the first container.

7. The network device management method according to claim 6.

8. 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, from a management application, a data acquisition command transmitted 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 including the data includes: 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.

7. The network device management method according to claim 6.

9. A network device management system, comprising: a management application and a network device application executing on a same processing chip in a network device, the management application for managing the network device application, and the network device application for implementing a network communication function of the network device; the management application sending a data acquisition command to the network device application; The network device application obtains the data requested in the data obtainment 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. A network device management system comprising:

10. 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 an IP address of the first container; 10. The network device management system according to claim 9,

11. 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; 10. The network device management system according to claim 9,

12. When the management application is an artificial intelligence (AI) application and an AI chip is disposed 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 result fed back from the AI ​​chip; 12. The network device management system according to claim 9, wherein the network device management system is a network device management system.

13. The management application transmits the data to the target sub-chip included in the AI ​​chip, so that the target sub-chip processes the data based on the type of algorithm used for the management application; The target sub-chip is a sub-chip that matches the type in the AI ​​chip. The network device management system according to claim 12 .

14. A network device management apparatus applied to a management application disposed on a network device, the management application is for managing a network device application, the network device application is for implementing a network communication function of the network device, the network device application and the management application are executed on a same processing chip in the network device, the network device management apparatus comprising: a command sending module for 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; a data processing module that processes data included in the data response to obtain a processing result; and a network device management module for implementing network device management based on the processing result. A network device management apparatus comprising:

15. A network device management apparatus applied to a network device application arranged on a network device, the network device application being for implementing a network communication function of the network device, the network device management apparatus comprising: a command receiving module for receiving a data acquisition command sent from a management application, the management application and the network device application executing on a same processing chip in the network device, the management application for managing the network device application; a data acquisition module for acquiring 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; 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

  • Apparatus for liquid treatment of disc-shaped articles and heating system for use in such apparatus

    KR1020210049738A

  • Network Management Interface

    US20200374334A1