CN110399349B - Method and device for converting MIB (management information base) matching documents - Google Patents

Method and device for converting MIB (management information base) matching documents Download PDF

Info

Publication number
CN110399349B
CN110399349B CN201810356217.4A CN201810356217A CN110399349B CN 110399349 B CN110399349 B CN 110399349B CN 201810356217 A CN201810356217 A CN 201810356217A CN 110399349 B CN110399349 B CN 110399349B
Authority
CN
China
Prior art keywords
mib
command
row
document
ith row
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.)
Active
Application number
CN201810356217.4A
Other languages
Chinese (zh)
Other versions
CN110399349A (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810356217.4A priority Critical patent/CN110399349B/en
Publication of CN110399349A publication Critical patent/CN110399349A/en
Application granted granted Critical
Publication of CN110399349B publication Critical patent/CN110399349B/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/02Standardisation; Integration
    • H04L41/0213Standardised network management protocols, e.g. simple network management protocol [SNMP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for converting an MIB (management information base) matching document, which comprises the following steps: reading an ith row command in a first MIB matching document, wherein the first MIB matching document is configuration interface information which is recorded by the base station side and is related to the base station; and writing the ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the preset rule is to write the content of the ith row and the mth column of the first MIB matched document into the jth row and the nth column of the second MIB matched document, and the second MIB matched document is used by a management station so that the management station manages the base station. Therefore, compared with the prior art in which a person manually makes an MIB matching document for managing a base station, it is possible to save labor costs and to improve the efficiency of making the MIB matching document for use by a management station, thereby shortening the conversion period of the MIB matching document for use by the management station and reducing costs.

Description

Method and device for converting MIB (management information base) matching documents
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for converting Management Information Base (MIB) matching documents.
Background
Network Management products mostly adopt Simple Network Management Protocol (SNMP) to perform device Management. In the network Management model of SNMP, an MIB (Management Information Base) matching document is a data carrier and an interface protocol for realizing a Management function between a Management station and a Base station, is a guarantee and a channel of interface consistency between the Management station and the Base station, and includes documents such as an MIB, an operation object model design report, a system operation command list, an operation maintenance southbound interface process interaction manual, a performance counter design report, and an alarm Information table.
The management station leads the system operation command list into a management station database, so that the management station keeps the same with the MIB of the base station, and the management station correctly manages and presents the base station with the corresponding MIB version to realize the management of the base station.
However, in the prior art, a person generally prepares the command list according to the commands defined by the MIB command list and other documents, which causes the technical problems of not only consuming a lot of manpower but also having low preparation efficiency.
Disclosure of Invention
The embodiment of the invention provides a method and a device for converting Management Information Base (MIB) matching documents, which are used for saving labor cost and improving the manufacturing efficiency of the management base station matching documents.
The embodiment of the invention provides a method for converting Management Information Base (MIB) matching documents, which comprises the following steps:
reading an ith row command in a first MIB matching document, wherein the first MIB matching document is configuration interface information which is recorded by the base station side and is related to the base station;
and writing the ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the preset rule is to write the content of the ith row and the mth column of the first MIB matched document into the jth row and the nth column of the second MIB matched document, and the second MIB matched document is used by a management station so that the management station manages the base station.
Preferably, before writing the ith row command to the jth row of the second MIB matching document according to the preset rule, the method further includes:
and judging whether the ith row command is supported by the management station, if so, determining a keyword of the ith row command, judging whether a command corresponding to the keyword exists in the second MIB matching document according to the keyword, if not, writing the ith row command into a jth row of the second MIB matching document according to a preset rule, and adding a jth row newly.
Preferably, the method further comprises the following steps:
if the k-th row command corresponding to the keyword exists in the second MIB matching document, judging whether parameters which do not exist in the k-th row command exist in the parameters in the i-th row command, and if so, adding the parameters to the k-th row.
Preferably, after determining that the ith row command is supported by the management station, the method further includes:
determining whether the communication systems supported by the commands in each row in the first MIB matching document are the same, if not, splitting the command in the i row into q rows according to the number q of the communication systems supported by the command in the i row, wherein each row in the q rows only contains parameters related to the system, otherwise, not splitting the command in the i row.
Preferably, the method further comprises the following steps:
and verifying the first MIB matching document and the second MIB matching document according to a preset verification rule, wherein the verification rule at least comprises common configuration interface information of the ith row command and the jth row command.
The embodiment of the invention also provides a device for converting the MIB matching document of the management information base, which comprises the following steps:
a reading module, configured to read an ith row command in a first MIB matching document, where the first MIB matching document is configuration interface information, recorded by the base station side, related to the base station;
a conversion module, configured to write the ith row command into a jth row of a second MIB matched document according to a preset rule, where the preset rule is to write content in the ith row and mth column of the first MIB matched document into the jth row and nth column of the second MIB matched document, and the second MIB matched document is used by a management station, so that the management station manages the base station.
Preferably, the method further comprises the following steps: a judgment module;
the judging module is configured to judge whether the ith row command is supported by the management station before the ith row command is written to a jth row of a second MIB matching document according to a preset rule, determine a keyword of the ith row command if the ith row command is supported by the management station, judge whether a command corresponding to the keyword exists in the second MIB matching document according to the keyword, and instruct the converting module to write the ith row command to the jth row of the second MIB matching document according to the preset rule if the ith row command does not exist, where the jth row is newly added.
Preferably, the judging module is further configured to:
and when a k-th line command corresponding to the keyword exists in the second MIB matching document, judging whether parameters which do not exist in the k-th line command exist in the parameters in the i-th line command, and if so, indicating the conversion module to add the parameters to the k-th line.
Preferably, the determining module is further configured to determine, after determining that the ith row command is supported by the management station, whether the communication systems supported by the row commands in the first MIB matching document are the same, if not, split the ith row command into q row commands according to the number q of the communication systems supported by the ith row command, where each row command in the q row commands only includes parameters related to the system, and otherwise, not split the ith row command.
Preferably, the method further comprises the following steps: a checking module;
the verification module is configured to verify the first MIB matched document and the second MIB matched document according to a preset verification rule, where the verification rule at least includes a common configuration interface information of the ith row command and the jth row command.
Another embodiment of the present invention provides a computing device, which includes a memory for storing program instructions and a processor for calling the program instructions stored in the memory to execute any one of the above methods according to the obtained program.
Another embodiment of the present invention provides a computer storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
The method for converting the management information base MIB matching document provided by the embodiment comprises the following steps: reading an ith row command in a first MIB matching document, wherein the first MIB matching document is configuration interface information which is recorded by the base station side and is related to the base station; and writing the ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the preset rule is to write the content of the ith row and the mth column of the first MIB matched document into the jth row and the nth column of the second MIB matched document, and the second MIB matched document is used by a management station so that the management station manages the base station. It can be seen that after the ith row command in the first MIB matching document is read, the first MIB matching document can be automatically converted into the second MIB matching document used by the management station according to the preset rule, so that the management station can manage the base station, and therefore, compared with the prior art in which a person manually prepares the MIB matching document used for managing the base station, the labor cost can be saved, and the efficiency of preparing the MIB matching document used by the management station can be improved, thereby shortening the conversion period of the MIB matching document used by the management station and reducing the cost.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that are required to be used in the description of the embodiments will be briefly described below.
FIG. 1 is a diagram of a method for converting MIB matching documents in a management information base according to an embodiment of the present invention;
FIG. 2 is a diagram of a method for converting MIB matching documents in a management information base according to another embodiment of the present invention;
FIG. 3 is a flowchart of a method for splitting a first MIB matching document according to a communication system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for converting MIB matching documents in a management information base according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 illustrates an example of a method for converting a management information base MIB matching document provided in an embodiment of the present invention, where as shown in fig. 1, the method includes:
s101, reading an ith row command in a first MIB matching document, wherein the first MIB matching document is configuration interface information which is recorded by a base station side and is related to the base station.
S102, writing an ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the preset rule is that the content of the ith row and the mth column of the first MIB matched document is written into the jth row and the nth column of the second MIB matched document, and the second MIB matched document is used by a management station so that the management station manages the base station.
To facilitate reading the command in the first MIB matched document, the storage path of the first matched document may be determined prior to reading the first MIB matched document, such that the command of the first MIB matched document is read according to the storage path of the first matched document.
Optionally, before reading the ith row command in the first MIB matching document, the content of each row command in the first MIB matching document may be checked to prevent that, after the first MIB matching document is converted into the second MIB matching document, wrong configuration interface information occurs to affect the management of the management station on the base station.
In a specific implementation, the first MIB matching file may be an MIB, and of course, the first MIB matching file may also be a file of configuration interface information related to a base station recorded by the base station side of another type.
It should be noted that the format of the first MIB matching document is loadable by the base station, while the format of the second MIB matching document is loadable by the management station, and the format of the first MIB match document is not the same as the format of the second MIB match document, therefore, it is necessary to convert a first MIB matching document that can be loaded by a base station into a second MIB matching document that can be loaded by a management station, and the conversion of the first MIB match document into the second MIB match document may be performed at the base station side, or at the management station side, if the work of converting the first MIB match document into the second MIB match document is put into effect at the base station side, the base station, after converting the first MIB match document into a second MIB match document, may send the second MIB match document to the management station, and the management station can load the second MIB matching document and manage the base station according to the loaded second MIB matching document.
In order to improve the efficiency of converting the first MIB matching document into the second MIB matching document, the following method flow illustrated in fig. 2 may be further performed before writing the row i command to the row j of the second MIB matching document according to the preset rule.
S201, determining the type of the current management station.
S202, reading the ith row command in the first MIB matching document.
S203, judging whether the ith row of commands is supported by the current management station, if so, turning to the step S204, otherwise, ending the process.
And S204, determining keywords of the ith row command.
Specifically, if the current management station is an OMC (Operation and Maintenance Center), and the OMC also supports the ith row command, the keyword of the ith row command may be determined; otherwise, if the current management station is an OMC (Operation and Maintenance Center), but the OMC does not support the ith line command, the flow needs to be ended; it can be seen that when the ith row command is not supported by the current management station, the flow can be terminated in time, so that not only can the efficiency of converting the first MIB matching document into the second MIB matching document be improved, but also the accuracy of the second MIB matching document can be improved because the conversion is not performed when the ith row command is not supported by the current management station.
Optionally, the keyword of the ith row command may be "command name", for example, the keyword of the ith row command is: adding a scheduling parameter, modifying a scheduling parameter, deleting a scheduling parameter, and querying a scheduling parameter, although the keyword of the ith row command may be other content.
S205, judging whether a command corresponding to the keyword exists in the second MIB matching document according to the keyword, if so, turning to the step S206, and if not, turning to the step S208.
Specifically, the content of the ith row and the mth column of the first MIB matching document is written into the newly added jth row and the nth column of the second MIB matching document,
s206, judging whether the parameters in the ith row of commands do not have the parameters in the kth row of commands, if so, turning to the step S207, otherwise, ending the process.
S207, add the parameters existing in the ith line command and not existing in the kth line command to the kth line.
Specifically, the parameter existing in the mth column of the ith row and not existing in the nth column of the kth row may be added to the nth column of the kth row.
And S208, writing the ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the jth row is newly added.
In order to facilitate the viewing of the parameter content of the difference, a modification record can be generated according to the parameter content of the difference, so that the modification record can be conveniently viewed by the staff of the management station.
In order to facilitate management of configuration parameters of each communication system, the following method flow shown in fig. 3 may be executed when the MIB matching file at the base station side is converted.
S301, determining the communication system supported by each row of commands in the first MIB matching document.
S302, judging whether the communication systems supported by the commands in each row in the first MIB matching document are the same, if not, turning to the step S303, otherwise, turning to the step S304.
S303, splitting the ith row of commands into q rows of commands according to the number q of the communication systems supported by the ith row of commands, wherein each row of commands in the q rows of commands only contains parameters related to the system.
And S304, the ith row of commands are not split.
Specifically, the communication system supported by the parameter in each line command in the first MIB matching document may be determined first, and then it is determined whether the communication systems supported by the parameter in each line command in the first MIB matching document are the same, if not, the line parameter is split according to the communication system supported by the parameter, otherwise, the line parameter is not split.
For example, in one embodiment, the first MIB contains a total of 5 parameters in a row of commands in the matching document, where the 5 parameters are: parameter 1, parameter 2, parameter 3, parameter 4, and parameter 5, and all communication systems supported by these 5 parameters are TDD (Time Division Duplex)/FDD (Frequency Division Duplex)/NB-ioT (Narrow Band Internet of Things), in this case, the parameter in the ith row is not split.
In another embodiment, the command in a row in the first MIB matching document contains 5 parameters, where the 5 parameters are: parameter 6, parameter 7, parameter 8, parameter 9, parameter 10. Wherein, the communication system supported by the parameter 6 and the parameter 7 is TDD/FDD/NBIOT, the communication system supported by the parameter 8 is TDD, the communication system supported by the parameter 9 is FDD, and the communication system supported by the parameter 10 is NBIOT, and then the parameter 6, the parameter 7, the parameter 8, the parameter 9, and the parameter 10 need to be split according to the systems, and then the scheduling parameter supporting TDD after splitting includes: parameter 6, parameter 7, parameter 8, the scheduling parameter that supports FDD after the split includes: parameter 6, parameter 7, and parameter 9, the scheduling parameters supporting NBIOT after splitting include: parameter 6, parameter 7, parameter 10.
Optionally, in order to facilitate management of configuration parameters of each communication system, a corresponding control command may be presented on an interface of the management station according to the communication system.
Specifically, if the current command is to add/modify a TDD communication system cell, only the TDD system parameter and the common parameter are presented in the corresponding add/modify interface; if the current command is to add/modify the cell of the FDD communication system, only showing the parameters and common parameters of the FDD system on the corresponding adding/modifying interface; if the current command is to add/modify the NBIOT communication system cell, only the NBIOT communication system command and the common command are presented in the corresponding adding/modifying interface; wherein, the common command means that the command supports all communication systems existing in the first MIB matching document. Then, the management station controls the command presentation of the query interface according to the cell communication system and the command system, commands which are not supported by the system are not displayed or are displayed as invalid values, and other commands are normally displayed.
For example, in one embodiment, a certain row of commands in a first MIB matching document relating to cell scheduling contains a total of 5 parameters, which are respectively: the command interface is added, modified and inquired in a cell of the TDD system, and parameters presented in the management station can be shown in the following table one.
Table one
Name of command Command line of command
Increasing random access parameters Parameter 1, parameter 2, and parameter 3
Modifying random access parameters Parameter 1, parameter 2, and parameter 3
Querying random access parameters Parameter 1, parameter 2, and parameter 3
The parameters presented in the management station in the FDD system cell add, modify, and query command interface can be as shown in the following table two.
Table two
Name of command Command line of command
Increasing random access parameters Parameter 1, parameter 2, parameter 4
Modifying random access parameters Parameter 1, parameter 2, parameter 4
Querying random access parameters Parameter 1, parameter 2, parameter 4
The NBIOT system cell add, modify, query command interface, parameters presented at the management station can be as shown in table three below.
Table III
Name of command Command line of command
Increasing random access parameters Parameter 1, parameter 2, parameter 5
Modifying random access parameters Parameter 1, parameter 2, parameter 5
Querying random access parameters Parameter 1, parameter 2, parameter 5
When the first MIB matching document supports other communication service systems, corresponding values are added in the display model of the command line in the first matching document, and the base station side and the management station side do not need to be modified.
It should be noted that the communication system in the present invention may be other communication systems besides TDD, FDD, NBIOT, and the communication systems applicable to the embodiments of the present invention include but are not limited to: global System for Mobile communications (GSM), Code Division Multiple Access (CDMA) IS-95, Code Division Multiple Access (CDMA) 2000, Time Division Synchronous Code Division Multiple Access (TD-SCDMA), Wideband Code Division Multiple Access (WCDMA), Time Division duplex-Long Term Evolution (TDD LTE), Frequency Division duplex-Long Term Evolution (FDD), Long Term Evolution (Long Term Evolution-Evolution), LTE-Mobile, Personal Mobile phone (WiFi-held), Wireless internet protocol (WiFi-802), Wireless internet protocol (WiFi-11), WiMAX), and various wireless communication systems that evolve in the future.
In order to improve the accuracy of the second MIB matched document, the consistency of the first MIB matched document and the second MIB matched document can be checked according to a preset check rule, wherein the check rule at least comprises common configuration interface information of an ith row command and a jth row command so as to check whether the first MIB matched document and the second MIB matched document have inconsistent or unrecognized parameters, if the inconsistent or unrecognized parameters do not exist in the first MIB matched document and the second MIB matched document, the second MIB matched document is successfully generated, otherwise, the second MIB matched document is failed to be generated.
According to the above, after the ith row command in the first MIB matching document is read, the first MIB matching document can be automatically converted into the second MIB matching document used by the management station according to the preset rule, so that the management station can manage the base station.
Based on the same technical concept, an embodiment of the present invention further provides an apparatus for converting MIB matching documents in a management information base, as shown in fig. 4, the apparatus may include:
a reading module 401, configured to read an ith row command in a first MIB matching document, where the first MIB matching document is configuration interface information about the base station recorded on the base station side;
a conversion module 403, configured to write the ith row command into a jth row of a second MIB matched document according to a preset rule, where the preset rule is to write contents of an ith row and an mth column of the first MIB matched document into an nth row and an nth column of the second MIB matched document, and the second MIB matched document is used by a management station, so that the management station manages the base station.
Preferably, the method further comprises the following steps: a decision block 402;
a determining module 402, configured to determine whether the ith row command is supported by the management station before writing the ith row command to a jth row of a second MIB matching document according to a preset rule, if yes, determine a keyword of the ith row command, determine whether a command corresponding to the keyword exists in the second MIB matching document according to the keyword, and if not, instruct the converting module to write the ith row command to the jth row of the second MIB matching document according to the preset rule, where the jth row is newly added.
Preferably, the determining module 402 is further configured to:
and when a k-th line command corresponding to the keyword exists in the second MIB matching document, judging whether parameters which do not exist in the k-th line command exist in the parameters in the i-th line command, and if so, indicating the conversion module to add the parameters to the k-th line.
Preferably, the determining module 402 is further configured to determine, after determining that the ith row command is supported by the management station, whether the communication systems supported by the row commands in the first MIB matching document are the same, if not, split the ith row command into q row commands according to the number q of the communication systems supported by the ith row command, where each row command in the q row commands only includes parameters related to the system, and otherwise, not split the ith row command.
Preferably, the method further comprises the following steps: a verification module 404;
a checking module 404, configured to check the first MIB matched document and the second MIB matched document according to a preset checking rule, where the checking rule at least includes a common configuration interface information of the ith row command and the jth row command.
Embodiments of the present invention provide a computing device, which may be specifically a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In an embodiment of the invention, the memory may be used to store a program for an anomaly monitoring method based on transaction data.
The processor is used for executing the program of the method for converting the management information base MIB matching document according to the obtained program instruction by calling the program instruction stored in the memory.
An embodiment of the present invention provides a computer storage medium for storing computer program instructions for the computing device, which includes a program for executing the method for converting MIB matching documents in a management information base.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
It should be noted that, in the embodiment of the present invention, the term "base station" includes, but is not limited to, a node, a station controller, an Access Point (AP), or any other type of interface device capable of operating in a wireless environment.
In summary, the method for converting the MIB matching document of the management information base according to the foregoing embodiments includes: reading an ith row command in a first MIB matching document, wherein the first MIB matching document is configuration interface information which is recorded by the base station side and is related to the base station; and writing the ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the preset rule is to write the content of the ith row and the mth column of the first MIB matched document into the jth row and the nth column of the second MIB matched document, and the second MIB matched document is used by a management station so that the management station manages the base station. It can be seen that after the ith row command in the first MIB matching document is read, the first MIB matching document can be automatically converted into the second MIB matching document used by the management station according to the preset rule, so that the management station can manage the base station, and therefore, compared with the prior art in which a person manually prepares the MIB matching document used for managing the base station, the labor cost can be saved, and the efficiency of preparing the MIB matching document used by the management station can be improved, thereby shortening the conversion period of the MIB matching document used by the management station and reducing the cost.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention 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 invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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 preferred embodiments of the present invention 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 such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for converting Management Information Base (MIB) matching documents is characterized by comprising the following steps:
reading an ith row command in a first MIB matching document, wherein the first MIB matching document is configuration interface information which is recorded by a base station side and is related to the base station;
writing the ith row command into a jth row of a second MIB matched document according to a preset rule, wherein the preset rule is to write the content of the ith row and the mth column of the first MIB matched document into the jth row and the nth column of the second MIB matched document, and the second MIB matched document is used by a management station so that the management station manages the base station;
before writing the ith row command to the jth row of the second MIB matching document according to the preset rule, the method further comprises the following steps:
judging whether the ith row command is supported by the management station, if so, determining a keyword of the ith row command, judging whether a command corresponding to the keyword exists in the second MIB matching document according to the keyword, if not, writing the ith row command into a jth row of the second MIB matching document according to a preset rule, and adding a jth row;
after determining that the ith row command is supported by the management station, further comprising:
determining whether the communication systems supported by the commands in each row in the first MIB matching document are the same, if not, splitting the command in the i row into q rows according to the number q of the communication systems supported by the command in the i row, wherein each row in the q rows only contains parameters related to the system, otherwise, not splitting the command in the i row.
2. The method of claim 1, further comprising:
if the k-th row command corresponding to the keyword exists in the second MIB matching document, judging whether parameters which do not exist in the k-th row command exist in the parameters in the i-th row command, and if so, adding the parameters to the k-th row.
3. The method of any of claims 1-2, further comprising:
and verifying the first MIB matching document and the second MIB matching document according to a preset verification rule, wherein the verification rule at least comprises common configuration interface information of the ith row command and the jth row command.
4. An apparatus for converting Management Information Base (MIB) matching documents, comprising:
a reading module, configured to read an ith row command in a first MIB matching document, where the first MIB matching document is configuration interface information related to a base station recorded on a base station side;
a conversion module, configured to write the ith row command into a jth row of a second MIB matched document according to a preset rule, where the preset rule is to write content in the ith row and mth column of the first MIB matched document into the jth row and nth column of the second MIB matched document, and the second MIB matched document is used by a management station, so that the management station manages the base station;
further comprising: a judgment module;
the judging module is configured to judge whether the ith row command is supported by the management station before the ith row command is written to a jth row of a second MIB matching document according to a preset rule, determine a keyword of the ith row command if the ith row command is supported by the management station, judge whether a command corresponding to the keyword exists in the second MIB matching document according to the keyword, and instruct the converting module to write the ith row command to the jth row of the second MIB matching document according to the preset rule if the ith row command does not exist, where the jth row is newly added;
the judging module is further configured to determine, after it is determined that the ith row command is supported by the management station, whether the communication systems supported by the row commands in the first MIB matching document are the same, if not, split the ith row command into q row commands according to the number q of the communication systems supported by the ith row command, where each row command in the q row commands only includes parameters related to the system, and otherwise, not split the ith row command.
5. The apparatus of claim 4, wherein the determining module is further configured to:
and when a k-th line command corresponding to the keyword exists in the second MIB matching document, judging whether parameters which do not exist in the k-th line command exist in the parameters in the i-th line command, and if so, indicating the conversion module to add the parameters to the k-th line.
6. The apparatus of any of claims 4 to 5, further comprising: a checking module;
the verification module is configured to verify the first MIB matched document and the second MIB matched document according to a preset verification rule, where the verification rule at least includes a common configuration interface information of the ith row command and the jth row command.
7. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 3 in accordance with the obtained program.
8. A computer storage medium having computer-executable instructions stored thereon for causing a computer to perform the method of any one of claims 1 to 3.
CN201810356217.4A 2018-04-19 2018-04-19 Method and device for converting MIB (management information base) matching documents Active CN110399349B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810356217.4A CN110399349B (en) 2018-04-19 2018-04-19 Method and device for converting MIB (management information base) matching documents

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810356217.4A CN110399349B (en) 2018-04-19 2018-04-19 Method and device for converting MIB (management information base) matching documents

Publications (2)

Publication Number Publication Date
CN110399349A CN110399349A (en) 2019-11-01
CN110399349B true CN110399349B (en) 2021-11-12

Family

ID=68319475

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810356217.4A Active CN110399349B (en) 2018-04-19 2018-04-19 Method and device for converting MIB (management information base) matching documents

Country Status (1)

Country Link
CN (1) CN110399349B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101909314A (en) * 2010-06-28 2010-12-08 新邮通信设备有限公司 Method and system for configuring base station parameter
CN102006178A (en) * 2009-09-03 2011-04-06 大唐移动通信设备有限公司 SNMP-based network management method and system
CN102497286A (en) * 2011-12-12 2012-06-13 杭州华三通信技术有限公司 Method and device for matching management information base (MIB)
US8522232B1 (en) * 2009-07-06 2013-08-27 Arris Enterprises, Inc. Decoupling software loads for customer premise equipment
CN105337781A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Network management system and method and network system
CN105808748A (en) * 2016-03-14 2016-07-27 广州市诚毅科技软件开发有限公司 MIB (Management Information Base) version contrast method and device
CN107911249A (en) * 2017-11-28 2018-04-13 新华三技术有限公司 Order line sending method, device and the equipment of a kind of network equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8522232B1 (en) * 2009-07-06 2013-08-27 Arris Enterprises, Inc. Decoupling software loads for customer premise equipment
CN102006178A (en) * 2009-09-03 2011-04-06 大唐移动通信设备有限公司 SNMP-based network management method and system
CN101909314A (en) * 2010-06-28 2010-12-08 新邮通信设备有限公司 Method and system for configuring base station parameter
CN102497286A (en) * 2011-12-12 2012-06-13 杭州华三通信技术有限公司 Method and device for matching management information base (MIB)
CN105337781A (en) * 2015-12-01 2016-02-17 上海斐讯数据通信技术有限公司 Network management system and method and network system
CN105808748A (en) * 2016-03-14 2016-07-27 广州市诚毅科技软件开发有限公司 MIB (Management Information Base) version contrast method and device
CN107911249A (en) * 2017-11-28 2018-04-13 新华三技术有限公司 Order line sending method, device and the equipment of a kind of network equipment

Also Published As

Publication number Publication date
CN110399349A (en) 2019-11-01

Similar Documents

Publication Publication Date Title
US11249969B2 (en) Data storage method and apparatus, and storage medium
US9336054B2 (en) Method and apparatus for configuring resource
EP2763055B1 (en) A telecommunication method and mobile telecommunication device for providing data to a mobile application
CN108491326B (en) Test behavior a recombination process apparatus and storage medium
US20210365421A1 (en) Data analysis method, computer device and storage medium
US11436188B2 (en) Resource optimization and update method, server, and device
CN102984737B (en) A kind of improve parameter unification collocation method of wireless network and device
CN110555150B (en) Data monitoring method, device, equipment and storage medium
CN110399089B (en) Data storage method, device, equipment and medium
CN103780633A (en) Method and device for mobile terminal to upload file, and method and device for network server to upload file
CN107798120B (en) Data conversion method and device
WO2019148657A1 (en) Method for testing associated environments, electronic device and computer readable storage medium
CN113254445A (en) Real-time data storage method and device, computer equipment and storage medium
CN112308590A (en) Parameter processing method and device, computing equipment and storage medium
CN110399349B (en) Method and device for converting MIB (management information base) matching documents
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN108989088B (en) Log uploading method and communication equipment
CN103902445A (en) Regression test object determination method and device
CN103034730B (en) A kind of data processing method based on Android platform and system
CN106557530B (en) Operation system, data recovery method and device
US9679015B2 (en) Script converter
CN112835887A (en) Database management method, database management device, computing equipment and storage medium
CN103617194A (en) Ranked data processing method and device
CN110034943B (en) Method and device for deleting Management Information Base (MIB)
CN109547290B (en) Cloud platform garbage data detection processing method, device, 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