CN110442359A - A kind of pair of MIB document carries out the method and device of merger - Google Patents

A kind of pair of MIB document carries out the method and device of merger Download PDF

Info

Publication number
CN110442359A
CN110442359A CN201810415324.XA CN201810415324A CN110442359A CN 110442359 A CN110442359 A CN 110442359A CN 201810415324 A CN201810415324 A CN 201810415324A CN 110442359 A CN110442359 A CN 110442359A
Authority
CN
China
Prior art keywords
mib
modification
version
merger
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.)
Pending
Application number
CN201810415324.XA
Other languages
Chinese (zh)
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 CN201810415324.XA priority Critical patent/CN110442359A/en
Publication of CN110442359A publication Critical patent/CN110442359A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present embodiments relate to fields of communication technology, more particularly to a kind of pair of MIB document carries out the method and device of merger, it include: the i-th row modification record item read in MIB modification document, the MIB modification document is generated according to the more new content from first version MIB to second edition MIB;Determine first position of the modification parameter of the i-th row modification record item in third version MIB;According to the modification order of the i-th row modification record item, merger is carried out to the third version MIB in the first position.Therefore, document can be modified according to MIB and merger automatically is carried out to third version MIB, it is not necessary to reuse and merger manually is carried out to MIB document, so, the merger efficiency of MIB document can not only be promoted, additionally it is possible to eliminate mistake caused by human factor, promote the accuracy of the MIB document after merger.

Description

A kind of pair of MIB document carries out the method and device of merger
Technical field
The present embodiments relate to methods and dress that field of communication technology more particularly to a kind of pair of MIB document carry out merger It sets.
Background technique
Existing 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) it is the data medium and interface protocol for realizing management function.
Currently, when the exploitation content of a branch version MIB needs to be integrated into the MIB of other versions, usually manually MIB is integrated into intended branch from source branch, however manually carries out MIB merger and can be realized merger function, but due to merger number Larger according to measuring, manually-operated efficiency is lower, and primary big merger generally requires the time in several weeks, and artificial merger can not be kept away Exempt to generate and thinks to neglect and lead to merger mistake.So artificial merger MIB document, not only labor intensive, but also inefficiency, And since artificial factor cannot be guaranteed the correctness of merger, how to improve MIB merger efficiency and guarantee the correct of merger Property, it is a urgent problem.
Summary of the invention
The embodiment of the present invention provides the method and device that a kind of pair of MIB document carries out merger, to promote returning for MIB document And efficiency.
The embodiment of the present invention provides the method that a kind of pair of MIB document carries out merger, comprising:
Read the i-th row modification record item in MIB modification document, MIB modification document is according to from first version MIB To second edition MIB more new content generate;
Determine first position of the modification parameter of the i-th row modification record item in third version MIB;
According to the modification order of the i-th row modification record item, the third version MIB is carried out in the first position Merger.
Preferably, first in third version MIB of the modification parameter of determination the i-th row modification record item It sets, comprising:
The modification order is determined to increase;
Determine the second position of the modification parameter in the second edition MIB;
Determine the first position corresponding with the second position in the third version MIB;
The modification order according to the i-th row modification record item, in the first position to the third version MIB Carry out merger, comprising:
In the first position, increase the corresponding more new content of the modification parameter;
First position of the modification parameter of determination the i-th row modification record item in third version MIB, comprising:
Determine that the modification order is modification;
Using the position where modification parameter described in the third version MIB as the first position;
According to the modification order of the i-th row modification record item, the third version MIB is carried out in the first position Merger, comprising:
In the first position, the corresponding more new content of the modification parameter is modified;
First position of the modification parameter of determination the i-th row modification record item in third version MIB, comprising:
The modification order is determined to delete;
Using the position where modification parameter described in the third version MIB as the first position;
According to the modification order of the i-th row modification record item, the third version MIB is carried out in the first position Merger, comprising:
The corresponding information in the first position is deleted in the third version MIB.
Preferably, in the modification order according to the i-th row modification record item, in the first position to the third edition This MIB is carried out after merger, further includes:
Third version MIB before merger is compared with the third version MIB after merger, determines difference content;
Judge whether the MIB modification document and the difference content are consistent, if unanimously, otherwise merger success, is returned And failure.
Preferably, after merger success, further includes:
Third version MIB after determining merger is fourth edition MIB;
The modification document is stored as to the modification document of the third version MIB to the fourth edition MIB.
The embodiment of the present invention also provides the device that a kind of pair of MIB document carries out merger, comprising:
Read module, for reading the i-th row modification record item in MIB modification document, the MIB modification document is basis What the more new content from first version MIB to second edition MIB generated;
Determining module, for determining the modification parameter of the i-th row modification record item first in third version MIB It sets;
Merger module, for the modification order according to the i-th row modification record item, in the first position to described Three version MIB carry out merger.
Preferably, the determining module, is specifically used for:
The modification order is determined to increase;
Determine the second position of the modification parameter in the second edition MIB;
Determine the first position corresponding with the second position in the third version MIB;
The merger module, is specifically used for:
In the first position, increase or modify the corresponding more new content of the modification parameter;
The determining module, also particularly useful for:
Determine that the modification order is modification;
Using the position where modification parameter described in the third version MIB as the first position;
The merger module, also particularly useful for:
In the first position, the corresponding more new content of the modification parameter is modified;
The determining module, also particularly useful for:
The modification order is determined to delete;
Using the position where modification parameter described in the third version MIB as the first position;
The merger module, also particularly useful for:
The corresponding information in the first position is deleted in the third version MIB.
Preferably, further include: correction verification module;
The correction verification module, is also used to: in the modification order according to the i-th row modification record item, at described first Set to the third version MIB carry out merger after, by before merger third version MIB and merger after third version MIB into Row compares, and determines difference content, and judges whether the MIB modification document and the difference content are consistent, if unanimously, returned And successfully, otherwise, merger fails.
Preferably, the correction verification module, it is also used to after merger success, the third version MIB after determining merger is the Four version MIB, and the modification document is stored as the modification document of the third version MIB to the fourth edition MIB.
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.
A kind of pair of MIB document provided by the above embodiment carries out the method and device of merger, comprising: reads MIB modification text The i-th row modification record item in shelves, MIB modification document are according in from first version MIB to the update of second edition MIB Hold generation;Determine first position of the modification parameter of the i-th row modification record item in third version MIB;According to described The modification order of i-th row modification record item carries out merger to the third version MIB in the first position.As can be seen that can Automatic the i-th row entry read in MIB modification document, determines that the modification parameter of the i-th row modification record item exists again later First position in third version MIB, finally according to the modification order of the i-th row modification record item, in the first position Merger is carried out to the third version MIB, therefore, document can be modified according to MIB and automatically third version MIB is returned And, it is not necessary to it reuses and merger manually is carried out to MIB document, the merger efficiency of MIB document can not only be promoted, additionally it is possible to eliminate people For mistake caused by factor, the accuracy of the MIB document after merger is promoted.
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 flow diagram that a kind of pair of MIB document provided in an embodiment of the present invention carries out merger;
Fig. 2 is the structural schematic diagram for the device that a kind of pair of MIB document provided in an embodiment of the present invention carries out merger.
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 the method that a kind of pair of MIB document provided in an embodiment of the present invention carries out merger, such as Fig. 1 institute Show, this method can include:
S101, the i-th row modification record item in MIB modification document is read, MIB modification document is according to from the first edition What the more new content of this MIB to second edition MIB generated.
S102, first position of the modification parameter of the i-th row modification record item in third version MIB is determined.
S103, according to the modification order of the i-th row modification record item, merger is carried out to third version MIB in first position.
After generating MIB modification document according to the more new content of first version MIB to second edition MIB, reading is executed Before MIB modifies the i-th row modification record item in document, it may further determine that the store path of MIB modification document later can basis MIB modifies the store path of document, is read out to MIB modification document.
It should be noted that the method for carrying out merger to MIB document in the embodiment of the present invention is mainly used in two points Between branch, in the specific implementation, the merger between the research and development branch under same communication standard and commercial branch can be applied to, it can also Applied to the merger between different communication standards.
Two specific application scenarios are given below.
Application scenarios 1: under same communication standard, research and development branch is integrated into commercial branch
For example, it is directed to communication standard TDD (Time Division Duplex time division duplex), there are the MIB of Liang Ge branch, It is respectively as follows: the MIB of commercial branch and the MIB of research and development branch, it is assumed that the version number of the MIB of commercial branch is 5.10.0, research and development point The version number of the MIB of branch is 6.10.0, and assumes the version for the MIB alignment research and development branch that the version number of commercial branch is 5.10.0 Number MIB for being 6.10.0, i.e., the version number of MIB and research and development branch that the version number of commercial branch is 5.10.0 are 6.10.0's Identical in MIB content, the branch only belonged to and version number are different.
After a period of time, the MIB for researching and developing branch experienced upgrading from version 6.10.0 to version 6.10.5 again, In:
Modification record from the MIB of the MIB to version 6.10.1 of version 6.10.0 is modification record 11;
Modification record from the MIB of the MIB to version 6.10.2 of version 6.10.1 is modification record 12;
Modification record from the MIB of the MIB to version 6.10.3 of version 6.10.2 is modification record 13;
Modification record from the MIB of the MIB to version 6.10.4 of version 6.10.3 is modification record 14;
Modification record from the MIB of the MIB to version 6.10.5 of version 6.10.4 is modification record 15;
Then the MIB modification document under this kind of application scenarios can be according to from the MIB of version 6.10.0 to version 6.10.1 the content in the modification record 11 of MIB is generated, can be according to from the MIB of version 6.10.1 to version 6.10.2 the content in the modification record 12 of MIB is generated, can be according to from the MIB of version 6.10.2 to version 6.10.3 the content in the modification record 13 of MIB is generated, can be the MIB from version 6.10.3 to version 6.10.4's Content in the modification record 14 of MIB is generated, can be repairing from the MIB of the MIB to version 6.10.5 of version 6.10.4 The content changed in record 15 is generated, can also be according to above-mentioned modification record 11, modification record 12, modification record 13, repairs The content any combination for changing record 14 and modification record 15 is generated, for example, in one embodiment, MIB modification text Shelves can be the content institute according to modification record 11, modification record 12, modification record 13, modification record 14 and modification record 15 It generates.
Similarly, for the generation of the MIB modification document between branch commercial in other communication standards and research and development branch, see Communication standard in above-mentioned example is the generating principle of the MIB modification document in TDD, and details are not described herein.
Application scenarios 2: the merger between different communication standard
It is as follows for the merger between different communication standard in application scenarios 2, and in two kinds of situation:
Situation 1: there is secondary relationship between the MIB version between different communication standards
For example, the MIB version that communication standard is FDD (Frequency Division Duplex frequency division duplex) is from logical The MIB version that letter standard is TDD is derived, i.e., the MIB that communication standard is TDD is main split, and communication standard is the MIB of FDD For from branch.Assuming that the MIB version number that communication standard is TDD is 5.10.10, the MIB version number that communication standard is FDD is 7.10.10, and assume that communication standard is FDD and version number is 7.10.10 MIB alignment communication standard is TDD and version number is 5.10.10 the MIB that MIB, i.e. communication standard are FDD and version number is 7.10.10 is TDD with communication standard and version number is 5.10.10 identical in MIB content, the standard only belonged to and version number are different.
After a period of time, the MIB of main split experienced the transition from version 5.10.10 to version 5.10.15, In:
Modification record from the MIB of the MIB to version 5.10.11 of version 5.10.10 is modification record 21;
Modification record from the MIB of the MIB to version 5.10.12 of version 5.10.11 is modification record 22;
Modification record from the MIB of the MIB to version 5.10.13 of version 5.10.12 is modification record 23;
Modification record from the MIB of the MIB to version 5.10.14 of version 5.10.13 is modification record 24;
Modification record from the MIB of the MIB to version 5.10.15 of version 5.10.14 is modification record 25;
Since under this kind of application scenarios, the MIB that communication standard is TDD is main split, the MIB that communication standard is FDD is From branch, then when the modification record based on the MIB under TDD standard carries out merger to the MIB document under FDD standard, then need All modification records from version 5.10.10 to version 5.10.15 are generated into MIB and modify documents, i.e., according to modification record 21, Modification record 22, modification record 23, modification record 24, modification record 25 generate MIB jointly and modify document.
It should be noted that the MIB conduct of MIB under above-mentioned communication standard TDD as main split, under communication standard FDD From branch, only used in citing, when having secondary relationship between the MIB version between different communication standards, can also fit For other communication standards, for example, the MIB under communication standard TDD is to make main split, communication standard NB-ioT (Narrow Band Internet of Things, narrowband Internet of Things) under MIB be used as from branch.
Situation 2: do not have secondary relationship between different communication standards
For example, it is assumed that there are communication standard FDD and version number is the MIB of 2.10.10, and assume that there are communication standards and be TDD and version number are the MIB of 1.10.10, it is further assumed that communication standard is the MIB version of TDD, from version 1.10.10 to During the transition of version 1.10.15, there is following modification records:
Modification record from the MIB of the MIB to version 1.10.11 of version 1.10.10 is modification record 31;
Modification record from the MIB of the MIB to version 1.10.12 of version 1.10.11 is modification record 32;
Modification record from the MIB of the MIB to version 1.10.13 of version 1.10.12 is modification record 33;
Modification record from the MIB of the MIB to version 1.10.14 of version 1.10.13 is modification record 34;
Modification record from the MIB of the MIB to version 1.10.15 of version 1.10.14 is modification record 35;
Wherein, in from version 1.10.12 to the renewal process of version 1.10.13, increase " cell parameter configuration " this One function, then if version number is during the MIB of 2.10.10 is updated to version 2 .10.11 being FDD by communication standard It is also required to increase " cell parameter configuration " this function, then can modify document for the content in above-mentioned modification record 33 as MIB Being integrated into communication standard is FDD, and version number is in the MIB of 2.10.11.
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 (Time CDMA (Code Division Multiple Access, CDMA) Division-Synchronous Code Division Multiple Access, TD-SCDMA), wideband code division multiple access (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 one embodiment, it is to be to version number according to from the MIB that version number is 5.18.0 that MIB, which modifies document, 5.19.0 MIB determined by MIB modifies document, and as shown in following table lattice one, MIB modification document is then integrated into version Number for 6.20.0 MIB in.
Table one
From above table one as can be seen that modification record item can include: modification order, parameter type, parameter, modification column name Claim, the parameter value before modification, modified parameter value.
After determining MIB modification document as exemplified by above table one, the i-th row that can be read in MIB modification document is repaired Change entry, and judges " modification order " in the modification record item of the i-th row.
Specifically, can continue to determine increased if " modification order " in the modification record item of the i-th row is " increase " It is " table ", " order " or " node ", it is assumed that increased is table " netS1InterfaceTable ", then needs first to find The position of " netS1InterfaceTable " in the MIB of version 5.19.0, then finds position in the MIB of version 5.19.0 Table before the position of table " netS1InterfaceTable ", it is further assumed that being located at table in the MIB of version 5.19.0 Table before the position of " netS1InterfaceTable " is " cellSharingNetParaTable ".Later, continue to judge Table " cellSharingNetParaTable " whether there is in the MIB that version number is 6.20.0, if it is present by table " netS1InterfaceTable " increases to the table " cellSharingNetParaTable " in the MIB that version number is 6.20.0 Later, otherwise, continue the searching position in the MIB of version 5.19.0 and be located at the table before table " netS1InterfaceTable ".
When it is increased be " node " or " order " treatment process it is similar with the treatment process of above-mentioned increase " table ", herein It repeats no more.
If " modification order " in the modification record item of the i-th row be " modification ", can continue that determination modifies be " table ", " order ", still " node ", it is assumed that modification is order " DelCellNetPara ", then needs in the MIB that version is 6.20.0 Continue to determine " modification column name ", it is assumed that the column of modification later in the middle position first found where order " DelCellNetPara " Entitled " Chinese description ", then find corresponding to order " DelCellNetPara " that " Chinese is retouched in the MIB of version 6.20.0 State " this column, and the parameter value of the column is revised as 255 from 0.That assume again that modification is node " cellCellID ", then needs Continue to determine " modification column name later in position where first finding node " cellCellID " in the MIB that version is 6.20.0 Claim ", it is assumed that the column name of modification is " value range ", then node " cellCellID " institute is found in the MIB of version 6.20.0 Corresponding " Chinese description " this column, and the parameter value of the column is revised as 0-127 from 0-255.
When modification be " node " or " table " treatment process it is similar with the treatment process of above-mentioned modification " order ", herein It repeats no more.
Specifically, can continue to determine deletion if " modification order " in the modification record item of the i-th row is " deletion " It is " table ", " order " or " node ", it is assumed that deletion is order " SetCellAnTilt ", then needs in version to be 6.20.0 MIB in first find position where order " SetCellAnTilt ", later, find order in the MIB that version is 6.20.0 " SetCellAnTilt ", and the order is deleted, if version is that there is no orders in the MIB of 6.20.0 " SetCellAnTilt ", then terminate process.
When deletion be " node " or " table " treatment process it is similar with the treatment process of above-mentioned deletion " order ", herein It repeats no more.
Wherein, " node " refers to one that base station is managed the smallest management object, includes " nodename ", " value Multiple attributes such as range ", " default value ".And " table " is then a set for including multiple nodes." order " be then management station with The interface communicated between base station, one is ordered one or more node of guaranteeing replacement.
Optionally, it in order to increase the accuracy of the MIB document after merger, is ordered according to the modification of the i-th row modification record item Enable, after first position carries out merger to the MIB of third version, can also by before merger third version MIB and merger after Third version MIB is compared, and determines difference content, and judges whether MIB modification document and the difference content are consistent, if one It causes, then determines merger success, otherwise, it is determined that merger fails.
Optionally, in order between the third version MIB after the subsequent third version MIB to merger based on before merger Modification record generates MIB and modifies document,, can also be by the after merger after merger successfully for being used when subsequent merger Three version MIB are as fourth edition MIB, and the modification that modification document is stored as third version MIB to fourth edition MIB is literary Shelves.
Specifically, after modifying document according to MIB and being fourth edition MIB by third version MIB merger, a kind of processing side Formula is that MIB modification document copy comes, as between the fourth edition MIB after the third version MIB to merger before merger Modification record MIB generated modifies document, another processing mode, be according to MIB modify document to third version MIB into During row merger, difference is recorded, and generates the fourth edition after the third version MIB to merger before merger based on the difference The MIB of MIB modifies document.
According to the above as can be seen that the i-th row entry in MIB modification document can be read automatically, determine again later First position of the modification parameter of the i-th row modification record item in third version MIB is finally modified according to i-th row The modification order of entry, therefore carrying out merger to the third version MIB in the first position can modify according to MIB Document automatically carries out merger to third version MIB, it is not necessary to reuse and manually carry out merger to MIB document, can not only be promoted The merger efficiency of MIB document, additionally it is possible to eliminate mistake caused by human factor, promote the accuracy of the MIB document after merger.
Based on the same technical idea, the embodiment of the present invention also provides the device that a kind of pair of MIB document carries out merger, such as schemes Shown in 2, the device can include:
Read module 201, for reading the i-th row modification record item in MIB modification document, the MIB modification document is It is generated according to the more new content from first version MIB to second edition MIB;
Determining module 202, for determining the modification parameter of the i-th row modification record item in third version MIB One position;
Merger module 203, for the modification order according to the i-th row modification record item, in the first position to institute It states third version MIB and carries out merger.
Preferably, determining module 202, is specifically used for:
The modification order is determined to increase;
Determine the second position of the modification parameter in the second edition MIB;
Determine the first position corresponding with the second position in the third version MIB;
Merger module 203, is specifically used for:
In the first position, increase the corresponding more new content of the modification parameter.
Preferably, determining module 202, also particularly useful for:
Determine that the modification order is modification;
Using the position where modification parameter described in the third version MIB as the first position;
Merger module 203, also particularly useful for:
In the first position, the corresponding more new content of the modification parameter is modified;
Preferably, determining module 202, also particularly useful for:
The modification order is determined to delete;
Using the position where modification parameter described in the third version MIB as the first position;
Merger module 203, also particularly useful for:
The corresponding information in the first position is deleted in the third version MIB.
Preferably, further include: correction verification module 204;
Correction verification module 204, is also used to: in the modification order according to the i-th row modification record item, in the first position After carrying out merger to the third version MIB, the third version MIB before the merger and third version MIB after merger is carried out It compares, determines difference content, and judge whether the MIB modification document and the difference content are consistent, if unanimously, merger Success, otherwise, merger failure.
Preferably, correction verification module 204, is also used to after merger success, the third version MIB after determining merger is the 4th Version MIB, and the modification document is stored as the modification document of the third version MIB to the fourth edition MIB.
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 carrying out MIB document the side of merger The program of 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 for carrying out merger to MIB 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..
To sum up, a kind of pair of MIB document provided in an embodiment of the present invention carries out the method and device of merger, comprising: reads MIB The i-th row modification record item in document is modified, the MIB modification document is according to from first version MIB to second edition MIB What more new content generated;Determine first position of the modification parameter of the i-th row modification record item in third version MIB;Root According to the modification order of the i-th row modification record item, merger is carried out to the third version MIB in the first position.It can be with Find out, the i-th row entry in MIB modification document can be read automatically, determine the modification of the i-th row modification record item again later First position of the parameter in third version MIB, finally according to the modification order of the i-th row modification record item, described One position to the third version MIB carry out merger, therefore, can according to MIB modify document automatically to third version MIB into Row merger, it is not necessary to reuse and merger manually is carried out to MIB document, the merger efficiency of MIB document can not only be promoted, additionally it is possible to disappear Except mistake caused by human factor, the accuracy of the MIB document after merger is promoted.
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 (10)

1. the method that a kind of pair of MIB document carries out merger characterized by comprising
Read the i-th row modification record item in MIB modification document, MIB modification document is according to from first version MIB to the What the more new content of two version MIB generated;
Determine first position of the modification parameter of the i-th row modification record item in third version MIB;
According to the modification order of the i-th row modification record item, the third version MIB is returned in the first position And.
2. the method as described in claim 1, which is characterized in that the modification parameter of determination the i-th row modification record item First position in third version MIB, comprising:
The modification order is determined to increase;
Determine the second position of the modification parameter in the second edition MIB;
Determine the first position corresponding with the second position in the third version MIB;
The modification order according to the i-th row modification record item, carries out the third version MIB in the first position Merger, comprising:
In the first position, increase the corresponding more new content of the modification parameter;
First position of the modification parameter of determination the i-th row modification record item in third version MIB, comprising:
Determine that the modification order is modification;
Using the position where modification parameter described in the third version MIB as the first position;
According to the modification order of the i-th row modification record item, the third version MIB is returned in the first position And, comprising:
In the first position, the corresponding more new content of the modification parameter is modified;
First position of the modification parameter of determination the i-th row modification record item in third version MIB, comprising:
The modification order is determined to delete;
Using the position where modification parameter described in the third version MIB as the first position;
According to the modification order of the i-th row modification record item, the third version MIB is returned in the first position And, comprising:
The corresponding information in the first position is deleted in the third version MIB.
3. the method as described in claim 1, which is characterized in that in the modification order according to the i-th row modification record item, In The first position carries out the third version MIB after merger, further includes:
Third version MIB before merger is compared with the third version MIB after merger, determines difference content;
Judge whether the MIB modification document and the difference content are consistent, if unanimously, merger success, otherwise, merger is lost It loses.
4. method as claimed in claim 3, which is characterized in that after merger success, further includes:
Third version MIB after determining merger is fourth edition MIB;
The modification document is stored as to the modification document of the third version MIB to the fourth edition MIB.
5. the device that a kind of pair of MIB document carries out merger characterized by comprising
Read module, for reading the i-th row modification record item in MIB modification document, MIB modification document is according to from the What the more new content of one version MIB to second edition MIB generated;
Determining module, for determining first position of the modification parameter of the i-th row modification record item in third version MIB;
Merger module, for the modification order according to the i-th row modification record item, in the first position to the third edition This MIB carries out merger.
6. device as claimed in claim 5, which is characterized in that the determining module is specifically used for:
The modification order is determined to increase;
Determine the second position of the modification parameter in the second edition MIB;
Determine the first position corresponding with the second position in the third version MIB;
The merger module, is specifically used for:
In the first position, increase or modify the corresponding more new content of the modification parameter;
The determining module, also particularly useful for:
Determine that the modification order is modification;
Using the position where modification parameter described in the third version MIB as the first position;
The merger module, also particularly useful for:
In the first position, the corresponding more new content of the modification parameter is modified;
The determining module, also particularly useful for:
The modification order is determined to delete;
Using the position where modification parameter described in the third version MIB as the first position;
The merger module, also particularly useful for:
The corresponding information in the first position is deleted in the third version MIB.
7. device as claimed in claim 5, which is characterized in that further include: correction verification module;
The correction verification module, is also used to: in the modification order according to the i-th row modification record item, in the first position pair After the third version MIB carries out merger, the third version MIB and third version MIB after merger before merger is compared It is right, determine difference content, and judge whether MIB modification document and the difference content consistent, if unanimously, merger at Function, otherwise, merger failure.
8. device as claimed in claim 7, which is characterized in that the correction verification module is also used to after merger success, determines Third version MIB after merger is fourth edition MIB, and the modification document is stored as the third version MIB to described The modification document of fourth edition MIB.
9. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 4 according to the program execution benefit of acquisition for calling the program instruction stored in the memory Described in any item methods.
10. 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 4 described in any item methods.
CN201810415324.XA 2018-05-03 2018-05-03 A kind of pair of MIB document carries out the method and device of merger Pending CN110442359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810415324.XA CN110442359A (en) 2018-05-03 2018-05-03 A kind of pair of MIB document carries out the method and device of merger

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810415324.XA CN110442359A (en) 2018-05-03 2018-05-03 A kind of pair of MIB document carries out the method and device of merger

Publications (1)

Publication Number Publication Date
CN110442359A true CN110442359A (en) 2019-11-12

Family

ID=68427833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810415324.XA Pending CN110442359A (en) 2018-05-03 2018-05-03 A kind of pair of MIB document carries out the method and device of merger

Country Status (1)

Country Link
CN (1) CN110442359A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256123A (en) * 1986-04-30 1987-11-07 Canon Inc Document processor
CN101807207A (en) * 2010-03-22 2010-08-18 北京大用科技有限责任公司 Method for sharing document based on content difference comparison
CN102356394A (en) * 2011-08-23 2012-02-15 华为技术有限公司 Document updating method and device
CN102682127A (en) * 2012-05-16 2012-09-19 北京像素软件科技股份有限公司 Data version control method
CN103942186A (en) * 2014-03-28 2014-07-23 武汉传神信息技术有限公司 Method and system for managing documents

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62256123A (en) * 1986-04-30 1987-11-07 Canon Inc Document processor
CN101807207A (en) * 2010-03-22 2010-08-18 北京大用科技有限责任公司 Method for sharing document based on content difference comparison
CN102356394A (en) * 2011-08-23 2012-02-15 华为技术有限公司 Document updating method and device
CN102682127A (en) * 2012-05-16 2012-09-19 北京像素软件科技股份有限公司 Data version control method
CN103942186A (en) * 2014-03-28 2014-07-23 武汉传神信息技术有限公司 Method and system for managing documents

Similar Documents

Publication Publication Date Title
CN107247749A (en) A kind of database positioning determines method, consistency verification method and device
WO2020224544A1 (en) Address selection method and apparatus, and computer readable storage medium
EP3667493B1 (en) A method for a software development system
WO2020108183A1 (en) Method, apparatus and device for generating differential upgrade package
US20160034861A1 (en) Method and apparatus of controlling network payment
CN107330014B (en) Data table creating method and device
US9038054B1 (en) System and method for automated product version rollback
CN102984737B (en) A kind of improve parameter unification collocation method of wireless network and device
CN106897342A (en) A kind of data verification method and equipment
CN109634682A (en) The configuration file update method and device of application program
CN111078672A (en) Data comparison method and device for database
CN106326062A (en) Method and device for controlling running state of application program
US10090923B2 (en) Information processing apparatus, wavelength defragmentation method, and non-transitory recording medium recording wavelength defragmentation program
US9716625B2 (en) Identifying compatible system configurations
CN115795560A (en) Method, device, equipment and medium for checking integrity of file across systems
CN108665244A (en) Fixed value list automatic generation method and storage medium based on 61850 models
JP5587685B2 (en) System, method and computer program for automating record declaration of electronic document
CN109582384A (en) The update method and device of configuration information
US10365850B2 (en) Method of storing data, information processing apparatus and non-transitory computer-readable storage medium
CN111984666A (en) Database access method and device, computer readable storage medium and computer equipment
CN110442359A (en) A kind of pair of MIB document carries out the method and device of merger
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN107861751A (en) The amending method and device of configuration file
WO2021037168A1 (en) Data synchronization method and apparatus, and network management system
CN113127357B (en) Unit test method, apparatus, device, storage medium, and program product

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191112

RJ01 Rejection of invention patent application after publication