[go: up one dir, main page]

CN110034943B - Method and device for deleting Management Information Base (MIB) - Google Patents

Method and device for deleting Management Information Base (MIB) Download PDF

Info

Publication number
CN110034943B
CN110034943B CN201810032636.2A CN201810032636A CN110034943B CN 110034943 B CN110034943 B CN 110034943B CN 201810032636 A CN201810032636 A CN 201810032636A CN 110034943 B CN110034943 B CN 110034943B
Authority
CN
China
Prior art keywords
mib
deleting
imported
time
management system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810032636.2A
Other languages
Chinese (zh)
Other versions
CN110034943A (en
Inventor
马超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201810032636.2A priority Critical patent/CN110034943B/en
Publication of CN110034943A publication Critical patent/CN110034943A/en
Application granted granted Critical
Publication of CN110034943B publication Critical patent/CN110034943B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0866Checking the configuration
    • H04L41/0869Validating the configuration within one network element

Landscapes

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

Abstract

The embodiment of the invention relates to the technical field of communication, in particular to a method and a device for deleting Management Information Base (MIB), which comprises the following steps: when the quantity of the MIBs imported in the network management system exceeds a preset value, comparing the version number of the MIB to be imported with the version number of the MIB imported in the network management system, judging whether the MIB with the same front M bit as the version number of the MIB to be imported exists in the network management system, if so, deleting the MIB with the same front M bit as the version number of the MIB to be imported, otherwise, selecting one MIB from the MIBs imported in the network management system for deletion. Therefore, the MIB object to be deleted can be scientifically selected, misoperation and unscientific caused by manual selection are avoided, labor and time are saved, and the efficiency of deleting the MIB which is not used or is used less is improved.

Description

Method and device for deleting Management Information Base (MIB)
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for deleting a management information base.
Background
Initially, after a Base station modifies a MIB (Management Information Base), an OMC (Operation and Maintenance Center) needs to be upgraded with a large version for matching and upgrading. The method has large influence and low efficiency, and is difficult to adapt to scenes with rapidly matched external fields. Subsequently, a function of supporting dynamic MIB introduction is introduced, for example, in the UMS8800 network management system, it can be supported to add network element matching content to the system in an online manner or delete existing network element matching content, all operations are visual interface operations, and it can be ensured that the operation period is not stopped, and the influence time on the operation and maintenance service of the existing network is very short. However, in the subsequent use process, it is found that after the dynamic MIB installed by the OMC reaches a certain number, the performance and efficiency of the network management system are seriously affected, and a series of problems such as network element synchronization failure and performance file loss due to excessive network adapter pressure may occur, which requires limiting the number of installed dynamic MIB versions (the current version limits the dynamics to 5). When the number of the dynamic MIBs exceeds the limit, the unused or less used dynamic MIBs need to be deleted.
At present, after the number of the dynamic MIBs exceeds the limit, the unused or less used dynamic MIBs are mainly deleted in a manual mode, and the efficiency is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for deleting a management information base, which are used for improving the efficiency of deleting unused or less used MIBs.
The embodiment of the invention provides a method for deleting a Management Information Base (MIB), which comprises the following steps:
when the quantity of the MIBs imported in the network management system exceeds a preset value, comparing the version number of the MIB to be imported with the version number of the MIB imported in the network management system, judging whether the MIBs with the same front M bits as the version number of the MIB to be imported exist in the network management system, if so, deleting the MIBs with the same front M bits as the version number of the MIB to be imported, otherwise, selecting one MIB from the MIBs imported in the network management system for deletion, wherein M is a positive integer.
Preferably, after determining that the MIB with the same first M bits as the version number of the MIB to be imported exists in the network management system, the method further includes:
judging whether a plurality of MIBs with the same front M bits as the version number of the MIB to be imported exist in the network management system, if so, respectively determining the priority of any MIB in the MIBs with the same front M bits as the version number of the MIB to be imported, and deleting the MIB with the lowest priority; otherwise, deleting the MIB with the same M bits as the former MIB version number to be imported.
Preferably, the deleting is selected from the MIBs imported in the network management system, and includes:
comparing the previous M bits of the version numbers of the MIBs imported from the network management system, judging whether the MIBs with the same previous M bits exist in the imported MIBs, if so, continuing to compare the M +1 th bit of the MIBs with the same previous M bits imported, and deleting the MIB with the minimum M +1 th bit, otherwise, estimating the deletion time of the MIBs imported, and deleting the MIB with the minimum deletion time; wherein the time for deleting each MIB means the time required for deleting each MIB in the database of the network management system.
Preferably, the deletion time of each introduced MIB is estimated according to the following formula;
Figure BDA0001546958720000021
wherein i is the network element under any MIB which has been introduced, n is the total number of the network elements under any MIB which has been introduced, PiIs that it isThe number of i network elements under any MIB that has been introduced, AiIs the number of cells under the ith network element, taDeleting time for the cell under the ith network element, BiIs the number of adjacent cells under the ith network element, tbDeleting time, T, for the neighboring cell under the ith network elementmibAnd deleting time for any introduced MIB, wherein the cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the cell is located to the time when a cell deleting successful message returned by the base station is received, and the adjacent cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the adjacent cell is located to the time when a cell deleting successful message returned by the base station is received.
The embodiment of the invention also provides a device for deleting the management information base MIB, which comprises the following steps: a judging module and a deleting module;
the judging module is used for comparing the version number of the MIB to be imported with the version number of the MIB imported in the network management system when the quantity of the MIB imported in the network management system exceeds a preset value, judging whether the MIB with the same front M bit as the version number of the MIB to be imported exists in the network management system, if yes, indicating the deleting module to delete the MIB with the same front M bit as the version number of the MIB to be imported, and if not, indicating the deleting module to select one MIB from the MIBs imported in the network management system to delete, wherein M is a positive integer.
Preferably, the determining module is further configured to determine whether a plurality of MIBs same as the first M bits of the version number of the MIB to be imported exist in the network management system after determining that the MIB same as the first M bits of the version number of the MIB to be imported exists in the network management system, and if so, instruct the deleting module to respectively determine the priority of any one of the MIBs same as the first M bits of the version number of the MIB to be imported, and delete the MIB with the lowest priority; otherwise, the deletion module is indicated to delete the MIB with the same M bits as the previous MIB version number to be imported.
Preferably, the deleting module is specifically configured to:
indicating the judging module to compare the previous M bits of the version numbers of the MIBs imported in the network management system, judging whether MIBs with the same previous M bits exist in the imported MIBs, if so, continuing to compare the M +1 th bit of the MIBs with the same previous M bits and deleting the MIB with the minimum M +1 th bit, otherwise, estimating the deletion time of the imported MIBs and deleting the MIBs with the minimum deletion time; wherein the time for deleting each MIB means the time required for deleting each MIB in the database of the network management system.
Preferably, the deletion time of each introduced MIB is estimated according to the following formula;
Figure BDA0001546958720000041
wherein i is the network element under any MIB which has been introduced, n is the total number of the network elements under any MIB which has been introduced, PiThe number of the ith network element under any introduced MIB, AiIs the number of cells under the ith network element, taDeleting time for the cell under the ith network element, BiIs the number of adjacent cells under the ith network element, tbDeleting time, T, for the neighboring cell under the ith network elementmibAnd deleting time for any introduced MIB, wherein the cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the cell is located to the time when a cell deleting successful message returned by the base station is received, and the adjacent cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the adjacent cell is located to the time when a cell deleting successful message returned by the base station is received.
Another embodiment of the present invention provides a computing device, which includes a memory for storing program instructions and a processor for calling the program instructions stored in the memory to execute any one of the above methods according to the obtained program.
Another embodiment of the present invention provides a computer storage medium having stored thereon computer-executable instructions for causing a computer to perform any one of the methods described above.
The method and the device for deleting the management information base MIB provided in the embodiments above include: when the quantity of the MIBs imported in the network management system exceeds a preset value, comparing the version number of the MIB to be imported with the version number of the MIB imported in the network management system, judging whether the MIBs with the same front M bits as the version number of the MIB to be imported exist in the network management system, if so, deleting the MIBs with the same front M bits as the version number of the MIB to be imported, otherwise, selecting one MIB from the MIBs imported in the network management system for deletion, wherein M is a positive integer. It can be seen that, when the number of the MIB introduced in the network management system exceeds the preset value, the version number of the MIB to be introduced is first compared with the version number of the MIB introduced in the network management system, and it is determined whether there is an MIB with the same front M-bit as the version number of the MIB to be introduced in the network management system, and if there is an MIB with the same front M-bit as the version number of the MIB to be introduced in the network management system, the MIB with the same front M-bit as the version number of the MIB to be introduced is deleted, otherwise, an MIB is selected from the MIB introduced in the network management system to be deleted, so that the MIB object to be deleted can be scientifically selected, misoperation and unscientific nature of manual selection are avoided, manpower and time are saved, and the efficiency of deleting the MIB which is not used or is reduced is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that are required to be used in the description of the embodiments will be briefly described below.
Fig. 1 is a flowchart of a method for deleting a management information base MIB provided in an embodiment of the present invention;
fig. 2 is a flowchart of a method for deleting a MIB in a management information base according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for deleting a management information base MIB according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Fig. 1 illustrates an example of a method for deleting a management information base MIB provided in an embodiment of the present invention, where as shown in fig. 1, the method includes:
s101, when the quantity of the MIBs imported in the network management system exceeds a preset value, comparing the version number of the MIBs to be imported with the version numbers of the MIBs imported in the network management system.
S102, judging whether the network management system has the MIB with the same first M bits as the version number of the MIB to be imported, if so, turning to the step S103, otherwise, turning to the step S104.
S103, deleting the MIB with the same first M bits as the version number of the MIB to be imported.
S104, one MIB is selected from the MIBs imported in the network management system to be deleted, wherein M is a positive integer.
The MIB introduced into the network management system can support adding network element matching content to the network management system or deleting the existing network element matching content in an online mode, and meanwhile, normal operation and maintenance of the existing network are not influenced. When the number of the MIBs introduced into the network management system reaches a preset value, the performance and efficiency of the network management system are seriously affected, and when a new MIB needs to be introduced into the network management system after the number of the MIBs introduced into the network management system reaches the preset value, the MIB which is not used or is used little in the network management system needs to be deleted.
In step S103, after determining that the MIB with the same first M bits as the version number of the MIB to be imported exists in the network management system, it may be determined whether a plurality of MIBs with the same first M bits as the version number of the MIB to be imported exist in the network management system, and if so, the priority of each MIB in the plurality of MIBs with the same first M bits as the version number of the MIB to be imported is determined, and the MIB with the lowest priority is deleted; otherwise, respectively determining the M +1 th bit of each MIB in the MIBs with the same first M bits as the version numbers of the MIBs to be imported, and deleting the MIBs with the minimum M +1 th bits.
In the step S104, when there is no MIB with the same first M bits as the version number of the MIB to be imported in the network management system, one MIB is selected from the MIBs imported in the network management system to delete.
Specifically, when an MIB which is the same as the first M bits of the version number of the MIB to be introduced does not exist in the network management system, the first M bits of the version number of each MIB introduced in the network management system are compared to determine whether an MIB which is the same as the first M bits exists in the introduced MIB, if so, the M +1 bits of the MIB which is the same as the introduced first M bits are continuously compared to delete the MIB with the smallest M +1 bit, otherwise, the deletion time of each MIB introduced is estimated, and the MIB with the shortest deletion time is deleted, wherein the deletion time of the MIB is the time required for deleting the MIB in a database of the network management system.
In the implementation, the deletion time of each MIB can be estimated according to the following formula.
Figure BDA0001546958720000061
Wherein i is the network element under any introduced MIB, n is the total number of the network elements under any introduced MIB, PiFor the number of i network elements under any MIB that has been imported, AiIs the number of cells under the ith network element, taDeleting time for the cell under the ith network element, BiIs the number of adjacent cells under the ith network element, tbDeleting time, T, for the neighboring cell under the ith network elementmibDeleting time for any introduced MIB, wherein the cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the cell is located to the time when a cell deleting success message returned by the base station is received, and the adjacent cell deleting time is the time when the network management system side issues a deleting command to the base station where the adjacent cell is located to the time when a deleting success message returned by the base station is received, and the adjacent cell deleting time is the time when the network management system side issues a deleting message to the base stationAnd commanding the time period from the beginning of the period until the message of successful cell deletion returned by the base station is received.
The types of the network elements may include, but are not limited to, ENB (Evolved Node B), TLSNB (Transport Layer Security Protocol Node B), Node B (Node B, Node base station).
When the type of the network element is ENB and the OM (Operation Management) channel of the base station is not broken, the number of cells and the number of neighboring cells under the base station may be queried through the database, for example, the number of cells under the base station may be queried through a select _ from _ pm _ lte _ cell _1 command and the number of neighboring cells may be queried through a select _ from _ pm _ lte _ cell _2 command.
After the MIB needing to be deleted is determined, the priority of the selected deletion object can be reduced to the lowest level by reducing the matching priority, so that the network elements under the MIB to be deleted can be automatically synchronized to other imported MIBs. The method for deleting the management information base MIB provided in the above embodiment is explained in detail below with a preferred embodiment, referring to fig. 2.
S201, determining the quantity of the introduced MIBs in the network management system.
S202, judging whether the quantity of the MIBs imported into the network management system exceeds a preset value, if so, turning to the step S203, otherwise, turning to the step S215.
The preset value may be 5, and certainly, the preset value may be other values, and in specific implementation, different preset values may be set according to different application scenarios.
S203, comparing the version number of the MIB to be imported with the version number of the MIB imported in the network management system.
S204, judging whether the MIB with the same first M bits as the version number of the MIB to be imported exists, if so, turning to the step S205, otherwise, turning to the step S210.
In practical implementation, the value of M may be 3, and of course, the value of M may be other values. When the value of M is 3 and the version number of the MIB to be imported is 5.55.46.12, it is determined whether there is an MIB with the same number as the first three bits of the version number of the MIB to be imported in the network management system, for example, the first three bits of the version number of the MIB to be imported are 5.55.46. S205, judging whether a plurality of MIBs with the same first M bits as the version number of the MIBs to be imported exist, if so, turning to the step S206, otherwise, turning to the step S210.
S206, determining the priority of any MIB in the MIBs with the same first M bits as the version number of the MIB to be imported respectively.
S207, judging whether the MIB with the lowest priority exists, if so, turning to the step S208, otherwise, turning to the step S209.
And S208, deleting the MIB with the lowest priority.
In one embodiment, the MIB may be deleted by checking whether the version number contains a "D" flag, where the "D" flag has a higher matching priority than the unmarked MIB.
S209, respectively determining the M +1 th bit of any MIB version in a plurality of MIB versions which are the same as the first M bits of the version number of the MIB to be imported, and deleting the MIB with the minimum M +1 th bit.
In specific implementation, when the value of M is 3, and there are two MIBs of the first three-digit system with the version number of the MIB to be imported in the network management system, and the version numbers of the two MIBs are 5.55.46.7 and 5.55.46.8, respectively, the fourth bits of the version numbers of the two MIBs need to be continuously compared, and since the fourth bit version number "7" of the MIB corresponding to the version number "5.55.46.7" is smaller than the fourth bit version number "8" of the MIB corresponding to the version number "5.55.46.8", the MIB corresponding to the version number "5.55.46.7" is deleted.
S210, deleting the MIB with the same first M bits as the version number of the MIB to be imported.
S211, comparing the first M bits of the version number of each MIB imported in the network management system.
S212, judging whether the MIB with the same M bits exists in the imported MIB, if so, turning to the step S213, otherwise, turning to the step S214.
S213, continuously comparing the M +1 th bit of the MIB with the same previous M bits and deleting the MIB with the minimum M +1 th bit.
S214, estimating the deletion time of each introduced MIB, and deleting the MIB with the shortest deletion time.
The deletion time of each MIB refers to the time required for deleting the MIB in a database of a network management system.
S215, importing the MIB to be imported into a network management system.
It can be seen from the above that, when the number of the MIB introduced in the network management system exceeds the preset value, the version number of the MIB to be introduced is first compared with the version number of the MIB introduced in the network management system, and it is determined whether there is an MIB with the same front M-bit as the version number of the MIB to be introduced in the network management system, and if there is an MIB with the same front M-bit as the version number of the MIB to be introduced in the network management system, the MIB with the same front M-bit as the version number of the MIB to be introduced is deleted, otherwise, an MIB is selected from the MIB introduced in the network management system to be deleted, so that the MIB object to be deleted can be scientifically selected, misoperation and unscientific nature of manual selection are avoided, manpower and time are saved, and the efficiency of deleting unused or unused MIB is further improved.
Based on the same technical concept, an embodiment of the present invention further provides an apparatus for deleting a management information base MIB, where as shown in fig. 3, the apparatus may include: a judging module 301 and a deleting module 302.
A judging module 301, configured to compare, when the number of MIBs imported in a network management system exceeds a preset value, a version number of an MIB to be imported with the version number of the MIB imported in the network management system, and judge whether an MIB identical to the first M bits of the version number of the MIB to be imported exists in the network management system, if the MIB exists, instruct the deleting module 302 to delete the MIB identical to the first M bits of the version number of the MIB to be imported, otherwise, instruct the deleting module 302 to select an MIB to delete from the MIBs imported in the network management system, where M is a positive integer.
Preferably, the determining module 301 is further configured to determine whether a plurality of MIBs same as the first M bits of the version number of the MIB to be imported exist in the network management system after determining that the MIB same as the first M bits of the version number of the MIB to be imported exists in the network management system, and if so, instruct the deleting module 302 to respectively determine the priority of any one of the MIBs same as the first M bits of the version number of the MIB to be imported, and delete the MIB with the lowest priority; otherwise, the instruction deleting module 302 deletes the MIB with the same number as the first M bits of the MIB version number to be imported.
Preferably, the deleting module 302 is specifically configured to:
the instruction judging module 301 compares the previous M bits of the version numbers of the MIBs imported in the network management system, judges whether an MIB with the same previous M bits exists in the imported MIB, if so, continuously compares the M +1 th bit of the MIB with the same previous M bits imported and deletes the MIB with the smallest M +1 th bit, otherwise, estimates the deletion time of each MIB imported and deletes the MIB with the shortest deletion time; wherein the time for deleting each MIB means the time required for deleting each MIB in the database of the network management system.
Preferably, the deletion time of each introduced MIB is estimated according to the following formula;
Figure BDA0001546958720000101
wherein i is the network element under any MIB which has been introduced, n is the total number of the network elements under any MIB which has been introduced, PiThe number of the ith network element under any introduced MIB, AiIs the number of cells under the ith network element, taDeleting time for the cell under the ith network element, BiIs the number of adjacent cells under the ith network element, tbDeleting time, T, for the neighboring cell under the ith network elementmibDeleting time for any introduced MIB, wherein the cell deleting time is a time period from the time when the network management system side issues a deleting command to a base station where the cell is located to the time when a cell deleting success message returned by the base station is received, and the adjacent cell deleting time is the time when the adjacent cell deleting is successfulThe time period from the time when the network management system side issues the deleting command to the base station where the adjacent cell is located to the time when the message that the cell deleting is successful returned by the base station is received.
Embodiments of the present invention provide a computing device, which may be specifically a desktop computer, a portable computer, a smart phone, a tablet computer, a Personal Digital Assistant (PDA), and the like. The computing device may include a Central Processing Unit (CPU), memory, input/output devices, etc., the input devices may include a keyboard, mouse, touch screen, etc., and the output devices may include a Display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), etc.
The memory may include Read Only Memory (ROM) and Random Access Memory (RAM), and provides the processor with program instructions and data stored in the memory. In an embodiment of the invention, the memory may be used to store a program for an anomaly monitoring method based on transaction data.
The processor is configured to perform any of the above methods in accordance with the obtained program instructions by calling the program instructions stored in the memory.
An embodiment of the present invention provides a computer storage medium for storing computer program instructions for the computing device, which includes a program for executing the method for deleting the management information base MIB.
The computer storage media may be any available media or data storage device that can be accessed by a computer, including, but not limited to, magnetic memory (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical memory (e.g., CDs, DVDs, BDs, HVDs, etc.), and semiconductor memory (e.g., ROMs, EPROMs, EEPROMs, non-volatile memory (NAND FLASH), Solid State Disks (SSDs)), etc.
It should be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (8)

1. A method for deleting a Management Information Base (MIB), comprising:
when the quantity of the imported MIBs in a network management system exceeds a preset value, comparing the version number of the MIB to be imported with the version number of the imported MIB in the network management system, judging whether the MIB with the same front M bit as the version number of the MIB to be imported exists in the network management system, if so, deleting the MIB with the same front M bit as the version number of the MIB to be imported, otherwise, comparing the front M bit of the imported version number of each MIB in the network management system, judging whether the MIB with the same front M bit exists in the imported MIB, if so, continuously comparing the M +1 th bit of the MIB with the same front M bit and deleting the MIB with the minimum M +1 th bit, otherwise, predicting the deletion time of each imported MIB and deleting the MIB with the shortest deletion time; wherein the time for deleting each MIB is the time required for deleting each MIB in the database of the network management system, where M is a positive integer.
2. The method of claim 1, wherein after determining that the MIB with the same first M bits as the version number of the MIB to be imported exists in the network management system, further comprising:
judging whether a plurality of MIBs with the same front M bits as the version number of the MIB to be imported exist in the network management system, if so, respectively determining the priority of any MIB in the MIBs with the same front M bits as the version number of the MIB to be imported, and deleting the MIB with the lowest priority; otherwise, deleting the MIB with the same M bits as the former MIB version number to be imported.
3. The method of claim 1, wherein the deletion time of each MIB introduced is estimated according to the following formula;
Figure FDA0002609642410000011
wherein i is the network element under any MIB which has been introduced, n is the total number of the network elements under any MIB which has been introduced, PiThe number of the ith network element under any introduced MIB, AiIs the number of cells under the ith network element, taDeleting time for the cell under the ith network element, BiIs the number of adjacent cells under the ith network element, tbDeleting time, T, for the neighboring cell under the ith network elementmibAnd deleting time for any introduced MIB, wherein the cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the cell is located to the time when a cell deleting successful message returned by the base station is received, and the adjacent cell deleting time is a time period from the time when the network management system side issues a deleting command to the base station where the adjacent cell is located to the time when a cell deleting successful message returned by the base station is received.
4. An apparatus for deleting a management information base, MIB, comprising: a judging module and a deleting module;
the judging module is used for comparing the version number of the MIB to be imported with the version number of the MIB imported in the network management system when the quantity of the MIB imported in the network management system exceeds a preset value, judging whether the MIB with the same first M bits as the version number of the MIB to be imported exists in the network management system or not, if so, indicating the deletion module to delete the MIB with the same front M bit as the version number of the MIB to be imported, otherwise, indicating the judgment module to compare the front M bit of the version number of each MIB imported in the network management system and judging whether the MIB with the same front M bit exists in the imported MIB, if yes, continuously comparing M +1 bit of the MIB with the same front M bit and deleting the MIB with the minimum M +1 bit, otherwise, predicting deletion time of each introduced MIB and deleting the MIB with the minimum deletion time; wherein the time for deleting each MIB is the time required for deleting each MIB in the database of the network management system, where M is a positive integer.
5. The apparatus of claim 4, wherein the determining module is further configured to determine whether there are multiple MIBs in the network management system that are the same as the first M bits of the version number of the MIB to be imported after determining that there is an MIB in the network management system that is the same as the first M bits of the version number of the MIB to be imported, and if so, instruct the deleting module to determine the priority of any MIB in the multiple MIBs that are the same as the first M bits of the version number of the MIB to be imported, respectively, and delete the MIB with the lowest priority; otherwise, the deletion module is indicated to delete the MIB with the same M bits as the previous MIB version number to be imported.
6. The apparatus of claim 5, wherein the deletion time of each MIB introduced is estimated according to the following formula;
Figure FDA0002609642410000031
wherein i is the network element under any MIB which has been introduced, n is the total number of the network elements under any MIB which has been introduced, PiThe number of the ith network element under any introduced MIB, AiIs the number of cells under the ith network element, taDeleting time for the cell under the ith network element, BiIs the number of adjacent cells under the ith network element, tbDeleting time, T, for the neighboring cell under the ith network elementmibDeleting time for any introduced MIB, wherein the cell deleting time refers to the time from the network management system side to the MIBThe time period from the time when the base station where the cell is located issues the deletion command to the time when the message that the cell is successfully deleted and returned by the base station is received is the time period from the time when the network management system side issues the deletion command to the base station where the cell is located to the time when the message that the cell is successfully deleted and returned by the base station is received.
7. A computing device, comprising:
a memory for storing program instructions;
a processor for calling program instructions stored in said memory to execute the method of any one of claims 1 to 3 in accordance with the obtained program.
8. A computer-readable storage medium having stored thereon computer-executable instructions for causing a computer to perform the method of any one of claims 1 to 3.
CN201810032636.2A 2018-01-12 2018-01-12 Method and device for deleting Management Information Base (MIB) Active CN110034943B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810032636.2A CN110034943B (en) 2018-01-12 2018-01-12 Method and device for deleting Management Information Base (MIB)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810032636.2A CN110034943B (en) 2018-01-12 2018-01-12 Method and device for deleting Management Information Base (MIB)

Publications (2)

Publication Number Publication Date
CN110034943A CN110034943A (en) 2019-07-19
CN110034943B true CN110034943B (en) 2020-12-04

Family

ID=67234600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810032636.2A Active CN110034943B (en) 2018-01-12 2018-01-12 Method and device for deleting Management Information Base (MIB)

Country Status (1)

Country Link
CN (1) CN110034943B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028994A (en) * 2021-10-22 2023-04-28 伊姆西Ip控股有限责任公司 Method, electronic device and computer program product for model training and predicting duration

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1713154A (en) * 2004-06-22 2005-12-28 中兴通讯股份有限公司 A method for upgrading mobile communication network management system
CN1922819A (en) * 2004-03-12 2007-02-28 Ut斯达康通讯有限公司 Method for managing management information base in network management system
CN102006178A (en) * 2009-09-03 2011-04-06 大唐移动通信设备有限公司 SNMP-based network management method and system
CN102299814A (en) * 2010-06-24 2011-12-28 中兴通讯股份有限公司 Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent
CN102497286A (en) * 2011-12-12 2012-06-13 杭州华三通信技术有限公司 Method and device for matching management information base (MIB)
CN102611576A (en) * 2012-02-29 2012-07-25 大唐移动通信设备有限公司 Method and device for generating network management configuration model file
CN103997412A (en) * 2013-02-18 2014-08-20 中兴通讯股份有限公司 Management information base file generation method and device, and data processing system
WO2017133412A1 (en) * 2016-02-03 2017-08-10 中兴通讯股份有限公司 Parameter indicating method based on mib, base station, and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100606025B1 (en) * 2004-11-18 2006-07-28 삼성전자주식회사 Simple network management protocol based network management device and method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1922819A (en) * 2004-03-12 2007-02-28 Ut斯达康通讯有限公司 Method for managing management information base in network management system
CN1713154A (en) * 2004-06-22 2005-12-28 中兴通讯股份有限公司 A method for upgrading mobile communication network management system
CN102006178A (en) * 2009-09-03 2011-04-06 大唐移动通信设备有限公司 SNMP-based network management method and system
CN102299814A (en) * 2010-06-24 2011-12-28 中兴通讯股份有限公司 Method and system for upgrading MIB (management information base) on SNMP (simple network management protocol) agent
CN102497286A (en) * 2011-12-12 2012-06-13 杭州华三通信技术有限公司 Method and device for matching management information base (MIB)
CN102611576A (en) * 2012-02-29 2012-07-25 大唐移动通信设备有限公司 Method and device for generating network management configuration model file
CN103997412A (en) * 2013-02-18 2014-08-20 中兴通讯股份有限公司 Management information base file generation method and device, and data processing system
WO2017133412A1 (en) * 2016-02-03 2017-08-10 中兴通讯股份有限公司 Parameter indicating method based on mib, base station, and terminal

Also Published As

Publication number Publication date
CN110034943A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
CN112650576B (en) Resource scheduling method, device, equipment, storage medium and computer program product
KR102476531B1 (en) Data Synchronization Method and Apparatus, Media, and Electronic Device for Distributed Systems
CN101794359B (en) Methods and systems for enabling community-tested security features for legacy applications
CN108696581B (en) Distributed information caching method and device, computer equipment and storage medium
CN110019125B (en) Database management method and device
CN111061680B (en) A method and device for data retrieval
EP3917115A1 (en) Data processing method and apparatus, computer device, and storage medium
CN106708548A (en) Program upgrading method and terminal device
CN113760982A (en) Data processing method and device
CN107480205B (en) Method and device for partitioning data
CN112597126A (en) Data migration method and device
CN110069217B (en) Data storage method and device
CN112433757B (en) A method and device for determining interface call relationship
CN106982441A (en) A kind of determination method and device of cell capacity-enlarging
CN110034943B (en) Method and device for deleting Management Information Base (MIB)
CN109697019B (en) Data writing method and system based on FAT file system
CN113448770B (en) Method, electronic device and computer program product for recovering data
CN114996173B (en) Method and device for managing write operation of storage equipment
CN108205559B (en) Data management method and equipment thereof
CN109976896A (en) Business re-scheduling treating method and apparatus
US10761940B2 (en) Method, device and program product for reducing data recovery time of storage system
CN113703678A (en) Method, device, equipment and medium for re-splitting index of storage bucket
CN108989088B (en) Log uploading method and communication equipment
CN117056133B (en) Data backup method, device and medium based on distributed Internet of things architecture
CN110569231A (en) Data migration method, device, equipment and medium

Legal Events

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