WO2023164916A1 - 一种网络设备管理方法、系统及装置 - Google Patents

一种网络设备管理方法、系统及装置 Download PDF

Info

Publication number
WO2023164916A1
WO2023164916A1 PCT/CN2022/079203 CN2022079203W WO2023164916A1 WO 2023164916 A1 WO2023164916 A1 WO 2023164916A1 CN 2022079203 W CN2022079203 W CN 2022079203W WO 2023164916 A1 WO2023164916 A1 WO 2023164916A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
application
data
management
management application
Prior art date
Application number
PCT/CN2022/079203
Other languages
English (en)
French (fr)
Inventor
王明辉
宋建永
程树纲
Original Assignee
新华三技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新华三技术有限公司 filed Critical 新华三技术有限公司
Priority to EP22929364.2A priority Critical patent/EP4425849A1/en
Priority to PCT/CN2022/079203 priority patent/WO2023164916A1/zh
Priority to CN202280000392.4A priority patent/CN114731324A/zh
Publication of WO2023164916A1 publication Critical patent/WO2023164916A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation

Definitions

  • the present application relates to the technical field of network communication, in particular to a network equipment management method, system and device.
  • Network equipment including switches, routers, etc.
  • Network equipment will generate various data or failures during operation. For this reason, it is necessary to manage network equipment, including analyzing the data generated by network equipment to monitor network equipment, or Troubleshooting network equipment, etc., is within the scope of data network equipment management.
  • the network equipment can be managed through the analysis machine. Specifically, the network equipment can send data to the analysis machine, and the analysis machine processes the received data to complete the network equipment management process such as network equipment monitoring and troubleshooting. .
  • the network equipment management process such as network equipment monitoring and troubleshooting.
  • each network device will send data to the analysis machine, and the analysis machine will receive a large amount of data, and the pressure on the analysis machine to process data will be too high, which will result in low efficiency of network device management , it is difficult to guarantee the timeliness of network equipment management.
  • the purpose of the embodiments of the present application is to provide a network device management method, system and device, so as to improve the efficiency of network device management.
  • the specific technical scheme is as follows:
  • the embodiment of the present application provides a network device management method, which is applied to a management application deployed on a network device, and the management application is used to: manage the network device; the network device application is used to : realizing the 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 method includes:
  • the network device application sends a data response to the management application in response to the data acquisition command, wherein the data response includes: the data acquisition command request The data;
  • Network device management is realized based on the processing result.
  • the management application is deployed in the first container, the managed network device application is deployed in the second container, and the data acquisition command is sent to the managed network device application, so that the The network device application sends a data response to the management application in response to the data acquisition command, including:
  • the management application is deployed in the first module, the managed network device application is deployed in the second module, and the data acquisition command is sent to the managed network device application, so that the The network device application sends a data response to the management application in response to the data acquisition command, including:
  • the management application is an artificial intelligence AI application, and in the case where the network device is equipped with an AI chip, the data contained in the data response is processed to obtain a processing result ,include:
  • the sending the data contained in the data response to the AI chip so that the AI chip processes the data includes:
  • the target sub-chip Based on the type of algorithm used by the management application, sending the data to a target sub-chip included in the AI chip, so that the target sub-chip processes the data, the target sub-chip is: A sub-chip matching the type in the AI chip.
  • the embodiment of the present application provides a network device management method, which is applied to a network device application deployed on a network device, and the network device application is used to: realize the network communication function of the network device, the method include:
  • management application receiving a data acquisition command sent by 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 used to: manage the network device;
  • the management application is deployed in the first container
  • the network device application is deployed in the second container
  • the receiving the data acquisition command sent by the management application includes:
  • the sending a data response containing the data to the management application includes:
  • a data response including the data is sent to the management application through the virtual bridge.
  • the management application is deployed in the first model
  • the network device application is deployed in the second model
  • the receiving the data acquisition command sent by the management application includes:
  • the sending a data response containing the data to the management application includes:
  • an embodiment of the present application provides a network device management system, the system includes a management application and a network device application running on the same processing chip in the network device, and the management application is used to: manage the network device For management, the network device application is used to: realize the network communication function of the network device;
  • the management application is configured to send a data acquisition command to the network device application
  • the network device application is used to obtain the data requested by the data acquisition command, and send a data response containing the data to the management application;
  • the management application is further configured to process the data included in the data response, obtain a processing result, and implement network device management based on the processing result.
  • the management application is deployed in a first container, and the managed network device application is deployed in a second container;
  • the management application is specifically configured to send a data acquisition command to the network device application through the virtual bridge between the first container and the second container based on the IP address of the second container;
  • the network device application is specifically configured to, based on the IP address of the first container, send a data response containing the data to the management application through the virtual network bridge.
  • the management application is deployed in the first module, and the managed network device application is deployed in the second module;
  • the management application is specifically configured to send a data acquisition 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;
  • the network device application is specifically configured to send a data response containing the data to the management application based on the local loopback address and the socket port number of the first module.
  • the management application is an artificial intelligence AI application, and when an AI chip is configured in the network device, the management application is specifically used for:
  • the management application is specifically used for:
  • the target sub-chip Based on the type of algorithm used by the management application, sending the data to a target sub-chip included in the AI chip, so that the target sub-chip processes the data, the target sub-chip is: A sub-chip matching the type in the AI chip.
  • the embodiment of the present application provides a network device management apparatus, which is applied to a management application deployed on a network device, where the management application is used to: manage the network device, and the network device application is used to : Realize the 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, the device includes:
  • a command sending module configured to send a data acquisition command to the network device application, so that the network device application sends a data response to the management application in response to the data acquisition command, wherein the data response includes: the data requested by the data acquisition command;
  • a data processing module configured to process the data contained in the data response to obtain a processing result
  • a network device management module configured to implement network device management based on the processing result.
  • the embodiment of the present application provides a network device management device, which is applied to a network device application deployed on a network device, and the network device application is used to: realize the network communication function of the network device, and the device include:
  • a command receiving module configured to receive a data acquisition command sent by 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 used to: network equipment management;
  • a data obtaining module configured to obtain the data requested by the data obtaining command
  • a response sending module configured to send a data response containing the data to the management application, so that the management application processes the data contained in the data response, and implements network device management based on the processing result.
  • the management application deployed on the network device can send a data acquisition command to the network device application running on the same processing chip in the network device as the management application, and the management application responds to the data acquisition command by sending a command containing In the data response of the data requested by the data acquisition command, after the management application acquires the requested data, it can process the above data, obtain a processing result, and then manage the network device based on the processing result.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • FIG. 1 is a schematic flowchart of a first network device management method provided by an embodiment of the present application
  • Fig. 2 is a schematic diagram of the connection relationship between containers provided in the embodiment of the application;
  • FIG. 3 is a schematic flowchart of a second network device management method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a third network device management method provided by an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a layered structure of a network device provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of a fourth network device management method provided by an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a fifth network device management method provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a sixth network device management method provided by an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of an apparatus for managing network equipment provided in an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an apparatus for managing network equipment provided by an embodiment of the present application.
  • the embodiments of this application provide a network equipment management method, system and device.
  • An embodiment of the present application provides a network device management method, which is applied to a management application deployed on a network device.
  • the above-mentioned management application is used to: manage the above-mentioned network device, and the above-mentioned network device application is used to: realize the network of the above-mentioned network device
  • the above-mentioned network device application and the above-mentioned management application run on the same processing chip in the above-mentioned network device, and the above-mentioned method includes:
  • the network device application sends a data response to the management application in response to the data acquisition command, wherein the data response includes: the data requested by the data acquisition command;
  • Network device management is realized based on the above processing results.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • FIG. 1 it is a schematic flowchart of the first network device management method provided by the embodiment of the present application, which is applied to the management application configured on the network device.
  • the above-mentioned management application is used to: manage the above-mentioned network device, and the above-mentioned network device application It is used for: realizing the network communication function of the above network equipment, the above network equipment application and the above management application run on the same processing chip in the above network equipment, the above method includes the following steps S101-S103.
  • the above-mentioned network device may be a switch, a router, etc.
  • the network device includes a processing chip capable of running applications and performing data processing.
  • the management application and the network device application in this embodiment both run on the same processing chip, for example, a CPU ( Central Processing Unit, central processing unit), FPGA (Field Programmable Gate Array, Field Programmable Logic Gate Array), DSP (Digital Signal Processing, digital signal processing) chip or switching chip, etc.
  • S101 Send a data acquisition command to the network device application, so that the network device application sends a data response to the management application in response to the data acquisition command.
  • the above-mentioned data response includes: the data requested by the above-mentioned data acquisition command.
  • the above-mentioned network device application may be any application running on the network device, for example, the above-mentioned network device application may be used to implement functions such as message forwarding of the network device.
  • the management application can send different data acquisition commands to the network device application based on requirements, so as to obtain different data from the network device application.
  • the above data can be generated during the operation of the network device application and represent the running status of the network device application.
  • the data requested by the data acquisition command is not limited.
  • the management application can send a data acquisition command to the network device application to obtain the running time of the network device application, the corresponding thread, the amount of processed data, etc. In this way, the fault monitoring of the network equipment application is completed.
  • management application configured in the processing chip communicates with the managed network device application through a command-response framework.
  • the above-mentioned management application can send commands to the network device application based on NETCONF (Network Configuration Protocol, network configuration protocol), and the above-mentioned response framework can send a response to the management application based on the RPC (Remote Procedure Call, remote procedure call) protocol, then the management application and The NETCONF-RPC framework is formed between network device applications.
  • NETCONF Network Configuration Protocol, network configuration protocol
  • RPC Remote Procedure Call, remote procedure call
  • the management application may perform corresponding processing on the data based on the corresponding management function, wherein the management application may encapsulate various codes to implement different management functions of different network devices.
  • the management application may encapsulate various codes to implement different management functions of different network devices.
  • the above-mentioned management application can process the above-mentioned data to determine whether the above-mentioned network device application is faulty, and the processing result can be a fault judgment result, or it can be used to troubleshoot the network device when it is determined that the network device application is faulty. Fault adjustment parameters for application faults, etc.
  • the above-mentioned management application can process the above-mentioned data to monitor the operation of the above-mentioned network device application, such as data processing speed, data flow, etc., and the above-mentioned processing result can also be a monitoring result.
  • the above-mentioned management application can record the processing result in the cache, so that the user can read the above-mentioned processing result to manage the network device later.
  • the above-mentioned management application may also send a management command containing the processing result to the above-mentioned network device application, so that the above-mentioned network device application responds to the above-mentioned management command. Adjustment, so as to realize network device management.
  • the above-mentioned network device application may stop or suspend operation after receiving the above-mentioned management command. .
  • the network device application may adjust its own operating parameters after receiving the above management command, thereby adjusting its own operating state and completing the network device management process. Then the above processing result is the operating parameter to be adjusted to by the network device application.
  • the above operating parameters may be data processing speed, application interface parameters, and the like.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • the above-mentioned management application is deployed in the first container
  • the managed network device application is deployed in the second container
  • the above-mentioned first container and the second container are used to run the management application and the network device application respectively
  • the operating systems configured in the first container and the second container may be different from each other, so that the management application and the network device application may run on different operating systems.
  • the first container and the second container are assigned different IP addresses and socket (socket) port numbers respectively.
  • the management application in the first container and the network device application in the second container can be completed based on the IP address and socket port number, based on NETCONF and RPC at the application layer, and calling the socket at the abstraction layer.
  • IPC Inter-Process Communication
  • FIG. 2 it is a schematic diagram of a connection relationship between containers provided in the embodiment of the application.
  • a management application is deployed in the first container included in FIG. 2 , and a network device application 1 to a network device application n are respectively deployed in the second container 1 to the second container n. Both the first container and each second container are connected to the virtual bridge docker0. After each container is connected to docker0, it will be assigned an IP address.
  • 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
  • the IP address of docker0 is 172.17.0.1/16
  • the first container, the second container 1, and the second container 2 are assigned different socket port numbers, and each container can be based on each other's IP address and each other's socket port number for communication.
  • FIG. 3 is a schematic flowchart of the second network device management method provided by the embodiment of the present application. Compared with the aforementioned embodiment shown in FIG. 1 , the above step S101 can be passed The following step S101A is realized.
  • S101A Based on the IP address of the second container, send a data acquisition command to the network device application through the virtual bridge between the first container and the second container, so that the network device application responds to the data acquisition command based on The IP address of the first container sends a data response to the management application through the virtual bridge.
  • the management application can use the IP address of the second container where the network device application is located as the destination address, and use the IP address of the first container where it is located as the source address to send a data acquisition command to the second container, which is equivalent to acquiring the data The command is sent to the network device application deployed in the second container.
  • the network device application can reversely send a data response to the first container with the IP address of the first container where the management application is located as the destination address and the IP address of the second container where it is located as the source address. , which is equivalent to sending the data response to the management application deployed in the first container.
  • management application and network device application are deployed in the first container and the second container respectively, and the management application network device application can complete data acquisition commands between each other through the IP addresses of the first container and the second container The transmission and data response, thus completing the process of network device management.
  • the above-mentioned management application is deployed in the first module, and the managed network device application is deployed in the second module, wherein, unlike the container, the deployment of the management application and the network device application in the module is equivalent to
  • the management application and the network device application themselves are software modules or components, and the management application and the network device application run in the same operating system.
  • the first module and the second module are assigned different socket port numbers respectively. Between the first module and the second module, according to the allocated socket port number and the local loopback address of the network device, based on the NETCONF and RPC of the application layer, and calling the socket of the abstract layer, the management application and communication in the first module can be completed. The process of transmitting data acquisition commands and data responses between network device applications in the second module. The IPC between the management application and the network equipment application is realized.
  • FIG. 4 it is a schematic flowchart of a third network device management method provided by the embodiment of the present application. Compared with the embodiment shown in FIG. 1 , the above step S101 can be realized by the following step S101B.
  • S101B Based on the local loopback address of the above-mentioned network device and the socket port number of the above-mentioned second module, send a data acquisition command to the above-mentioned network device application, so that the above-mentioned network device application responds to the above-mentioned data acquisition command, based on the above-mentioned local loopback address and the socket port number of the above-mentioned first module, and send a data response to the above-mentioned management application.
  • the management application and the network device application are respectively deployed in the first module and the second module, and run in parallel as different processes respectively, then the management application and the network device application encapsulate the data acquisition command and the data response in the In the preset IPC format, so as to transmit data to each other to obtain commands and data responses.
  • socket port numbers can be assigned to the first module and the second module respectively, then the management application and the network device application can communicate with each other based on the local loopback address and the socket port number.
  • management application and network device application are deployed in the first module and the second module respectively, and the management application network device application can communicate with each other through the local loopback address and the socket port number of the first module and the second module Complete the transmission of data acquisition commands and data responses between them, thereby completing the process of network device management.
  • the above-mentioned management application is an AI (Artificial Intelligence, artificial intelligence) application
  • the above-mentioned network device is configured with an AI chip.
  • the aforementioned AI application is an application that adopts a machine learning algorithm to implement network device management.
  • the aforementioned machine learning algorithm may be a deep learning algorithm, a neural network model, and the like.
  • the AI chip is a system composed of a variety of different sub-chips, which is suitable for running AI applications and can perform fast and high-density calculations on big data.
  • the AI chip can include CPU, SDRAM (Synchronous Dynamic Random-Access Memory , synchronous dynamic random access memory) and NP (Neural Networking Processor, neural network chip) and other sub-chips, the above-mentioned SDRAM can be DDR SDRAM (Double Data Rate Synchronous Dynamic Random-Access Memory, double rate synchronous dynamic random-access memory) .
  • FIG. 5 it is a schematic diagram of a hierarchical structure of a network device provided by an embodiment of the present application.
  • the user layer of the network device includes management applications and network device applications
  • the above-mentioned hardware layer includes processing chips and AI chips.
  • the network device application sends a data acquisition command to the network device application, 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 if the management application is an AI application, the management application can be provided by the AI chip.
  • the RPC IO (Input/Output, input/output) interface communicates with the AI chip, and AI applications can use the computing power of the AI chip to quickly process a large amount of data.
  • FIG. 6 is a schematic flow chart of the fourth network device management method provided by the embodiment of the present application. Compared with the embodiment shown in FIG. 1 , the above step S102 can be realized through the following steps S102A-S102B .
  • S102A Send the data included in the data response to the AI chip, so that the AI chip processes the data.
  • the above-mentioned management application can send the above-mentioned data to the AI chip based on the RPC IO provided by the AI chip, and the AI chip can process the above-mentioned data. After the data processing is completed, the AI chip can also feed back the processing result to the management application based on RPC IO, so that the above-mentioned management application can obtain the above-mentioned processing result.
  • Step A implements the above step S102A.
  • Step A Based on the type of algorithm used by the management application, send the data to the target sub-chip included in the AI chip, so that the target sub-chip processes the data.
  • the above-mentioned target sub-chip is: a sub-chip in the above-mentioned AI chip that matches the above-mentioned algorithm type.
  • the NP chip contained in the AI chip is suitable for completing the data processing process of the deep learning algorithm
  • the CPU chip contained in the AI chip is suitable for completing other machine learning such as holt-winters algorithm, random forest (random forest), skyline algorithm, etc. Algorithmic data processing process.
  • the above-mentioned target sub-chip is an NP chip; when the algorithm applicable to the management application is a machine learning algorithm other than the deep learning algorithm, the above-mentioned target sub-chip is a CPU chip.
  • the AI chip can send the processing result to the management application through RPC IO, so that the management application can obtain the processing result fed back by the above-mentioned AI chip.
  • the management application when the management application is an AI application and the network device is equipped with an AI chip, the management application can send data to the AI chip with strong computing power and suitable for data processing of the AI algorithm.
  • the chip completes the data processing process instead of directly completing the data processing process through the processing chip where the management application is located. Therefore, the data processing resources of the processing chip where the management application is located can be saved, and the data processing resources of the AI chip can be fully utilized to complete the process of network device management with high efficiency.
  • the embodiment of the present application further provides a network device management method applied to managed network device applications.
  • FIG. 7 it is a schematic flowchart of a fifth network device management method provided by the embodiment of the present application.
  • the above method includes the following steps S701-S703.
  • S701 Receive a data acquisition command sent by a management application.
  • the above-mentioned management application runs on the same processing chip in the above-mentioned network device, and the above-mentioned management application is used for: managing the above-mentioned network device application.
  • S703 Send a data response including the data to the management application, so that the management application processes the data contained in the data response, and implements network device management based on a processing result.
  • steps S701-S703 are similar to the above-mentioned steps S101-S103 shown in FIG. 1 , and specific embodiments may refer to the content shown above, and will not be described in detail here.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • step S701 may be implemented through the following step B.
  • Step B receiving a data acquisition command sent by the management application through the virtual network bridge between the first container and the second container based on the IP address of the second container.
  • step C may be used to send a data response to the above-mentioned management application.
  • Step C Based on the IP address of the first container, send a data response including the data to the management application through the virtual bridge.
  • step B-step C is similar to the aforementioned step S101A shown in FIG. 2 , and specific embodiments may refer to the content shown above, and will not be described in detail here.
  • management application and network device application are deployed in the first container and the second container respectively, and the management application network device application can complete data acquisition commands between each other through the IP addresses of the first container and the second container The transmission and data response, thus completing the process of network device management.
  • step S701 may be implemented through the following step D.
  • Step D receiving a data acquisition command sent by the management application based on the local loopback address of the above network device and the socket port number of the above second model.
  • step E can be used to send a data response to the above-mentioned management application.
  • Step E Send a data response containing the above data to the above management application based on the above local loopback address and the socket port number of the first module.
  • step D-step E is similar to the aforementioned step S101B shown in FIG. 3 , for specific embodiments, please refer to the content shown above, and will not be described in detail here.
  • management application and network device application are deployed in the first module and the second module respectively, and the management application network device application can communicate with each other through the local loopback address and the socket port number of the first module and the second module Complete the transmission of data acquisition commands and data responses between them, thereby completing the process of network device management.
  • an embodiment of the present application also provides a network device management system, the above system includes a management application and a network device running on the same processing chip in the network device.
  • the network device application, the above-mentioned management application is used for: managing the above-mentioned network device, and the above-mentioned network device application is used for: realizing the network communication function of the above-mentioned network device.
  • FIG. 8 it is a schematic flowchart of a sixth network device management method provided by the embodiment of the present application.
  • the above method includes the following steps S801-S804.
  • S801 The above-mentioned management application sends a data acquisition command to the above-mentioned network device application.
  • S802 The above-mentioned network device application obtains the data requested by the above-mentioned data acquisition command.
  • the network device application sends a data response including the data to the management application.
  • the above-mentioned management application processes the data included in the above-mentioned data response, obtains a processing result, and implements network device management based on the above-mentioned processing result.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • the above-mentioned management application is deployed in the first container, and the managed network device application is deployed in the second container;
  • step S801 can be realized by the following step F.
  • Step F The above-mentioned management application sends a data acquisition command to the above-mentioned network device application through the virtual network bridge between the above-mentioned first container and the second container based on the IP address of the above-mentioned second container.
  • step S803 can be realized by the following step G.
  • Step G The above-mentioned network device application sends a data response containing the above-mentioned data to the above-mentioned management application through the above-mentioned virtual network bridge based on the IP address of the above-mentioned first container.
  • management application and network device application are deployed in the first container and the second container respectively, and the management application network device application can complete data acquisition commands between each other through the IP addresses of the first container and the second container The transmission and data response, thus completing the process of network device management.
  • the above-mentioned management application is deployed in the first module, and the managed network device application is deployed in the second module;
  • step S801 can be realized by the following step H.
  • Step H The above-mentioned management application sends a data acquisition command to the above-mentioned network device application based on the local loopback address of the above-mentioned network device and the socket port number of the above-mentioned second module.
  • step S803 can be realized through the following step I.
  • Step I The above-mentioned network device application sends a data response containing the above-mentioned data to the above-mentioned management application based on the above-mentioned local loopback address and the socket port number of the above-mentioned first module.
  • management application and network device application are deployed in the first module and the second module respectively, and the management application network device application can communicate with each other through the local loopback address and the socket port number of the first module and the second module Complete the transmission of data acquisition commands and data responses between them, thereby completing the process of network device management.
  • the above-mentioned management application is an AI application
  • the above-mentioned network device is configured with an AI chip
  • the above-mentioned step S804 can be implemented through the following steps J-step K.
  • Step J The above-mentioned management application sends the data contained in the above-mentioned data response to the above-mentioned AI chip, so that the above-mentioned AI chip processes the above-mentioned data.
  • Step K Obtain the processing result fed back by the above-mentioned AI chip, and implement network device management based on the above-mentioned processing result.
  • the management application when the management application is an AI application and the network device is equipped with an AI chip, the management application can send data to the AI chip with strong computing power and suitable for data processing of the AI algorithm.
  • the chip completes the data processing process instead of directly completing the data processing process through the processing chip where the management application is located. Therefore, the data processing resources of the processing chip where the management application is located can be saved, and the data processing resources of the AI chip can be fully utilized to complete the process of network device management with high efficiency.
  • step J can be realized through the following step J1.
  • Step J1 The above-mentioned management application sends the above-mentioned data to the target sub-chip included in the above-mentioned AI chip based on the type of the algorithm used by the above-mentioned management application, so that the above-mentioned target sub-chip processes the above-mentioned data.
  • the above-mentioned target sub-chip is: a sub-chip matching the above-mentioned type in the above-mentioned AI chip.
  • the embodiment of the present application further provides a network device management apparatus applied to management applications.
  • FIG. 9 it is a schematic structural diagram of a network device management device provided in an embodiment of the present application, which is applied to a management application deployed on a network device, and the management application is used to: manage the network device, and the network
  • the device application is used to: realize the 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, the above-mentioned apparatus includes:
  • a command sending module 901 configured to send a data acquisition command to the network device application, so that the network device application sends a data response to the management application in response to the data acquisition command, wherein the data response includes : the data requested by the data acquisition command;
  • a data processing module 902 configured to process the data contained in the data response to obtain a processing result
  • a network device management module 903, configured to implement network device management based on the processing result.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • the management application is deployed in the first container, and the managed network device application is deployed in the second container, and the command sending module 901 is specifically used for:
  • management application and network device application are deployed in the first container and the second container respectively, and the management application network device application can complete data acquisition commands between each other through the IP addresses of the first container and the second container The transmission and data response, thus completing the process of network device management.
  • the management application is deployed in the first module
  • the managed network device application is deployed in the second module
  • the command sending module 901 is specifically used for:
  • management application and network device application are deployed in the first module and the second module respectively, and the management application network device application can communicate with each other through the local loopback address and the socket port number of the first module and the second module Complete the transmission of data acquisition commands and data responses between them, thereby completing the process of network device management.
  • the management application is an artificial intelligence AI application
  • the data processing module 902 includes:
  • a data sending submodule configured to send the data contained in the data response to the AI chip, so that the AI chip processes the data
  • the data obtaining sub-module is used to obtain the processing result fed back by the AI chip.
  • the management application when the management application is an AI application and the network device is equipped with an AI chip, the management application can send data to the AI chip with strong computing power and suitable for data processing of the AI algorithm.
  • the chip completes the data processing process instead of directly completing the data processing process through the processing chip where the management application is located. Therefore, the data processing resources of the processing chip where the management application is located can be saved, and the data processing resources of the AI chip can be fully utilized to complete the process of network device management with high efficiency.
  • the data sending submodule is specifically used for:
  • the target sub-chip Based on the type of algorithm used by the management application, sending the data to a target sub-chip included in the AI chip, so that the target sub-chip processes the data, the target sub-chip is: A sub-chip matching the type in the AI chip.
  • an embodiment of the present application further provides a network device management apparatus applied to network device applications.
  • FIG. 10 it is a schematic structural diagram of a network device management device provided by an embodiment of the present application, which is applied to a network device application deployed on a network device, and the network device application is used to realize the network communication function of the network device , the above devices include:
  • the command receiving module 1001 is configured to receive a data acquisition command sent by 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 used to: manage the above network devices;
  • the response sending module 1003 is configured to send a data response containing the data to the management application, so that the management application processes the data contained in the data response, and implements network device management based on the processing result.
  • both the management application and the network device application used to manage the network device application are configured on the same processing chip of the network device. Since the operation of the network device is realized based on the configured network device application, the network The management of the network device application configured in the device is equivalent to the management of the network device, that is, the network device in the embodiment of this application can realize its own management, without the need for a third-party analysis machine to realize network device management, and make full use of the network device itself computing resources, which can improve the efficiency of network device management.
  • the management application is deployed in a first container
  • the network device application is deployed in a second container
  • the command receiving module 1001 is specifically configured to:
  • the response sending module 1003 is specifically used for:
  • management application and network device application are deployed in the first container and the second container respectively, and the management application network device application can complete data acquisition commands between each other through the IP addresses of the first container and the second container The transmission and data response, thus completing the process of network device management.
  • the management application is deployed in the first model
  • the network device application is deployed in the second model
  • the command receiving module 1001 is specifically configured to:
  • the response sending module 1003 is specifically used for:
  • management application and network device application are deployed in the first module and the second module respectively, and the management application network device application can communicate with each other through the local loopback address and the socket port number of the first module and the second module Complete the transmission of data acquisition commands and data responses between them, thereby completing the process of network device management.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

一种网络设备管理方法、系统及装置,涉及网络设备技术领域,应用于部署于网络设备上的管理应用,管理应用用于:对网络设备进行管理,网络设备应用用于:实现网络设备的网络通信功能,上述方法包括:向网络设备应用发送数据获取命令,以使得网络设备应用响应于数据获取命令,向管理应用发送数据应答,其中,网络设备应用与管理应用运行于网络设备中的同一处理芯片上,数据应答中包含:数据获取命令请求的数据;对数据应答中包含的数据进行处理,获得处理结果;基于处理结果实现网络设备管理。应用本申请实施例提供的方案能够充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。

Description

一种网络设备管理方法、系统及装置 技术领域
本申请涉及网络通信技术领域,特别是涉及一种网络设备管理方法、系统及装置。
背景技术
网络设备包括交换机、路由器等,在运行的过程中会产生各类数据或发生各类故障,为此需要对网络设备进行管理,包括对网络设备产生的数据进行分析从而对网络设备进行监控,或对网络设备进行故障排除等,均数据网络设备管理的范围。
现有技术中可以通过分析机对网络设备进行管理,具体的,网络设备可以向分析机发送数据,分析机对接收到的数据进行处理从而完成网络设备的监控与故障排除等网络设备管理的过程。但若分析机管理的网络设备较多,各个网络设备均会向该分析机发送数据,分析机会接收到大量的数据,分析机处理数据的压力过大,从而会造成网络设备管理的效率较低,难以保证网络设备管理的时效性。
发明内容
本申请实施例的目的在于提供一种网络设备管理方法、系统及装置,以提高网络设备管理的效率。具体技术方案如下:
第一方面,本申请实施例提供了一种网络设备管理方法,应用于部署于网络设备上的管理应用,所述管理应用用于:对所述网络设备进行管理;所述网络设备应用用于:实现所述网络设备的网络通信功能;所述网络设备应用与所述管理应用运行于所述网络设备中的同一处理芯片上,所述方法包括:
向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,其中,所述数据应答中包含:所述数据获取命令请求的数据;
对所述数据应答中包含的数据进行处理,获得处理结果;
基于所述处理结果实现网络设备管理。
本申请的一个实施例中,所述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中,所述向被管理的网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,包括:
基于所述第二容器的IP地址,通过所述第一容器与第二容器之间的虚拟网桥向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送数据应答。
本申请的一个实施例中,所述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中,所述向被管理的网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,包括:
基于所述网络设备的本地环回地址以及所述第二模块的套接字socket端口号,向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送数据应答。
本申请的一个实施例中,所述管理应用为人工智能AI应用,且在所述网络设备中配置有AI芯片的情况下,所述对所述数据应答中包含的数据进行处理,获得处理结果,包括:
向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理;
获得所述AI芯片反馈的处理结果。
本申请的一个实施例中,所述向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理,包括:
基于所述管理应用所使用的算法的类型,向所述AI芯片中包含的目标子芯片发送所述数据,以使得所述目标子芯片对所述数据进行处理,所述目标子芯片为:所述AI芯片中与所述类型相匹配的子芯片。
第二方面,本申请实施例提供了一种网络设备管理方法,应用于部署于网络设备上的网络设备应用,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述方法包括:
接收管理应用发送的数据获取命令,其中,所述管理应用与所述网络设备应用运行于所述网络设备中的同一处理芯片上,所述管理应用用于:对所述网络设备进行管理;
获得所述数据获取命令请求的数据;
向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
本申请的一个实施例中,所述管理应用部署于第一容器中,所述网络设备应用部署于第二容器中,所述接收管理应用发送的数据获取命令,包括:
接收管理应用基于所述第二容器的IP地址、通过所述第一容器与第二容器之间的虚拟网桥发送的数据获取命令;
所述向所述管理应用发送包含所述数据的数据应答,包括:
基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送包含所述数据的数据应答。
本申请的一个实施例中,所述管理应用部署于第一模型中,所述网络设备应用部署于第二模型中,所述接收管理应用发送的数据获取命令,包括:
接收管理应用基于所述网络设备的本地环回地址以及所述第二模型的套接字socket端口号发送的数据获取命令;
所述向所述管理应用发送包含所述数据的数据应答,包括:
基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送包含所述数据的数据应答。
第三方面,本申请实施例提供了一种网络设备管理系统,所述系统包括运行于网络设备中同一处理芯片上的管理应用与网络设备应用,所述管理应用用于:对所述网络设备进行管理,所述网络设备应用用于:实现所述网络设备的网络通信功能;
所述管理应用,用于向所述网络设备应用发送数据获取命令;
所述网络设备应用,用于获得所述数据获取命令请求的数据,并向所述管理应用发送包含所述数据 的数据应答;
所述管理应用,还用于对所述数据应答中包含的数据进行处理,获得处理结果,并基于所述处理结果实现网络设备管理。
本申请的一个实施例中,所述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中;
所述管理应用,具体用于基于所述第二容器的IP地址,通过所述第一容器与第二容器之间的虚拟网桥向所述网络设备应用发送数据获取命令;
所述网络设备应用,具体用于基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送包含所述数据的数据应答。
本申请的一个实施例中,所述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中;
所述管理应用,具体用于基于所述网络设备的本地环回地址以及所述第二模块的套接字socket端口号,向所述网络设备应用发送数据获取命令;
所述网络设备应用,具体用于基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送包含所述数据的数据应答。
本申请的一个实施例中,所述管理应用为人工智能AI应用,且在所述网络设备中配置有AI芯片的情况下,所述管理应用,具体用于:
向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理;
获得所述AI芯片反馈的处理结果。
本申请的一个实施例中,所述管理应用,具体用于:
基于所述管理应用所使用的算法的类型,向所述AI芯片中包含的目标子芯片发送所述数据,以使得所述目标子芯片对所述数据进行处理,所述目标子芯片为:所述AI芯片中与所述类型相匹配的子芯片。
第四方面,本申请实施例提供了一种网络设备管理装置,应用于部署于网络设备上的管理应用,所述管理应用用于:对所述网络设备进行管理,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述网络设备应用与所述管理应用运行于所述网络设备中的同一处理芯片上,所述装置包括:
命令发送模块,用于向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,其中,所述数据应答中包含:所述数据获取命令请求的数据;
数据处理模块,用于对所述数据应答中包含的数据进行处理,获得处理结果;
网络设备管理模块,用于基于所述处理结果实现网络设备管理。
第五方面,本申请实施例提供了一种网络设备管理装置,应用于部署于网络设备上的网络设备应用,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述装置包括:
命令接收模块,用于接收管理应用发送的数据获取命令,其中,所述管理应用与所述网络设备应用 运行于所述网络设备中的同一处理芯片上,所述管理应用用于:对所述网络设备进行管理;
数据获得模块,用于获得所述数据获取命令请求的数据;
应答发送模块,用于向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
本申请实施例有益效果:
本申请实施例中,部署于网络设备上的管理应用可以向与管理应用运行于网络设备中同一处理芯片上的网络设备应用发送数据获取命令,管理应用响应于数据获取命令,向管理应用发送包含数据获取命令所请求的数据的数据应答,管理应用在获取到所请求的数据之后,可以对上述数据进行处理,获得处理结果,再基于处理结果对网络设备进行管理。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
附图说明
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,本领域普通技术人员来讲还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的第一种网络设备管理方法的流程示意图;
图2为申请实施例提供的一种容器之间的连接关系示意图;
图3为本申请实施例提供的第二种网络设备管理方法的流程示意图;
图4为本申请实施例提供的第三种网络设备管理方法的流程示意图;
图5为本申请实施例提供的一种网络设备分层结构示意图;
图6为本申请实施例提供的第四种网络设备管理方法的流程示意图;
图7为本申请实施例提供的第五种网络设备管理方法的流程示意图;
图8为本申请实施例提供的第六种网络设备管理方法的流程示意图;
图9为本申请实施例提的一种网络设备管理装置的结构示意图;
图10为本申请实施例提供的一种网络设备管理装置的结构示意图。
具体实施方式
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。本领域普通技术人员基于本申请中的实施例所获得的所有其他实施例,都属于本申请保护的范围。
由于现有技术中网络设备管理的效率较低,为了解决这一问题,本申请实施例提供了一种网络设备 管理方法、系统及装置。
本申请实施例提供了一种网络设备管理方法,应用于部署于网络设备上的管理应用,上述管理应用用于:对上述网络设备进行管理,上述网络设备应用用于:实现上述网络设备的网络通信功能,上述网络设备应用与上述管理应用运行于上述网络设备中的同一处理芯片上,上述方法包括:
向上述网络设备应用发送数据获取命令,以使得上述网络设备应用响应于上述数据获取命令,向上述管理应用发送数据应答,其中,上述数据应答中包含:上述数据获取命令请求的数据;
对上述数据应答中包含的数据进行处理,获得处理结果;
基于上述处理结果实现网络设备管理。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
参见图1,为本申请实施例提供的第一种网络设备管理方法的流程示意图,应用于配置于网络设备上的管理应用,上述管理应用用于:对上述网络设备进行管理,上述网络设备应用用于:实现上述网络设备的网络通信功能,上述网络设备应用与上述管理应用运行于上述网络设备中的同一处理芯片上,上述方法包括以下步骤S101-S103。
其中,上述网络设备可以为交换机、路由器等,网络设备中包含能够运行应用并进行数据处理的处理芯片,本实施例中的管理应用与网络设备应用均运行于同一处理芯片上,例如,CPU(Central Processing Unit,中央处理器)、FPGA(Field Programmable Gate Array,现场可编程逻辑门阵列)、DSP(Digital Signal Processing,数字信号处理)芯片或交换芯片等。
S101:向上述网络设备应用发送数据获取命令,以使得上述网络设备应用响应于上述数据获取命令,向上述管理应用发送数据应答。
其中,上述数据应答中包含:上述数据获取命令请求的数据。
具体的,上述网络设备应用可以为网络设备中运行的任意应用,例如,上述网络设备应用可以用于实现网络设备的报文转发等功能。管理应用可以基于需求向网络设备应用发送不同的数据获取命令,从而从网络设备应用处获取不同的数据,上述数据可以为网络设备应用在运行过程中产生的、表示网络设备应用运行状态的数据。本实施例中对数据获取命令请求的数据不进行限定。
例如,管理应用用于监测网络设备应用是否处于故障状态,则管理应用可以向网络设备应用发送数据获取命令,以获取网络设备应用的运行时长、所对应的线程、所处理数据的数据量等,从而完成网络设备应用的故障监测。
另外,配置于上述处理芯片中的上述管理应用与被管理的网络设备应用通过命令-应答架构实现通信。
其中,上述管理应用可以基于NETCONF(Network Configuration Protocol,网络配置协议)向网络 设备应用发送命令,上述应答架构可以基于RPC(Remote Procedure Call,远程过程调用)协议向管理应用发送应答,则管理应用与网络设备应用之间形成NETCONF-RPC架构。
S102:对上述数据应答中包含的数据进行处理,获得处理结果。
具体的,管理应用可以基于所对应的管理功能对数据进行相应的处理,其中,管理应用中可以封装有多种不同的代码实现不同网络设备不同的管理功能。在不同的网络设备中安装上述管理应用时,可以在管理应用的配置文件中设置不同的参数,以使得管理应用能够与不同的网络设备相适应。
例如,上述管理应用可以对上述数据进行处理,以确定上述网络设备应用是否发生故障,则处理结果可以为故障判定结果,也可以为在判定网络设备应用发生故障的情况下,用于排除网络设备应用故障的故障调整参数等。
或者,上述管理应用可以对上述数据进行处理,以监测上述网络设备应用的运行情况,如,数据处理速度情况、数据流量情况等,则上述处理结果也可以监测结果。
S103:基于上述处理结果实现网络设备管理。
具体的,上述管理应用可以将处理结果记录于缓存中,从而使得用户可以在后续读取上述处理结果对网络设备进行管理。
再者,若上述网络设备管理过程涉及对网络设备应用进行调整,则上述管理应用也可以向上述网络设备应用发送包含处理结果的管理命令,以使得上述网络设备应用响应于上述管理命令对自身进行调整,从而实现网络设备管理。
具体的,上述网络设备应用在接收到上述管理命令之后,可以停止或暂停运行,例如,若上述处理结果为监测到网络设备应用发生故障,则网络设备应用接收到管理命令后可以停止或暂停运行。
或者,上述网络设备应用在接收到上述管理命令之后,可以调整自身的运行参数,从而可以调整自身的运行状态,完成网络设备管理过程。则上述处理结果为网络设备应用待调整至的运行参数。例如,上述运行参数可以为数据处理速度、应用接口参数等。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
本申请的一个实施例中,上述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中,上述第一容器与第二容器分别为用于运行管理应用与网络设备应用的虚拟环境,第一容器和第二容器中配置的操作系统可以互不相同,使得管理应用与网络设备应用可以运行于不同的操作系统中。
第一容器与第二容器分别被分配不同的IP地址与socket(套接字)端口号。第一容器与第二容器之间可以根据IP地址与socket端口号,基于应用层的NETCONF与RPC,并调用抽象层的socket,完成第一容器中的管理应用与第二容器中的网络设备应用之间互相传输数据获取命令与数据应答的过程,实现 了管理应用与网络设备应用之间的IPC(Inter-Process Communication,进程间通信)。
参见图2,为申请实施例提供的一种容器之间的连接关系示意图。
图2中包含的第一容器内部署有管理应用,第二容器1至第二容器n内分别部署有网络设备应用1至网络设备应用n。第一容器以及各个第二容器均与虚拟网桥docker0相连。每一容器被连接到docker0之后均会被分配一个IP地址,例如,第一容器的IP地址为172.17.0.2,第二容器1的IP地址为172.17.0.3,第二容器2的IP地址为172.17.0.4等,docker0的IP地址为172.17.0.1/16,并且第一容器、第二容器1以及第二容器2被分配不同的socket端口号,各个容器之间可以基于彼此的IP地址以及彼此的socket端口号进行通信。
基于前述的第一容器与第二容器,参见图3,为本申请实施例提供的第二种网络设备管理方法的流程示意图,与前述图1所示的实施例相比,上述步骤S101可以通过以下步骤S101A实现。
S101A:基于上述第二容器的IP地址,通过上述第一容器与第二容器之间的虚拟网桥向上述网络设备应用发送数据获取命令,以使得上述网络设备应用响应于上述数据获取命令,基于上述第一容器的IP地址,通过上述虚拟网桥向上述管理应用发送数据应答。
具体的,管理应用可以以网络设备应用所在的第二容器的IP地址为目的地址,以自身所在的第一容器的IP地址为源地址,向第二容器发送数据获取命令,相当于将数据获取命令发送至第二容器内部署的网络设备应用中。
网络设备应用响应于上述数据获取命令,可以反向的以管理应用所在的第一容器的IP地址为目的地址,以自身所在的第二容器的IP地址为源地址,向第一容器发送数据应答,相当于将数据应答发送至第一容器内部署的管理应用中。
由以上可见,上述管理应用与网络设备应用分别被部署于第一容器和第二容器中,管理应用于网络设备应用可以通过第一容器和第二容器的IP地址在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的另一个实施例中,上述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中,其中,与容器不同,管理应用与网络设备应用部署于模块中相当于管理应用与网络设备应用本身为软件模块或组件,管理应用与网络设备应用运行于相同的操作系统中。
第一模块与第二模块分别被分配不同的socket端口号。第一模块与第二模块之间可以根据所分配的socket端口号以及网络设备的本地环回地址,基于应用层的NETCONF与RPC,并调用抽象层的socket,完成第一模块中的管理应用与第二模块中的网络设备应用之间互相传输数据获取命令与数据应答的过程。实现了管理应用与网络设备应用之间的IPC。
参见图4,为本申请实施例提供的第三种网络设备管理方法的流程示意图,与前述图1所示的实施例相比,上述步骤S101可以通过以下步骤S101B实现。
S101B:基于上述网络设备的本地环回地址以及上述第二模块的socket端口号,向上述网络设备应用发送数据获取命令,以使得上述网络设备应用响应于上述数据获取命令,基于上述本地环回地址以及 上述第一模块的socket端口号,向上述管理应用发送数据应答。
具体的,管理应用与网络设备应用分别部署于第一模块与第二模块中,分别作为不同的进程并行运行,则管理应用与网络设备应用通过IPC的方式,将数据获取命令与数据应答封装于预设的IPC格式内,从而互相传输数据获取命令与数据应答。
其中,可以分别为第一模块与第二模块分配不同的socket端口号,则上述管理应用与网络设备应用便可以基于基于本地环回地址与上述socket端口号实现彼此之间的通信。
由以上可见,上述管理应用与网络设备应用分别被部署于第一模块和第二模块中,管理应用于网络设备应用可以通过本地环回地址以及第一模块和第二模块的socket端口号在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的另一个实施例中,上述管理应用为AI(Artificial Intelligence,人工智能)应用,且上述网络设备中配置有AI芯片。
其中,上述AI应用是采用机器学习算法用于实现网络设备管理的应用。例如,上述机器学习算法可以为深度学习算法、神经网络模型等。
另外,AI芯片是由多种不同的子芯片组成的系统,适用于运行AI应用,能够对大数据进行快速的高密度计算,例如,AI芯片中可以包含CPU,SDRAM(Synchronous Dynamic Random-Access Memory,同步动态随机存取内存)和NP(Neural Networking Processor,神经网络芯片)等子芯片,上述SDRAM可以为DDR SDRAM(Double Data Rate Synchronous Dynamic Random-Access Memory,双倍速率同步动态随机存取内存)。
参见图5,为本申请实施例提供的一种网络设备分层结构示意图。
由图可见,网络设备的用户层中包含管理应用与网络设备应用,上述硬件层中包含处理芯片与AI芯片,图中的虚线框表示上述管理应用与网络设备应用运行于处理芯片上,管理应用基于NETCONF向网络设备应用发送数据获取命令,网络设备应用基于RPC向管理设备反馈数据应答,管理应用与AI芯片之间的箭头表示在管理应用是AI应用的情况下,管理应用可以通过AI芯片提供的RPC IO(Input/Output,输入/输出)接口与AI芯片之间进行通信,AI应用可以借助AI芯片的计算能力对大量的数据进行快速处理。
在前述情况下,参见图6,为本申请实施例提供的第四种网络设备管理方法的流程示意图,与前述图1所示的实施例相比,上述步骤S102可以通过以下步骤S102A-S102B实现。
S102A:向上述AI芯片发送上述数据应答中包含的数据,以使得上述AI芯片对上述数据进行处理。
具体的,上述管理应用可以基于AI芯片提供的RPC IO将上述数据发送至AI芯片,AI芯片便可以对上述数据进行处理。在数据处理结束之后,AI芯片可以同样基于RPC IO向管理应用反馈处理结果,使得上述管理应用获得上述处理结果。
本申请的一个实施例中,由于AI芯片是由多个不同的子芯片组成的系统,不同子芯片的功能不同,适应于运行不同的算法,为了充分发挥AI芯片的数据处理能力,可以通过以下步骤A实现上述步骤 S102A。
步骤A:基于上述管理应用所使用的算法的类型,向上述AI芯片中包含的目标子芯片发送上述数据,以使得上述目标子芯片对上述数据进行处理。
其中,上述目标子芯片为:上述AI芯片中与上述的算法类型相匹配的子芯片。
具体的,AI芯片中包含的NP芯片适用于完成深度学习算法的数据处理过程,AI芯片中包含的CPU芯片适用于完成holt-winters算法,、random forest(随机森林)、skyline算法等其他机器学习算法的数据处理过程。
则在管理应用适用的算法为深度学习算法的情况下,上述目标子芯片为NP芯片;在管理应用适用的算法为深度学习算法之外的其他机器学习算法的情况下,上述目标子芯片为CPU芯片。
S102B:获得上述AI芯片反馈的处理结果。
其中,AI芯片可以通过RPC IO向管理应用发送处理结果,使得管理应用获得上述AI芯片反馈的处理结果。
由以上可见,在管理应用为AI应用,且网络设备中配置有AI芯片的情况下,管理应用可以将数据发送至计算能力较强且适用于进行AI算法的数据处理的AI芯片处,由AI芯片完成数据处理的过程,而非直接通过管理应用所在的处理芯片完成数据处理过程。因此可以节省管理应用所在的处理芯片的数据处理资源,充分利用AI芯片的数据处理资源以较高的效率完成网络设备管理的过程。
与前述应用于管理应用的网络设备管理方法相对应,本申请实施例还提供了一种应用于被管理的网络设备应用的网络设备管理方法。
参见图7,为本申请实施例提供的第五种网络设备管理方法的流程示意图,上述方法包括以下步骤S701-S703。
S701:接收管理应用发送的数据获取命令。
其中,上述管理应用于上述网络设备应用运行于上述网络设备中的同一处理芯片上,上述管理应用用于:对上述网络设备应用进行管理。
S702:获得上述数据获取命令请求的数据。
S703:向上述管理应用发送包含上述数据的数据应答,以使得上述管理应用对上述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
具体的,上述步骤S701-S703与前述图1所示的步骤S101-S103相似,具体实施例可以参见前文所示的内容,在此不再详述。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
本申请的一个实施例中,前述步骤S701可以通过以下步骤B实现。
步骤B:接收管理应用基于上述第二容器的IP地址、通过上述第一容器与第二容器之间的虚拟网桥发送的数据获取命令。
另外,可以通过以下步骤C向上述管理应用发送数据应答。
步骤C:基于上述第一容器的IP地址,通过上述虚拟网桥向上述管理应用发送包含上述数据的数据应答。
具体的,上述步骤B-步骤C与前述图2所示的步骤S101A相似,具体实施例可以参见前文所示的内容,在此不再详述。
由以上可见,上述管理应用与网络设备应用分别被部署于第一容器和第二容器中,管理应用于网络设备应用可以通过第一容器和第二容器的IP地址在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的一个实施例中,前述步骤S701可以通过以下步骤D实现。
步骤D:接收管理应用基于上述网络设备的本地环回地址以及上述第二模型的socket端口号发送的数据获取命令。
另外,可以通过以下步骤E向上述管理应用发送数据应答。
步骤E:基于上述本地环回地址以及第一模块的socket端口号,向上述管理应用发送包含上述数据的数据应答。
具体的,上述步骤D-步骤E与前述图3所示的步骤S101B相似,具体实施例可以参见前文所示的内容,在此不再详述。
由以上可见,上述管理应用与网络设备应用分别被部署于第一模块和第二模块中,管理应用于网络设备应用可以通过本地环回地址以及第一模块和第二模块的socket端口号在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
与前述应用于管理应用以及应用于网络设备应用的网络设备管理方法相对应,本申请实施例还提供了一种网络设备管理系统,上述系统包括运行于网络设备中同一处理芯片上的管理应用与网络设备应用,上述管理应用用于:对上述网络设备进行管理,上述网络设备应用用于:实现上述网络设备的网络通信功能。
参见图8,为本申请实施例提供的第六种网络设备管理方法的流程示意图,上述方法包括以下步骤S801-S804。
S801:上述管理应用向上述网络设备应用发送数据获取命令。
S802:上述网络设备应用获得上述数据获取命令请求的数据。
S803:上述网络设备应用向上述管理应用发送包含上述数据的数据应答。
S804:上述管理应用对上述数据应答中包含的数据进行处理,获得处理结果,并基于上述处理结果实现网络设备管理。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
本申请的一个实施例中,上述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中;
上述步骤S801可以通过以下步骤F实现。
步骤F:上述管理应用基于上述第二容器的IP地址,通过上述第一容器与第二容器之间的虚拟网桥向上述网络设备应用发送数据获取命令。
上述步骤S803可以通过以下步骤G实现。
步骤G:上述网络设备应用基于上述第一容器的IP地址,通过上述虚拟网桥向上述管理应用发送包含上述数据的数据应答。
由以上可见,上述管理应用与网络设备应用分别被部署于第一容器和第二容器中,管理应用于网络设备应用可以通过第一容器和第二容器的IP地址在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的一个实施例中,上述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中;
上述步骤S801可以通过以下步骤H实现。
步骤H:上述管理应用基于上述网络设备的本地环回地址以及上述第二模块的socket端口号,向上述网络设备应用发送数据获取命令。
上述步骤S803可以通过以下步骤I实现。
步骤I:上述网络设备应用基于上述本地环回地址以及上述第一模块的socket端口号,向上述管理应用发送包含上述数据的数据应答。
由以上可见,上述管理应用与网络设备应用分别被部署于第一模块和第二模块中,管理应用于网络设备应用可以通过本地环回地址以及第一模块和第二模块的socket端口号在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的一个实施例中,上述管理应用为AI应用,且在上述网络设备中配置有AI芯片的情况下,上述步骤S804可以通过以下步骤J-步骤K实现。
步骤J:上述管理应用向上述AI芯片发送上述数据应答中包含的数据,以使得上述AI芯片对上述数据进行处理。
步骤K:获得上述AI芯片反馈的处理结果,并基于上述处理结果实现网络设备管理。
由以上可见,在管理应用为AI应用,且网络设备中配置有AI芯片的情况下,管理应用可以将数据 发送至计算能力较强且适用于进行AI算法的数据处理的AI芯片处,由AI芯片完成数据处理的过程,而非直接通过管理应用所在的处理芯片完成数据处理过程。因此可以节省管理应用所在的处理芯片的数据处理资源,充分利用AI芯片的数据处理资源以较高的效率完成网络设备管理的过程。
本申请的一个实施例中,上述步骤J可以通过以下步骤J1实现。
步骤J1:上述管理应用基于上述管理应用所使用的算法的类型,向上述AI芯片中包含的目标子芯片发送上述数据,以使得上述目标子芯片对上述数据进行处理。
其中,上述目标子芯片为:上述AI芯片中与上述类型相匹配的子芯片。
与前述应用于管理应用的网络设备管理方法相对应,本申请实施例还提供了一种应用于管理应用的网络设备管理装置。
参见图9,为本申请实施例提的一种网络设备管理装置的结构示意图,应用于部署于网络设备上的管理应用,所述管理应用用于:对所述网络设备进行管理,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述网络设备应用与所述管理应用运行于所述网络设备中的同一处理芯片上,上述装置包括:
命令发送模块901,用于向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,其中,所述数据应答中包含:所述数据获取命令请求的数据;
数据处理模块902,用于对所述数据应答中包含的数据进行处理,获得处理结果;
网络设备管理模块903,用于基于所述处理结果实现网络设备管理。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
本申请的一个实施例中,所述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中,所述命令发送模块901,具体用于:
基于所述第二容器的IP地址,通过所述第一容器与第二容器之间的虚拟网桥向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送数据应答。
由以上可见,上述管理应用与网络设备应用分别被部署于第一容器和第二容器中,管理应用于网络设备应用可以通过第一容器和第二容器的IP地址在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的一个实施例中,所述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中,所述命令发送模块901,具体用于:
基于所述网络设备的本地环回地址以及所述第二模块的套接字socket端口号,向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送数据应答。
由以上可见,上述管理应用与网络设备应用分别被部署于第一模块和第二模块中,管理应用于网络设备应用可以通过本地环回地址以及第一模块和第二模块的socket端口号在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的一个实施例中,所述管理应用为人工智能AI应用,且在所述网络设备中配置有AI芯片的情况下,所述数据处理模块902,包括:
数据发送子模块,用于向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理;
数据获得子模块,用于获得所述AI芯片反馈的处理结果。
由以上可见,在管理应用为AI应用,且网络设备中配置有AI芯片的情况下,管理应用可以将数据发送至计算能力较强且适用于进行AI算法的数据处理的AI芯片处,由AI芯片完成数据处理的过程,而非直接通过管理应用所在的处理芯片完成数据处理过程。因此可以节省管理应用所在的处理芯片的数据处理资源,充分利用AI芯片的数据处理资源以较高的效率完成网络设备管理的过程。
本申请的一个实施例中,所述数据发送子模块,具体用于:
基于所述管理应用所使用的算法的类型,向所述AI芯片中包含的目标子芯片发送所述数据,以使得所述目标子芯片对所述数据进行处理,所述目标子芯片为:所述AI芯片中与所述类型相匹配的子芯片。
与前述应用于网络设备应用的网络设备管理方法相对应,本申请实施例还提供了一种应用于网络设备应用的网络设备管理装置。
参见图10,为本申请实施例提供的一种网络设备管理装置的结构示意图,应用于部署于网络设备上的网络设备应用,所述网络设备应用用于:实现所述网络设备的网络通信功能,上述装置包括:
命令接收模块1001,用于接收管理应用发送的数据获取命令,其中,所述管理应用与所述网络设备应用运行于所述网络设备中的同一处理芯片上,所述管理应用用于:对所述网络设备进行管理;
数据获得模块1002,用于获得所述数据获取命令请求的数据;
应答发送模块1003,用于向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
由以上可见,用于对网络设备应用进行管理的管理应用和网络设备应用均被配置于网络设备的同一处理芯片上,由于网络设备的运行是基于所配置的网络设备应用实现的,因此对网络设备中配置的网络设备应用进行管理相当于是对网络设备进行了管理,也就是本申请实施例中网络设备可以实现对自身的管理,不需要第三方分析机实现网络设备管理,充分利用网络设备自身的计算资源,从而可以提高网络设备管理的效率。
本申请的一个实施例中,所述管理应用部署于第一容器中,所述网络设备应用部署于第二容器中, 所述命令接收模块1001,具体用于:
接收管理应用基于所述第二容器的IP地址、通过所述第一容器与第二容器之间的虚拟网桥发送的数据获取命令;
所述应答发送模块1003,具体用于:
基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
由以上可见,上述管理应用与网络设备应用分别被部署于第一容器和第二容器中,管理应用于网络设备应用可以通过第一容器和第二容器的IP地址在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
本申请的一个实施例中,所述管理应用部署于第一模型中,所述网络设备应用部署于第二模型中,所述命令接收模块1001,具体用于:
接收管理应用基于所述网络设备的本地环回地址以及所述第二模型的socket端口号发送的数据获取命令;
所述应答发送模块1003,具体用于:
基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
由以上可见,上述管理应用与网络设备应用分别被部署于第一模块和第二模块中,管理应用于网络设备应用可以通过本地环回地址以及第一模块和第二模块的socket端口号在彼此之间完成数据获取命令与数据应答的传输,从而完成网络设备管理的过程。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统、装置而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的较佳实施例,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。

Claims (15)

  1. 一种网络设备管理方法,其特征在于,应用于部署于网络设备上的管理应用,所述管理应用用于:对所述网络设备进行管理,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述网络设备应用与所述管理应用运行于所述网络设备中的同一处理芯片上,所述方法包括:
    向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,其中,所述数据应答中包含:所述数据获取命令请求的数据;
    对所述数据应答中包含的数据进行处理,获得处理结果;
    基于所述处理结果实现网络设备管理。
  2. 根据权利要求1所述的方法,其特征在于,所述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中,所述向被管理的网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,包括:
    基于所述第二容器的IP地址,通过所述第一容器与第二容器之间的虚拟网桥向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送数据应答。
  3. 根据权利要求1所述的方法,其特征在于,所述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中,所述向被管理的网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,包括:
    基于所述网络设备的本地环回地址以及所述第二模块的套接字socket端口号,向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送数据应答。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述管理应用为人工智能AI应用,且在所述网络设备中配置有AI芯片的情况下,所述对所述数据应答中包含的数据进行处理,获得处理结果,包括:
    向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理;
    获得所述AI芯片反馈的处理结果。
  5. 根据权利要求4所述的方法,其特征在于,所述向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理,包括:
    基于所述管理应用所使用的算法的类型,向所述AI芯片中包含的目标子芯片发送所述数据,以使得所述目标子芯片对所述数据进行处理,所述目标子芯片为:所述AI芯片中与所述类型相匹配的子芯片。
  6. 一种网络设备管理方法,其特征在于,应用于部署于网络设备上的网络设备应用,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述方法包括:
    接收管理应用发送的数据获取命令,其中,所述管理应用与所述网络设备应用运行于所述网络设备中的同一处理芯片上,所述管理应用用于:对所述网络设备进行管理;
    获得所述数据获取命令请求的数据;
    向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
  7. 根据权利要求6所述的方法,其特征在于,所述管理应用部署于第一容器中,所述网络设备应用部署于第二容器中,所述接收管理应用发送的数据获取命令,包括:
    接收管理应用基于所述第二容器的IP地址、通过所述第一容器与第二容器之间的虚拟网桥发送的数据获取命令;
    所述向所述管理应用发送包含所述数据的数据应答,包括:
    基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送包含所述数据的数据应答。
  8. 根据权利要求6所述的方法,其特征在于,所述管理应用部署于第一模型中,所述网络设备应用部署于第二模型中,所述接收管理应用发送的数据获取命令,包括:
    接收管理应用基于所述网络设备的本地环回地址以及所述第二模型的套接字socket端口号发送的数据获取命令;
    所述向所述管理应用发送包含所述数据的数据应答,包括:
    基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送包含所述数据的数据应答。
  9. 一种网络设备管理系统,其特征在于,所述系统包括运行于网络设备中同一处理芯片上的管理应用与网络设备应用,所述管理应用用于:对所述网络设备进行管理,所述网络设备应用用于:实现所述网络设备的网络通信功能;
    所述管理应用,用于向所述网络设备应用发送数据获取命令;
    所述网络设备应用,用于获得所述数据获取命令请求的数据,并向所述管理应用发送包含所述数据的数据应答;
    所述管理应用,还用于对所述数据应答中包含的数据进行处理,获得处理结果,并基于所述处理结果实现网络设备管理。
  10. 根据权利要求9所述的系统,其特征在于,所述管理应用部署于第一容器中,被管理的网络设备应用部署于第二容器中;
    所述管理应用,具体用于基于所述第二容器的IP地址,通过所述第一容器与第二容器之间的虚拟网桥向所述网络设备应用发送数据获取命令;
    所述网络设备应用,具体用于基于所述第一容器的IP地址,通过所述虚拟网桥向所述管理应用发送包含所述数据的数据应答。
  11. 根据权利要求9所述的系统,其特征在于,所述管理应用部署于第一模块中,被管理的网络设备应用部署于第二模块中;
    所述管理应用,具体用于基于所述网络设备的本地环回地址以及所述第二模块的套接字socket端口 号,向所述网络设备应用发送数据获取命令;
    所述网络设备应用,具体用于基于所述本地环回地址以及所述第一模块的socket端口号,向所述管理应用发送包含所述数据的数据应答。
  12. 根据权利要求9-11中任一项所述的系统,其特征在于,所述管理应用为人工智能AI应用,且在所述网络设备中配置有AI芯片的情况下,所述管理应用,具体用于:
    向所述AI芯片发送所述数据应答中包含的数据,以使得所述AI芯片对所述数据进行处理;
    获得所述AI芯片反馈的处理结果。
  13. 根据权利要求12所述的系统,其特征在于,所述管理应用,具体用于:
    基于所述管理应用所使用的算法的类型,向所述AI芯片中包含的目标子芯片发送所述数据,以使得所述目标子芯片对所述数据进行处理,所述目标子芯片为:所述AI芯片中与所述类型相匹配的子芯片。
  14. 一种网络设备管理装置,其特征在于,应用于部署于网络设备上的管理应用,所述管理应用用于:对所述网络设备进行管理,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述网络设备应用与所述管理应用运行于所述网络设备中的同一处理芯片上,所述装置包括:
    命令发送模块,用于向所述网络设备应用发送数据获取命令,以使得所述网络设备应用响应于所述数据获取命令,向所述管理应用发送数据应答,其中,所述数据应答中包含:所述数据获取命令请求的数据;
    数据处理模块,用于对所述数据应答中包含的数据进行处理,获得处理结果;
    网络设备管理模块,用于基于所述处理结果实现网络设备管理。
  15. 一种网络设备管理装置,其特征在于,应用于部署于网络设备上的网络设备应用,所述网络设备应用用于:实现所述网络设备的网络通信功能,所述装置包括:
    命令接收模块,用于接收管理应用发送的数据获取命令,其中,所述管理应用与所述网络设备应用运行于所述网络设备中的同一处理芯片上,所述管理应用用于:对所述网络设备进行管理;
    数据获得模块,用于获得所述数据获取命令请求的数据;
    应答发送模块,用于向所述管理应用发送包含所述数据的数据应答,以使得所述管理应用对所述数据应答中包含的数据进行处理,并基于处理结果实现网络设备管理。
PCT/CN2022/079203 2022-03-04 2022-03-04 一种网络设备管理方法、系统及装置 WO2023164916A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP22929364.2A EP4425849A1 (en) 2022-03-04 2022-03-04 Network device management method, system and apparatus
PCT/CN2022/079203 WO2023164916A1 (zh) 2022-03-04 2022-03-04 一种网络设备管理方法、系统及装置
CN202280000392.4A CN114731324A (zh) 2022-03-04 2022-03-04 一种网络设备管理方法、系统及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/079203 WO2023164916A1 (zh) 2022-03-04 2022-03-04 一种网络设备管理方法、系统及装置

Publications (1)

Publication Number Publication Date
WO2023164916A1 true WO2023164916A1 (zh) 2023-09-07

Family

ID=82232983

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/079203 WO2023164916A1 (zh) 2022-03-04 2022-03-04 一种网络设备管理方法、系统及装置

Country Status (3)

Country Link
EP (1) EP4425849A1 (zh)
CN (1) CN114731324A (zh)
WO (1) WO2023164916A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10470059B1 (en) * 2019-03-04 2019-11-05 Cisco Technology, Inc. Dynamic network device selection for containerized application deployment
CN112054862A (zh) * 2020-07-30 2020-12-08 深圳市中盛瑞达科技有限公司 基于容器云平台的网络管理方法和系统
CN113132127A (zh) * 2019-12-30 2021-07-16 中兴通讯股份有限公司 网络设备管理方法、系统及网络设备
CN113612688A (zh) * 2021-07-14 2021-11-05 曙光信息产业(北京)有限公司 分布式软件定义网络控制系统及其构建方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10470059B1 (en) * 2019-03-04 2019-11-05 Cisco Technology, Inc. Dynamic network device selection for containerized application deployment
CN113132127A (zh) * 2019-12-30 2021-07-16 中兴通讯股份有限公司 网络设备管理方法、系统及网络设备
CN112054862A (zh) * 2020-07-30 2020-12-08 深圳市中盛瑞达科技有限公司 基于容器云平台的网络管理方法和系统
CN113612688A (zh) * 2021-07-14 2021-11-05 曙光信息产业(北京)有限公司 分布式软件定义网络控制系统及其构建方法

Also Published As

Publication number Publication date
CN114731324A (zh) 2022-07-08
EP4425849A1 (en) 2024-09-04

Similar Documents

Publication Publication Date Title
WO2021190482A1 (zh) 算力处理的网络系统及算力处理方法
TWI521437B (zh) 用於網路的方法和系統
US20240031309A1 (en) Data Processing Method, Apparatus, Device and Storage Medium
CN104364761B (zh) 用于在集群网络中转发流量的系统和方法
EP1892929B1 (en) A method, an apparatus and a system for message transmission
US20180295029A1 (en) Managing groups of servers
US10389173B2 (en) Programmable and application aware power utility automation networking
US11153185B2 (en) Network device snapshots
CN103416025A (zh) 用于经由云桥添加vlan标签的系统和方法
WO2019178756A1 (zh) Sd-wan系统、sd-wan系统的使用方法及相关装置
CN104038570B (zh) 一种数据处理方法及装置
CN104618194A (zh) 软件定义网络报文监控方法和sdn控制器、交换设备
CN116458132B (zh) 借助流程控制环境提供时间关键的服务的方法和系统
WO2018039973A1 (zh) 网络功能处理方法及相关设备
WO2015149625A1 (zh) 一种多实例并行的网元接入方法和系统
US20220394010A1 (en) Method, Apparatus, and System for Sending Control Request Based on Key Value Configuration
CN112637265A (zh) 一种设备管理方法、装置及存储介质
WO2018153355A1 (zh) 控制信息传递方法、服务器和系统
CN115484232A (zh) Dhcp服务器的部署方法、装置、设备及存储介质
WO2023164916A1 (zh) 一种网络设备管理方法、系统及装置
CN111970158B (zh) 边缘接入的处理系统、方法、装置及设备
JP5185383B2 (ja) 複数の制御ノードから構成されるネットワーク用の制御ノード
CN115412527A (zh) 虚拟私有网络之间单向通信的方法及通信装置
CN111200516A (zh) 一种智能客户终端系统
EP4293973A1 (en) Method and controller for configuring nodes in a, particularly industrial, network and respective node

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22929364

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022929364

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022929364

Country of ref document: EP

Effective date: 20240530

WWE Wipo information: entry into national phase

Ref document number: 11202403712P

Country of ref document: SG