CN112564935A - Interface information acquisition method, network management system and storage medium - Google Patents

Interface information acquisition method, network management system and storage medium Download PDF

Info

Publication number
CN112564935A
CN112564935A CN201910920327.3A CN201910920327A CN112564935A CN 112564935 A CN112564935 A CN 112564935A CN 201910920327 A CN201910920327 A CN 201910920327A CN 112564935 A CN112564935 A CN 112564935A
Authority
CN
China
Prior art keywords
information
type
information acquisition
target
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910920327.3A
Other languages
Chinese (zh)
Inventor
王坤雅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201910920327.3A priority Critical patent/CN112564935A/en
Publication of CN112564935A publication Critical patent/CN112564935A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • G06F16/838Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides an interface information acquisition method, a network management system and a storage medium, which utilize the characteristic of uniform naming rules of interface information in the network management system, so that a worker who acquires the information only needs to input an information acquisition instruction to the network management system and indicate to the network management system which target information is to be acquired, the network management system can extract all levels of type labels of the target information from the information acquisition instruction, then the target information is retrieved based on retrieval information generated by all levels of type labels, the target information is directly output after the target information is retrieved, and the information acquisition worker does not need to actively open all levels of catalogs for information extraction, therefore, the information acquisition scheme is favorable for improving the accuracy of information acquisition, reducing the service capability requirement of the information acquisition on the operator worker, and simultaneously reducing the communication cost of equipment providers and the operator worker, the method is favorable for improving the fault positioning efficiency.

Description

Interface information acquisition method, network management system and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to an interface information acquisition method, a network management system, and a storage medium.
Background
In communication network management, the northbound interface is a very important interface. The operator can collect information through the northbound interface, thereby realizing the comprehensive management of the communication network, including centralized monitoring, fault analysis, network optimization and the like. Therefore, the stability of the northbound interface and the timely fault location when a problem occurs are realized, so that the operation condition of the whole network is effectively controlled by an operator, the informatization management level is improved, and the network operation quality is effectively ensured.
When the northbound interface fails, the information of the northbound interface needs to be checked on the equipment, so that a fault location and fault solution is provided for an operator. However, the types of the northbound interfaces of the network management system are many, and each northbound interface has its own configuration parameters, performance parameters, and the like, so if an equipment provider needs to perform fault location on the northbound interface of the network management system, the operator staff is needed to assist: and the equipment operator staff communicates with the operator staff and instructs the operator staff to extract the information of the specified type under the specified path from the network management system. However, operators are not familiar with the information of the network management system and the number of directories involved in interface information acquisition is large, so that the operators of the two parties need to communicate repeatedly, which directly results in high time cost and labor cost for information acquisition. Meanwhile, even if the communication is carried out for many times, operators and staff are likely to be unable to provide all information required by the equipment provider, so that the fault cannot be located and solved in time.
Disclosure of Invention
The embodiment of the invention provides an interface information acquisition method, a network management system and a storage medium, which mainly solve the technical problems that: how to promote the accuracy of interface information acquisition, reduce the time cost and the human cost of interface information acquisition.
In order to solve the above technical problem, an embodiment of the present invention provides an interface information acquisition method, including:
receiving an information acquisition instruction, wherein the information acquisition instruction is used for indicating all levels of type information of target information;
determining each level type label of the target information according to each level type information of the target information, wherein the level number of the type labels is more than or equal to 2, the n +1 level type label is a thinning type label under the n level type label, and n is more than or equal to 1;
generating retrieval information based on each level of type label of the target information, wherein the retrieval information comprises each level of type label of the target information;
and retrieving target information in the network management system according to the retrieval information, and outputting the retrieved target information.
The embodiment of the invention also provides a network management system, which comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing one or more programs stored in the memory so as to realize the steps of the interface information acquisition method.
The embodiment of the present invention further provides a storage medium, where the storage medium stores one or more programs, and the one or more programs may be executed by one or more processors to implement the steps of the interface information acquisition method.
The invention has the beneficial effects that:
according to the interface information acquisition method, the network management system and the storage medium provided by the embodiment of the invention, the network management system receives the information acquisition instruction for indicating each level of type information of the target information, and then determines each level of type label of the target information according to each level of type information of the target information, wherein the level number of the type label is more than or equal to 2, and the n +1 level of type label is a thinning type label under the n level of type label. And then, the network management system generates retrieval information based on the type labels of all levels of the target information, wherein the retrieval information comprises the type labels of all levels of the target information, and the network management system can retrieve the target information in the network management system according to the retrieval information and output the retrieved target information. The interface information acquisition method provided by the embodiment of the invention utilizes the characteristic that the storage of the interface information in the network management system is usually named according to a uniform naming rule based on all levels of types to which the information belongs, therefore, a worker who acquires the information only needs to input an information acquisition instruction to the network management system and indicate to the network management system which target information is acquired, the network management system can extract all levels of type labels of the target information from the information acquisition instruction, then the target information is retrieved based on the retrieval information generated by all levels of type labels, and the target information is directly output after the target information is retrieved, and the information acquisition worker does not need to actively open all levels of catalogs for information extraction, therefore, the information acquisition scheme is favorable for improving the accuracy of information acquisition, and reduces the service capacity requirement of the information acquisition on operators, meanwhile, the communication cost between the equipment provider and the operator staff is reduced, and the fault positioning efficiency is improved.
Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
Fig. 1 is a flowchart of an interface information acquisition method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an interpersonal interaction interface for acquiring information of a network management system according to a first embodiment of the present invention;
fig. 3 is a flowchart of determining a type tag of target information according to type information according to an embodiment of the present invention;
fig. 4 is a flowchart of an interface information acquisition method according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an interface information acquisition apparatus according to a third embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a network management system according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The first embodiment is as follows:
in order to solve the problem that in the prior art, in the process of performing fault location on a network management system of an operator, a device manufacturer needs to spend a lot of time to repeatedly communicate with a worker at the operator side to obtain interface information required for fault location, or the required interface information cannot be obtained after the repeated communication, which affects the timeliness of fault location, thereby reducing the reliability of the operator on the professional degree of the device manufacturer and affecting the professional image of the device manufacturer, the embodiment provides an interface information collection method, please refer to a flow chart shown in fig. 1:
s102: and the network management system receives the information acquisition instruction.
In this embodiment, the information acquisition instruction is input to the network management system by a worker who performs interface information acquisition, and it can be understood that the interface information acquisition worker may be a worker of an operator, or an after-sale worker of an equipment manufacturer, and the like.
The information acquisition instruction is used for indicating various levels of type information of the target information. The "target information" is interface information to be collected, in a general case, the interface information stored in the network management system is usually named based on types of each level to which the information belongs, and in some scenarios, if a certain type of interface information is a "log" type in a "configuration" type of a "northbound interface", the name of the interface information may be "-naf-conf-log" or "-northbound-configuration-log".
At present, in a network management system, an Extensible Markup Language (XML) format may be generally used to store interface information, where XML is a structured Markup Language used for marking electronic files, and is flexible to use and has very strong extensibility. In a communication network, because northbound interfaces are of various types, related parameters are of various types, and the requirement on flexibility of a storage file is high, an XML format is often adopted to store related information. The file name commonly used in the industry mostly contains attribute parameters (properties), and the format thereof also adopts a type tag corresponding to interface information contained in a flexible XML language markup file, for example, "naf-cm" represents north interface configuration related information, "naf-pm" represents north interface performance related information, and "naf-fm" represents alarm related information.
The number of the levels of the type labels is generally more than or equal to 2, the n +1 level type labels are refinement type labels under the n level type labels, and n is more than or equal to 1, for example, the three level type labels are refinement labels under the two level type labels, and the two level type labels are refinement labels under the one level type labels. In a network management system, interfaces are generally divided into a south interface and a north interface, on the basis, interface information can be divided into three types of information, namely configuration, performance and alarm, and the three types of information can also comprise log information, opening information and sample information. Therefore, in general, the name of the interface information may include three-level (or three-level) type tags: the first stage, distinguishing the south direction from the north direction; the second stage, distinguishing configuration, performance and alarm types; and thirdly, distinguishing log information, opening information and sample information. In some examples, the levels of type tags are in chinese form, and in other examples, the levels of type tags are in english form; in some examples, the type labels are formed in full name, and in other examples, the type labels are in short form.
On this basis, in this embodiment, the information acquisition personnel may carry information, that is, type information, capable of indicating the type tag of the target information in the information acquisition instruction. Based on the type information, the network management system can determine the corresponding type label.
It should be noted that, when performing fault location on the network management system, usually a fault of the northbound interface is targeted, so although the information acquisition instruction in some examples carries all levels of type information of the target information, in other examples of this embodiment, it is not required that the information acquisition instruction includes all levels of type information of the target information, for example, it is not necessary to carry one level of type information, and in these examples, the target information to be acquired is the northbound interface information by default, so that when inputting the information acquisition instruction to the network management system, the information acquisition personnel does not need to input the type information indicating the one level of type label.
For the purpose of explaining the above two information acquisition instructions, assuming that target information to be acquired is "-naf-conf-log" information, when the information acquisition instruction is input in the former way, an information acquirer needs to output at least three parts of contents: the first part of content is used for indicating that the primary type label is 'naf', the second part of content is used for indicating that the secondary type label is 'conf', and the third part of content is used for indicating that the tertiary type label is 'log'. When the information acquisition instruction is input according to the latter method, the information acquisition personnel do not need to input the type information indicating that the primary type label is naf, because the network management system defaults that all the interface information to be acquired is northbound interface information. Of course, it is needless to say that if the collected target information is not only information of the northbound interface, the information collection personnel will generally not perform in the second way when inputting the information collection instruction.
Assuming that "a" is type information used for indicating a primary type tag in an information acquisition instruction, "B" is type information used for indicating a secondary type tag in the information acquisition instruction, and "C" is type information used for indicating a secondary type tag in the information acquisition instruction, a group "AB C" in the information acquisition instruction may indicate one piece of target information. In some examples of this embodiment, a plurality of target information can be indicated in one information acquisition instruction at the same time, so that when acquiring a plurality of target information, an information acquisition person can acquire a plurality of target information at one time without issuing an instruction for many times, thereby improving the information acquisition efficiency. For example, in one example of the present embodiment, the target information includes three pieces of type information, which are "A1B 1C 1", "A2B 2C 2", and "A3B 3C 3", respectively, and the information collecting instruction that may indicate the three pieces of target information may be "A1B 1C1A2B2C2A3B3C 3".
In some examples, if the human-computer interaction interface for information acquisition on the network management system is simple, for example, an information acquisition person inputs an information acquisition instruction through a command line, the information acquisition instruction may further include an "end identifier," which may represent that the information acquisition instruction is input and completed, and when the network management system detects that the information acquisition person inputs the end identifier, it may be considered that the information acquisition instruction is input and does not need to continue to wait for input. In some examples, the end identifier may be "#", and in other examples, the end identifier may be other symbols or combinations of symbols, such as "&" or "# # #", etc.
If the man-machine interface for information acquisition on the network management system is friendly enough, for example, keys such as "confirm", "input complete", etc. are supported in the interface for inputting the information acquisition instruction, as shown in fig. 2, it is also feasible that the middle part of the information acquisition instruction includes the end identifier.
S104: and the network management system determines all levels of type labels of the target information according to all levels of type information of the target information.
In this embodiment, the network management system stores the mapping relationship between the type information and the type tag in advance, so that after receiving the information acquisition instruction, the network management system can determine the type tag corresponding to the type information in the information acquisition instruction according to the stored mapping relationship. As shown in fig. 3:
s302: extracting all levels of type information of target information in the information acquisition instruction;
s304: and determining the type labels of all levels corresponding to the extracted type information of all levels according to the mapping relation.
In some examples of the embodiment, the type information may include at least one of a chinese full name, a chinese short name, a chinese pinyin abbreviation, an english full name, an english abbreviation, and a unique identifier corresponding to the type tag. Taking the type label as "naf" as an example, the Chinese is called a "northbound interface" in all, the Chinese is called "northbound" in short, the Chinese pinyin is "beixiangjiekou", the Chinese pinyin is abbreviated as "beixiang" or "bx", the English is called a "not access function" in all, the English is abbreviated as "naf", and the unique identifier corresponding to the type label can be the uniquely-specified number, letter or unique identifier information formed by the combination of the number and the letter for "naf". For example, assume that in an example, the unique identification information of the northbound interface tag is "1", the unique identification information of the configuration information tag is "21", the unique identification information of the performance information tag is "22", the unique identification information of the alarm information tag is "23", the unique identification information of the interface log tag is "31", the unique identification information of the provisioning information tag is "32", and the unique identification information of the sample information tag is "33", see table 1:
TABLE 1
Type label Type information-unique identification information
Northbound interface tag 1
Configuration information tag 21
Performance information label 22
Alarm information label 23
Interface log label 31
Opening information label 32
Sample information label 33
If all the input type information is the unique identification information corresponding to the corresponding type label, in this example, for the target information of naf-conf-log, "1", "21", and "31" may be included in the information acquisition instruction input by the information acquisition person.
In a general case, the mapping relationship between the type information and the type label may be a mapping relationship of K to one, where a value of K is greater than or equal to 1, that is, the mapping relationship between the type information and the type label may be a one-to-one mapping relationship, or may be a mapping relationship of many (where many means greater than or equal to 2) to one. When the value of K is 1, one type label only corresponds to one type information, so that when some target information needs to be acquired, the input information acquisition instruction is fixed and unique, and the target information "-naf-conf-log" is used for explanation: assuming that the type information corresponding to the type tag is abbreviated as chinese, the input information collection instruction must be north-configure-log. If the value of K is greater than 1, the information acquisition instruction input by the information acquisition person may be different even for a certain fixed target information, for example, the acquired target information is information in terms of performance, and the type information input by the information acquisition person may be any one of "performance", "pm", "performance", or "22". Under the many-to-one mapping relation, information acquisition personnel can input information acquisition instructions more freely and flexibly.
S106: and the network management system generates retrieval information based on the type labels of all levels of the target information.
After determining the corresponding type tag according to the type information of the target information, the network management system can generate retrieval information according to each level of type tag of the target information, wherein each level of type tag of the target information is included in the retrieval information.
It should be understood that, if one information acquisition instruction not only indicates one target information, but also includes at least two target information, when the network management system generates the retrieval information, the network management system should generate the retrieval information by using the target information as a unit, that is, one target information should correspond to one retrieval information, rather than one information acquisition instruction corresponding to one retrieval information.
S108: and the network management system searches the target information in the network management system according to the search information and outputs the searched target information.
After the network management system obtains the retrieval information, information retrieval can be carried out according to the retrieval information, if the information is retrieved in the network management system according to the retrieval information, the retrieved information is the target information, and if the information is not retrieved, the interface information required by information acquisition personnel does not exist in the network management system.
In some examples of this embodiment, the network management system may further determine whether the retrieval information constituted by each level of type tag of the target information is legal before generating the retrieval information from each level of type tag of the target information and performing information retrieval according to the retrieval information, for example, if a certain information acquisition instruction only indicates a first level type tag and a third level type tag of the target information, the network management system cannot determine accurate target information according to the first level type tag and the third level type tag, and therefore, the network management system may determine that the retrieval information is illegal and require an information acquisition person to re-input an information acquisition instruction. Of course, in some examples of this embodiment, if a certain level of type tag of the target information cannot be determined according to the information acquisition instruction, the network management system may also consider that the retrieval information covers all the type tags of the level, for example, in a certain example, when the information acquisition personnel inputs the information acquisition instruction, the type information indicating the third level type tag is not input, the third level type tag in the retrieval information is default, and if the retrieval information is "-naf-conf", the network management system may consider that the target information is all configuration information of the northbound interface, including log information, interface opening information, and sample information under the configuration information.
In some examples of this embodiment, after the network management system retrieves the target information, the target information may be directly displayed and output for the information collection staff to view. In other examples of this embodiment, when issuing an information acquisition instruction to the network management system, an information acquisition person may carry a target path in the information acquisition instruction, so that after the network management system retrieves the target information, the target information may be transmitted to the target path. In this embodiment, the target path may be a storage path of the storage system of the network management system itself, or a storage path on other devices except the network management system, and if the target path is the storage path, the network management system needs to transmit the retrieved target information to the target path through the network. In some examples of the embodiment, the network management device may transmit the target information by using an STP (Spanning Tree Protocol) Protocol.
According to the interface information acquisition method provided by the embodiment, based on the characteristic that interface information is stored and named according to the type of the interface information, information acquisition personnel inputs an information acquisition instruction capable of indicating each level of type label of target information, and a network management system determines each level of type label of the target information to be acquired according to the information acquisition instruction, so that retrieval information of the retrieval target information is determined based on each level of type label, and target information retrieval is performed according to the retrieval information, and therefore the problems of high complexity and high cost of communication between the information acquisition personnel and each target information storage directory are solved.
Furthermore, when the information acquisition personnel issues the information acquisition instruction, the information acquisition personnel is not limited to input an accurate type label, but input any one of a plurality of types of information corresponding to the type label, and the network management system can determine the accurate type label, so that the flexibility of issuing the instruction by the information acquisition personnel is improved, and the difficulty of issuing the instruction is reduced.
Example two:
in order to make the advantages and details of the foregoing interface information acquisition method more clear to those skilled in the art, the present embodiment will be further described with reference to the following examples:
in this embodiment, it is assumed that a human-computer interaction interface for information acquisition on the network management system is simple, and a mapping relationship between the type information and the type tag, which is configured and stored in advance by the network management system, is a many-to-one mapping relationship. Please refer to fig. 4 below:
s402: the network management system receives an input.
S404: the network management system judges whether the received input information is legal type information input.
If yes, S408 is executed, otherwise, S406 is executed because it indicates that the information input by the user is not the legal type information. In this embodiment, because one type of tag can correspond to multiple types of information, the information collector can input any one of the corresponding full name of chinese, abbreviated name of chinese, pinyin of chinese, abbreviated name of pinyin of chinese, full name of english, abbreviated name of english, or unique identifier during the process of inputting the information collection instruction, and the network management system can recognize the information intelligently.
The legal type information is the type information existing in the mapping relation, because only after the network management system receives an input, the network management system can determine the type label corresponding to the input. On the contrary, if the input information of the user does not exist in the mapping relationship, the network management system cannot determine the type tag corresponding to the input information, and therefore, the input information is not the legal type information input.
S406: the network management system prompts for re-entry.
S408: the network management system judges whether the end mark is received.
If yes, the process proceeds to S410, otherwise, the process continues to S402.
In this embodiment, the end of the information acquisition instruction uses "#" as the identifier, so the network management system can monitor whether it receives the input of "#", if so, it determines that the end identifier is received, and therefore S410 is entered.
S410: and the network management system determines all levels of type labels of the target information according to the received all levels of type information.
The network management system determines all levels of type information of the target information in the information acquisition instruction, and then determines all levels of type labels corresponding to all levels of type information by referring to the mapping relation to obtain all levels of type labels of the target information.
S412: and the network management system generates retrieval information according to the type labels of all levels of the target information.
After determining the corresponding type tag according to the type information of the target information, the network management system can generate retrieval information according to each level of type tag of the target information.
S414: and the network management system carries out information retrieval according to the retrieval information.
S416: the network management system judges whether the target information is retrieved.
If the determination result is negative, S406 is executed, otherwise S418 is executed.
S418: the network management system outputs the target information to the target path.
In this embodiment, after retrieving the target information, the network management system may package the target information corresponding to one information acquisition instruction, and transmit the target information to a target path through a network. In some examples of this embodiment, the target path may be specified by an information acquisition person when issuing an information acquisition instruction, or may be obtained by the network management system by performing an interactive query to the information acquisition person after acquiring the target information, or in some examples of this embodiment, the target path may also be a default path, and is pre-configured and stored in the network management system.
According to the interface information acquisition method provided by the embodiment, when the equipment provider needs the interface information to carry out northbound interface fault positioning, the communication with the operator staff is not required repeatedly, the information extraction catalog is designated to the operator side staff, and the communication cost is reduced. Meanwhile, the accuracy and the efficiency of information acquisition can be improved, the timeliness of fault positioning is promoted, and the professional image of an equipment manufacturer is maintained.
Example three:
the present embodiment provides a data packet transmission device, which is applied to a data plane side, please refer to a schematic structural diagram of an interface information acquisition device 50 shown in fig. 5:
the interface information acquisition device 50 includes an instruction receiving module 502, an instruction processing module 504, an information generating module 506, and a retrieval output module 508, where the instruction receiving module 502 is configured to receive an information acquisition instruction, the instruction processing module 504 is configured to determine each level of type tags of target information according to each level of type information of the target information, the information generating module 506 generates retrieval information based on each level of type tags of the target information, and the retrieval output module 508 is configured to retrieve the target information in the network management system according to the retrieval information and output the retrieved target information.
The interface information collecting device 50 in this embodiment may be deployed on a network management system to realize the interface information collecting method, the function of the instruction receiving module 502 may be realized by an input unit of the network management system, and the functions of the instruction processing module 504 and the information generating module 506 may be realized by a processor of the network management system. The function of the retrieval output module 508 may be implemented by the processor of the network management system and the display device together, or implemented by the processor of the network management system and the communication device together. For details of the method for implementing interface information acquisition by each module in the interface information acquisition apparatus 50, please refer to the description of the foregoing embodiment, which is not described herein again.
In this embodiment, the computer-readable storage medium may store an interface information acquisition program, and the interface information acquisition program may be used by the one or more processors to execute a process for implementing any one of the interface information acquisition methods described in the foregoing embodiments.
The embodiment further provides a network management system, as shown in fig. 6: the network management system 60 includes a processor 61, a memory 62, and a communication bus 63 for connecting the processor 61 and the memory 62, wherein the memory 62 may be the aforementioned storage medium storing the interface information acquisition program. The processor 61 may read the interface information acquisition program, compile and execute the procedure of implementing the interface information acquisition method described in the foregoing embodiment:
the processor 61 receives an information acquisition instruction for indicating each level of type information of the target information, and then determines each level of type label of the target information according to each level of type information of the target information, wherein the level number of the type label is greater than or equal to 2, and the n +1 level of type label is a refined type label under the n level of type label. Subsequently, the processor 61 generates retrieval information based on each level type tag of the target information, the retrieval information includes each level type tag of the target information, and the processor 61 can retrieve the target information in the network management system 60 according to the retrieval information and output the retrieved target information. The interface information acquisition method provided by the embodiment of the invention utilizes the characteristic that the storage of the interface information in the network management system is usually named according to a uniform naming rule based on all levels of types to which the information belongs, therefore, a worker who acquires the information only needs to input an information acquisition instruction to the network management system 60 and indicate to the network management system 60 which target information is to be acquired, the processor 61 can extract all levels of type labels of the target information from the information acquisition instruction, then the target information is retrieved based on the retrieval information generated by all levels of type labels, the target information is directly output after the target information is retrieved, and the information acquisition worker does not need to actively open all levels of directories to extract the information, therefore, the information acquisition scheme is favorable for improving the accuracy of information acquisition and reducing the requirements of the information acquisition on the service capability of operators, meanwhile, the communication cost between the equipment provider and the operator staff is reduced, and the fault positioning efficiency is improved.
When the processor 61 outputs the searched target information, the target information can be output and displayed; and/or processor 61 may output the destination information to the destination path via a network.
In some examples of this embodiment, the target information is information stored in an XML format.
In some examples, the first level type tags include northbound interface tags; the secondary type label comprises a configuration information label, a performance information label and an alarm information label; the third-level type label comprises an interface log label, a starting information label and a sample information label.
In some examples, the information acquisition instruction only includes type information for indicating a second-level type tag and a third-level type tag of the target information, and the target information to be acquired is defaulted to information of a northbound interface of the network management system; or the information acquisition instruction comprises type information used for indicating the first-level type label, the second-level type label and the third-level type label of the target information.
It is understood that before the processor 61 receives the information collecting instruction, the K-to-one mapping relationship between the type information and the type label may be configured and stored. In this embodiment, K is 1 or more.
When determining each level of type label of the target information according to the information acquisition instruction, the processor 61 may extract each level of type information of the target information in the information acquisition instruction, and then determine each level of type label corresponding to each level of extracted type information according to the mapping relationship.
Optionally, the information acquisition instruction includes type information of each level of the at least two pieces of target information, and an end of the information acquisition instruction includes an end identifier that represents an end of the instruction.
In some examples, the type information includes at least one of a chinese full name, a chinese abbreviation, a chinese pinyin abbreviation, an english full name, an english abbreviation, and a unique identifier corresponding to the type tag.
The network management system provided by this embodiment utilizes the characteristic that interface information is stored and named according to the type to which the interface information belongs, receives an information acquisition instruction which is input by an information acquisition person and can indicate each level of type label of target information, and determines each level of type label of the target information to be acquired according to the information acquisition instruction, thereby determining retrieval information of the retrieval target information based on each level of type label, and retrieving the target information according to the retrieval information, thereby avoiding the problem of high complexity and high communication cost when the information acquisition person extracts information from the storage directory of each target information.
It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed over computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media), executed by a computing device, and in some cases may perform the steps shown or described in a different order than here. The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. An interface information acquisition method includes:
receiving an information acquisition instruction, wherein the information acquisition instruction is used for indicating all levels of type information of target information;
determining each level type label of the target information according to each level type information of the target information, wherein the level number of the type labels is more than or equal to 2, the n +1 level type label is a thinning type label under the n level type label, and n is more than or equal to 1;
generating retrieval information based on each level of type label of the target information, wherein the retrieval information comprises each level of type label of the target information;
and retrieving target information in the network management system according to the retrieval information, and outputting the retrieved target information.
2. The interface information collection method of claim 1, wherein said outputting the retrieved target information comprises:
outputting and displaying the target information;
and/or the presence of a gas in the gas,
and outputting the target information to a target path through a network.
3. The interface information collection method of claim 1, wherein the target information is information stored in an extensible markup language (XML) format.
4. The interface information acquisition method of claim 1 wherein the primary type tag comprises a northbound interface tag; the secondary type label comprises a configuration information label, a performance information label and an alarm information label; the third-level type label comprises an interface log label, a starting information label and a sample information label.
5. The interface information acquisition method according to claim 4, wherein the information acquisition instruction includes only type information for indicating a second-level type tag and a third-level type tag of target information, and the target information to be acquired is by default information of a northbound interface of the network management system; or the information acquisition instruction comprises type information used for indicating the first-level type label, the second-level type label and the third-level type label of the target information.
6. The interface information acquisition method of any one of claims 1-5, wherein, prior to receiving the information acquisition instruction, further comprising: configuring and storing a mapping relation of K to one between type information and type labels, wherein K is more than or equal to 1;
the determining of each level of type label of the target information according to the information acquisition instruction comprises:
extracting all levels of type information of the target information in the information acquisition instruction;
and determining the type labels of all levels corresponding to the extracted type information of all levels according to the mapping relation.
7. The interface information acquisition method according to claim 6, wherein the information acquisition instruction includes each level type information of at least two pieces of target information, and an end of the information acquisition instruction includes an end flag indicating an end of the instruction.
8. The interface information acquisition method of claim 6, wherein the type information comprises at least one of a full name of Chinese, a short name of Chinese, pinyin for Chinese, a thumbnail of pinyin for Chinese, a full name of English, a shortname of English, and a unique identifier corresponding to the type tag.
9. A network management system comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the interface information acquisition method according to any one of claims 1 to 8.
10. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the interface information acquisition method according to any one of claims 1 to 8.
CN201910920327.3A 2019-09-26 2019-09-26 Interface information acquisition method, network management system and storage medium Pending CN112564935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910920327.3A CN112564935A (en) 2019-09-26 2019-09-26 Interface information acquisition method, network management system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920327.3A CN112564935A (en) 2019-09-26 2019-09-26 Interface information acquisition method, network management system and storage medium

Publications (1)

Publication Number Publication Date
CN112564935A true CN112564935A (en) 2021-03-26

Family

ID=75030233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920327.3A Pending CN112564935A (en) 2019-09-26 2019-09-26 Interface information acquisition method, network management system and storage medium

Country Status (1)

Country Link
CN (1) CN112564935A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510434B1 (en) * 1999-12-29 2003-01-21 Bellsouth Intellectual Property Corporation System and method for retrieving information from a database using an index of XML tags and metafiles
US20090106271A1 (en) * 2007-10-19 2009-04-23 International Business Machines Corporation Secure search of private documents in an enterprise content management system
US20110078181A1 (en) * 2009-09-30 2011-03-31 Fujitsu Limited Communication device
CN104484462A (en) * 2014-12-29 2015-04-01 西安航天华迅科技有限公司 Enterprise information acquisition method and system
WO2017166923A1 (en) * 2016-03-28 2017-10-05 中兴通讯股份有限公司 Optical network unit service activating method and device
CN109039731A (en) * 2018-07-25 2018-12-18 武汉虹信通信技术有限责任公司 A kind of alarm of network management northbound interface is from adaptation method
CN109325149A (en) * 2018-09-30 2019-02-12 中国银行股份有限公司 XML message search method and device
CN110096419A (en) * 2019-04-22 2019-08-06 厦门网宿有限公司 Acquisition methods, interface log management server and the service server of interface log

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510434B1 (en) * 1999-12-29 2003-01-21 Bellsouth Intellectual Property Corporation System and method for retrieving information from a database using an index of XML tags and metafiles
US20090106271A1 (en) * 2007-10-19 2009-04-23 International Business Machines Corporation Secure search of private documents in an enterprise content management system
US20110078181A1 (en) * 2009-09-30 2011-03-31 Fujitsu Limited Communication device
CN104484462A (en) * 2014-12-29 2015-04-01 西安航天华迅科技有限公司 Enterprise information acquisition method and system
WO2017166923A1 (en) * 2016-03-28 2017-10-05 中兴通讯股份有限公司 Optical network unit service activating method and device
CN109039731A (en) * 2018-07-25 2018-12-18 武汉虹信通信技术有限责任公司 A kind of alarm of network management northbound interface is from adaptation method
CN109325149A (en) * 2018-09-30 2019-02-12 中国银行股份有限公司 XML message search method and device
CN110096419A (en) * 2019-04-22 2019-08-06 厦门网宿有限公司 Acquisition methods, interface log management server and the service server of interface log

Similar Documents

Publication Publication Date Title
CN112953737B (en) Configuration abnormality detection method, server, and storage medium
CN110688538B (en) Cross-domain service whole-course routing penetration method and device based on big data
CN110263222B (en) Data acquisition method, device, equipment and medium
CN112672370B (en) Method, system, equipment and storage medium for automatically detecting network element index data
CN106792653B (en) Communication number information processing method, device and system
EP3474142A1 (en) System and method for cognitive troubleshooting assistance
CN113625683B (en) Vehicle diagnosis method, vehicle diagnosis device, electronic device, and storage medium
CN113360519B (en) Data processing method, device, equipment and storage medium
CN113360521A (en) Log query method, device, equipment and storage medium
CN111753070A (en) System and method for processing server monitoring log
CN113094166B (en) Link tracking method, device, medium and computing equipment
CN113761016A (en) Data query method, device, equipment and storage medium
CN112564935A (en) Interface information acquisition method, network management system and storage medium
CN105446707B (en) Data conversion method
CN114422555B (en) CIM platform based method for self-defined configuration of IoT data analysis
CN115617623A (en) Performance index data visualization method and device, electronic equipment and storage medium
CN107870917B (en) Data transformation and inverse transformation method for transmission network management system and standardization system
CN112052254B (en) Data encapsulation method, electronic device and storage medium
CN115145582A (en) Application packaging method, server, electronic device and storage medium
CN110740046B (en) Method and device for analyzing service contract
CN107888415B (en) Network management system data maintenance method
KR20220010294A (en) Rule-based OPC UA Node Generation System and Method
US20200097492A1 (en) System and method of creating index
CN110830912A (en) Method, device, equipment and storage medium for extracting base station position information
CN110175256A (en) A kind of image data retrieval method, apparatus, equipment and storage medium

Legal Events

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