CN111416736A - Configuration management method and device of network equipment, computing equipment and storage medium - Google Patents

Configuration management method and device of network equipment, computing equipment and storage medium Download PDF

Info

Publication number
CN111416736A
CN111416736A CN202010169651.9A CN202010169651A CN111416736A CN 111416736 A CN111416736 A CN 111416736A CN 202010169651 A CN202010169651 A CN 202010169651A CN 111416736 A CN111416736 A CN 111416736A
Authority
CN
China
Prior art keywords
path
network
management
message
request message
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN202010169651.9A
Other languages
Chinese (zh)
Other versions
CN111416736B (en
Inventor
赵乾隆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co Ltd
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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN202010169651.9A priority Critical patent/CN111416736B/en
Publication of CN111416736A publication Critical patent/CN111416736A/en
Application granted granted Critical
Publication of CN111416736B publication Critical patent/CN111416736B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • 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/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/562Brokering proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Abstract

The application discloses a configuration management method and device of network equipment, computing equipment and a storage medium. The network management server side can match the information carried in the management request message from the network management client side with the YANG model tree, and forward the corresponding management request message to each service component of the network equipment through the communication middleware of the network equipment after the matching is successful, so that the configuration, management and the like aiming at the related service components can take effect, and the configuration management of the network equipment can be rapidly and safely realized. The scheme enables a YANG model to be designed according to network equipment configuration, avoids coupling of a communication interface of a service component and a User Interface (UI), reduces development complexity and reduces development and operation and maintenance costs.

Description

Configuration management method and device of network equipment, computing equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for configuration management of a network device, a computing device, and a storage medium.
Background
With the continuous expansion of network scale, the demands for automation and intellectualization of configuration management of network devices are more and more urgent. gRPC (Google Remote Procedure Call) is a modern, open-source, high-performance Remote Procedure Call framework that can run on any platform. The gRPC enables applications of the client and the server to communicate transparently, and can simplify the construction of a connection system. The gPC supports a plurality of development languages and has superior performance, and is widely applied.
In a gRPC implemented conventionally, each client and a server agree to output a corresponding PROTO file, and design a corresponding RPC (Remote Procedure Call) and a message (message) related to the RPC. At present, network equipment manufacturers are numerous and brands are different, and configuration management modes between manufacturers and between brands are inconsistent, namely configuration commands are different. Therefore, management personnel are required to master management commands of various manufacturers and brands to manage the network equipment, the server and the network equipment of the server cannot be effectively compatible due to the phenomenon, and the difficulty in configuration and maintenance of numerous equipment by the management personnel is directly improved. Therefore, the existing configuration management scheme has the problem that the maintenance among a plurality of network devices is difficult because the configuration management commands are different due to different network device manufacturers.
Therefore, how to improve the configuration management scheme of the network device to solve the above technical problems becomes one of the difficulties that needs to be overcome.
Disclosure of Invention
The present invention provides a method, an apparatus, a computing device and a storage medium for configuration management of a network device, so as to solve the above technical problems.
In a first aspect, an embodiment of the present application provides a configuration management method for a network device, where the method is applied to a network management server of the network device, and the method includes:
receiving a management request message which is sent by a network management client and carries an operation type identifier, a path and parameters;
determining whether the operation type identifier, the path and the parameter all match a YANG model tree of the network device, the YANG model tree being generated according to YANG files of various service components included by the network device;
if the operation type identifier, the path and the parameters are determined to be matched with the YANG model tree, after subscribing an index identifier distributed for the management request message to a communication middleware of the network equipment, sending a management request message carrying the index identifier, the operation type identifier, the path and the parameters, so that the communication middleware forwards the management request message to a service component subscribing the path for operation, and returning the management response message after receiving a management response message carrying an operation result and the index identifier sent by the service component subscribing the path;
and sending a management response message carrying the index identification and the operation result to the network management client.
In one embodiment, the method further comprises:
acquiring a YANG file of each service component of the network equipment, and generating a YANG model tree of the network equipment;
sending a subscription request message carrying message types of capability feature notification message and a first operation mode to the communication middleware, so that the communication middleware receives the capability feature notification message carrying the first capability information, the first feature information and the first operation mode sent by each service component and forwards the capability feature notification message to the network management server;
and after receiving the capability feature notification message sent by the communication middleware, adding the first capability information and the first feature information to the device capability set of the network device, and updating the YANG model tree of the network device according to the first capability information and the first feature information.
In one embodiment, the method further comprises:
sending a subscription request message carrying the message types of a configuration information change message and a second operation mode to the communication middleware, so that the communication middleware receives the configuration information change message carrying the second operation mode and the changed configuration information and sent by each service component and forwards the configuration information change message to the network management server;
receiving the configuration information change message sent by the communication middleware;
and acquiring the configuration information of the configuration change carried by the configuration information change message.
In one embodiment, the method further comprises:
receiving a device capability set acquisition request message sent by the network management client;
and sending a device capability set acquisition response message carrying the device capability set of the network device to the network management client so that the network management client generates the management request message according to the device capability set of the network device.
In a second aspect, an embodiment of the present application further provides a method for configuration management of a network device, where the method is applied to a communication middleware of the network device, and the method includes:
receiving an index identifier subscribed by a network management server of the network equipment;
receiving a management request message which is sent by the network management server and carries the index identifier, the operation type identifier, the path and the parameters, wherein the management request message is sent after the network management server receives a management request message which is sent by a network management client and carries the operation type identifier, the path and the parameters, and determines that the operation type identifier, the path and the parameters are matched with a YANG model tree of the network equipment and distributes the index identifier to the management request message;
forwarding the management request message to a service component subscribing the path, so that the service component subscribing the path calls a response function corresponding to the path to execute the operation corresponding to the operation type identifier for the path and the parameter, and then returns a management response message carrying an operation result and the index identifier;
and returning the management response message to the network management server so that the network management server returns the operation result to the network management client.
In one embodiment, the method further comprises:
and receiving a path subscription request message which is sent by each service component of the network equipment and carries a path to be subscribed.
In one embodiment, the method further comprises:
after receiving a subscription request message which is sent by the network management server and carries message types of a capability feature notification message and a first operation mode, storing the message type of the capability feature notification message and the first operation mode;
if the capability feature notification message carrying first capability information, first feature information and the first operation mode and sent by each service component is received, the first capability information and the first feature information are operated according to the first operation mode, the capability feature notification message is forwarded to the network management server, so that the network management server adds the first capability information and the first feature information to a device capability set of the network device, and a YANG model tree of the network device is updated according to the first capability information and the first feature information.
In one embodiment, the method further comprises:
after receiving a subscription request message which carries a message type as a configuration information change message and a second operation mode and is sent by the network management server, storing the message type of the configuration information change message and the second operation mode;
if receiving the configuration information carrying the change and the configuration information change message of the second operation mode sent by each service component, operating the changed configuration information according to the second operation mode, and forwarding the configuration change message to the network management server, so that the network management server acquires the changed configuration information carried by the configuration information change message.
In a third aspect, an embodiment of the present application further provides a method for configuration management of a network device, where the method is applied to each service component of the network device, and the method includes:
receiving a management request message sent by a communication middleware of the network equipment, wherein the management request message is sent after the communication middleware receives the management request message which is sent by a network management server of the network equipment and carries an index identifier, an operation type identifier, a path and parameters, and determines a service component subscribing the path;
calling a response function corresponding to the path to execute the operation corresponding to the operation type identification aiming at the path and the parameter;
and returning a management response message carrying an operation result and the index identifier to the communication middleware so that the communication middleware returns the operation result to a network management server of the network equipment.
In one embodiment, the method further comprises:
determining a path to be subscribed and a corresponding response function thereof;
subscribing the path to be subscribed to the communication middleware;
and storing the path to be subscribed and the response function in the corresponding relation of the path and the response function.
In one embodiment, calling a response function corresponding to the path to perform an operation corresponding to the operation type identifier on the path and the parameter includes:
searching the path in the corresponding relation between the path and the response function;
if the path is found in the corresponding relationship between the path and the response function, calling the response function corresponding to the path in the corresponding relationship to execute the operation corresponding to the operation type identifier aiming at the path and the parameter.
In one embodiment, the method further comprises:
after the network equipment is monitored to be started for the first time, determining the self capability information and the characteristic information as first capability information and first characteristic information; or monitoring the changed capability information and the changed characteristic information, and determining the changed capability information and the changed characteristic information as first capability information and first characteristic information;
and sending a capability feature notification message carrying a first operation mode, the first capability information and the first feature information to the communication middleware, so that the communication middleware forwards the capability feature notification message to the network management server after operating the first capability information and the first feature information according to the first operation mode.
In one embodiment, the method further comprises:
and after monitoring that the configuration information of the communication middleware is changed, sending a configuration information change message carrying a second operation mode and the changed configuration information to the communication middleware, so that the communication middleware forwards the configuration information change message to the network management server after operating the changed configuration information according to the second operation mode.
In a fourth aspect, an embodiment of the present application provides a configuration management device for a network device, where the configuration management device is applied to a network management server of the network device, and the device includes:
the message receiving unit is configured to receive a management request message which is sent by a network management client and carries an operation type identifier, a path and parameters;
a matching unit configured to determine whether the operation type identifier, the path, and the parameter all match a YANG model tree of the network device, the YANG model tree being generated from YANG files of respective business components included in the network device;
a processing unit, configured to, if it is determined that the operation type identifier, the path, and the parameter are all matched with the YANG model tree, subscribe to an index identifier allocated to the management request packet from a communication middleware of the network device, send a management request message carrying the index identifier, the operation type identifier, the path, and the parameter, so that the communication middleware forwards the management request message to a service component subscribing to the path for operation, and return a management response message carrying an operation result and the index identifier to the management response message after receiving the management response message sent by the service component subscribing to the path;
and the message sending unit is configured to send a management response message carrying the index identifier and the operation result to the network management client.
In a fifth aspect, an embodiment of the present application provides a configuration management apparatus for a network device, where the apparatus is applied to a communication middleware of the network device, and the apparatus includes:
the index identifier subscription unit is configured to receive an index identifier subscribed by a network management server of the network device;
a message receiving unit, configured to receive a management request message carrying the index identifier, the operation type identifier, the path and the parameter sent by the network management server, where the management request message is sent after the network management server receives a management request message carrying the operation type identifier, the path and the parameter sent by a network management client, and determines that the operation type identifier, the path and the parameter are all matched with a YANG model tree of the network device and allocates the index identifier to the management request message;
a message forwarding unit configured to forward the management request message to a service component subscribing to the path, so that the service component subscribing to the path calls a response function corresponding to the path to execute an operation corresponding to the operation type identifier for the path and the parameter, and then returns a management response message carrying an operation result and the index identifier;
and the result feedback unit is configured to return the management response message to the network management server, so that the network management server returns the operation result to the network management client.
In a sixth aspect, an embodiment of the present application provides a configuration management apparatus for a network device, where the apparatus is applied to each service component of the network device, and the apparatus includes:
a message receiving unit, configured to receive a management request message sent by a communication middleware of the network device, where the management request message is sent by the communication middleware after the communication middleware receives a management request message which is sent by a network management server of the network device and carries an index identifier, an operation type identifier, a path and a parameter, and determines a service component which subscribes to the path;
a calling unit configured to call a response function corresponding to the path to execute an operation corresponding to the operation type identifier for the path and the parameter;
and the message feedback unit is configured to return a management response message carrying an operation result and the index identifier to the communication middleware, so that the communication middleware returns the operation result to a network management server of the network device.
In a seventh aspect, another embodiment of the present application further provides a computing device, including at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute any configuration management method provided by the embodiment of the application.
In an eighth aspect, another embodiment of the present application further provides a computer storage medium, where the computer storage medium stores computer-executable instructions, and the computer-executable instructions are configured to cause a computer to execute any one of the configuration management methods in the embodiments of the present application.
The configuration management scheme of the network equipment can realize a safe and rapid communication protocol between the network management server and the network equipment. The network management server side can match the information carried in the management request message from the network management client side with the YANG model tree, and forward the corresponding management request message to each service component of the network equipment through the communication middleware of the network equipment after the matching is successful, so that the configuration, management and the like aiming at the related service components can take effect, and the configuration management of the network equipment can be rapidly and safely realized. The YANG model design is used to make the device configuration structure design independent of the development language. Moreover, the interface is realized based on the YANG model tree and the YANG model, so that the communication interface of the service component and the User Interface (UI) can be decoupled, the situation that the same configuration needs to be redeveloped due to different user interface protocols is avoided, developers can concentrate on service development, and the development complexity is reduced. Developers can also add YANG models dynamically as needed, thereby reducing post-development and maintenance costs.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a configuration management system according to one embodiment of the present application;
FIG. 2 is a flow chart illustrating a configuration management method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a configuration management method according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating a configuration management method according to an embodiment of the present application;
FIG. 5 is an example of a configuration management process according to one embodiment of the present application;
FIG. 6 is a schematic diagram of a configuration management apparatus according to one embodiment of the present application;
FIG. 7 is a schematic diagram of a configuration management apparatus according to one embodiment of the present application;
FIG. 8 is a schematic diagram of a configuration management apparatus according to one embodiment of the present application;
FIG. 9 is a schematic diagram of a computing device according to one embodiment of the present application.
Detailed Description
In order to clearly understand the technical solutions provided by the embodiments of the present application, the following terms appearing in the embodiments of the present application are explained, it should be noted that the terms in the embodiments of the present application are only explained to facilitate understanding of the present application, and are not used to limit the present application, and the terms include:
JSON (JS Object Notation) is a lightweight data exchange format that stores and represents data in a text format that is completely independent of the programming language, based on a subset of ECMAScript (JS specification set by the european computer association). The compact and clear hierarchy makes JSON an ideal data exchange language. The network transmission method is easy to read and write by people, is easy to analyze and generate by machines, and effectively improves the network transmission efficiency.
Extensible Markup language (XM L), a subset of standard universal Markup language, is a Markup language for Markup electronic documents to make them structured, which can be used to mark data, define data types, and allow users to define their own Markup language.
The Network Configuration Protocol (NETCONF) is a new Network Configuration and management Protocol based on XM L, and proposes a whole set of mechanisms for managing Configuration information and status information of Network devices (such as installation, operation, deletion, etc.).
The YANG (Yet speaker Next Generation) model is a data modeling language, which is used for modeling configuration data and state data operated by NETCONF protocol, NETCONF Remote Procedure Calls (RPCs) and NETCONF notification (notification). the YANG model is a modeling language with a tree structure, has good readability and expandability, has a self-syntax format, can be transformed into the XM L format without difference, can automatically generate corresponding java interfaces, classes, methods and the like through yangtools plugin, and provides great convenience for a user to process programming.
RPC is an abbreviated form of Remote Procedure Call (Remote Procedure Call).
Go (also called Golang) is a strong static type, compiling type, concurrent type and garbage collection type programming language developed by Google. Go language syntax is similar to C language, but functionally: memory security, GC (garbage collection), structural morphology and CSP-style concurrent computation.
gNMI (gRPC Network Management interface) is a gRPC Network configuration Management interface implemented by GO language.
As mentioned above, a gRPC is a high-performance, strong-versatility, open-source RPC framework that is mainly developed for mobile applications. The gRPC is designed based on the HTTP/2 protocol standard, is developed based on a protocol (protocol buffers) serialization protocol, supports a plurality of development languages, has superior performance and is widely applied.
The netconf (network Configuration protocol) protocol is currently established by the industry, is considered as a standard for next generation network management, and is increasingly widely used by various manufacturers for device Configuration.
Since the release of YANG version 1(RFC6020), YANG has been used or proposed for other protocols (e.g., RESTCONF and constrained application protocol (CoAP) management interface, CoMI.) furthermore, a coding other than XM L (e.g., JSON (RFC7951)) has been proposed.
gNMI (gPRC Network Management interface) is a gPRC Network configuration Management interface implemented in the GO language, which is based on the open Source YANG model OpenConfig design, which has the following characteristics 1) implementing a client library using gnmi.proto, 2) implementing C L I for interacting with gNMI services, 3) a cache collector connected to multiple gNMI targets and making data available on a single gNMI, subscribing RPC to clients.
In other words, in a conventional GRPC, each client and server agree to output a corresponding PROTO file, and design a corresponding RPC and a message (message) related thereto.
However, the following problems exist in the scheme, and the scheme is not easy to apply to equipment:
1) the GO language is difficult to adapt to all devices;
2) a Command line Interface (Command L ine Interface, C L I) of gNMI interaction is not suitable for existing equipment, and each service module needs to realize a corresponding UI Interface;
3) and the business component on the equipment needs to realize a YANG API interface corresponding to the gNMI, and the whole scheme needs to be redesigned.
These phenomena may cause that the server and the network device cannot be effectively compatible, and a new message (message) needs to be defined for the new requirement and a corresponding Remote Procedure Call (RPC) method needs to be implemented, which has certain development complexity and development difficulty, and increases the later development and maintenance cost.
In view of this, the present invention provides a configuration management scheme for a network device, which can implement a convenient, fast, and reusable device configuration method, implement a secure and fast communication protocol between a network management client and the network device, and further implement configuration management for the network device conveniently. On the basis, the YANG model can be designed according to the network device configuration, so that the device configuration structure design is independent of the development language. Moreover, the YANG model realization interface of the YAGN model tree is not coupled with a User Interface (UI) protocol, so that the situation that the same configuration needs to be redeveloped due to different UI protocols can be avoided, developers can concentrate on service development, and the development complexity is reduced. Furthermore, based on the YANG model and the fast and safe communication protocol between the network management client and the network equipment, the configuration management of the network equipment can be fast and safely realized, and the configuration efficiency is improved. Developers can also add YANG models dynamically as needed, thereby reducing post-development and maintenance costs.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
FIG. 1 is a schematic diagram of a configuration management system according to one embodiment of the present application.
As shown in fig. 1, the configuration management system of the embodiment of the present application may include a network management client 10 and a managed network device 20.
In the embodiment of the application, the network management client and the network device are both developed and designed based on a general framework and a protocol for managing and configuring the network device in advance, and relevant specifications of each general framework and protocol and a YANG model are defined during design, so that the communication between the network management client and the network device is in accordance with the corresponding specifications.
The Network management client 10 and the Network device 20 may support various general frameworks and protocols for configuration management of Network devices, such as gRPC, NETCONF, RESTCONF, C L I, SNMP, and the like, so that Network devices such as gateways, routers, set-top boxes, number access routers/switches, PTN (packet transport Network) devices, PON (Passive Optical Network) devices, and the like can be centrally managed, configured, and the like from the Network side.
The network device 20 may include a network management server 21, a communication middleware 22, and a plurality of service components 23. In the process of configuring and managing the network device, the network management server 21, the communication middleware 22 and the plurality of service components 23 cooperate to implement corresponding configuration management.
The functions that can be realized by the network management server 21, the communication middleware 22 and the service components 23 will be explained below. Then, a complete configuration management flow diagram is combined to describe the whole configuration management flow of the present application. In addition, it should be understood that the description in conjunction with the gRPC is made in the following description only for convenience of explanation and not any limitation on the technical solution of the present application. Moreover, the descriptions of "first" and "second" herein are intended to distinguish between the objects described, and not to specify any order, or size, or function, or the like, as may be apparent or implied.
Network management server
Returning to fig. 1, the network management server 21 may support a plurality of protocol frameworks, such as a gRPC framework, a NETCONF framework, a RESTCONF framework, and the like. Based on these multiple protocol frameworks, fast and secure communication between the network management client 10 and the network device 20 can be achieved, so as to implement configuration management on the network device 20. It should be understood that, in the embodiment of the present application, the communication protocol supported by the network management server is only an example and is not limited at all, in practical applications, the protocol framework that can be supported by the network management server 21 may include, but is not limited to, the above protocol framework, and any supported protocol framework can implement the configuration management scheme of the network device described in the embodiment of the present application.
Fig. 2 is a flowchart illustrating a configuration management method according to an embodiment of the present application. The configuration management method can be implemented by the network management server shown in fig. 1.
Specifically, referring to fig. 2, the network management server 21 may implement:
in step S210, a management request message carrying an operation type identifier, a path, and a parameter sent by the network management client is received.
In the embodiment of the present application, the network management request or the related configuration request sent by the client may be collectively referred to as a management request. The management request message may be generated by the network management client according to a device capability set of the network device acquired in advance.
In implementation, the network management client may interact with the network device to obtain a device capability set of the network device in advance, that is, a set of capability information and feature information of each service component of the network device, so as to implement synchronization of configuration information between the network management client and the network device. On the basis, when configuration requirements aiming at the network equipment exist, the corresponding management request message can be generated by analyzing the equipment capability set.
The management request message may be sent via a related interface, including but not limited to rpc Set interface or rpc Get as described below. And, the operation type identifier may be used to indicate one of the following operations: adding configuration, modifying configuration, and deleting configuration.
At step S220, it is determined whether the operation type identifier, the path, and the parameter all match the YANG model tree of the network device.
Here, the YANG model tree is generated from YANG files of respective service components included in the network device. The YANG model tree organizes the nodes of the YANG model in the form of a tree, such as leaf nodes, list nodes, container nodes, etc., and each node has a corresponding YANG model implementation interface. In implementation, the YANG file can be dynamically loaded according to the requirement to dynamically add the YANG model and update the YANG model tree, so that the later development and maintenance cost can be reduced.
Because the network management client and the network device are both developed and designed based on the general framework and the protocol for managing and configuring the network device in advance, and the relevant specifications of each general framework and protocol and the YANG model are defined during design, the management request message sent by the network management client also conforms to the corresponding specifications. The network management server analyzes the management request message to obtain the operation type identifier, the path, the parameters and the like included in the message. Thereafter, it is determined whether the operation type identifier, the path, and the parameter are all matched to the YANG model tree of the network device by traversing the YANG model tree.
In step S230, if it is determined that the operation type identifier, the path, and the parameter are all matched with the YANG model tree, after subscribing to an index identifier allocated to the management request packet, sending a management request message carrying the index identifier, the operation type identifier, the path, and the parameter to a communication middleware of the network device, so that the communication middleware forwards the management request message to a service component subscribing to the path for operation, and returns a management response message after receiving a management response message carrying an operation result and the index identifier sent by the service component subscribing to the path.
In step S240, a management response packet carrying the index identifier and the operation result is sent to the network management client.
Therefore, on the basis of the communication protocol supported by the network management server, the network management server can match the operation type identifier, the path, the parameters and the like carried in the management request message with the YANG model tree of the network equipment, and forward the corresponding management request message to the service component through the communication middleware after the matching is successful, so that the configuration for the related service component can take effect, and the configuration management of the service component can be quickly and safely realized. The YANG model tree and the YANG model based interface can decouple the communication interface of the service component from the User Interface (UI), avoid the situation that the same configuration needs to be redeveloped due to different user interface protocols, enable developers to concentrate on service development, and reduce the development complexity. Furthermore, based on the YANG model and the fast and safe communication protocol between the network management client and the network equipment, the configuration management of the network equipment can be fast and safely realized, and the configuration efficiency is improved.
In this embodiment of the present application, before performing configuration management on a network device, the network device further needs to complete device initialization.
Specifically, for example, when a network device is initially started, a network management server may obtain a YANG file of each service component of the network device, generate a YANG model tree of the network device, and send a subscription request message carrying a message type of a capability feature notification message and a first operation mode to the communication middleware, so that the communication middleware receives the capability feature notification message carrying the first capability information, the first feature information, and the first operation mode sent by each service component and forwards the capability feature notification message to the network management server. In the initialization stage, the YANG model and feature information (feature) thereof corresponding to the YANG file are both in a network device non-support state by default, and only after the service component issues the YNAG model supported by the service component via the communication middleware and is successfully subscribed by the network management server, the related YANG model successfully subscribed and the feature network device support state will be described in detail below.
On this basis, after receiving the capability feature notification message sent by the communication middleware, the network management server can add the first capability information and the first feature information to the device capability set of the network device, and update the YANG model tree of the network device according to the first capability information and the first feature information. Based on the YANG model tree, the network management server can analyze the management request message sent by the network management client and execute the subsequent configuration management process, so that the configuration of the service components can take effect, and the configuration management of the network equipment and each service component is realized.
Therefore, developers only need to design corresponding YANG files for the network equipment, and when the network equipment is started, the network management server side of the network equipment can automatically realize the equipment initialization of the network equipment by loading and analyzing the YANG files, so as to provide support for ensuring that the subsequent configuration management process can be implemented smoothly.
In the embodiment of the application, besides the configuration management of the network equipment based on the network management client, the configuration change of the network equipment and each service component thereof can be realized through other modes. It should be understood that the configuration change of the service component may be caused by any configuration change manner other than configuration performed through the network management client, and the present application does not limit this.
In order to ensure the smooth implementation of the configuration management of the network management client to the network device, the network management server may further send a subscription request message carrying the message types as the configuration information change message and the second operation mode to the communication middleware, so that the communication middleware forwards the configuration information change message carrying the second operation mode and the changed configuration information sent by each service component to the network management server after receiving the configuration information change message.
Thus, when the configuration of the service component is changed and the configuration information change message is issued through the communication middleware, the network management server can also receive the configuration information change message sent by the communication middleware and acquire the changed configuration information carried by the configuration information change message. The configuration information of the acquired configuration change may also be recorded in a cache.
Therefore, through the subscription mechanism, the network management server can timely know the configuration information after the configuration change of the business component, so that the configuration change of the business component can be timely informed to the network management client, the network management client can know the relevant conditions of the configuration change of the network equipment and the relevant business components thereof, and the subsequent configuration management is facilitated.
In the embodiment of the application, the network management client needs to know the relevant information of the capabilities and the features supported by the network device and each service component thereof, so that corresponding configuration management can be performed.
In implementation, the network management server may receive a device capability set acquisition request message sent by a network management client, and send a device capability set acquisition response message carrying the device capability set of the network device to the network management client, so that the network management client generates the management request message according to the device capability set of the network device. The network management client can know the capabilities and the characteristics supported by each service component and can perform configuration management on the capabilities and the characteristics based on the equipment capability set.
Communication middleware
The communication middleware 22 can implement information forwarding between the network management server 21 and the service component 23, and can shield differences between an operating system and a network protocol, and provide a plurality of communication mechanisms for the service component 23.
Fig. 3 is a flowchart illustrating a configuration management method according to an embodiment of the present application. The configuration management method can be realized by communication middleware of the network equipment.
Specifically, referring to fig. 3, the communication middleware 22 may implement:
in step S310, an index identifier subscribed by the network management server of the network device is received.
In step S320, a management request message carrying the index identifier, the operation type identifier, the path and the parameter and sent by the network management server is received, where the management request message is sent after the network management server receives a management request message carrying the operation type identifier, the path and the parameter and determines that the operation type identifier, the path and the parameter are all matched with a YANG model tree of the network device and allocates the index identifier to the management request message.
In step S330, the management request message is forwarded to the service component subscribed to the path, so that the service component subscribed to the path invokes a response function corresponding to the path to perform an operation corresponding to the operation type identifier for the path and the parameter, and then returns a management response message carrying an operation result and the index identifier.
In step S340, the management response message is returned to the network management server, so that the network management server returns the operation result to the network management client.
Therefore, the information forwarding between the network management server and the service components can be carried out through the communication middleware so as to avoid the coupling between each service component and the UI framework, and each UI framework can automatically modify the implementation of the YANG model without being influenced by the UI interface.
In one embodiment, each business component of a network device can subscribe to a path like messaging middleware. The communication middleware 22 may also implement: and receiving a path subscription request message which is sent by each service component of the network equipment and carries a path to be subscribed. Therefore, based on the path subscription mechanism, the communication middleware can associate the service component with the path subscribed by the service component, and further can forward the corresponding management request message to the service component subscribed by the path after receiving the management request message, so as to realize the configuration management operation of the service component.
In one embodiment, the communication middleware 22 may further implement:
after receiving a subscription request message which is sent by the network management server and carries message types of a capability feature notification message and a first operation mode, storing the message type of the capability feature notification message and the first operation mode;
if the capability feature notification message carrying first capability information, first feature information and the first operation mode and sent by each service component is received, the first capability information and the first feature information are operated according to the first operation mode, the capability feature notification message is forwarded to the network management server, so that the network management server adds the first capability information and the first feature information to a device capability set of the network device, and a YANG model tree of the network device is updated according to the first capability information and the first feature information.
In one embodiment, the communication middleware 22 may further implement:
after receiving a subscription request message which carries a message type as a configuration information change message and a second operation mode and is sent by the network management server, storing the message type of the configuration information change message and the second operation mode;
if receiving the configuration information carrying the change and the configuration information change message of the second operation mode sent by each service component, operating the changed configuration information according to the second operation mode, and forwarding the configuration change message to the network management server, so that the network management server acquires the changed configuration information carried by the configuration information change message.
Business component 23
The service component 23 is a functional module for providing services to the outside by the network device, and may include, but is not limited to, a TCP IP component, a BRIDGE component, and the like.
Fig. 4 is a flowchart illustrating a configuration management method according to an embodiment of the present application. Wherein, the configuration management method can be realized by each service component shown in fig. 1.
Specifically, referring to fig. 4, in step S410, a management request message sent by a communication middleware of the network device is received, where the management request message is sent by the communication middleware after the communication middleware receives a management request message which is sent by a network management server of the network device and carries an index identifier, an operation type identifier, a path and a parameter, and determines a service component which subscribes to the path.
In step S420, a response function corresponding to the path is called to perform an operation corresponding to the operation type identifier on the path and the parameter.
In step S430, a management response message carrying the operation result and the index identifier is returned to the communication middleware, so that the communication middleware returns the operation result to the network management server of the network device.
In one embodiment, the business component may also subscribe to the path with the messaging middleware. Specifically, the business component may: determining a path to be subscribed and a corresponding response function thereof; subscribing the path to be subscribed to the communication middleware; and storing the path to be subscribed and the response function in the corresponding relation of the path and the response function.
In one embodiment, invoking a response function corresponding to the path to perform an operation corresponding to the operation type identifier for the path and the parameter may include: searching the path in the corresponding relation between the path and the response function; if the path is found in the corresponding relationship between the path and the response function, calling the response function corresponding to the path in the corresponding relationship to execute the operation corresponding to the operation type identifier aiming at the path and the parameter.
In one embodiment, the business component may further implement: after the network equipment is monitored to be started for the first time, determining the self capability information and the characteristic information as first capability information and first characteristic information; or monitoring the changed capability information and the changed characteristic information, and determining the changed capability information and the changed characteristic information as first capability information and first characteristic information; and sending a capability feature notification message carrying a first operation mode, the first capability information and the first feature information to the communication middleware, so that the communication middleware forwards the capability feature notification message to the network management server after operating the first capability information and the first feature information according to the first operation mode.
In one embodiment, the business component may further implement: and after monitoring that the configuration information of the communication middleware is changed, sending a configuration information change message carrying a second operation mode and the changed configuration information to the communication middleware, so that the communication middleware forwards the configuration information change message to the network management server after operating the changed configuration information according to the second operation mode.
So far, the configuration management system, each component/module of the configuration management system, and the functional implementation thereof are explained with reference to the system framework diagram shown in fig. 1 and the method steps shown in fig. 2 to 4, respectively.
The configuration management system can realize a convenient, quick and reusable configuration management method for the network equipment, and the network management server can match information carried in a management request message from the network management client with the YANG model tree and forward corresponding management request messages to each service component of the network equipment through the communication middleware of the network equipment after the matching is successful, so that the configuration, management and the like aiming at the related service components can take effect, the configuration management of the network equipment is quickly and safely realized, and a safe and quick communication protocol between the network management client and the network equipment is realized. Wherein the YANG model can be designed according to the network device configuration, so that the device configuration structure design is independent of the development language. Moreover, the interface is realized based on the YANG model tree and the YANG model, so that the communication interface of the service component and the User Interface (UI) can be decoupled, the situation that the same configuration needs to be redeveloped due to different user interface protocols is avoided, developers can concentrate on service development, and the development complexity is reduced. Developers can also add YANG models dynamically as needed, thereby reducing post-development and maintenance costs.
Fig. 5 is a flowchart illustrating a configuration management method according to an embodiment of the present application.
In order to more clearly understand the functional implementation of the configuration management system of the present application, the following will be further explained with reference to the flowchart shown in fig. 5, wherein in the process of the detailed description, a gRPC framework is taken as an example of a network management service end of a network device, and a communication protocol between a network management client and the network device, such as gnmi.
As shown in fig. 5, in step 1: developers design the YANG model needed by the network equipment and the business component configuration thereof to obtain the corresponding YANG file. Here, the developer may design the YANG file as needed, and the designed YANG file may include, but is not limited to, a YANG file currently supported by the network device, which is not limited in this application.
In step 2: the network equipment is started for the first time, and the YANG model is initialized by the network management server.
Specifically, the webmaster server may obtain a YANG file of each service component of the network device, parse the YANG file to generate a YANG model tree of the network device, and initialize each YANG model interface of the YANG model tree. It should be understood that this initialization step may be applied to a network management server supporting any protocol, and the present application is not limited thereto. In the initialization stage, the YANG model and its feature information (feature) are both in a state that the network device does not support under the default condition, and only after the YNAG model supported by the service component is released through the communication middleware and successfully subscribed by the network management server, the related YANG model and its feature are in a state that the network device supports the YANG model and its feature are successfully subscribed.
In step 3.1: the network management server sends a subscription request message to the communication middleware and receives a subscription result returned by the communication middleware in step 3.2.
Here, the subscription request message may be a subscription request message carrying a message type of a capability feature notification message and a first operation mode, so that the communication middleware receives the capability feature notification message carrying the first capability information, the first feature information and the first operation mode sent by each service component and forwards the capability feature notification message to the network management server. Or, the subscription request message may be a subscription request message carrying a message type of a configuration information change message and a second operation mode, so that the communication middleware receives the configuration information change message carrying the second operation mode and the changed configuration information sent by each service component and forwards the configuration information change message to the network management server.
The communication middleware can store the message type of the capability feature notification message and the first operation mode after receiving the subscription request message which is sent by the network management server and carries the message type as the capability feature notification message and the first operation mode, and can store the message type of the configuration information change message and the second operation mode after receiving the subscription request message which is sent by the network management server and carries the message type as the configuration information change message and the second operation mode. The stored message types and corresponding operation modes can be stored in a configuration database of the communication middleware and can be used for forwarding messages in the subsequent configuration management process. If the storage is successful, the subscription result of successful subscription is returned to the network management server.
In implementation, the webmaster server may read, through the YANG model interface, capability information and feature information (feature) of the YANG model stored in the configuration database on the side of the communication middleware, and subscribe, to the communication middleware, capability features (for example, capability information and feature information (feature) supported by service components) and notification (notification) messages of each service component of the network device. The capability information and feature information (feature) of the YANG model stored in the configuration database may be registered and written in the configuration database by loading a YANG file and registering in the communication middleware when the network device is started, or may be registered and written in the configuration database in the middle of communication when the service component is started. Loading the YANG file into the memory to construct a YANG model tree when the program runs. The configuration database may provide functional interfaces for YANG model trees and YANG data trees parsing, loading, creating and deleting, reading, updating, in the form of libraries, for other modules or components.
The above steps 1-3 may be considered as device initialization of the network device, and through the above steps, initialization of the related communication protocol on the network device side and the related subscription mechanism may be realized according to development design. On the basis, a framework mechanism comprising adding, modifying and deleting network equipment configuration, inquiring configuration, state and statistical information and the like can be realized.
In step 4.1: when a service component (for example, a service component TCPIP) process is started, sending a capability feature notification message carrying a first operation mode, first capability information, and first feature information to a communication middleware, so that after the communication middleware operates the first capability information and the first feature information according to the first operation mode, in step 4.2, forwarding the capability feature notification message to a network management server to notify the network management server of the capability information of the service component and the feature information of a YANG model supported by the service component. It is assumed here that the service component is initially started, and the first capability information and the first feature information are capability information and feature information of the service component itself.
The capability feature notification message may be a notification message that may be used to indicate capabilities and features supported by the service component, and the first operation mode may include operations such as adding, modifying, and deleting capabilities and features of the service component. After receiving the capability feature notification message sent by the service component, the communication middleware can perform corresponding operations of adding, modifying, deleting and the like on the capability information and the feature information in the configuration database based on the first operation mode, the first capability information and the first feature information carried by the message, so as to update the configuration database.
Moreover, since the network management service end has subscribed the notification message to the communication middleware in the above steps 3.1 and 3.2, after the service component is started and issues the notification message, the communication middleware can forward the notification message to the network management service end, so that the network management service end adds the first capability information and the first feature information to the device capability set of the network device after receiving the capability feature notification message sent by the communication middleware, and updates the YANG model tree of the network device according to the first capability information and the first feature information. If the capability feature notification message corresponds to a deletion operation for the capability information and the feature information, the network management server may further delete the corresponding first capability information and the first feature information from the device capability set of the network device, which is not described herein again.
And after the service component is started, in step 5.1, the service component may further determine a path to be subscribed and a response function corresponding to the path to be subscribed, subscribe the path to be subscribed to the communication middleware, and store the path to be subscribed and the response function in a corresponding relationship between the path and the response function. In step 5.2, the messaging middleware may return the subscription result to the service component.
Therefore, through a path subscription mechanism, the corresponding relation between the service components and the path can be known, and after the communication middleware receives the relevant management request message from the network management server, the management request message can be forwarded to the service components subscribing the path, so that the service components subscribing the path call the response function corresponding to the path to execute the operation corresponding to the corresponding operation type identifier aiming at the path and the parameter, and the relevant configuration processing of the service components is realized.
In step 6.1: the network management client sends a device capability set acquisition request message (for example, through an rpc Capabilities interface) to the network management server to request to acquire the device capability set of the network device. The device capability set may be a set of YANG models supported by each service component of the network device, that is, a set of capability information and feature information of each service component.
In step 6.2, the network management server receives the device capability set acquisition request message sent by the network management client, generates a device capability set (Capabilities) of the network device according to the capability information and the feature information supported by each service component recorded in the cache, and sends a device capability set acquisition response message carrying the device capability set of the network device to the network management client through, for example, a capability response interface, so that the network management client generates the management request message according to the device capability set of the network device.
Therefore, the network management client can acquire the equipment capability set of the network equipment through communication with the network equipment. Further, based on the received device capability set, the network management client can know the capabilities supported by the network device and each service component thereof, that is, the YANG model and the characteristic information thereof, so as to realize configuration management of the related device functions of the network device based on the YANG model in the following.
In one embodiment, if a new business component is started. As shown in fig. 5, at step 7.1: and respectively taking the own capability information and the feature information of the new service component as first capability information and first feature information, sending a capability feature notification message carrying a first operation mode, the first capability information and the first feature information to the communication middleware, so that the communication middleware forwards the capability feature notification message to the network management server at step 7.2 after operating the first capability information and the first feature information according to the first operation mode. And after receiving the capability feature notification message sent by the communication middleware, the network management server adds the first capability information and the first feature information to the equipment capability set of the network equipment, and updates the YANG model tree of the network equipment according to the first capability information and the first feature information. Then, in step 7.3, after the network management server receives the device capability set acquisition request message sent by the network management client again, in step 7.4, a device capability set acquisition response message carrying the updated device capability set of the network device is sent to the network management client, so that the network management client generates the management request message according to the updated device capability set.
In an embodiment, if the service component monitors the changed capability information and feature information, for example, deletes the capability and feature that are not supported by the service component, the service component may determine that the changed capability information and feature information are the first capability information and the first feature information, respectively, and send a capability feature notification message carrying the first operation mode, the first capability information, and the first feature information to the communication middleware in step 8.2, so that the communication middleware forwards the capability feature notification message to the network management server after operating the first capability information and the first feature information according to the first operation mode (for example, deleting the first capability information and the first feature information in the configuration database). The network management server can delete the first capability information and the first characteristic information from the device capability set of the network device. Furthermore, in step 8.3, after the network management server receives the device capability set acquisition request message sent by the network management client again, in step 8.4, a device capability set acquisition response message carrying the updated device capability set of the network device is sent to the network management client, so that the network management client generates the management request message according to the updated device capability set.
In one embodiment, since the network management service terminal has subscribed the configuration information change message to the communication middleware in step 3.1-3.2, in step 9.1, after the service component monitors that its own configuration information is changed, in step 9.2, the configuration information change message carrying the second operation mode and the changed configuration information is sent to the communication middleware, so that after the communication middleware receives the configuration information carrying the change and the configuration information change message carrying the second operation mode sent by each service component, and operates the changed configuration information according to the second operation mode, in step 9.3, the configuration information change message is forwarded to the network management service terminal. In step 9.4, the network management server receives the configuration information change message sent by the communication middleware, and obtains the changed configuration information carried by the configuration information change message. The network management server can inform the network management client of the acquired configuration information of the configuration change. Or, after receiving the device capability set returned by the network device, the network management client may subscribe the configuration change concerned with the network management server, and further, after the network management server obtains the configuration information of the configuration change, the configuration change subscribed by the network management client may be notified to the network management client, which is not described herein again.
When the network management client side carries out configuration management on the network equipment, the network management client side can analyze the equipment capability set of the network equipment and send a management request message carrying an operation type identifier, a path and parameters to the network management server side, and the network management server side can analyze the received management request message and trigger a corresponding management request message so as to enable the configuration management of related service components aiming at the network equipment to take effect.
As an example, in one embodiment, the management request message may be a message corresponding to the configuration issued by the service component, and in another embodiment, the management request message may be a message corresponding to the configuration of the service component.
Specifically, as shown in fig. 5, in step 10, the network management client may send a management request message carrying an operation type identifier, a path, and a parameter to the network management server through a remote procedure call configuration interface (rpceset) or a remote procedure call acquisition interface (rpc Get). The operation type identifier may specifically be a delivery configuration or an acquisition configuration.
In implementation, still taking the gRPC protocol as an example, the network management client can analyze the device capability Set of the network device, generate a path conforming to the gnmi.proto definition according to the corresponding YANG model, organize the path in the JSON format (the data format corresponding to the JSON conforms to the specification stated by the gNMI), and request the Set method or the Get method from the network device, that is, send the corresponding management request message to the network device through the rpc Set interface or the rpc Get interface. Moreover, when the corresponding management request messages are sent through different interfaces, the information carried by the management request messages may not be completely the same, and is not described herein again.
In step 11, the network management server receives a management request message carrying an operation type identifier, a path and parameters sent by the network management client, and analyzes the management request message to determine whether the operation type identifier, the path and the parameters are all matched with the YANG model tree of the network device.
If the operation type identifier, the path and the parameters are determined to be matched with the YANG model tree, the network management server subscribes an index identifier distributed for the management request message to the communication middleware of the network equipment.
After the index identifier is subscribed successfully, the network management server sends a management request message carrying the index identifier, the operation type identifier, the path and the parameter to a communication middleware of the network equipment. The management request message is sent after the network management server receives a management request message which is sent by a network management client and carries the operation type identifier, the path and the parameter, determines that the operation type identifier, the path and the parameter are all matched with a YANG model tree of the network equipment, and distributes the index identifier for the management request message.
In step 12, the communication middleware receives a management request message carrying the index identifier, the operation type identifier, the path and the parameters, which is sent by the network management server, and forwards the management request message to a service component subscribing to the path.
In step 13, the service component subscribing to the path receives the management request message sent by the communication middleware of the network device, and invokes a response function corresponding to the path to execute an operation corresponding to the operation type identifier with respect to the path and the parameter, for example, to issue configuration to the service component or to obtain related configuration information of the service component. If the operation aiming at the current node is not abnormal, a response function corresponding to the next node is called and executed to execute the corresponding operation. If the operation aiming at the current node is abnormal, an error notice is returned to inform the network management server side, and the relevant processing aiming at the subsequent node can be finished. Wherein, the traversal processing flow can use synchronous interface processing. If the interface is an asynchronous interface, a mode that the device actively notifies the configuration result may also be used, and the present application does not limit the specific implementation.
In step 14, the service component returns a management response message carrying the operation result and the index identifier to the communication middleware. If the management response message corresponds to the issued configuration, each operation result may include a result that the issued configuration successfully takes effect in the service component, and if the management response message corresponds to the acquired configuration, the operation result may include the acquired related configuration information of the related service component.
In step 15, the communication middleware forwards the management response message to the network management server, so that the network management server returns the operation result to the network management client.
In step 16, the network management server receives the management response message forwarded by the communication middleware, and may send a management response message carrying the index identifier and the operation result to the network management client (through a SetResponse or GetResponse interface) after the current processing for all nodes on the YANG model tree is completed.
Therefore, through the steps 10-16, the network management client can issue configuration information to the network device or acquire configuration information of the network device, and based on a communication protocol between the network management client and the network device and a designed YANG model, configuration management of the network device and related service components thereof can be conveniently realized.
Through the method steps, a safe and rapid communication protocol between the network management service and the network equipment can be realized, and the situation that the same configuration needs to be redeveloped due to different User Interface (UI) protocols is avoided according to various YANG models configured for the network equipment, so that developers can concentrate on service development, the development complexity is reduced, and the development cost and the subsequent operation and maintenance cost are reduced.
Based on the same concept, the embodiment of the present application can also be implemented as a configuration management apparatus for a network device.
FIG. 6 is a diagram of a configuration management device according to an embodiment of the present application. The configuration management apparatus may be applied to a network management server of the network device shown in fig. 1, and can implement the configuration management method shown in fig. 2.
As shown in fig. 6, the configuration management apparatus 600 may include:
a message receiving unit 610 configured to receive a management request message carrying an operation type identifier, a path, and a parameter sent by a network management client;
a matching unit 620 configured to determine whether the operation type identifier, the path, and the parameter all match a YANG model tree of the network device, the YANG model tree being generated from YANG files of respective service components included in the network device;
a processing unit 630, configured to, if it is determined that the operation type identifier, the path, and the parameter are all matched with the YANG model tree, subscribe to an index identifier allocated to the management request packet from a communication middleware of the network device, send a management request message carrying the index identifier, the operation type identifier, the path, and the parameter, so that the communication middleware forwards the management request message to a service component subscribing to the path for operation, and return a management response message carrying an operation result and the index identifier to the management response message after receiving the management response message sent by the service component subscribing to the path;
a message sending unit 640, configured to send a management response message carrying the index identifier and the operation result to the network management client.
In one embodiment, the configuration management apparatus 600 may further be configured to:
acquiring a YANG file of each service component of the network equipment, and generating a YANG model tree of the network equipment;
sending a subscription request message carrying message types of capability feature notification message and a first operation mode to the communication middleware, so that the communication middleware receives the capability feature notification message carrying the first capability information, the first feature information and the first operation mode sent by each service component and forwards the capability feature notification message to the network management server;
and after receiving the capability feature notification message sent by the communication middleware, adding the first capability information and the first feature information to the device capability set of the network device, and updating the YANG model tree of the network device according to the first capability information and the first feature information.
In one embodiment, the configuration management apparatus 600 may further be configured to:
sending a subscription request message carrying the message types of a configuration information change message and a second operation mode to the communication middleware, so that the communication middleware receives the configuration information change message carrying the second operation mode and the changed configuration information and sent by each service component and forwards the configuration information change message to the network management server;
receiving the configuration information change message sent by the communication middleware;
and acquiring the changed configuration information carried by the configuration information change message.
In one embodiment, the configuration management apparatus 600 may further be configured to:
receiving a device capability set acquisition request message sent by the network management client;
and sending a device capability set acquisition response message carrying the device capability set of the network device to the network management client so that the network management client generates the management request message according to the device capability set of the network device.
Fig. 7 is a schematic diagram of a configuration management apparatus according to another embodiment of the present application. The configuration management apparatus may be applied to the communication middleware of the network device shown in fig. 1, and can implement the configuration management method shown in fig. 3.
As shown in fig. 7, the configuration management apparatus 700 may include:
an index identifier subscribing unit 710 configured to receive an index identifier subscribed by a network management server of the network device;
a message receiving unit 720, configured to receive a management request message carrying the index identifier, the operation type identifier, the path and the parameter sent by the network management server, where the management request message is sent after the network management server receives a management request message carrying the operation type identifier, the path and the parameter sent by a network management client, and determines that the operation type identifier, the path and the parameter are all matched with a YANG model tree of the network device and allocates the index identifier to the management request message;
a message forwarding unit 730, configured to forward the management request message to a service component subscribing to the path, so that the service component subscribing to the path invokes a response function corresponding to the path to execute an operation corresponding to the operation type identifier for the path and the parameter, and then returns a management response message carrying an operation result and the index identifier;
a result feedback unit 740, configured to return the management response message to the network management server, so that the network management server returns the operation result to the network management client.
In one embodiment, the configuration management apparatus 700 may be configured to:
and receiving a path subscription request message which is sent by each service component of the network equipment and carries a path to be subscribed.
In one embodiment, the configuration management apparatus 700 may be configured to:
after receiving a subscription request message which carries a message type of a capability feature notification message and a first operation mode and is sent by the network management server, storing the message type of the capability feature notification message and the first operation mode;
if the capability feature notification message carrying first capability information, first feature information and the first operation mode and sent by each service component is received, the first capability information and the first feature information are operated according to the first operation mode, the capability feature notification message is forwarded to the network management server, so that the network management server adds the first capability information and the first feature information to a device capability set of the network device, and a YANG model tree of the network device is updated according to the first capability information and the first feature information.
In one embodiment, the configuration management apparatus 700 may be configured to:
after receiving a subscription request message which carries a message type as a configuration information change message and a second operation mode and is sent by the network management server, storing the message type of the configuration information change message and the second operation mode;
if receiving the configuration information carrying the change and the configuration information change message of the second operation mode sent by each service component, operating the changed configuration information according to the second operation mode, and forwarding the configuration change message to the network management server, so that the network management server acquires the changed configuration information carried by the configuration information change message.
Fig. 8 is a schematic diagram of a configuration management apparatus according to another embodiment of the present application. The configuration management apparatus may be applied to the service component of the network device shown in fig. 1, and can implement the configuration management method shown in fig. 4.
As shown in fig. 8, the configuration management apparatus 800 may include:
a message receiving unit 810, configured to receive a management request message sent by a communication middleware of the network device, where the management request message is sent by the communication middleware after the communication middleware receives a management request message which is sent by a network management server of the network device and carries an index identifier, an operation type identifier, a path and a parameter, and determines a service component which subscribes to the path;
a calling unit 820 configured to call a response function corresponding to the path to perform an operation corresponding to the operation type identifier on the path and the parameter;
a message feedback unit 830, configured to return a management response message carrying an operation result and the index identifier to the communication middleware, so that the communication middleware returns the operation result to the network management server of the network device.
In one embodiment, the configuration management apparatus 800 may be configured to:
determining a path to be subscribed and a corresponding response function thereof;
subscribing the path to be subscribed to the communication middleware;
and storing the path to be subscribed and the response function in the corresponding relation of the path and the response function.
In one embodiment, calling a response function corresponding to the path to perform an operation corresponding to the operation type identifier on the path and the parameter includes:
searching the path in the corresponding relation between the path and the response function;
if the path is found in the corresponding relationship between the path and the response function, calling the response function corresponding to the path in the corresponding relationship to execute the operation corresponding to the operation type identifier aiming at the path and the parameter.
In one embodiment, the configuration management apparatus 800 may be configured to:
after the network equipment is monitored to be started for the first time, determining the self capability information and the characteristic information as first capability information and first characteristic information; or monitoring the changed capability information and the changed characteristic information, and determining the changed capability information and the changed characteristic information as first capability information and first characteristic information;
and sending a capability feature notification message carrying a first operation mode, the first capability information and the first feature information to the communication middleware, so that the communication middleware forwards the capability feature notification message to the network management server after operating the first capability information and the first feature information according to the first operation mode.
In one embodiment, the configuration management apparatus 800 may be configured to:
and after monitoring that the configuration information of the communication middleware is changed, sending a configuration information change message carrying a second operation mode and the changed configuration information to the communication middleware, so that the communication middleware forwards the configuration information change message to the network management server after operating the changed configuration information according to the second operation mode.
The above configuration management device and the implementation of the functions thereof can be referred to the related description above with reference to fig. 1 to 5, and are not described herein again.
Having described a configuration management method and apparatus of an exemplary embodiment of the present application, a computing device according to another exemplary embodiment of the present application is next described.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
In some possible implementations, a computing device according to the present application may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the configuration management method according to various exemplary embodiments of the present application described above in the present specification. For example, the processor may perform the steps shown in fig. 2-5.
The computing device 130 according to this embodiment of the present application is described below with reference to fig. 9. The computing device 130 shown in fig. 9 is only an example and should not bring any limitations to the functionality or scope of use of the embodiments of the present application.
As shown in fig. 9, computing device 130 is embodied in the form of a general purpose computing device. Components of computing device 130 may include, but are not limited to: the at least one processor 131, the at least one memory 132, and a bus 133 that connects the various system components (including the memory 132 and the processor 131).
Bus 133 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The memory 132 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)1321 and/or cache memory 1322, and may further include Read Only Memory (ROM) 1323.
Memory 132 may also include a program/utility 1325 having a set (at least one) of program modules 1324, such program modules 1324 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Computing device 130 may also communicate with one or more external devices 134 (e.g., keyboard, pointing device, etc.), may also communicate with one or more devices that enable a user to interact with computing device 130, and/or may communicate with any device (e.g., router, modem, etc.) that enables computing device 130 to communicate with one or more other computing devices, such communication may occur via input/output (I/O) interfaces 135. also, computing device 130 may communicate with one or more networks (e.g., local area network (L AN), Wide Area Network (WAN) and/or a public network, such as the Internet) via network adapter 136. As shown, network adapter 136 communicates with other modules for computing device 130 via bus 133. it should be understood, although not shown, that other hardware and/or software modules may be used in conjunction with computing device 130, including, but not limited to, microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
In some possible embodiments, aspects of a configuration management method provided herein may also be implemented in the form of a program product including program code for causing a computer device to perform the steps of a configuration management method according to various exemplary embodiments of the present application described above in this specification when the program product is run on the computer device, for example, the computer device may perform the steps as shown in fig. 2-5.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for configuration management of embodiments of the present application may employ a portable compact disk read-only memory (CD-ROM) and include program code, and may be run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including AN object oriented programming language such as Java, C + +, or the like, as well as conventional procedural programming languages, such as the "C" language or similar programming languages.
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (18)

1. A configuration management method of network equipment is applied to a network management server of the network equipment, and the method comprises the following steps:
receiving a management request message which is sent by a network management client and carries an operation type identifier, a path and parameters;
determining whether the operation type identifier, the path and the parameter all match a YANG model tree of the network device, the YANG model tree being generated according to YANG files of various service components included by the network device;
if the operation type identifier, the path and the parameters are determined to be matched with the YANG model tree, after subscribing an index identifier distributed for the management request message to a communication middleware of the network equipment, sending a management request message carrying the index identifier, the operation type identifier, the path and the parameters, so that the communication middleware forwards the management request message to a service component subscribing the path for operation, and returning the management response message after receiving a management response message carrying an operation result and the index identifier sent by the service component subscribing the path;
and sending a management response message carrying the index identification and the operation result to the network management client.
2. The method of claim 1, further comprising:
acquiring a YANG file of each service component of the network equipment, and generating a YANG model tree of the network equipment;
sending a subscription request message carrying message types of capability feature notification message and a first operation mode to the communication middleware, so that the communication middleware receives the capability feature notification message carrying the first capability information, the first feature information and the first operation mode sent by each service component and forwards the capability feature notification message to the network management server;
and after receiving the capability feature notification message sent by the communication middleware, adding the first capability information and the first feature information to the device capability set of the network device, and updating the YANG model tree of the network device according to the first capability information and the first feature information.
3. The method of claim 1, further comprising:
sending a subscription request message carrying the message types of a configuration information change message and a second operation mode to the communication middleware, so that the communication middleware receives the configuration information change message carrying the second operation mode and the changed configuration information and sent by each service component and forwards the configuration information change message to the network management server;
receiving the configuration information change message sent by the communication middleware;
and acquiring the changed configuration information carried by the configuration information change message.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a device capability set acquisition request message sent by the network management client;
and sending a device capability set acquisition response message carrying the device capability set of the network device to the network management client so that the network management client generates the management request message according to the device capability set of the network device.
5. A configuration management method for a network device, applied to communication middleware of the network device, the method comprising:
receiving an index identifier subscribed by a network management server of the network equipment;
receiving a management request message which is sent by the network management server and carries the index identifier, the operation type identifier, the path and the parameters, wherein the management request message is sent after the network management server receives a management request message which is sent by a network management client and carries the operation type identifier, the path and the parameters, and determines that the operation type identifier, the path and the parameters are matched with a YANG model tree of the network equipment and distributes the index identifier to the management request message;
forwarding the management request message to a service component subscribing the path, so that the service component subscribing the path calls a response function corresponding to the path to execute the operation corresponding to the operation type identifier for the path and the parameter, and then returns a management response message carrying an operation result and the index identifier;
and returning the management response message to the network management server so that the network management server returns the operation result to the network management client.
6. The method of claim 5, further comprising:
and receiving a path subscription request message which is sent by each service component of the network equipment and carries a path to be subscribed.
7. The method of claim 5, further comprising:
after receiving a subscription request message which carries a message type of a capability feature notification message and a first operation mode and is sent by the network management server, storing the message type of the capability feature notification message and the first operation mode;
if the capability feature notification message carrying first capability information, first feature information and the first operation mode and sent by each service component is received, the first capability information and the first feature information are operated according to the first operation mode, the capability feature notification message is forwarded to the network management server, so that the network management server adds the first capability information and the first feature information to a device capability set of the network device, and a YANG model tree of the network device is updated according to the first capability information and the first feature information.
8. The method of claim 5, further comprising:
after receiving a subscription request message which carries a message type as a configuration information change message and a second operation mode and is sent by the network management server, storing the message type of the configuration information change message and the second operation mode;
if receiving the configuration information carrying the change and the configuration information change message of the second operation mode sent by each service component, operating the changed configuration information according to the second operation mode, and forwarding the configuration change message to the network management server, so that the network management server acquires the changed configuration information carried by the configuration information change message.
9. A configuration management method of a network device is applied to each service component of the network device, and the method comprises the following steps:
receiving a management request message sent by a communication middleware of the network equipment, wherein the management request message is sent after the communication middleware receives the management request message which is sent by a network management server of the network equipment and carries an index identifier, an operation type identifier, a path and parameters, and determines a service component subscribing the path;
calling a response function corresponding to the path to execute the operation corresponding to the operation type identification aiming at the path and the parameter;
and returning a management response message carrying an operation result and the index identifier to the communication middleware so that the communication middleware returns the operation result to a network management server of the network equipment.
10. The method of claim 9, further comprising:
determining a path to be subscribed and a corresponding response function thereof;
subscribing the path to be subscribed to the communication middleware;
and storing the path to be subscribed and the response function in the corresponding relation of the path and the response function.
11. The method of claim 10, wherein invoking a response function corresponding to the path performs an operation corresponding to the operation type identifier for the path and the parameter, comprising:
searching the path in the corresponding relation between the path and the response function;
if the path is found in the corresponding relationship between the path and the response function, calling the response function corresponding to the path in the corresponding relationship to execute the operation corresponding to the operation type identifier aiming at the path and the parameter.
12. The method of claim 9, further comprising:
after the network equipment is monitored to be started for the first time, determining the self capability information and the characteristic information as first capability information and first characteristic information; or monitoring the changed capability information and the changed characteristic information, and determining the changed capability information and the changed characteristic information as first capability information and first characteristic information;
and sending a capability feature notification message carrying a first operation mode, the first capability information and the first feature information to the communication middleware, so that the communication middleware forwards the capability feature notification message to the network management server after operating the first capability information and the first feature information according to the first operation mode.
13. The method according to any of claims 9-12, further comprising:
and after monitoring that the configuration information of the communication middleware is changed, sending a configuration information change message carrying a second operation mode and the changed configuration information to the communication middleware, so that the communication middleware forwards the configuration information change message to the network management server after operating the changed configuration information according to the second operation mode.
14. A configuration management device of a network device is applied to a network management server of the network device, and is characterized in that the device comprises:
the message receiving unit is configured to receive a management request message which is sent by a network management client and carries an operation type identifier, a path and parameters;
a matching unit configured to determine whether the operation type identifier, the path, and the parameter all match a YANG model tree of the network device, the YANG model tree being generated from YANG files of respective business components included in the network device;
a processing unit, configured to, if it is determined that the operation type identifier, the path, and the parameter are all matched with the YANG model tree, subscribe to an index identifier allocated to the management request packet from a communication middleware of the network device, send a management request message carrying the index identifier, the operation type identifier, the path, and the parameter, so that the communication middleware forwards the management request message to a service component subscribing to the path for operation, and return a management response message carrying an operation result and the index identifier to the management response message after receiving the management response message sent by the service component subscribing to the path;
and the message sending unit is configured to send a management response message carrying the index identifier and the operation result to the network management client.
15. An apparatus for configuration management of a network device, the apparatus being applied to communication middleware of the network device, the apparatus comprising:
the index identifier subscription unit is configured to receive an index identifier subscribed by a network management server of the network device;
a message receiving unit, configured to receive a management request message carrying the index identifier, the operation type identifier, the path and the parameter sent by the network management server, where the management request message is sent after the network management server receives a management request message carrying the operation type identifier, the path and the parameter sent by a network management client, and determines that the operation type identifier, the path and the parameter are all matched with a YANG model tree of the network device and allocates the index identifier to the management request message;
a message forwarding unit configured to forward the management request message to a service component subscribing to the path, so that the service component subscribing to the path calls a response function corresponding to the path to execute an operation corresponding to the operation type identifier for the path and the parameter, and then returns a management response message carrying an operation result and the index identifier;
and the result feedback unit is configured to return the management response message to the network management server, so that the network management server returns the operation result to the network management client.
16. An apparatus for configuration management of a network device, the apparatus being applied to each service component of the network device, the apparatus comprising:
a message receiving unit, configured to receive a management request message sent by a communication middleware of the network device, where the management request message is sent by the communication middleware after the communication middleware receives a management request message which is sent by a network management server of the network device and carries an index identifier, an operation type identifier, a path and a parameter, and determines a service component which subscribes to the path;
a calling unit configured to call a response function corresponding to the path to execute an operation corresponding to the operation type identifier for the path and the parameter;
and the message feedback unit is configured to return a management response message carrying an operation result and the index identifier to the communication middleware, so that the communication middleware returns the operation result to a network management server of the network device.
17. A computing device comprising at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-13.
18. A computer storage medium having computer-executable instructions stored thereon for causing a computer to perform the method of any one of claims 1-13.
CN202010169651.9A 2020-03-12 2020-03-12 Configuration management method and device of network equipment, computing equipment and storage medium Active CN111416736B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010169651.9A CN111416736B (en) 2020-03-12 2020-03-12 Configuration management method and device of network equipment, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010169651.9A CN111416736B (en) 2020-03-12 2020-03-12 Configuration management method and device of network equipment, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111416736A true CN111416736A (en) 2020-07-14
CN111416736B CN111416736B (en) 2022-11-11

Family

ID=71492873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010169651.9A Active CN111416736B (en) 2020-03-12 2020-03-12 Configuration management method and device of network equipment, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111416736B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988179A (en) * 2020-08-21 2020-11-24 华信塞姆(成都)科技有限公司 YANG model management system, method and storage medium
CN112486591A (en) * 2020-11-30 2021-03-12 锐捷网络股份有限公司 Electronic equipment configuration method and electronic equipment
CN112800119A (en) * 2020-12-31 2021-05-14 深圳荆虹科技有限公司 Equipment data management method and system
CN112988329A (en) * 2021-03-22 2021-06-18 北京思特奇信息技术股份有限公司 Container configuration management method and system
CN113111016A (en) * 2021-04-19 2021-07-13 南京翼辉信息技术有限公司 Single channel device communication middleware
CN113297148A (en) * 2021-06-18 2021-08-24 杭州安恒信息安全技术有限公司 Method, device and equipment for acquiring service log data and readable storage medium
CN113438100A (en) * 2021-06-07 2021-09-24 江西山水光电科技股份有限公司 NETCONF protocol-based network equipment configuration synchronization and uploading method
CN115037587A (en) * 2022-06-23 2022-09-09 未鲲(上海)科技服务有限公司 Method, device, equipment and storage medium for automatically issuing network equipment configuration
CN115118569A (en) * 2022-06-29 2022-09-27 迈普通信技术股份有限公司 Request processing method and device, network management equipment and readable storage medium
CN117155991A (en) * 2023-10-27 2023-12-01 中科星图测控技术股份有限公司 gRPC-gateway proxy gateway generation method based on configuration
CN117369906A (en) * 2023-12-07 2024-01-09 成都市楠菲微电子有限公司 Pcie verification platform, method and device, storage medium and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775577B1 (en) * 2007-12-18 2014-07-08 Amazon Technologies, Inc. System and method for configuration management service
CN104184645A (en) * 2013-05-27 2014-12-03 华为技术有限公司 Method, equipment and system for generating operation request
CN104283701A (en) * 2013-07-03 2015-01-14 中兴通讯股份有限公司 Method, system and device for issuing configuration information
CN106559251A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of Compilation Method and corresponding interface, component and system based on YANG models
CN107241221A (en) * 2017-05-27 2017-10-10 烽火通信科技股份有限公司 Support the network management protocol data unified processing system and method for different network management protocols
CN109714208A (en) * 2018-12-29 2019-05-03 武汉市烽视威科技有限公司 A kind of equipment is included in method, storage medium and the electronic equipment of network management
CN110474794A (en) * 2019-07-10 2019-11-19 烽火通信科技股份有限公司 A kind of information conversion method and system of SDN framework
CN110635987A (en) * 2019-09-09 2019-12-31 新华三信息安全技术有限公司 Message transmission method, device, equipment and machine readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8775577B1 (en) * 2007-12-18 2014-07-08 Amazon Technologies, Inc. System and method for configuration management service
CN104184645A (en) * 2013-05-27 2014-12-03 华为技术有限公司 Method, equipment and system for generating operation request
CN104283701A (en) * 2013-07-03 2015-01-14 中兴通讯股份有限公司 Method, system and device for issuing configuration information
CN106559251A (en) * 2015-09-30 2017-04-05 中兴通讯股份有限公司 A kind of Compilation Method and corresponding interface, component and system based on YANG models
CN107241221A (en) * 2017-05-27 2017-10-10 烽火通信科技股份有限公司 Support the network management protocol data unified processing system and method for different network management protocols
CN109714208A (en) * 2018-12-29 2019-05-03 武汉市烽视威科技有限公司 A kind of equipment is included in method, storage medium and the electronic equipment of network management
CN110474794A (en) * 2019-07-10 2019-11-19 烽火通信科技股份有限公司 A kind of information conversion method and system of SDN framework
CN110635987A (en) * 2019-09-09 2019-12-31 新华三信息安全技术有限公司 Message transmission method, device, equipment and machine readable storage medium

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988179A (en) * 2020-08-21 2020-11-24 华信塞姆(成都)科技有限公司 YANG model management system, method and storage medium
CN112486591A (en) * 2020-11-30 2021-03-12 锐捷网络股份有限公司 Electronic equipment configuration method and electronic equipment
CN112800119A (en) * 2020-12-31 2021-05-14 深圳荆虹科技有限公司 Equipment data management method and system
CN112988329A (en) * 2021-03-22 2021-06-18 北京思特奇信息技术股份有限公司 Container configuration management method and system
CN113111016A (en) * 2021-04-19 2021-07-13 南京翼辉信息技术有限公司 Single channel device communication middleware
CN113438100A (en) * 2021-06-07 2021-09-24 江西山水光电科技股份有限公司 NETCONF protocol-based network equipment configuration synchronization and uploading method
CN113297148A (en) * 2021-06-18 2021-08-24 杭州安恒信息安全技术有限公司 Method, device and equipment for acquiring service log data and readable storage medium
CN115037587A (en) * 2022-06-23 2022-09-09 未鲲(上海)科技服务有限公司 Method, device, equipment and storage medium for automatically issuing network equipment configuration
CN115037587B (en) * 2022-06-23 2024-03-22 佛山领客易选科技服务有限公司 Automatic issuing method, device, equipment and storage medium for network equipment configuration
CN115118569A (en) * 2022-06-29 2022-09-27 迈普通信技术股份有限公司 Request processing method and device, network management equipment and readable storage medium
CN115118569B (en) * 2022-06-29 2024-03-15 迈普通信技术股份有限公司 Request processing method, request processing device, network management equipment and readable storage medium
CN117155991A (en) * 2023-10-27 2023-12-01 中科星图测控技术股份有限公司 gRPC-gateway proxy gateway generation method based on configuration
CN117155991B (en) * 2023-10-27 2023-12-29 中科星图测控技术股份有限公司 gRPC-gateway proxy gateway generation method based on configuration
CN117369906A (en) * 2023-12-07 2024-01-09 成都市楠菲微电子有限公司 Pcie verification platform, method and device, storage medium and electronic equipment
CN117369906B (en) * 2023-12-07 2024-02-09 成都市楠菲微电子有限公司 Pcie verification platform, method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111416736B (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN111416736B (en) Configuration management method and device of network equipment, computing equipment and storage medium
KR100453824B1 (en) XML based network management system and method for configuration management of heterogeneous network devices
US7779404B2 (en) Managing network device configuration using versioning and partitioning
US8051186B2 (en) Method for device capability negotiation, method, system and device for synchronization
US20050278693A1 (en) Distribution adaptor for network management application development
CN112235130A (en) Method and device for realizing operation and maintenance automation based on SDN network
CN105577446B (en) Lightweight embedded network management system and method
CN111262908A (en) Task construction method and system based on jenkins
CN111064626B (en) Configuration updating method, device, server and readable storage medium
WO2021057605A1 (en) Device management method, device, system and device, and storage medium
US8244844B2 (en) Tool for data generation for simple network management protocol (SNMP)
US20070288512A1 (en) Resource management program, resource management process, and resource management apparatus
CN114205230A (en) Method, system, medium and electronic device for configuring cloud native network element
US20070220157A1 (en) Simple network management protocol (SNMP) agent system and method
JP7405955B2 (en) Communication methods and devices for multiple management areas
US20060184380A1 (en) XML-based resource data structures and networks managed by XML-based resource data structures
US11838176B1 (en) Provisioning and deploying RAN applications in a RAN system
Menten Experiences in the Application of XML for Device Management
US11843678B2 (en) Information processing system, method, and program
EP2445140B1 (en) Method for managing configuration information of outsourced part, and method and system for managing alarm
CN113079029A (en) Configuration information subscription method and device
CN111124542A (en) Configuration information management system
US11579998B2 (en) Device telemetry control
US20230367785A1 (en) System, method for improving efficiency of yang data model-based network devices
CN117170941B (en) Data backup method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant