CN112436964A - Equipment adaptation method and network management device - Google Patents

Equipment adaptation method and network management device Download PDF

Info

Publication number
CN112436964A
CN112436964A CN202011262536.2A CN202011262536A CN112436964A CN 112436964 A CN112436964 A CN 112436964A CN 202011262536 A CN202011262536 A CN 202011262536A CN 112436964 A CN112436964 A CN 112436964A
Authority
CN
China
Prior art keywords
information
equipment
adaptation
configuration file
network management
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
CN202011262536.2A
Other languages
Chinese (zh)
Other versions
CN112436964B (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.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute 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 China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202011262536.2A priority Critical patent/CN112436964B/en
Publication of CN112436964A publication Critical patent/CN112436964A/en
Application granted granted Critical
Publication of CN112436964B publication Critical patent/CN112436964B/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
    • 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/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • 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/0889Techniques to speed-up the configuration process

Landscapes

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

Abstract

The application provides an equipment adaptation method and a network management device, relates to the field of communication, can realize resource adaptation for different equipment models of different manufacturers, greatly reduces adaptation steps, saves complicated repeated adaptation processes, does not need infinitely expanded development of programs, and solves the problem that cold deployment affects on-line services, thereby improving the management efficiency of a comprehensive network management system on network resources. The method is applied to a network management device and comprises the following steps: acquiring resource information of equipment; generating a relational database according to the logical relationship among the resource information, wherein the relational database stores the resource information organized according to a preset rule; acquiring the adaptive parameters of the equipment from the relational database according to a preset configuration file template to generate a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device; and reading the configuration file to complete equipment adaptation.

Description

Equipment adaptation method and network management device
Technical Field
The present invention relates to the field of communications, and in particular, to an apparatus adaptation method and a network management apparatus.
Background
With the continuous expansion of the construction of the bearer network with the IP technology as the core, the network resources for operation and maintenance of the telecom operators are also increased rapidly, and in order to meet the requirements of new network development on network management, a comprehensive network management system is required to be able to manage all the devices. The resource management generally comprises the management of basic information, interfaces, board cards and the like of equipment, the management of the resources is uniformly and centrally managed by a network management system to form a comprehensive, comprehensive and accurate resource database, and basic resource data are provided for alarm monitoring, performance monitoring and the like.
In the prior art, after a device is connected to a network management system, basic information and interface information of the device can be directly obtained through a public Management Information Base (MIB), formats of all manufacturers are generally the same, and adaptation work is not complicated. However, different equipment manufacturers and different equipment models of the equipment board cards have different acquisition modes, so that in the software development of board card adaptation, the method comprises the main steps of equipment adding in a network management system, MIB analysis, equipment model and machine frame board card logic analysis, code expansion adaptation and redeployment verification from the equipment adding in the network management system to the resource adaptation. For one equipment model, the adaptation process needs to invest two to three people days of workload, which inevitably reduces software development efficiency, increases time and labor cost, and greatly affects resource management efficiency. For a plurality of equipment models of a plurality of manufacturers, the adaptation work needs to be repeated, and the requirement of network intelligent management in the future cannot be met. In addition, the adaptation process needs to be expanded and developed on the original code structure, so that the redundancy of the code is increased, the reusability and the expansibility of the code are influenced, and the difficulty is caused for later maintenance. Moreover, since the modification of the program is involved, the software version needs to be redeployed, which inevitably affects the online service and causes service interruption in severe cases.
Disclosure of Invention
The application provides an equipment adaptation method and a network management device, which can realize resource adaptation to different equipment models of different manufacturers, greatly reduce adaptation steps, save complicated repeated adaptation processes, and solve the problem that cold deployment influences on-line services without infinitely expanding and developing programs, thereby improving the management efficiency of a comprehensive network management system on network resources.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, the present application provides a device adaptation method, applied to a network management apparatus, where the method may include: acquiring resource information of equipment; generating a relational database according to the logical relationship among the resource information; the relational database stores resource information organized according to preset rules; acquiring the adaptive parameters of the equipment from the relational database according to a preset configuration file template to generate a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device; and reading the configuration file to complete equipment adaptation.
In a second aspect, the present application provides a network management apparatus, including: the device comprises an acquisition module, a generation module, a processing module and a reading module. The acquisition module is used for acquiring resource information of the equipment; the generating module is used for generating a relational database according to the logical relationship among the resource information, and the relational database stores the resource information organized according to a preset rule; the processing module is used for acquiring the adaptation parameters of the equipment from the relational database according to a preset configuration file template and generating a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device; and the reading module is used for reading the configuration file to complete equipment adaptation.
In a third aspect, the present application provides a network management device, comprising: a processor, a communication interface, and a memory. Wherein the memory is configured to store computer executable instructions, and when the network management apparatus runs, the processor executes the computer executable instructions stored in the memory, so as to enable the network management apparatus to execute the device adaptation method according to any one of the first aspect and various optional implementation manners thereof.
In a fourth aspect, the present application provides a computer-readable storage medium, in which one or more programs are stored, the one or more programs including computer-executable instructions, and when the processor of the network management apparatus executes the computer-executable instructions, the network management apparatus executes the device adaptation method described in any one of the first aspect and various optional implementations thereof.
In a fifth aspect, the present application provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the device adaptation method of the first aspect and any of its various alternative implementations.
In a sixth aspect, the present application provides a network management system comprising a managed device and a network management apparatus as described in any of the third and its various alternative implementations.
According to the equipment adaptation method and the network management device, after the network management device obtains the resource information of the equipment, a relational database is generated according to the logical relationship between the resource information; the relational database stores resource information organized according to preset rules; acquiring adaptation parameters of the equipment from a relational database according to a preset configuration file template to generate a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device; and reading the configuration file to complete equipment adaptation. Compared with the prior art, the adaptation of the equipment is completed through the processes of MIB analysis, equipment model and machine frame board card logic analysis, code expansion adaptation and redeployment verification. According to the equipment adaptation method, a universal adaptation template is formed by defining a preset configuration file template, a relational database is generated according to the logical relation among the resource information, the adaptation parameters of the equipment are obtained from the relational database, the configuration file of the equipment is generated, and the resource adaptation with the equipment is completed. Therefore, resource adaptation can be realized for different equipment models of different manufacturers, adaptation steps are greatly reduced, complex repeated adaptation processes are omitted, programs do not need to be expanded and developed infinitely, the problem that cold deployment affects on-line services is solved, and the management efficiency of the comprehensive network management system on network resources is improved.
Drawings
Fig. 1 is a flowchart of a device adaptation method according to an embodiment of the present invention;
fig. 2 is a first schematic structural diagram of a network management device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network management apparatus according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a network management system applied by the device adaptation method and the network management apparatus according to the embodiment of the present invention.
Detailed Description
The device adaptation method, the network management apparatus and the system provided by the embodiment of the present invention are described in detail below with reference to the accompanying drawings.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second" and the like in the description of the present invention and the drawings are used for distinguishing different objects or for distinguishing different processes for the same object, and are not used for describing a specific order of the objects.
Furthermore, the terms "comprising" and "having" and any variations thereof as referred to in the description of the invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
First, technical terms related to the technical solution of the present application are explained:
management information base, MIB: the management information base is one of contents of a standard framework of a TCP/IP network management protocol, and the MIB defines data items that the managed device must hold, operations allowed to be performed on each data item, and meanings thereof, i.e., data variables such as control and status information of the managed device accessible to the management system, are held in the MIB. The generalized format defined by the MIB supports the definition of its specific MIB set for each new managed device, so manufacturers can define their dedicated management objects using standard methods, and thus can manage many new protocols and devices with good scalability.
Object Identifier (OID): the object identifier is also called the domain name of the internet of things, and is an identification mechanism commonly proposed by the ISO/IEC and ITU international standards organizations for carrying out globally unambiguous and unique naming on any type of object, concept or 'thing'. Once named, the name is valid for the lifetime. The OID has the characteristics of flexible layering, strong expandability and the like, and is suitable to be used as a meta-identifier mechanism for exchanging among various existing coding schemes.
Network Management System (NMS): an NMS is a network management system in a communication network, whose management objects may include all entities in the network, such as: network devices, applications, server systems, routers, switches, HUBs, auxiliary devices, etc., provide a system-wide view of the network to the network system administrator. The NMS manages the networks of different regions and different equipment providers. The network administrator monitors the network comprehensively through the NMS. In the network management system of the chinese operator, NMS refers to a provincial communication network management system or a future regional network management system.
Simple Network Management Protocol (SNMP): the system consists of a set of standards for network management, including an application layer protocol (application layer protocol), a database model (database schema) and a set of resource objects. The protocol can support a network management system to monitor devices connected to the network for any regulatory concerns.
Relational database: a relational database is a database created according to a relational model. In short, a relational model refers to a two-dimensional table model, and a relational database is a data organization composed of two-dimensional tables and their relations.
The application scenarios of the device adaptation method and the network management device provided by the embodiment of the application are as follows: the equipment is accessed to a network management system, and a network management device needs to acquire hardware structure information of the equipment, including model information of the equipment and information of hardware resources such as machine frames, board cards, interfaces and the like, so that resource adaptation with the equipment is completed, and the resources of the equipment are managed conveniently.
An embodiment of the present invention provides an apparatus adaptation method, as shown in fig. 1, which includes the following steps:
s101, the network management device acquires resource information of the equipment.
Illustratively, the resource information includes a management information base MIB of the device, and the network management apparatus collects the MIB of the device using SNMP, so as to obtain the resource information of the device.
Illustratively, the hardware resources of the device include subracks, boards, interfaces, and the like. The MIB is a database containing information about managed resources, each of which is represented by an object, and managed resources, which is a structured collection of these objects. The information that each managed object needs to define is basically the same, and generally includes information such as an object identifier OID, a data type, a value range, access control, an object state, description information, and the like. For the network management apparatus, the model information and the chassis information of the device can be directly obtained by reading and analyzing the original MIB, but the board card information and the interface information cannot. Then, step S102 is executed.
S102, the network management device generates a relational database according to the logical relation among the resource information.
The relational database stores resource information organized according to preset rules. Illustratively, the preset rule is to convert a logical relationship between resource information into a hierarchical relationship between hardware resources.
Illustratively, hardware resources of the device include a subrack, a board card and an interface, and at a physical level, there is a hierarchical relationship between the hardware resources and the included hardware resources, and in the MIB, managed objects corresponding to the hardware resources form a hierarchical tree structure and there is a logical relationship.
Illustratively, the network management device obtains the hierarchical relationship between the hardware resources of the device according to the logical relationship between the managed objects in the MIB, and converts the MIB into a relational database. In contrast to the original MIB, relational databases employ relational models to organize data, which can reflect "one-to-one", "one-to-many", or "many-to-one" relationships that exist between data. The relational database has the function of combing the disordered MIB data once, and the original MIB managed object information still keeps the original format, but forms a relational model capable of reflecting the hierarchical relationship among hardware resources of the equipment.
It should be noted that the logical relationship between managed objects in the MIB may not completely reflect the hierarchical relationship between hardware resources, in other words, the managed objects in the MIB may be explicit parent-child relationships or may not be explicit. After the network management device converts the MIB into the relational database, the managed object information maintains the same logical relationship as in the MIB, and meanwhile, if the logical relationship is ambiguous, the managed object information also maintains the hierarchical relationship corresponding to the hardware resource, for example, the board slot information should be at the lower layer or lower layers of the chassis information, the board information should be at the lower layer of the board slot information, and the interface information should be at the lower layer of the board information. Then, step S103 is executed.
S103, the network management device acquires the adaptive parameters of the equipment from the relational database according to a preset configuration file template to generate a configuration file of the equipment.
The network management device obtains the hardware structure information of the equipment by reading the adaptation parameters, and then completes the adaptation of the equipment.
Illustratively, the preset profile template specifically includes the following adaptation parameters: the equipment type, the equipment type object identifier OID, the equipment subrack index, the equipment board card OID, the equipment board card index, the equipment main control board OID, the equipment main control board index, the equipment switch board OID, the equipment switch board index, the equipment main control board description, the equipment main control board forwarding capability, the equipment switch board description and the equipment switch board forwarding capability.
In a possible implementation manner, if the logical relationship is an explicit parent-child relationship, the network management apparatus obtains the adaptation parameter of the device from the relational database information according to a preset file template through the following steps to generate a configuration file of the device:
the method comprises the following steps: and determining the adaptive parameters to be acquired according to a preset configuration file template.
The preset configuration file template specifies adaptation parameters required to be acquired by adapting the network management device and the equipment, and meets the requirements of all types of equipment of all manufacturers. However, it should be noted that the preset configuration file template does not limit the network management apparatus to obtain all the above adaptation parameters to complete the adaptation with the device, nor does the network management apparatus to obtain other types of adaptation parameters to complete the adaptation with the device.
Step two: and according to a preset rule, sequentially acquiring the model information, the machine frame information, the board card information and the interface information of the equipment from the relational database information, wherein the machine frame information, the board card information and the interface information keep the parent-child relationship which is the same as the logical relationship.
As described above, the model information and the frame information of the device are obtained by directly reading and analyzing the relational database, and since the frame information, the board information and the interface information maintain the parent-child relationship identical to the logical relationship, the network management apparatus sequentially obtains the board slot position information from the child node of the frame node, obtains the board information from the child node of the board slot position node, and obtains the interface information from the child node of the board slot position node.
Step three: and converting the model information, the machine frame information, the board card information and the interface information into adaptive parameters.
As described above, the information that each managed object needs to define is basically the same, and the network management apparatus obtains the adaptation parameters required by the configuration file template from the model information, the machine frame information, the board information, and the interface information.
Step four: and filling the adaptive parameters into a preset configuration file template to generate a configuration file of the equipment.
Illustratively, the network management apparatus fills the obtained adaptive parameters into a preset configuration file template to generate a configuration file of the device. It should be noted that, the present application does not limit that the network management device must obtain all the adaptation parameters required by the preset profile template.
In another possible implementation manner, if the logical relationship is ambiguous, the network management apparatus obtains the adaptation parameters of the device from the relational database information according to a preset file template, and generates a configuration file of the device by the following steps:
the method comprises the following steps: and determining the adaptive parameters to be acquired according to a preset configuration file template.
Step two: and reading the analysis relational database, and acquiring the model information and the machine frame information of the equipment.
Step three: and searching corresponding board card slot position information from the machine frame node to the lower layer node in a recursion manner.
As described above, the card slot information should be at the lower layer of the machine frame information or at the lower layer, and after the network management device acquires the machine frame information, the network management device first searches for the corresponding card slot information from the machine frame node to the lower layer node in a recursion manner.
Step four: and if the board card slot position information is found, acquiring the board card information corresponding to the board card slot position from the child node of the board card slot position node.
Step five: and searching for the lower-layer node from the board card node in a recursion manner to obtain the interface information corresponding to the board card.
Step six: and converting the model information, the machine frame information, the board card information and the interface information into adaptive parameters.
Step seven: and filling the adaptive parameters into a preset configuration file template to generate a configuration file of the equipment.
In another possible implementation manner, the following steps may need to be performed between the third step and the fourth step:
if the slave frame node recursively searches for the lower layer node, and corresponding board card slot position information is not found, continuing searching for the lower layer node, and acquiring the board card slot position information of the equipment from the grandchild node of the slave frame node.
As described above, the card slot information should be at the lower layer of the frame information or the lower layer again, and after the network management device acquires the frame information, the network management device first recursively searches for corresponding card slot information from the frame node to the lower layer node, and if the card slot information is not acquired in the layer node, the network management device continues searching to the lower layer node again, and acquires the card slot information of the device from the grandchild node of the frame node.
In another possible implementation manner, the following steps may be required between the above step five and step six:
and if the slave board card node recursively searches for the lower layer node and the interface information corresponding to the board card is not found, defining the interface information in a standard physical interface definition format, and hanging the interface information to the lower layer of the corresponding board card node.
Illustratively, the interface information includes a format of the interface, and a subrack, a board card, and an interface position corresponding to the interface.
S104, the network management device reads the configuration file to complete the adaptation with the equipment.
Illustratively, the network management apparatus reads the configuration file of the device, and then may obtain the adaptation parameters required for adapting to the device, and quickly complete resource adaptation to the device.
According to the equipment adaptation method, after the network management device obtains the resource information of the equipment, a relational database is generated according to the logical relationship between the resource information; the relational database stores resource information organized according to preset rules; acquiring adaptation parameters of the equipment from a relational database according to a preset configuration file template to generate a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device; and reading the configuration file to complete equipment adaptation. Compared with the prior art, the adaptation of the equipment is completed through the processes of MIB analysis, equipment model and machine frame board card logic analysis, code expansion adaptation and redeployment verification. According to the equipment adaptation method, a universal adaptation template is formed by defining a preset configuration file template, a relational database is generated according to the logical relation among the resource information, the adaptation parameters of the equipment are obtained from the relational database, the configuration file of the equipment is generated, and the resource adaptation with the equipment is completed. Therefore, resource adaptation can be realized for different equipment models of different manufacturers, adaptation steps are greatly reduced, complex repeated adaptation processes are omitted, programs do not need to be expanded and developed infinitely, the problem that cold deployment affects on-line services is solved, and the management efficiency of the comprehensive network management system on network resources is improved.
The above description mainly introduces the solution provided by the embodiment of the present invention from the perspective of a network management device. It is understood that the network management apparatus includes hardware structures and/or software modules for performing the respective functions in order to implement the above functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary network management devices and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The network management device according to the embodiment of the present invention may perform the division of the functional modules or the functional units according to the above method examples, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiments of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 2 is a schematic diagram illustrating a possible structure of the network management device according to the above embodiment, in a case where each functional module is divided according to each function. The network management device comprises an acquisition module 201, a generation module 202, a processing module 203 and a reading module 204.
The obtaining module 201 is configured to obtain resource information of a device.
The generating module 202 is configured to generate a relational database according to the logical relationship between the resource information; the relational database stores resource information organized according to preset rules.
The processing module 203 is configured to obtain an adaptation parameter of the device from the relational database according to a preset configuration file template, and generate a configuration file of the device; wherein the adaptation parameter is used to describe hardware structure information of the device.
The reading module 204 is configured to read the configuration file to complete device adaptation.
The network management device provided by the embodiment of the invention generates a relational database according to the logical relationship between the resource information after acquiring the resource information of the equipment; the relational database stores resource information organized according to preset rules; acquiring adaptation parameters of the equipment from a relational database according to a preset configuration file template to generate a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device; and reading the configuration file to complete equipment adaptation. Compared with the prior art, the adaptation of the equipment is completed through the processes of MIB analysis, equipment model and machine frame board card logic analysis, code expansion adaptation and redeployment verification. According to the equipment adaptation method, a universal adaptation template is formed by defining a preset configuration file template, a relational database is generated according to the logical relation among the resource information, the adaptation parameters of the equipment are obtained from the relational database, the configuration file of the equipment is generated, and the resource adaptation with the equipment is completed. Therefore, resource adaptation can be realized for different equipment models of different manufacturers, adaptation steps are greatly reduced, complex repeated adaptation processes are omitted, programs do not need to be expanded and developed infinitely, the problem that cold deployment affects on-line services is solved, and the management efficiency of the comprehensive network management system on network resources is improved.
Fig. 3 shows a schematic diagram of another possible structure of the network management device involved in the above embodiments. The network management apparatus includes: a processor 302 and a communication interface 303. The processor 302 is configured to control and manage actions of the network management apparatus, for example, execute the steps performed by the obtaining module 201, the generating module 202, the processing module 203, the reading module 204, and/or other processes for executing the techniques described herein. The communication interface 303 is used to support communication of the network management device with other network entities. The network management device may further comprise a memory 301 and a bus 304, the memory 301 being used for storing program codes and data of the network management device.
The memory 301 may be a memory in the network management apparatus, and the like, and the memory may include a volatile memory, such as a random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
The processor 302 may be implemented or performed with various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
The bus 304 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 304 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 3, but this does not mean only one bus or one type of bus.
An embodiment of the present invention provides a network management system, and as shown in fig. 4, the network management system may include a network management apparatus and a managed device, where the network management apparatus is configured to collect resource information of the managed device to execute the device adaptation method provided in the embodiment of the present invention. For the description of the network management apparatus and the managed device, reference may be made to the above description in the method embodiment and the apparatus embodiment, and details are not described here again.
The embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the device adaptation method described in the above method embodiments.
An embodiment of the present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, where the one or more programs include instructions, and when the processor of the network management device executes the instructions, the network management device executes the steps performed by the network management device in the method flow shown in the foregoing method embodiment.
The computer 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 thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a register, a hard disk, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, any suitable combination of the above, or any other form of computer readable storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer 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.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A device adaptation method is applied to a network management device, and comprises the following steps:
acquiring resource information of equipment;
generating a relational database according to the logical relationship among the resource information; the relational database stores resource information organized according to preset rules;
acquiring the adaptive parameters of the equipment from the relational database according to a preset configuration file template to generate a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device;
and reading the configuration file to complete equipment adaptation.
2. The method of claim 1, wherein if the logical relationship is an explicit parent-child relationship, the obtaining adaptation parameters of the device from the relational database information according to a preset configuration file template to generate the configuration file of the device comprises:
determining adaptation parameters to be acquired according to the preset configuration file template;
according to the preset rule, sequentially acquiring the model information, the machine frame information, the board card information and the interface information of the equipment from the relational database information; the machine frame information, the board card information and the interface information keep a parent-child relationship which is the same as the logic relationship;
converting the model information, the machine frame information, the board card information and the interface information into the adaptive parameters;
and filling the adaptive parameters into the preset configuration file template to generate the configuration file of the equipment.
3. The method of claim 1, wherein if the logical relationship is ambiguous, the obtaining the adaptive parameters of the device from the relational database information according to a preset profile template to generate the profile of the device comprises:
determining adaptation parameters to be acquired according to the preset configuration file template;
reading and analyzing the relational database, and acquiring the model information and the machine frame information of the equipment;
searching corresponding board card slot position information from a machine frame node to a lower node in a recursion manner;
if the board card slot position information is found, board card information corresponding to the board card slot position is obtained from a sub-node of the board card slot position node;
searching for a lower-layer node from a board card node in a recursion manner to acquire interface information corresponding to the board card;
converting the model information, the machine frame information, the board card information and the interface information into the adaptive parameters;
and filling the adaptive parameters into the preset configuration file template to generate the configuration file of the equipment.
4. The method according to claim 3, wherein the obtaining the adaptive parameters of the device from the relational database information according to a preset file template to generate the configuration file of the device further comprises:
and if the corresponding board card slot position information is not found after the machine frame node is returned to the lower layer node for searching, continuing searching the lower layer node, and acquiring the board card slot position information of the equipment from the grandchild node of the machine frame node.
5. The method according to claim 3 or 4, wherein the obtaining the adaptive parameters of the device from the relational database information according to a preset file template to generate the configuration file of the device further comprises:
and if the slave board card node recursively searches for a lower layer node and the interface information corresponding to the board card is not found, defining the interface information in a standard physical interface definition format, and hanging the interface information to the lower layer of the corresponding board card node.
6. The method according to claim 1, wherein the resource information comprises a management information base, MIB, and the preset configuration file template specifically comprises the following adaptation parameters: the equipment type, the equipment type object identifier OID, the equipment subrack index, the equipment board card OID, the equipment board card index, the equipment main control board OID, the equipment main control board index, the equipment switch board OID, the equipment switch board index, the equipment main control board description, the equipment main control board forwarding capability, the equipment switch board description and the equipment switch board forwarding capability.
7. A network management apparatus, comprising:
the acquisition module is used for acquiring resource information of the equipment;
the generating module is used for generating a relational database according to the logical relationship among the resource information, and the relational database stores the resource information organized according to a preset rule;
the processing module is used for acquiring the adaptation parameters of the equipment from the relational database according to a preset configuration file template and generating a configuration file of the equipment; wherein the adaptation parameter is used for describing hardware structure information of the device;
and the reading module is used for reading the configuration file to complete equipment adaptation.
8. A network management apparatus, characterized in that the network management apparatus comprises: a processor, a communication interface, and a memory; wherein the memory is used for storing one or more programs, the one or more programs including computer executable instructions, and when the network management apparatus runs, the processor executes the computer executable instructions stored in the memory to make the network management apparatus execute the device adaptation method of any one of claims 1 to 6.
9. A computer-readable storage medium having stored therein instructions which, when executed by a computer, cause the computer to perform the device adaptation method of any one of claims 1 to 6.
10. A computer program product, characterized in that it contains instructions which, when said computer program product is run on a computer, the computer performs the device adaptation method of any of the preceding claims 1 to 6.
CN202011262536.2A 2020-11-12 2020-11-12 Equipment adaptation method and network management device Active CN112436964B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011262536.2A CN112436964B (en) 2020-11-12 2020-11-12 Equipment adaptation method and network management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011262536.2A CN112436964B (en) 2020-11-12 2020-11-12 Equipment adaptation method and network management device

Publications (2)

Publication Number Publication Date
CN112436964A true CN112436964A (en) 2021-03-02
CN112436964B CN112436964B (en) 2022-08-26

Family

ID=74700504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011262536.2A Active CN112436964B (en) 2020-11-12 2020-11-12 Equipment adaptation method and network management device

Country Status (1)

Country Link
CN (1) CN112436964B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553297A (en) * 2021-06-08 2021-10-26 优刻得科技股份有限公司 Management method and system for switch configuration information
CN114244620A (en) * 2021-12-24 2022-03-25 湖南云箭智能科技有限公司 Board card network access verification method and device and board card control center
CN115150244A (en) * 2022-06-28 2022-10-04 上海中汇亿达金融信息技术有限公司 Adaptation system and method for managing external data interaction with a funding system
CN115174398A (en) * 2022-06-24 2022-10-11 浪潮卓数大数据产业发展有限公司 Network equipment configuration method, equipment and medium based on python interactive shell
CN115442201A (en) * 2022-08-09 2022-12-06 武汉烽火技术服务有限公司 Method and equipment for dynamically acquiring EMS data based on SNMP (simple network management protocol) agent

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1956394A (en) * 2006-11-13 2007-05-02 杭州华为三康技术有限公司 Method and device for service configuration of network equipment
CN1996877A (en) * 2006-09-30 2007-07-11 华为技术有限公司 A device, system and method for realizing MIB adaptation
CN101582806A (en) * 2009-06-17 2009-11-18 杭州华三通信技术有限公司 Method for MIB management of multi-vendor equipment and device
CN104394008A (en) * 2014-10-10 2015-03-04 广东电网有限责任公司电力科学研究院 A method for configuring uniformly different types of intelligent electronic devices and the system thereof
CN107046479A (en) * 2017-04-14 2017-08-15 浙江数链科技有限公司 A kind of method and device of the proofing state of the network equipment
CN108958758A (en) * 2017-05-23 2018-12-07 大唐移动通信设备有限公司 A kind of management information bank MIB data managing method and device
US10498611B1 (en) * 2018-08-29 2019-12-03 Charter Communications Operating, Llc System architecture and methods for controlling and managing networking devices and expediting new service delivery in a subscriber's home network using micro-domains
CN111831514A (en) * 2020-07-21 2020-10-27 深信服科技股份有限公司 Equipment monitoring method, device, equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996877A (en) * 2006-09-30 2007-07-11 华为技术有限公司 A device, system and method for realizing MIB adaptation
CN1956394A (en) * 2006-11-13 2007-05-02 杭州华为三康技术有限公司 Method and device for service configuration of network equipment
CN101582806A (en) * 2009-06-17 2009-11-18 杭州华三通信技术有限公司 Method for MIB management of multi-vendor equipment and device
CN104394008A (en) * 2014-10-10 2015-03-04 广东电网有限责任公司电力科学研究院 A method for configuring uniformly different types of intelligent electronic devices and the system thereof
CN107046479A (en) * 2017-04-14 2017-08-15 浙江数链科技有限公司 A kind of method and device of the proofing state of the network equipment
CN108958758A (en) * 2017-05-23 2018-12-07 大唐移动通信设备有限公司 A kind of management information bank MIB data managing method and device
US10498611B1 (en) * 2018-08-29 2019-12-03 Charter Communications Operating, Llc System architecture and methods for controlling and managing networking devices and expediting new service delivery in a subscriber's home network using micro-domains
CN111831514A (en) * 2020-07-21 2020-10-27 深信服科技股份有限公司 Equipment monitoring method, device, equipment and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113553297A (en) * 2021-06-08 2021-10-26 优刻得科技股份有限公司 Management method and system for switch configuration information
CN113553297B (en) * 2021-06-08 2023-01-06 优刻得科技股份有限公司 Management method and system for switch configuration information
CN114244620A (en) * 2021-12-24 2022-03-25 湖南云箭智能科技有限公司 Board card network access verification method and device and board card control center
CN115174398A (en) * 2022-06-24 2022-10-11 浪潮卓数大数据产业发展有限公司 Network equipment configuration method, equipment and medium based on python interactive shell
CN115150244A (en) * 2022-06-28 2022-10-04 上海中汇亿达金融信息技术有限公司 Adaptation system and method for managing external data interaction with a funding system
CN115442201A (en) * 2022-08-09 2022-12-06 武汉烽火技术服务有限公司 Method and equipment for dynamically acquiring EMS data based on SNMP (simple network management protocol) agent

Also Published As

Publication number Publication date
CN112436964B (en) 2022-08-26

Similar Documents

Publication Publication Date Title
CN112436964B (en) Equipment adaptation method and network management device
US11848871B2 (en) Network slice management
CN109062952A (en) A kind of data query method, apparatus and electronic equipment
US8782186B2 (en) Systems and methods for addressing managed elements
EP3172866B1 (en) System and method for metadata enhanced inventory management of a communications system
US8589589B2 (en) Method and system for creating an overlay structure for management information bases
CN110912782B (en) Data acquisition method, device and storage medium
CN111459944B (en) MR data storage method, device, server and storage medium
CN108733727B (en) Query processing method, data source registration method and query engine
US20080222603A1 (en) Addressing managed elements in a common information model environment
CN111858280A (en) SQL information processing method, device, equipment and system
CN115408569A (en) Process traceability tree simplification method, device, equipment and medium
CN103532737A (en) Method, device and system for processing various types of alarms
EP3672158A1 (en) Network slice management
KR20130120899A (en) Method for providing database history management and the database management system thereof
EP1606906B1 (en) Notifications in a telecommunications network
CN117271480B (en) Data processing method, device, electronic equipment and medium
CN114745249B (en) Method for generating management information base and electronic equipment
JP2001222486A (en) Network management agent device, method for managing network and computer readable recording medium recording program for allowing computer to execute the method
CN115250236B (en) Network element instruction adaptation method, device, system, electronic equipment and storage medium
CN112436993B (en) VPN private line discovery method and device based on configuration file analysis
EP4300906A1 (en) Restoration of a network slice
CN104283702A (en) Method for achieving remote loading of instrument MIBs based on instrument network management system
JP2000215134A (en) Abstract syntax data storage device and management information base
CN118827371A (en) Information processing method, information processing device, computer readable storage medium and computer readable storage device

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