CN110399349A - The method and apparatus that a kind of pair of MIB matching document is converted - Google Patents
The method and apparatus that a kind of pair of MIB matching document is converted Download PDFInfo
- Publication number
- CN110399349A CN110399349A CN201810356217.4A CN201810356217A CN110399349A CN 110399349 A CN110399349 A CN 110399349A CN 201810356217 A CN201810356217 A CN 201810356217A CN 110399349 A CN110399349 A CN 110399349A
- Authority
- CN
- China
- Prior art keywords
- mib
- matching document
- line command
- row
- document
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Abstract
The present embodiments relate to fields of communication technology, more particularly to the method and apparatus that a kind of pair of MIB matching document is converted, it include: the i-th line command read in the first MIB matching document, the first MIB matching document is the configuration interface message related with the base station of the base station side record;In the jth row that i-th line command is write to the 2nd MIB matching document according to preset rules, the preset rules are that the jth row n-th that the i-th row m column content of the first MIB matching document is written to the 2nd MIB matching document arranges, the 2nd MIB matching document is used for management station, so that the management station is managed the base station.Therefore, compared with the hand-made MIB matching document for managing base station of people in the prior art, human cost can not only be saved, the producing efficiency for the matching document of MIB used in management station can also be promoted, so as to shorten the change-over period for the matching document of MIB used in management station and reduces cost.
Description
Technical field
The present embodiments relate to the communications fields more particularly to a kind of pair of management information bank MIB matching document to convert
Method and apparatus.
Background technique
Network management product mostly uses SNMP (Simple Network Management Protocol, simple network management
Agreement) carry out equipment management.In the network management model of SNMP, MIB (Management Information Base, management
Information bank) data medium and interface protocol that document is realization management function between management station and base station are matched, it is between the two
The guarantee of interface consistency and channel include MIB, operation object model design report, system operatio order inventory, Operation and Maintenance
Southbound interface process interacts the documents such as handbook, performance counter design report and warning information table.
Wherein, system operatio order inventory defines the SNMP command interface between management station and base station, is ordered according to MIB
Enable order that inventory defines and other documents generated, system operatio order inventory is imported management station's database by management station
In, so that the MIB of management station and base station is consistent, so that the base of management station's correct management MIB version corresponding with presentation
It stands, to realize the management to base station.
However, in the prior art, the usually order that is defined according to MIB order inventory of manpower work and other document compilings
System operatio order inventory causes and not only expends a large amount of manpowers but also the lower technical problem of producing efficiency.
Summary of the invention
The embodiment of the present invention provides the method and apparatus that a kind of pair of management information bank MIB matching document is converted, to
Save the producing efficiency of human cost, the matching document for promoting management base station.
The embodiment of the present invention provides the method that a kind of pair of management information bank MIB matching document is converted, comprising:
The i-th line command in the first MIB matching document is read, the first MIB matching document is the base station side record
Configuration interface message related with the base station;
In the jth row that i-th line command is write to the 2nd MIB matching document according to preset rules, the preset rules
It is that the jth row n-th that the i-th row m column content of the first MIB matching document is written to the 2nd MIB matching document arranges,
The 2nd MIB matching document is used for management station, so that the management station is managed the base station.
Preferably, before the jth row that i-th line command is write to the 2nd MIB matching document according to preset rules, also
Include:
Judge whether i-th line command is supported by the management station, if so, determining the pass of i-th line command
Key word, and according to the keyword, judge in the 2nd MIB matching document with the presence or absence of life corresponding with the keyword
It enables, if it does not exist, then write i-th line command according to preset rules in the jth row of the 2nd MIB matching document,
The new line increment of jth behavior.
Preferably, further include:
If there is row k order corresponding with the keyword in the 2nd MIB matching document, described i-th is judged
The parameter for whether thering is the row k order to be not present in parameters in line command, if it is, the parameter is appended to institute
It states in row k.
Preferably, after determining that i-th line command is supported by the management station, further includes:
Whether the communication standard for determining that each line command in the first MIB matching document is supported is all the same, if not
Identical, then i-th line command is split as q line command by the quantity q for the communication standard supported according to i-th line command,
Each line command in the q line command only includes the relevant parameter of this standard, otherwise, is not carried out to i-th line command
It splits.
Preferably, further include:
Document is matched to the first MIB according to preset verification rule and the 2nd MIB matching document verifies,
The verification rule includes at least a common configuration interface message of i-th line command and the jth line command.
The embodiment of the present invention also provides the device that a kind of pair of management information bank MIB matching document is converted, comprising:
Read module, for reading the i-th line command in the first MIB matching document, the first MIB matching document is institute
State the configuration interface message related with the base station of base station side record;
Conversion module matches in the jth row of document for i-th line command to be write the 2nd MIB according to preset rules,
The preset rules are that the i-th row m column content of the first MIB matching document is written to the 2nd MIB matching document
Jth row n-th arrange, the 2nd MIB matching document is used for management station, so that the management station carries out pipe to the base station
Reason.
Preferably, further include: judgment module;
The judgment module, for i-th line command to be write the of the 2nd MIB matching document according to preset rules
Before j row, judge whether i-th line command is supported by the management station, if so, determining the pass of i-th line command
Key word, and according to the keyword, judge in the 2nd MIB matching document with the presence or absence of life corresponding with the keyword
It enables, if it does not exist, then indicating that i-th line command is write the described 2nd MIB according to preset rules by the conversion module
In jth row with document, the new line increment of jth behavior.
Preferably, the judgment module, is also used to:
When there is row k order corresponding with the keyword in the 2nd MIB matching document, described i-th is judged
The parameter for whether thering is the row k order to be not present in parameters in line command, if it is, indicating the conversion module
The parameter is appended in the row k.
Preferably, the judgment module, is also used to after determining that i-th line command is supported by the management station,
Whether the communication standard for determining that each line command in the first MIB matching document is supported is all the same, if it is not the same, then pressing
According to the quantity q for the communication standard that i-th line command is supported, i-th line command is split as q line command, the q row life
Otherwise each line command in order does not only split i-th line command comprising the relevant parameter of this standard.
Preferably, further include: correction verification module;
The correction verification module, for matching document and the 2nd MIB to the first MIB according to preset verification rule
Matching document is verified, the verification rule include at least one of i-th line command and the jth line command it is common
Configure interface message.
Another embodiment of the present invention provides a kind of calculating equipment comprising memory and processor, wherein the storage
Device is for storing program instruction, and the processor is for calling the program instruction stored in the memory, according to the journey of acquisition
Sequence executes any of the above-described kind of method.
Another embodiment of the present invention provides a kind of computer storage medium, the computer-readable recording medium storage has
Computer executable instructions, the computer executable instructions are for making the computer execute any of the above-described kind of method.
The method that a kind of couple of management information bank MIB provided by the above embodiment matching document is converted, comprising: read the
One MIB matches the i-th line command in document, and the first MIB matching document is having with the base station for the base station side record
The configuration interface message of pass;It is described in the jth row that i-th line command is write to the 2nd MIB matching document according to preset rules
Preset rules are that the i-th row m column content of the first MIB matching document is written to the jth of the 2nd MIB matching document
Row n-th arranges, and the 2nd MIB matching document is used for management station, so that the management station is managed the base station.It can
It, can be according to preset rules automatically by the first MIB after reading the i-th line command in the first MIB matching document to find out
Matching document is converted into matching document for the 2nd MIB used in management station, so that management station can be managed base station, because
This can not only save human cost compared with the hand-made MIB matching document for managing base station of people in the prior art,
But also it is able to ascend the producing efficiency for the matching document of MIB used in management station, so as to shorten for used in management station
MIB matches the change-over period of document and reduces cost.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced.
Fig. 1 is the method figure provided in an embodiment of the present invention converted to management information bank MIB matching document;
Fig. 2 be another embodiment of the present invention provides the method figure converted of document is matched to management information bank MIB;
Fig. 3 is the side provided in an embodiment of the present invention for split to the first MIB matching document order according to communication standard
Method flow chart;
Fig. 4 is that the structure provided in an embodiment of the present invention that the device that document is converted is matched to management information bank MIB is shown
It is intended to.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair
It is bright, it is not intended to limit the present invention.
Fig. 1 illustrates a kind of couple of management information bank MIB matching document provided in an embodiment of the present invention and converts
Method, as shown in Figure 1, this method comprises:
The i-th line command in S101, reading the first MIB matching document, the first MIB matching document is base station side record
Configuration interface message related with base station.
S102, the i-th line command is write according to preset rules in the jth row of the 2nd MIB matching document, the preset rules
It is that the jth row n-th that the i-th row m column content of the first MIB matching document is written to the 2nd MIB matching document arranges, described second
MIB matching document is used for management station, so that the management station is managed the base station.
In order to facilitate the order read in the first MIB matching document, can be determined before reading the first MIB matching document
The store path of first matching document, to read the life of the first MIB matching document according to the store path of the first matching document
It enables.
Optionally, before reading the i-th line command in the first MIB matching document, the first MIB can also be matched in document
The content of each line command checked, to prevent after the first MIB matching document is converted into the 2nd MIB matching document,
There is the configuration interface message of mistake, influences management of the management station to base station.
In the specific implementation, the first MIB, which matches document, can be MIB, and certainly, the first MIB matching document is also possible to it
The document for the configuration interface message related with base station that the base station side of its type is recorded.
It should be noted that the format of the first MIB matching document is that base station can load, and the 2nd MIB matches document
Format be that management station can load, and the format of the first MIB matching document is not with the 2nd MIB format for matching document
It is identical, it is therefore desirable to which the first MIB matching document that base station can load is converted into the 2nd MIB that management station can load
Document is matched, and the first MIB matching document is converted into the 2nd MIB matching document can execute in base station side, it can also be in pipe
Reason station side executes, if the work that the first MIB matching document is converted into the 2nd MIB matching document is placed on base station side execution
Words, then the 2nd MIB can be matched document hair after the first MIB matching document is converted into the 2nd MIB matching document by base station
Give management station, so as to management station load the 2nd MIB match document, and according to the 2nd MIB of load match document to base station into
Row management.
In order to promote the efficiency that the first MIB matching document is converted to the 2nd MIB matching document, according to default rule
Before the jth row that i-th line command is then write to the 2nd MIB matching document, following method flow shown in Fig. 2 can also carry out.
S201, the type for determining current management station.
The i-th line command in S202, reading the first MIB matching document.
S203, judge whether the i-th line command is supported by current management station, if it is, step S204 is gone to, otherwise,
Terminate process.
S204, the keyword for determining the i-th line command.
Specifically, if current management station is OMC (Operation and Maintenance Center, Operation and Maintenance
Center), and OMC also supports the i-th line command, then can determine the keyword of the i-th line command;, whereas if current management station is
OMC (Operation and Maintenance Center, operation and maintenance center), but OMC does not support the i-th line command,
It then needs to terminate process;As can be seen that when the i-th line command is not supported by current management station, can timely termination process,
In this way, the efficiency that the first MIB matching document is converted into the 2nd MIB matching document can not only be promoted, and due in the i-th row
When order is not supported by current management station, without conversion, so, additionally it is possible to promote the accuracy of the 2nd MIB matching document.
Optionally, the keyword of the i-th line command can be " command name ", for example, the keyword of the i-th line command are as follows: increase
Add scheduling parameter, modification scheduling parameter, delete scheduling parameter and query scheduling parameter, certainly, the keyword of the i-th line command
It can be other contents.
S205, according to the keyword, judge in the 2nd MIB matching document with the presence or absence of life corresponding with the keyword
It enables, if it is present step S206 is gone to, if it does not exist, then going to step S208.
Specifically, the i-th row m column content of the first MIB matching document is written to newly-increased the of the 2nd MIB matching document
In the column of j row n-th,
S206, judge the parameter for whether thering is the row k order to be not present in parameters in the i-th line command, if
It is then to go to step S207, otherwise, terminates process.
S207, the parameter that will be present in the i-th line command and be not present in row k order, are appended in row k.
Specifically, can will be present in the i-th row m column in and be not present in row k n-th column in parameter be appended to row k
In n-th column.
S208, according to preset rules, in jth row that the i-th line command is write to the 2nd MIB matching document, the jth behavior
New line increment.
For the ease of checking the content of parameter of difference, also modification record can be generated according to the content of parameter of difference, in order to
The staff of management station checks.
It is managed for the ease of the configuration parameter to each communication standard, turns in the MIB matching document to base station side
When changing, following method flow shown in Fig. 3 can also carry out.
S301, the communication standard that each line command in the first MIB matching document is supported is determined.
Whether S302, the communication standard for judging that each line command in the first MIB matching document is supported are all the same, if not
It is identical, then step S303 is gone to, otherwise, goes to step S304.
I-th line command is split as q line command, institute by the quantity q of S303, the communication standard supported according to the i-th line command
Each line command in q line command is stated only comprising the relevant parameter of this standard.
S304, the i-th line command is not split.
Specifically, can first determine that the communication standard that the parameter in each line command in the first MIB matching document is supported,
Whether the communication standard for then judging that the parameter in each line command in the first MIB matching document is supported is identical, if not phase
Together, then the communication standard supported according to parameter splits the row parameter, otherwise, does not split to the row parameter.
For example, in one embodiment, it includes 5 parameters that the first MIB is matched in a certain line command in document altogether, this
5 parameters are respectively as follows: parameter 1, parameter 2, parameter 3, parameter 4, parameter 5, and the communication standard that this 5 parameters are supported is
TDD (Time Division Duplex time division duplex)/FDD (Frequency Division Duplex frequency division duplex)/NB-
IoT (Narrow Band Internet of Things, narrowband Internet of Things), then in this case, just not to the ginseng of the i-th row
Number is split.
In another embodiment, the first MIB match document in a certain line command in altogether include 5 parameters, this 5
Parameter is respectively as follows: parameter 6, parameter 7, parameter 8, parameter 9, parameter 10.Wherein, the communication standard that parameter 6, parameter 7 are supported is
TDD/FDD/NBIOT, the communication standard that parameter 8 is supported are TDD, and the communication standard that parameter 9 is supported is FDD, 10 institute of parameter
The communication standard of support is NBIOT, then needs to split parameter 6, parameter 7, parameter 8, parameter 9, parameter 10 according to standard,
The scheduling parameter that TDD is supported after then splitting includes: parameter 6, parameter 7, parameter 8, supports that the scheduling parameter of FDD includes: after fractionation
Parameter 6, parameter 7, parameter 9 support that the scheduling parameter of NBIOT includes: parameter 6, parameter 7, parameter 10 after fractionation.
Optionally, be managed for the ease of the configuration parameter to each communication standard, can also the interface of management station according to
Corresponding control command is presented in communication standard.
Specifically, being corresponded in increase/modification interface if the current command increase/modification is TDD communication standard cell
The parameter and common parameter of TDD standard is only presented;If the current command increase/modification is FDD communication standard cell, correspond to
The parameter and common parameter of FDD standard is only presented in increase/modification interface;If the current command increase/modification is NBIOT communication
Standard cell then corresponds to and the order of NBIOT communication standard and common command is only presented in increase/modification interface;Wherein, common command
Refer to that all communication standards in the presence of the first MIB matching document are supported in the order.Then, management station communicates according to cell
The order of standard and order standard control query interface is presented, and the order that this standard is not supported does not show or be shown as invalid value,
Other normal displays of order.
For example, in one embodiment, certain a line life in a first MIB matching document in relation to cell scheduling
It altogether include 5 parameters in order, this 5 parameters are respectively as follows: parameter 1, parameter 2, parameter 3, parameter 4, parameter 5, and parameter 1, ginseng
The communication standard that number 2 is supported is TDD/FDD/NBIOT, and the communication standard that parameter 3 is supported is TDD, what parameter 4 was supported
Communication standard is FDD, and the communication standard that parameter 5 is supported is NBIOT, then TDD standard cell increases, modifies, querying command circle
It face can be as shown in following table lattice one in the parameter that management station is presented.
Table one
Command name | The order line that order includes |
Increase random access parameter | Parameter 1, parameter 2, parameter 3 |
Modify random access parameter | Parameter 1, parameter 2, parameter 3 |
Inquire random access parameter | Parameter 1, parameter 2, parameter 3 |
FDD standard cell increases, modifies, querying command interface, can be such as two institute of following table lattice in the parameter that management station is presented
Show.
Table two
Command name | The order line that order includes |
Increase random access parameter | Parameter 1, parameter 2, parameter 4 |
Modify random access parameter | Parameter 1, parameter 2, parameter 4 |
Inquire random access parameter | Parameter 1, parameter 2, parameter 4 |
NBIOT standard cell increases, modifies, querying command interface, can be such as following table lattice three in the parameter that management station is presented
It is shown.
Table three
Command name | The order line that order includes |
Increase random access parameter | Parameter 1, parameter 2, parameter 5 |
Modify random access parameter | Parameter 1, parameter 2, parameter 5 |
Inquire random access parameter | Parameter 1, parameter 2, parameter 5 |
Later when the first MIB matching document supports other communication service standards again, it is only necessary in the first matching document
Order line display model in increase corresponding value, base station side and management station side all do not need to modify.
It should be noted that the communication standard in the present invention other than it can be TDD, FDD, NBIOT, can also be other
Communication standard, the applicable communication standard of the embodiment of the present invention includes but is not limited to: global system for mobile communications (Global
System of Mobile communication, GSM), CDMA (Code Division Multiple Access,
CDMA) IS-95,2000, TD SDMA CDMA (Code Division Multiple Access, CDMA)
(Time Division-Synchronous Code Division Multiple Access, TD-SCDMA), wideband code division are more
Location (Wideband Code Division Multiple Access, WCDMA), time division duplex-long term evolution (Time
Division Duplexing-Long Term Evolution, TDD LTE), frequency division duplex-long term evolution (Frequency
Division Duplexing-Long Term Evolution, FDD LTE), long term evolution-enhancing (Long Term
Evolution-Advanced, LTE-advanced), personal handyphone system (Personal Handy-phone
System, PHS), Wireless Fidelity (Wireless Fidelity, WiFi), worldwide interoperability for microwave as defined in 802.11 serial protocols
Access (Worldwide Interoperability for Microwave Access, WiMAX), and the following evolution are each
Kind wireless communication system.
In order to promote the accuracy of the 2nd MIB matching document, also text can be matched to the first MIB according to preset verification rule
The consistency of shelves and the 2nd MIB matching document is verified, wherein verification rule includes at least the i-th line command and jth line command
A common configuration interface message, to check in the first MIB matching document and the 2nd MIB matching document with the presence or absence of different
The parameter of cause or nonrecognition, if there is no inconsistent or nonrecognition in the first MIB matching document and the 2nd MIB matching document
Parameter, then it represents that the 2nd MIB matches document structure tree success, otherwise indicates the 2nd MIB matching document structure tree failure.
It, can be according to according to the above as can be seen that after reading the i-th line command in the first MIB matching document
Preset rules automatically are converted into the first MIB matching document to match document for the 2nd MIB used in management station, so that management
Base station can be managed by standing, and therefore, match document phase with the hand-made MIB for managing base station of people in the prior art
Than, human cost can not only be saved, but also be able to ascend the producing efficiency for the matching document of MIB used in management station,
So as to shorten the change-over period for the matching document of MIB used in management station and reduce cost.
Based on the same technical idea, the embodiment of the present invention also provides a kind of pair of management information bank MIB matching document and carries out
The device of conversion, as shown in figure 4, the device can include:
Read module 401, for reading the i-th line command in the first MIB matching document, the first MIB matches document
It is the configuration interface message related with the base station of the base station side record;
Conversion module 403, for i-th line command to be write to the jth row of the 2nd MIB matching document according to preset rules
In, the preset rules are that the i-th row m column content of the first MIB matching document is written to the 2nd MIB matching text
The jth row n-th of shelves arranges, and the 2nd MIB matching document is used for management station, so that the management station carries out the base station
Management.
Preferably, further include: judgment module 402;
Judgment module 402, in the jth that i-th line command is write to the 2nd MIB matching document according to preset rules
Before row, judge whether i-th line command is supported by the management station, if so, determining the key of i-th line command
Word, and according to the keyword, judge to whether there is order corresponding with the keyword in the 2nd MIB matching document,
If it does not exist, then indicating that i-th line command is write the 2nd MIB according to preset rules and matches text by the conversion module
In the jth row of shelves, the new line increment of jth behavior.
Preferably, judgment module 402, is also used to:
When there is row k order corresponding with the keyword in the 2nd MIB matching document, described i-th is judged
The parameter for whether thering is the row k order to be not present in parameters in line command, if it is, indicating the conversion module
The parameter is appended in the row k.
Preferably, judgment module 402, is also used to after determining that i-th line command is supported by the management station, really
Whether the communication standard that each line command in the fixed first MIB matching document is supported all the same, if it is not the same, then according to
I-th line command is split as q line command, the q line command by the quantity q for the communication standard that i-th line command is supported
In each line command only otherwise i-th line command is not split comprising the relevant parameter of this standard.
Preferably, further include: correction verification module 404;
Correction verification module 404, for matching document and the 2nd MIB to the first MIB according to preset verification rule
Matching document is verified, the verification rule include at least one of i-th line command and the jth line command it is common
Configure interface message.
The embodiment of the invention provides a kind of calculating equipment, which is specifically as follows desktop computer, portable
Computer, smart phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA) etc..The meter
Calculating equipment may include central processing unit (Center Processing Unit, CPU), memory, input-output apparatus etc.,
Input equipment may include keyboard, mouse, touch screen etc., and output equipment may include display equipment, such as liquid crystal display
(Liquid Crystal Display, LCD), cathode-ray tube (Cathode Ray Tube, CRT) etc..
Memory may include read-only memory (ROM) and random access memory (RAM), and provide storage to processor
The program instruction and data stored in device.In embodiments of the present invention, memory can be used for storing based on the different of transaction data
The program of normal monitoring method.
Processor is by the program instruction for calling memory to store, and processor according to the program instruction of acquisition for executing
State the program for the method converted to management information bank MIB matching document.
The embodiment of the invention provides a kind of computer storage mediums, for being stored as calculating used in above-mentioned calculating equipment
Machine program instruction, it includes the programs for executing the above-mentioned method converted to management information bank MIB matching document.
The computer storage medium can be any usable medium or data storage device that computer can access, packet
Include but be not limited to magnetic storage (such as floppy disk, hard disk, tape, magneto-optic disk (MO) etc.), optical memory (such as CD, DVD,
BD, HVD etc.) and semiconductor memory (such as it is ROM, EPROM, EEPROM, nonvolatile memory (NAND FLASH), solid
State hard disk (SSD)) etc..
It should be noted that term " base station " includes but is not limited to node, station control, access in the embodiment of the present invention
The interface equipment that can be worked in wireless environments of point (Access Point, abbreviation AP) or any other type.
To sum up, the method that a kind of couple of management information bank MIB matching document provided by the above embodiment is converted, comprising:
Read the i-th line command in the first MIB matching document, the first MIB matching document be the base station side record with it is described
The related configuration interface message in base station;I-th line command is write to the jth row of the 2nd MIB matching document according to preset rules
In, the preset rules are that the i-th row m column content of the first MIB matching document is written to the 2nd MIB matching text
The jth row n-th of shelves arranges, and the 2nd MIB matching document is used for management station, so that the management station carries out the base station
Management.As can be seen that can automatically will according to preset rules after reading the i-th line command in the first MIB matching document
First MIB matching document is converted into matching document for the 2nd MIB used in management station, so that management station can carry out base station
Therefore management compared with the hand-made MIB matching document for managing base station of people in the prior art, can not only save people
Power cost, but also it is able to ascend the producing efficiency for the matching document of MIB used in management station, so as to shorten for institute, management station
The MIB used matches the change-over period of document and reduces cost.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (12)
1. the method that a kind of pair of management information bank MIB matching document is converted characterized by comprising
Read the i-th line command in the first MIB matching document, the first MIB matching document be the base station side record with
The related configuration interface message in the base station;
According to preset rules by i-th line command write the 2nd MIB matching document jth row in, the preset rules be by
The jth row n-th that i-th row m column content of the first MIB matching document is written to the 2nd MIB matching document arranges, described
2nd MIB matching document is used for management station, so that the management station is managed the base station.
2. the method as described in claim 1, which is characterized in that i-th line command is being write second according to preset rules
MIB is matched before the jth row of document, further includes:
Judge whether i-th line command is supported by the management station, if so, determine the keyword of i-th line command,
And according to the keyword, judge in the 2nd MIB matching document with the presence or absence of order corresponding with the keyword, if
It is not present, then in the jth row that i-th line command is write to the 2nd MIB matching document according to preset rules, the jth
The new line increment of behavior.
3. method according to claim 2, which is characterized in that further include:
If there is row k order corresponding with the keyword in the 2nd MIB matching document, the i-th row life is judged
The parameter for whether thering is the row k order to be not present in parameters in order, if it is, the parameter is appended to described
In k row.
4. method according to claim 2, which is characterized in that determining that i-th line command supported by the management station
Later, further includes:
Whether the communication standard for determining that each line command in the first MIB matching document is supported is all the same, if it is not the same,
I-th line command is split as q line command, the q by the quantity q for the communication standard then supported according to i-th line command
Otherwise each line command in line command does not only split i-th line command comprising the relevant parameter of this standard.
5. such as the described in any item methods of Claims 1 to 4, which is characterized in that further include:
Document is matched to the first MIB according to preset verification rule and the 2nd MIB matching document verifies, it is described
Verification rule includes at least a common configuration interface message of i-th line command and the jth line command.
6. the device that a kind of pair of management information bank MIB matching document is converted characterized by comprising
Read module, for reading the i-th line command in the first MIB matching document, the first MIB matching document is the base
The configuration interface message related with the base station of sidelights of standing record;
Conversion module matches in the jth row of document for i-th line command to be write the 2nd MIB according to preset rules, described
Preset rules are that the i-th row m column content of the first MIB matching document is written to the jth of the 2nd MIB matching document
Row n-th arranges, and the 2nd MIB matching document is used for management station, so that the management station is managed the base station.
7. device as claimed in claim 6, which is characterized in that further include: judgment module;
The judgment module, in the jth row that i-th line command is write to the 2nd MIB matching document according to preset rules
Before, judge whether i-th line command is supported by the management station, if so, determining the key of i-th line command
Word, and according to the keyword, judge to whether there is order corresponding with the keyword in the 2nd MIB matching document,
If it does not exist, then indicating that i-th line command is write the 2nd MIB according to preset rules and matches text by the conversion module
In the jth row of shelves, the new line increment of jth behavior.
8. device as claimed in claim 7, which is characterized in that the judgment module is also used to:
When there is row k order corresponding with the keyword in the 2nd MIB matching document, the i-th row life is judged
The parameter for whether thering is the row k order to be not present in parameters in order, if it is, indicating that the conversion module should
Parameter is appended in the row k.
9. device as claimed in claim 7, which is characterized in that the judgment module is also used to determining i-th line command
After being supported by the management station, the communication standard for determining that each line command in the first MIB matching document is supported is
It is no all the same, if it is not the same, the quantity q for the communication standard then supported according to i-th line command, i-th row is ordered
Order is split as q line command, and each line command in the q line command only includes the relevant parameter of this standard, otherwise, not to institute
The i-th line command is stated to be split.
10. such as the described in any item devices of claim 6~9, which is characterized in that further include: correction verification module;
The correction verification module, for matching document and the 2nd MIB matching to the first MIB according to preset verification rule
Document is verified, and the verification rule includes at least a common configuration of i-th line command and the jth line command
Interface message.
11. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 5 according to the program execution benefit of acquisition for calling the program instruction stored in the memory
Described in any item methods.
12. a kind of computer storage medium, which is characterized in that the computer-readable recording medium storage has computer executable
Instruction, the computer executable instructions are for making the computer perform claim require 1 to 5 described in any item methods.
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 true CN110399349A (en) | 2019-11-01 |
CN110399349B 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)
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 |
-
2018
- 2018-04-19 CN CN201810356217.4A patent/CN110399349B/en active Active
Patent Citations (7)
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 |
---|---|
CN110399349B (en) | 2021-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11249969B2 (en) | Data storage method and apparatus, and storage medium | |
CN111507638B (en) | Risk information output and risk information construction method and device | |
EP3859644B1 (en) | Block chain-based data check system and method, computing device, and storage medium | |
CN106326062A (en) | Method and device for controlling running state of application program | |
CN107977867A (en) | Billing model update method, data system for settling account and computer-readable recording medium | |
CN110399089B (en) | Data storage method, device, equipment and medium | |
CN110427371A (en) | Server FRU field management method, device, equipment and readable storage medium storing program for executing | |
US10970309B2 (en) | Data storage method and apparatus | |
CN107341202A (en) | Appraisal procedure, device and the storage medium of business datum table amendment risk factor | |
CN112308590A (en) | Parameter processing method and device, computing equipment and storage medium | |
CN110399349A (en) | The method and apparatus that a kind of pair of MIB matching document is converted | |
CN106535221A (en) | Resource management method and device, and multimode soft base station unified webmaster | |
CN110059091A (en) | Method, apparatus, client, server and the system of index construct | |
WO2021212492A1 (en) | Information pushing method and apparatus, electronic device, and computer-readable medium | |
CN104660428B (en) | A kind of management method and device of performance data | |
CN108304671B (en) | Data management method and related device for building information model | |
CN108259234A (en) | A kind of management of general parameter and methods of exhibiting and device | |
CN112395366A (en) | Data processing and creating method and device of distributed database and electronic equipment | |
CN110442359A (en) | A kind of pair of MIB document carries out the method and device of merger | |
CN115630527B (en) | Exception model detection method, device, computer equipment and storage medium | |
WO2024001569A1 (en) | Network configuration method and apparatus, storage medium and electronic apparatus | |
US20150177915A1 (en) | Apparatus for displaying images and driving method thereof, method for processing information related to cloud infrastructure, method for setting relation between cloud infrastructure resources and computer-readable recording medium | |
CN113504957A (en) | Table data processing method and device, computer equipment and storage medium | |
CN107194014B (en) | Data source calling method and device | |
CN115567513A (en) | Service message transmission method, device and system |
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 |