Disclosure of Invention
The invention provides a method, equipment and a device for detecting management information base data, which are used for automatically analyzing MIB service related data, performing correlation detection from multiple dimensions, finding out errors and risks in the MIB service related data, improving the accuracy of data detection, eliminating human interference and improving the operation and maintenance work efficiency.
In a first aspect, a method for managing information base data detection provided in an embodiment of the present invention includes:
acquiring an MIB data set to be detected, wherein the MIB data set comprises different types of data files, the different types of data files have service association relations, and the different types of data files represent different service categories;
determining at least one target detection rule corresponding to different types of data files from detection rules corresponding to preset detection modes according to at least one preset detection mode corresponding to different types of data files, wherein the target detection rule is used for performing association detection on a plurality of different types of data files in an MIB data set;
and detecting the different types of data files through the determined at least one target detection rule.
The MIB data detection method provided by the embodiment of the invention can automatically detect and repair the integrated design, is executed in one key mode, reduces the research and development workload and improves the working efficiency; the method has the advantages that multiple detection means are fused, multiple layers are checked from multiple angles, and the situations of false missing report and false report are reduced.
As an optional implementation manner, if the different types of data files correspond to multiple preset detection manners, the different types of data files are detected in the following manner:
and according to the set sequence of the multiple preset detection modes, after the data files of different types are detected by using the current preset detection mode, the data files of different types are detected again by using the next preset detection mode.
As an optional implementation manner, after the detecting the data files of different types by using the current preset detection manner, before continuing to detect the data files of different types again by using the next preset detection manner, the method further includes:
and if the data file does not pass the detection of the current preset detection mode, correcting the data file according to a preset correction rule.
As an optional implementation manner, the modifying the data file by using a preset modification rule includes:
determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required for correction by using the correction rule;
and correcting the data file according to the correction rule and the correction data information.
As an optional implementation manner, before the modifying the data file according to the preset modification rule, the method further includes:
and determining that error data which does not pass the target detection rule in the data file does not meet a preset special requirement.
As an optional implementation manner, if the data file is an MIB text file, after the data file is modified according to a preset modification rule, the method further includes:
generating a new operation maintenance code file according to the modified MIB text file, and updating the operation maintenance code file generated by the MIB text file before modification into the new operation maintenance code file; and/or the presence of a gas in the atmosphere,
and generating a new configuration data file according to the modified MIB text file, and updating the configuration data file generated by the MIB text file before modification into the new configuration data file.
As an optional implementation manner, the different types of data files include an MIB text file, an operation maintenance code file, and a configuration data file;
the determining at least one target detection rule corresponding to the different types of data files from the detection rules corresponding to the preset detection modes comprises:
if the preset detection mode is static detection, determining that the target detection rule corresponding to the MIB text file comprises a grammar detection rule and a service detection rule, determining that the target detection rule corresponding to the operation maintenance code file comprises the grammar detection rule, and determining that the target detection rule corresponding to the configuration data file comprises the service detection rule; or
If the preset detection mode is dynamic detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a service detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a service detection rule; or
And if the preset detection mode is online detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a user behavior detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a user behavior detection rule.
As an optional implementation manner, the syntax detection rule includes any one or more of the following: detecting whether the protocol grammar of the MIB text file is normal, detecting whether the private grammar of the MIB text file accords with a preset specification and detecting whether the grammar of the operation maintenance code accords with service logic; or the like, or, alternatively,
the service detection rule comprises any one or more of the following: detecting whether MIB text files of all versions are compatible, detecting whether the MIB text files are adapted to a network manager or not, detecting whether the content of the MIB text files is operable or not, detecting whether data in configuration data files have inheritance in the MIB text files of different versions or not, detecting whether the configuration data files can be loaded or not, detecting whether all values in operation and maintenance codes are abnormal or not, and detecting the relevance of the data in the operation and maintenance codes; or the like, or a combination thereof,
the user behavior detection rule comprises any one or more of the following rules: detecting smooth upgrade of configuration data to ensure cell establishment and normal work, detecting relevance of data in operation and maintenance codes, detecting whether boundary values in the operation and maintenance codes are reasonable, and detecting operability of the operation and maintenance codes.
As an optional implementation manner, the preset detection manner includes any one or more of the following:
static detection, dynamic detection and online detection; the static detection, dynamic detection and online detection are distinguished by whether the data file is run and the type of equipment used to run the data file.
In a second aspect, an embodiment of the present invention provides an apparatus for managing information library data detection, where the apparatus includes a processor and a memory, the memory is used for storing a program executable by the processor, and the processor is used for reading the program in the memory and executing the following steps:
acquiring an MIB data set to be detected, wherein the MIB data set comprises different types of data files, the different types of data files have business association relations, and the different types of data files represent different business categories;
determining at least one target detection rule corresponding to different types of data files from detection rules corresponding to preset detection modes according to at least one preset detection mode corresponding to different types of data files;
and detecting the different types of data files through the determined at least one target detection rule, wherein the target detection rule is used for performing association detection on a plurality of different types of data files in the MIB data set.
As an optional implementation manner, if the different types of data files correspond to multiple preset detection manners, the processor is configured to perform detection on the different types of data files by:
and according to the set sequence of the multiple preset detection modes, after the data files of different types are detected by using the current preset detection mode, the data files of different types are detected again by using the next preset detection mode.
As an optional implementation manner, after the different types of data files are detected by using the current preset detection manner, before the different types of data files are detected again by using the next preset detection manner, the processor is further configured to perform:
and if the data file does not pass the detection of the current preset detection mode, correcting the data file according to a preset correction rule.
As an alternative embodiment, the processor is configured to perform:
determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required for correction by using the correction rule;
and correcting the data file according to the correction rule and the correction data information.
As an optional implementation manner, before the data file is modified according to the preset modification rule, the processor is further specifically configured to perform:
and determining that the error data which does not pass the target detection rule in the data file does not meet a preset special requirement.
As an optional implementation manner, if the data file is an MIB text file, after the data file is corrected by a preset correction rule, the processor is further configured to perform:
generating a new operation maintenance code file according to the modified MIB text file, and updating the operation maintenance code file generated by the MIB text file before modification into the new operation maintenance code file; and/or the presence of a gas in the gas,
and generating a new configuration data file according to the modified MIB text file, and updating the configuration data file generated by the MIB text file before modification into the new configuration data file.
As an optional implementation manner, the different types of data files include an MIB text file, an operation maintenance code file, and a configuration data file;
the processor is configured to perform:
if the preset detection mode is static detection, determining that the target detection rule corresponding to the MIB text file comprises a grammar detection rule and a service detection rule, determining that the target detection rule corresponding to the operation maintenance code file comprises the grammar detection rule, and determining that the target detection rule corresponding to the configuration data file comprises the service detection rule; or
If the preset detection mode is dynamic detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a service detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a service detection rule; or
And if the preset detection mode is online detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a user behavior detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a user behavior detection rule.
As an optional implementation manner, the syntax detection rule includes any one or more of the following: detecting whether the protocol grammar of the MIB text file is normal, detecting whether the private grammar of the MIB text file accords with a preset specification and detecting whether the grammar of the operation maintenance code accords with service logic; or the like, or, alternatively,
the service detection rule comprises any one or more of the following: detecting whether MIB text files of all versions are compatible, detecting whether the MIB text files are adapted to a network manager or not, detecting whether the content of the MIB text files is operable or not, detecting whether data in configuration data files have inheritance in the MIB text files of different versions or not, detecting whether the configuration data files can be loaded or not, detecting whether all values in operation and maintenance codes are abnormal or not, and detecting the relevance of the data in the operation and maintenance codes; or the like, or, alternatively,
the user behavior detection rule comprises any one or more of the following rules: detecting smooth upgrade of configuration data to ensure cell establishment and normal work, detecting relevance of data in operation and maintenance codes, detecting whether boundary values in the operation and maintenance codes are reasonable, and detecting operability of the operation and maintenance codes.
As an optional implementation manner, the preset detection manner includes any one or more of the following:
static detection, dynamic detection and online detection; the static detection, dynamic detection and online detection are distinguished by whether the data file is run and the type of equipment used to run the data file.
In a third aspect, an apparatus for managing information base data detection provided in an embodiment of the present invention includes:
the system comprises a data acquisition unit, a data analysis unit and a data analysis unit, wherein the data acquisition unit is used for acquiring an MIB data set to be detected, the MIB data set comprises different types of data files, the different types of data files have service association relations, and the different types of data files represent different service categories;
the system comprises a rule determining unit and a rule determining unit, wherein the rule determining unit is used for determining at least one target detection rule corresponding to different types of data files from detection rules corresponding to preset detection modes according to at least one preset detection mode corresponding to different types of data files, and the target detection rule is used for carrying out association detection on a plurality of different types of data files in an MIB data set;
and the detection unit is used for detecting the data files of different types through the determined at least one target detection rule.
As an optional implementation manner, if the different types of data files correspond to multiple preset detection manners, the detection unit is further configured to detect the different types of data files by:
and according to the set sequence of the multiple preset detection modes, after the data files of different types are detected by using the current preset detection mode, the data files of different types are detected again by using the next preset detection mode.
As an optional implementation manner, after the data files of different types are detected by using the current preset detection manner, before the data files of different types are detected again by using the next preset detection manner, the detection unit is further configured to:
and if the data file does not pass the detection of the current preset detection mode, correcting the data file according to a preset correction rule.
As an optional implementation manner, the detection unit is further configured to:
determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required for correction by using the correction rule;
and correcting the data file according to the correction rule and the correction data information.
As an optional embodiment, before the data file is modified according to a preset modification rule, the detection unit is further configured to:
and determining that error data which does not pass the target detection rule in the data file does not meet a preset special requirement.
As an optional implementation manner, if the data file is an MIB text file, after the data file is modified according to a preset modification rule, the detecting unit is further configured to:
generating a new operation maintenance code file according to the modified MIB text file, and updating the operation maintenance code file generated by the MIB text file before modification into the new operation maintenance code file; and/or the presence of a gas in the gas,
and generating a new configuration data file according to the modified MIB text file, and updating the configuration data file generated by the MIB text file before modification into the new configuration data file.
As an optional implementation manner, the different types of data files include an MIB text file, an operation maintenance code file, and a configuration data file;
the rule determining unit is specifically configured to:
if the preset detection mode is static detection, determining that the target detection rule corresponding to the MIB text file comprises a grammar detection rule and a service detection rule, determining that the target detection rule corresponding to the operation maintenance code file comprises the grammar detection rule, and determining that the target detection rule corresponding to the configuration data file comprises the service detection rule; or
If the preset detection mode is dynamic detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a service detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a service detection rule; or
And if the preset detection mode is online detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a user behavior detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a user behavior detection rule.
As an optional implementation manner, the syntax detection rule includes any one or more of the following: detecting whether a protocol grammar of the MIB text file is normal, detecting whether a private grammar of the MIB text file accords with a preset specification and detecting whether a grammar of an operation maintenance code accords with a service logic; or the like, or, alternatively,
the traffic detection rule comprises any one or any plurality of the following: detecting whether MIB text files of all versions are compatible, detecting whether the MIB text files are adapted to a network manager or not, detecting whether the content of the MIB text files is operable or not, detecting whether data in configuration data files have inheritance in the MIB text files of different versions or not, detecting whether the configuration data files can be loaded or not, detecting whether all values in operation and maintenance codes are abnormal or not, and detecting the relevance of the data in the operation and maintenance codes; or the like, or, alternatively,
the user behavior detection rules include any one or any plurality of the following: detecting smooth upgrade of configuration data to ensure cell establishment and normal work, detecting relevance of data in operation and maintenance codes, detecting whether boundary values in the operation and maintenance codes are reasonable, and detecting operability of the operation and maintenance codes.
As an optional implementation manner, the preset detection manner includes any one or more of the following:
static detection, dynamic detection and online detection; the static detection, dynamic detection and online detection are distinguished by whether the data file is run and the type of equipment used to run the data file.
In a fourth aspect, an embodiment of the present invention further provides a computer storage medium, on which a computer program is stored, where the computer program is used to implement the steps of the method in the first aspect when the computer program is executed by a processor.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Detailed Description
To make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The term "and/or" in the embodiments of the present invention describes an association relationship of associated objects, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In the embodiments of the present application, the term "plurality" means two or more, and other terms are similar thereto.
The application scenario described in the embodiment of the present invention is for more clearly illustrating the technical solution of the embodiment of the present invention, and does not form a limitation on the technical solution provided in the embodiment of the present invention, and it can be known by a person skilled in the art that with the occurrence of a new application scenario, the technical solution provided in the embodiment of the present invention is also applicable to similar technical problems.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Examples 1,
With the increase of functions and performance of communication devices, the amount of data required by operation and maintenance of the communication devices increases, and the association relationship between the data is more complicated, which leads to increase of difficulty in data maintenance. Data maintenance is used as the basis of operation and maintenance services, and influences whether operation and maintenance work can be effectively carried out.
SNMP (Simple Network Management Protocol) is a set of popular standards that are set up to perform automated Management tasks for networks. A MIB (Management Information Base) in the SNMP protocol cluster is a document that defines the data type, defines the data items that the managed device must hold, the operations allowed to be performed on each data item, and their meaning. Wherein the values of the data types of the MIB characterize the network resources that are significant for the network management activities.
The MIBs include a standard MIB and a private MIB, and The standard MIB is formulated by an expert of The Internet Engineering Task Force (IETF) after long-term discussion, and defines some basic and universal managed objects. The private MIB is defined by the device manufacturer, and various managed objects are defined according to different product characteristics, and are generally implemented only on the device of the device manufacturer itself.
Due to the complexity of the communication network, standard MIBs are far from meeting the requirements of the devices, so the device vendors all use their own private MIBs on the devices. Although the non-standard MIB information is flexible to use, it is added, deleted, and modified as the characteristics of the device are changed, without standard restrictions. Frequent changes lead to various forms of problems: syntax errors, design errors, implementation errors, conflicts between versions of the same device, conflicts between different devices in the same network, and the like.
In the prior art, although tools are available to statically check the Syntax format of asn.1 (Abstract Syntax Notation), there is no effective means for checking the MIB data type and value because of the specific communication service characteristics involved. Because the MIB data is frequently changed and difficult to check, the quality is difficult to control and guarantee only depending on the service capability and personal experience of designers in most cases, and the operation and maintenance data is in direct contact with users, the experience of the users is affected. For example, even if only one MIB node is changed, it may affect the stable operation of the device or cause the user operation to fail.
In conclusion, although the prior art can carry out format check on the MIB document, the prior art can only meet the low-level requirements of syntax check, and the deep problems of business influence are difficult to cover; the subjective factors are too many under the condition of controlling by personnel, and the relation with individuals is large, so that the popularization is difficult; moreover, in the face of a large amount of MIB contents, manual processing is difficult to avoid, and the requirements of high speed and standardization cannot be met due to long time occupation, less coverage and omission.
In order to solve the above technical problem, an embodiment of the present invention provides a method for detecting data in a management information base, which is used to improve efficiency of data maintenance work, reduce problems, and simplify positioning and repairing processes of the problems.
As shown in fig. 1, a specific implementation flow of a process for managing information base data detection provided in an embodiment of the present invention is as follows:
step 100, acquiring an MIB data set to be detected, wherein the MIB data set comprises different types of data files, the different types of data files have business association relations, and the different types of data files represent different business categories;
it should be noted that the MIB data set to be detected in this embodiment includes different types of data files, where the different types of data files have business association relationships and relate to different business categories, and when detection is performed, correlation detection may be performed on relevant MIB data having business association relationships instead of syntax detection on MIB documents.
Step 101, determining at least one target detection rule corresponding to different types of data files from detection rules corresponding to preset detection modes according to at least one preset detection mode corresponding to different types of data files;
it should be noted that the detection process in the embodiment of the present invention includes at least one preset detection manner, and different preset detection manners are distinguished based on whether to run the data file and a device type used for running the data file. The specific detection means includes at least one detection rule, wherein each preset detection mode corresponds to at least one detection rule, the detection rules corresponding to different preset detection modes may be different or the same, and may be determined according to the detection requirement in the implementation, which is not limited too much in this embodiment. The method comprises the steps that at least one target detection rule is screened out from detection rules corresponding to preset detection modes, the target detection rules are based on detection rules used for detecting different types of data files, and the detection rules for detecting each type of data files are in one-to-one correspondence with the types of data files.
And 102, detecting the data files of different types through the determined at least one target detection rule, wherein the target detection rule is used for performing association detection on a plurality of data files of different types in the MIB data set.
In implementation, any type of data file is detected, the data file of any type corresponds to at least one target detection rule, and the data file of the type is detected by using the target detection rule; when the multi-type data files are detected by using any one target detection rule, the detected objects (data files) are multiple, and the multiple objects have business association relationship, so that the embodiment can use any one target detection rule to perform association detection on the multi-type data files.
As an optional implementation manner, in this embodiment, the MIB data set to be detected is determined as follows:
traversing the acquired MIB data set, and determining the MIB data set containing preset data and/or the preset data set as a MIB data set to be detected;
the preset data is used for representing MIB data which are prone to error and can be judged to be correct through a set rule, and the preset data set is used for representing MIB data sets which are prone to error and can be judged to be correct through the set rule.
The MIB data set in the embodiment of the invention comprises different types of data files, and as an optional implementation mode, the MIB data set comprises an MIB text file, an operation maintenance code file and a configuration data file;
the format of the MIB text file can be an EXCEL file; the MIB text file is a file read by people;
the operation and maintenance code file is a code file corresponding to the operation and maintenance of the content in the MIB text file, for example, if the OID (Object Identifier, also called internet of things domain name) of the MIB node a is 1.2.3, then the code needs to have such a corresponding relationship of the node a when the OID is received as 1.2.3, and the operation and maintenance code mainly surrounds the operation and maintenance of the MIB data.
The configuration data file is a binary file corresponding to the MIB text file, and comprises service details such as content for storing configuration properties and content for not storing the state of the base station, and the configuration data file is a file read by the base station and can be understood as a binary representation form of MIB data;
the software program of the base station comprises the operation maintenance code file and the MIB data, and the software program of the base station comprises different versions, and the software programs of the different versions correspond to the MIB data of the different versions.
As an optional implementation manner, if the different types of data files correspond to multiple preset detection manners, the different types of data files are detected in the following manner:
and according to the set sequence of the multiple preset detection modes, after the data files of different types are detected by using the current preset detection mode, the data files of different types are detected again by using the next preset detection mode.
The embodiment of the invention can adopt a plurality of different preset detection modes to detect the MIB data set, so that the whole detection process is more comprehensive, and different detection objects are detected by using the corresponding detection modes and the detection rules in the detection modes in a more targeted manner, thereby expanding the detection range and improving the efficiency of automatic detection.
As an optional implementation manner, the preset detection manner in the embodiment of the present invention includes any one or more of the following:
static detection is used for representing a detection mode adopted when a data file is not operated, and related detection rules comprise: grammar detection and service detection, for example, compiling after writing codes, modifying compiling errors, and the like;
the dynamic detection is used for representing a detection mode adopted by the running of the data file, equipment for running the data file is a PC (personal computer), and related detection rules are service detection, such as running codes, namely execution programs, and judging whether the execution accords with expectations or not;
and the online detection is used for representing a detection mode adopted when the data file runs, and the equipment for running the data file is a base station and is used for simulating the behavior of a user to detect.
As an optional implementation manner, in the embodiment of the present invention, a detection rule corresponding to the prediction detection manner includes:
grammar detection and service detection corresponding to static detection; or the like, or, alternatively,
detecting the service corresponding to the dynamic detection; or the like, or a combination thereof,
and detecting the simulated user behavior corresponding to the online detection.
As an optional implementation manner, the different types of data files in the embodiment of the present invention include:
MIB text files, operation maintenance code files and configuration data files;
the operation maintenance code file is a code file for performing operation maintenance on the MIB text file, and the configuration data file is a configuration data file corresponding to the MIB text file provided to the base station and includes service detail contents related to the MIB text file.
As an optional implementation manner, in the embodiment of the present invention, at least one target detection rule corresponding to the different types of data files is determined in the following manner:
if the preset detection mode is static detection, determining that the target detection rule corresponding to the MIB text file comprises a grammar detection rule and a service detection rule, determining that the target detection rule corresponding to the operation maintenance code file comprises the grammar detection rule, and determining that the target detection rule corresponding to the configuration data file comprises the service detection rule; or
If the preset detection mode is dynamic detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a service detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a service detection rule; or
And if the preset detection mode is online detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a user behavior detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a user behavior detection rule.
As an optional implementation manner, the detection rule in the embodiment of the present invention specifically includes any one or more of the following:
grammar detection rules; a service detection rule; and (4) user behavior detection rules.
As an optional implementation manner, each detection rule specifically includes the following contents:
1. the grammar detection rules include any one or any more of:
1) Detecting protocol grammar, which is used for detecting whether the protocol grammar of the MIB text file is normal;
2) Detecting the private grammar, which is used for detecting whether the private grammar of the MIB text file accords with the preset specification;
3) Service grammar detection for detecting whether the grammar of the operation maintenance code conforms to service logic;
2. the traffic detection rules include any one or any more of the following:
1) Version compatibility detection is used for detecting whether MIB text files of all versions are compatible or not;
2) Adapting network management detection, which is used for detecting whether the MIB text file is adapted to the network management;
3) Operability detection for detecting whether the content of the MIB text file is operable;
4) Data inheritance detection is used for detecting whether data in the configuration data file has inheritance in MIB text files of different versions;
5) Configuration loading detection, which is used for detecting whether the configuration data file can be loaded;
6) Value traversal detection is used for detecting whether each value in the operation maintenance code is abnormal or not;
7) The data association detection is used for detecting the association of the data in the operation maintenance code;
3. the user behavior detection rule comprises any one or more of the following rules:
1) Smooth upgrade detection, which is used for detecting the smooth upgrade of configuration data to ensure the cell establishment and normal work;
2) The data association detection is used for detecting the association of the data in the operation maintenance code;
3) Boundary value detection for detecting whether the boundary value in the operation maintenance code is reasonable;
4) And detecting operability for detecting operability of the operation and maintenance code.
As shown in the following table, the detection rules provided in the embodiments of the present invention, the corresponding detection requirements, and the description of the application examples are as follows:
table 1 test rules requirements specification
In the smooth upgrade detection, for example, if the value of the operator-related node a in MIB version 1 is 0, which indicates china telecom, 1 indicates china Unicom, and the value of the node a in MIB version 2 is 0, which indicates china mobile, 1 indicates china telecom, and 2 indicates china Unicom, then, in the upgrade process from MIB version 1 to MIB version 2, there is ambiguity in the interpretation of the node a value of 0, which may cause errors in related processing.
As shown in fig. 2, a schematic diagram of a preset detection mode and a distribution of corresponding detection rules in the embodiment of the present invention is shown in fig. 3, an MIB data set in the embodiment of the present invention includes an MIB text file, an operation maintenance code file, and a configuration data file, and detection rules corresponding to each type of data file are shown in the diagram. Starting from the detected object, the related contents of a plurality of data files are analyzed in a correlation manner, for example, not only an MIB text file is detected, but also the related operation maintenance code is analyzed and detected, and meanwhile, a configuration data file for configuring the base station is also analyzed and detected, and whether a certain content is reasonably verified is performed through detecting the related contents, and the content is not limited to a single object in an isolated manner.
It should be noted that any type of data file in the MIB data set in the embodiment of the present invention belongs to MIB data, and has a tree structure characteristic of MIB data, including table, row, node, and node values. The tree structure of any type of data file of MIB data is shown as follows:
tcp(6)
-|tcpConnTable(13)
--|tcpConnEntry(1)
---|tcpConnState(1)
|tcpConnLocalAddress(2)
|tcpConnLocalPort(3)
|tcpConnRemAddress(4)
|tcpConnRemPort(5)
wherein tcpcontable is a table in MIB data, tcpconentry is a row in MIB data, tcpconstate to tcpconremport are nodes in MIB data, OID is in parentheses, tcpconlocaladress is to be given an IP address, which is a node value.
The embodiment of the invention can detect the data file through the detection rule, for example, for a certain service requirement, if the value of the MIB node in the MIB text file is an enumeration type, the value of the MIB node can only start with English letters, but if the value of the MIB node is a numerical value type, a designer can generally directly fill in numbers, but the value of the MIB node is required to start with letters based on ASN.1 grammar, so that if the designer directly sets the value of the MIB node of the numerical value type as numbers during design, the value of the MIB node of the numerical type can be mistaken.
For example, a node xxxcollenterval indicating a sampling interval in an MIB text file supports a value range of 5 minutes, 15 minutes, and 30 minutes, and if the value range of the node is set to be "5; this error has no effect in the early stage of software development, but will bring negative effect when the subsequent Operation and Maintenance Center (OMC) network manager uses the MIB data set of asn.1 for interfacing. However, if the error is not detected at this stage, then in addition to the need to modify the MIB text file, a reverse may be made to modify the code associated with the MIB text file.
The method of the embodiment is adopted for detection, and can be used for processing at the stage of error occurrence, the MIB node value of the MIB text document is taken as a data file to be detected in advance, the MIB node value of the MIB text document is detected, the detection rule is that when the value type of the MIB node is enumeration, whether the description of each enumerated value meets the requirement of beginning with an english letter is detected, and a corresponding correction rule is added when the requirement of beginning with an english letter is not met, and the correction rule is that a letter n is automatically added.
Thus, after the MIB text file is input, the MIB text file is converted into an MIB table set in the memory, each table comprises all leaf node sets of the table, and the leaf node sets comprise the leaf node sets. By traversing each table and each leaf node therein, in each leaf node data structure, firstly screening nodes with the data type of enumeration, then checking data members corresponding to enumerated values in the nodes, recording the part as a character string, checking whether the part accords with the beginning of an English letter through character string checking, if so, checking the next node, and if not, automatically writing the letter n at the beginning of the next node. At the same time, the information is recorded, and the corresponding table name, node name, error type and correction description are recorded.
Wherein, the ASN.1 grammar rule is as follows:
xxxCollectInterval OBJECT-TYPE
SYNTAX INTEGER{min5(5),min15(15),min30(30)}
MAX-ACCESS read-create
STATUS current
DESCRIPTION"--"
::={xxxEntry 4}
when such error data is checked, the error data is automatically corrected by a correction rule, and the correction is "5.
It should be noted that, in this embodiment, a node in MIB data is understood to be a node in data files of different types, where the definition of the node is defined by an SMMP protocol, the MIB table may be understood as a data structure, the node may be understood as a data member, and a node value is understood as a value of the data member.
As an optional implementation manner, in this embodiment, the setting sequence of the multiple preset detection manners is as follows:
and (3) carrying out static detection, then carrying out dynamic detection, and finally carrying out online detection.
As an optional implementation manner, in the embodiment of the present invention, after the data files of different types are detected by using the current preset detection manner, if the data files do not pass the detection of the current preset detection manner, the data files are corrected by using the preset correction rule, and after the data files are corrected, the data files of different types are detected again by using the next preset detection manner.
Optionally, in the process of performing detection in the current preset detection mode, if the number of the uncorrectable errors occurring in the current detection is greater than the threshold, the detection in the next preset detection mode is interrupted, because a large number of errors will cause the occurrence of associated errors in subsequent detection, and there is an influence of error effect expansion. If the number of the errors which cannot be repaired in the current detection is not larger than the threshold value, continuing to execute the detection step in the next preset detection mode;
optionally, the present embodiment may determine whether the current detection report has the influence of the last detection leave-over by checking the analysis report, so that the technical staff can refer and perform problem tracing conveniently.
As an alternative implementation manner, this embodiment provides a manner of modifying the data file by a preset modification rule, as follows:
1) Determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required for correction by using the correction rule;
2) And correcting the data file according to the correction rule and the correction data information.
In order to meet the special service requirements, the embodiment further provides a white list for storing contents which are applicable to the special service requirements but do not meet the detection rules, after it is determined that error data which do not pass through the target detection rules exist in the data file, it may be determined whether the error data meet preset special requirements or not, if yes, the error data are released to be not processed, if not, a correction rule corresponding to the target detection rule which does not pass through the data file is determined from a preset correction rule set, and correction data information required for correction is performed by using the correction rule, and the data file is corrected according to the correction rule and the correction data information.
As an optional implementation manner, after the modifying the data file according to the preset modification rule, the method further includes:
generating an analysis report based on the detected error data and the used correction rules, the analysis report including any one or more of:
the detection record of the error data, the correction record of the error data and the risk indicator of the error data.
In implementation, if the error data in the data file does not pass the target detection rule, it is first determined whether the error data meets a preset special requirement, that is, data that is applicable to the special requirement but does not meet the target detection rule. If the error data can be automatically corrected, automatically correcting the error data through a preset correction rule, recording the error data and corrected correction data, generating an analysis report, and marking the error data as corrected.
If the data in the data file is not error data but has potential risks, the data is recorded in an analysis report and marked as risks for the research and development personnel to refer to. If the research and development personnel think that some error data or risk data are the special requirements, the error data or risk data which correspond to the marks in the analysis report and meet the special requirements can be determined as the data meeting the preset special requirements, so that the data meeting the preset special requirements can be supplemented.
As an optional implementation manner, an embodiment of the present invention further provides an update method, which includes:
if the data file is an MIB text file, after the data file is corrected through a preset correction rule, generating a new operation maintenance code file according to the corrected MIB text file, and updating the operation maintenance code file generated by the MIB text file before correction into the new operation maintenance code file; and/or the presence of a gas in the gas,
and generating a new configuration data file according to the modified MIB text file, and updating the configuration data file generated by the MIB text file before modification into the new configuration data file.
As shown in fig. 4, an embodiment of the present invention provides a correction process, which includes the following specific implementation steps:
step 400, determining a correction rule corresponding to a target detection rule which fails to pass the data file from a correction rule set;
step 401, determining correction data information required by correction by using the correction rule from a correction rule set;
step 402, carrying out data synchronization on the data file and the corrected data information;
step 403, modifying the data file according to the modification rule and the modified data information;
and step 404, if the data file is an MIB text file, generating a new operation maintenance code file and a new configuration data file according to the modified MIB text file.
The new operation maintenance code file and the new configuration data file are generated on the basis of the modified MIB text file, and the specific process for generating the new operation maintenance code file is as follows: updating the operation maintenance code according to the modified MIB text file, synchronizing the updated code, modifying the synchronized code, automatically updating the link library after modification, and generating a new operation maintenance code file.
It should be noted that the MIB data in the embodiment of the present application includes one or more of the different types of data files, the MIB versions include versions of the MIB data, and the MIB nodes are nodes of the MIB data.
The embodiment of the present invention provides a description of a correction procedure in combination with a specific example, for example, correcting the problem of MIB node OID conflict in the MIB version compatibility problem:
specifically, when the same node in the MIB data of the two versions has different OIDs, although the node can normally operate in the respective MIB versions, when the node is switched from one MIB version to another MIB version, the interpretation of the same OID will have different understandings, which causes the operation of the device to be inconsistent with the expectation and to be confused. For the detection of the problem, the input is not enough to be judged only this time, and the comparison needs to be carried out through the historical MIB data in the MIB database. That is, when the MIB text file is acquired, a detection rule corresponding to the OID and node name content of the MIB text file is determined, and the detection rule depends on the correspondence between the OID and the node in the history version recorded in the preset MIB database.
When a certain MIB node and a corresponding OID exist in the MIB database and are consistent with the corresponding relation in the MIB database, the detection is passed; when the MIB node is not in the MIB database and the OID is not in the MIB database, the detection is passed; and when the MIB node or the OID is in the MIB database and is inconsistent with the corresponding relation in the MIB database, the detection fails and automatic correction is carried out.
The correction means is that the corresponding relation between the input MIB node and the input OID is adjusted by taking the MIB database as a reference, namely after the MIB node is changed to the last same node of the same MIB table recorded in the MIB table and the MIB database, other nodes behind the node are sequentially adjusted. That is, when the nodes are recorded as a, B, C, and D in the MIB database, and the current MIB version is a, B, X, and Y, the MIB version corrected by the current MIB version is a, B, C, D, X, and Y. After the correction is finished, calling a code generation tool, and generating a new operation maintenance code file by using the corrected MIB text file; and calling a configuration generation tool to generate a new binary configuration data file. And automatically replacing the generated new operation maintenance code file into a code library, detecting contents of X and Y in the code, and if the contents are filled with fixed contents of OID, replacing the contents with new contents. Then compiling into a new link library file, and forming a new MIB version by matching with a new configuration data file.
Finally, obtaining the corrected MIB data set, and providing an analysis report for research and development personnel to refer and trace source of problems, wherein the analysis report specifically comprises: error detection records, wherein repaired records are marked with repair marks, and the research personnel can confirm the unrepaired records again and modify or supplement the unrepaired records to a white list after confirmation; risk detection records for research and development personnel to refer to; the detailed description of the correction content comprises a correction object, a correction position, information before correction, information after correction and a correction basis instruction, and can correspond to the operation method and the rule description in the correction rule base. The analysis report may be a Text content, a file type support Text, and an HTML (hypertext Markup Language) type, and the Text content format may be customized using a report template.
As shown in fig. 5, an embodiment of the present invention provides a method for detecting and correcting MIB data, where a flow of a specific embodiment is as follows:
500, acquiring an MIB data set to be detected, wherein the MIB data set comprises different types of data files;
step 501, detecting different types of data files by using a current preset detection mode according to the set sequence of the plurality of preset detection modes;
step 502, judging whether the data file passes the detection of the current preset detection mode, if so, executingstep 503, otherwise, executingstep 504;
step 503, continuing to detect the data files of different types again by using a next preset detection mode;
step 504, judging whether error data in the data file which does not pass the target detection rule meet preset special requirements, if yes, executingstep 503, otherwise, executingstep 505;
step 505, determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required by correction by using the correction rule;
step 506, modifying the data file according to the modification rule and the modified data information;
step 507, generating an analysis report according to the detected error data and the used correction rule.
As shown in fig. 6, in this embodiment, the MIB data set includes an MIB text file, an operation maintenance code file, and a configuration data file, and the preset detection manner includes static detection, dynamic detection, and online detection, which are taken as an example, to describe the MIB data detection method provided in this embodiment in detail, and the specific implementation steps are as follows:
step 600, acquiring an MIB data set to be detected;
the MIB data set comprises an MIB text file, an operation maintenance code file and a configuration data file;
step 601, executing static detection;
in the implementation, the MIB text file is detected according to a grammar detection rule and a service detection rule; detecting the operation maintenance code file according to a grammar detection rule; detecting the configuration data file according to the service detection rule;
step 602, determining whether the data files in the MIB data set pass static detection, if yes, performingstep 603, otherwise, performingstep 608;
step 603, executing dynamic detection;
in the implementation, the operation maintenance code file and the configuration data file are detected according to the service detection rule;
step 604, judging whether the data files in the MIB data set pass dynamic detection, if so, executingstep 605, otherwise, executingstep 609;
step 605, performing online detection;
in the implementation, the operation maintenance code file and the configuration data file are detected according to the user behavior detection rule;
step 606, judging whether the data files in the MIB data set pass online detection, if so, executingstep 607, otherwise, executingstep 610;
step 607, ending the test;
608, correcting the data file according to a preset correction rule, and executing 603;
step 609, correcting the data file according to a preset correction rule, and executing thestep 605;
step 610, modifying the data file according to a preset modification rule, and executingstep 607.
In conclusion, the MIB data detection method provided by the embodiment of the invention can automatically detect and repair the integrated design, can be executed in one key mode, reduces the workload of research and development and improves the working efficiency; on the other hand, a plurality of detection means are fused, and a plurality of layers are checked from multiple angles, so that the situations of wrong report omission and wrong report are reduced; on the last hand, the method can automatically repair related data, reduce the influence of human factors and improve the quality of product software.
Examples 2,
Based on the same inventive concept, the embodiment of the present invention further provides a device for managing information base data detection, and as the device is a device corresponding to the method of the embodiment of the present invention, and the principle of the device for solving the problem is similar to the method, the implementation of the device may refer to the implementation of the method, and repeated details are not repeated.
As shown in fig. 7, an embodiment of the present invention further provides an apparatus for managing detection of database data, where the apparatus includes:
atransceiver 700 for receiving and transmitting data under the control of aprocessor 710.
Wherein in fig. 7, the bus architecture may include any number of interconnected buses and bridges, with one or more processors, represented byprocessor 710, and various circuits, represented bymemory 720, being linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. Thetransceiver 700 may be a number of elements including a transmitter and a receiver that provide a means for communicating with various other apparatus over a transmission medium including wireless channels, wired channels, fiber optic cables, and the like. Theprocessor 710 is responsible for managing the bus architecture and general processing, and thememory 720 may store data used by theprocessor 710 in performing operations.
Theprocessor 710 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), or a Complex Programmable Logic Device (CPLD), and may also have a multi-core architecture.
Wherein theprocessor 710 is configured to read the computer program in the memory and perform the following operations:
acquiring an MIB data set to be detected, wherein the MIB data set comprises different types of data files, the different types of data files have service association relations, and the different types of data files represent different service categories;
determining at least one target detection rule corresponding to different types of data files from detection rules corresponding to preset detection modes according to at least one preset detection mode corresponding to different types of data files;
and detecting the data files of different types through the determined at least one target detection rule, wherein the target detection rule is used for performing association detection on a plurality of data files of different types in the MIB data set.
As an optional implementation manner, if the different types of data files correspond to multiple preset detection manners, the processor is configured to perform detection on the different types of data files by:
and according to the set sequence of the multiple preset detection modes, after the data files of different types are detected by using the current preset detection mode, the data files of different types are detected again by using the next preset detection mode.
As an optional implementation manner, after the current preset detection manner is used to detect the data files of different types, before the next preset detection manner is used to detect the data files of different types again, the processor is further configured to perform:
and if the data file does not pass the detection of the current preset detection mode, correcting the data file by a preset correction rule.
As an alternative embodiment, the processor is configured to perform:
determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required for correction by using the correction rule;
and correcting the data file according to the correction rule and the correction data information.
As an optional implementation manner, before the data file is modified according to the preset modification rule, the processor is further specifically configured to perform:
and determining that the error data which does not pass the target detection rule in the data file does not meet a preset special requirement.
As an optional implementation manner, if the data file is an MIB text file, after the data file is corrected by a preset correction rule, the processor is further configured to perform:
generating a new operation maintenance code file according to the modified MIB text file, and updating the operation maintenance code file generated by the MIB text file before modification into the new operation maintenance code file; and/or the presence of a gas in the atmosphere,
and generating a new configuration data file according to the modified MIB text file, and updating the configuration data file generated by the MIB text file before modification into the new configuration data file.
As an optional implementation manner, the different types of data files include an MIB text file, an operation maintenance code file, and a configuration data file;
the processor is configured to perform:
if the preset detection mode is static detection, determining that the target detection rule corresponding to the MIB text file comprises a grammar detection rule and a service detection rule, determining that the target detection rule corresponding to the operation maintenance code file comprises the grammar detection rule, and determining that the target detection rule corresponding to the configuration data file comprises the service detection rule; or
If the preset detection mode is dynamic detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a service detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a service detection rule; or
And if the preset detection mode is online detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a user behavior detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a user behavior detection rule.
As an optional implementation manner, the syntax detection rule includes any one or more of the following: detecting whether the protocol grammar of the MIB text file is normal, detecting whether the private grammar of the MIB text file accords with a preset specification and detecting whether the grammar of the operation maintenance code accords with service logic; or the like, or, alternatively,
the service detection rule comprises any one or more of the following: detecting whether MIB text files of all versions are compatible, detecting whether the MIB text files are adapted to a network manager or not, detecting whether the content of the MIB text files is operable or not, detecting whether data in configuration data files have inheritance in the MIB text files of different versions or not, detecting whether the configuration data files can be loaded or not, detecting whether all values in operation and maintenance codes are abnormal or not, and detecting the relevance of the data in the operation and maintenance codes; or the like, or, alternatively,
the user behavior detection rule comprises any one or more of the following rules: detecting smooth upgrade of configuration data to ensure cell establishment and normal work, detecting relevance of data in operation and maintenance codes, detecting whether boundary values in the operation and maintenance codes are reasonable, and detecting operability of the operation and maintenance codes.
As an optional implementation manner, the preset detection manner includes any one or more of the following:
static detection, dynamic detection and online detection; the static detection, dynamic detection and online detection are distinguished by whether the data file is run and the type of equipment used to run the data file.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
Examples 3,
Based on the same inventive concept, the embodiment of the present invention further provides a device for managing information base data detection, and as the device is a device corresponding to the method of the embodiment of the present invention, and the principle of the device for solving the problem is similar to that of the method, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
It should be noted that, in the embodiment of the present application, the division of the unit is schematic, and is only one logic function division, and when the actual implementation is realized, another division manner may be provided. In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented as a software functional unit and sold or used as a stand-alone product, may be stored in a processor readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
As shown in fig. 8, the apparatus includes:
thedata acquiring unit 800 is configured to acquire an MIB data set to be detected, where the MIB data set includes different types of data files, where the different types of data files have service association relationships, and the different types of data files represent different service categories;
arule determining unit 801, configured to determine, according to at least one preset detection manner corresponding to different types of data files, at least one target detection rule corresponding to the different types of data files from detection rules corresponding to the preset detection manner;
a detectingunit 802, configured to detect the different types of data files according to the determined at least one target detection rule, where the target detection rule is used to perform association detection on multiple different types of data files in an MIB data set.
As an optional implementation manner, if the different types of data files correspond to multiple preset detection manners, the detection unit is further configured to detect the different types of data files by:
and according to the set sequence of the multiple preset detection modes, after the data files of different types are detected by using the current preset detection mode, the data files of different types are detected again by using the next preset detection mode.
As an optional implementation manner, after the data files of different types are detected by using the current preset detection manner, before the data files of different types are detected again by using the next preset detection manner, the detection unit is further configured to:
and if the data file does not pass the detection of the current preset detection mode, correcting the data file according to a preset correction rule.
As an optional implementation manner, the detection unit is further configured to:
determining a correction rule corresponding to a target detection rule that the data file fails to pass from a preset correction rule set, and correcting data information required for correction by using the correction rule;
and correcting the data file according to the correction rule and the correction data information.
As an optional embodiment, before the data file is modified according to a preset modification rule, the detection unit is further configured to:
and determining that error data which does not pass the target detection rule in the data file does not meet a preset special requirement.
As an optional implementation manner, if the data file is an MIB text file, after the data file is corrected by a preset correction rule, the detecting unit is further configured to:
generating a new operation maintenance code file according to the modified MIB text file, and updating the operation maintenance code file generated by the MIB text file before modification into the new operation maintenance code file; and/or the presence of a gas in the gas,
and generating a new configuration data file according to the modified MIB text file, and updating the configuration data file generated by the MIB text file before modification into the new configuration data file.
As an optional implementation manner, the different types of data files include an MIB text file, an operation maintenance code file, and a configuration data file;
the rule determining unit is specifically configured to:
if the preset detection mode is static detection, determining that the target detection rule corresponding to the MIB text file comprises a grammar detection rule and a service detection rule, determining that the target detection rule corresponding to the operation maintenance code file comprises the grammar detection rule, and determining that the target detection rule corresponding to the configuration data file comprises the service detection rule; or
If the preset detection mode is dynamic detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a service detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a service detection rule; or
And if the preset detection mode is online detection, determining that the target detection rule corresponding to the operation maintenance code file comprises a user behavior detection rule, and determining that the target detection rule corresponding to the configuration data file comprises a user behavior detection rule.
As an optional implementation manner, the syntax detection rule includes any one or more of the following: detecting whether the protocol grammar of the MIB text file is normal, detecting whether the private grammar of the MIB text file accords with a preset specification and detecting whether the grammar of the operation maintenance code accords with service logic; or the like, or, alternatively,
the service detection rule comprises any one or more of the following: detecting whether MIB text files of all versions are compatible, detecting whether the MIB text files are adapted to a network manager or not, detecting whether the content of the MIB text files is operable or not, detecting whether data in configuration data files have inheritance in the MIB text files of different versions or not, detecting whether the configuration data files can be loaded or not, detecting whether all values in operation and maintenance codes are abnormal or not, and detecting the relevance of the data in the operation and maintenance codes; or the like, or, alternatively,
the user behavior detection rules include any one or any plurality of the following: detecting smooth upgrade of configuration data to ensure cell establishment and normal work, detecting relevance of data in operation and maintenance codes, detecting whether boundary values in the operation and maintenance codes are reasonable, and detecting operability of the operation and maintenance codes.
As an optional implementation manner, the preset detection manner includes any one or more of the following:
static detection, dynamic detection and online detection; the static detection, dynamic detection and online detection are distinguished by whether the data file is run and the type of equipment used to run the data file.
It should be noted that, the apparatus provided in the embodiment of the present invention can implement all the method steps implemented by the method embodiment and achieve the same technical effect, and detailed descriptions of the same parts and beneficial effects as the method embodiment in this embodiment are omitted here.
The present embodiments also provide a computer storage medium that can be any available medium or data storage device that can be accessed by a processor, 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 memories (NAND FLASH), solid State Disks (SSDs)), etc.
The program when executed by a processor implements the steps of the method:
acquiring an MIB data set to be detected, wherein the MIB data set comprises different types of data files, the different types of data files have service association relations, and the different types of data files represent different service categories;
determining at least one target detection rule corresponding to different types of data files from detection rules corresponding to preset detection modes according to at least one preset detection mode corresponding to different types of data files;
and detecting the different types of data files through the determined at least one target detection rule, wherein the target detection rule is used for performing association detection on a plurality of different types of data files in the MIB data set.
The present application is described above with reference to block diagrams and/or flowchart illustrations of methods, apparatus (systems) and/or computer program products according to embodiments of the application. It will be understood that one block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, 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, and/or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer and/or other programmable data processing apparatus, create means for implementing the functions/acts specified in the block diagrams and/or flowchart block or blocks.
Accordingly, the present application may also be embodied in hardware and/or in software (including firmware, resident software, micro-code, etc.). Furthermore, the present application may take the form of a computer program product on a computer-usable or computer-readable storage medium having computer-usable or computer-readable program code embodied in the medium for use by or in connection with an instruction execution system. In the context of this application, a computer-usable or computer-readable medium may be any medium that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device.
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.