CN110224874A - A kind of processing method and processing device of equipment fault - Google Patents

A kind of processing method and processing device of equipment fault Download PDF

Info

Publication number
CN110224874A
CN110224874A CN201910565044.1A CN201910565044A CN110224874A CN 110224874 A CN110224874 A CN 110224874A CN 201910565044 A CN201910565044 A CN 201910565044A CN 110224874 A CN110224874 A CN 110224874A
Authority
CN
China
Prior art keywords
failure
equipment
target
configuration file
target component
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910565044.1A
Other languages
Chinese (zh)
Other versions
CN110224874B (en
Inventor
赵春伟
李涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Apas Technology Co Ltd
Original Assignee
Zhengzhou Apas Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Apas Technology Co Ltd filed Critical Zhengzhou Apas Technology Co Ltd
Priority to CN201910565044.1A priority Critical patent/CN110224874B/en
Publication of CN110224874A publication Critical patent/CN110224874A/en
Application granted granted Critical
Publication of CN110224874B publication Critical patent/CN110224874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The embodiment of the present application provides a kind of processing method and processing device of equipment fault, belongs to network-control field.Method part includes: to extract the correspondence configuration file of each equipment to be parsed respectively, obtains the corresponding parameter attribute of equipment;The parameter attribute is polymerize by fault type respectively, forms failure modes;The failure modes and the parameter attribute are associated storage, carry out universal formulation for the failure to equipment;Each equipment is monitored in real time, once detecting target faults, then obtains corresponding target component by failure modes belonging to the target faults;Trouble Report is generated according to the target component and is sent.The application can in time analyze the corresponding log information of failure, improve the treatment effeciency of equipment in network failure.

Description

A kind of processing method and processing device of equipment fault
Technical field
This application involves field of computer technology, more particularly to the processing method and processing device of equipment fault.
Background technique
Network failure frequent occurrence, when an error occurs, if orient not in time the network equipment to break down or Link is simultaneously handled, which may diffuse to whole network, i.e. generation network oscillation.Network oscillation can cause the whole network paralysis and Service disconnection.For example, it is assumed that clock failure occurs for certain routing device, cause the system time of the routing device than its in network Fast hundreds times of the system time of its routing device, other routing devices that can cause whole network in this way, which are deleted and generated repeatedly, to be somebody's turn to do The corresponding list item of routing device, seriously consumes the resource of other routing devices, when the resource of other routing devices is depleted, The whole network paralysis and the whole network service disconnection can be caused.
Previous equipment generally requires manually to carry out failure existing for inspection or manual operation ability discovering device system, but It was found that the process of failure is often not prompt enough accurate, and needs manually to extract a large amount of logs from system after discovery failure and divided Analysis, can just navigate to be which hardware failure, reduce the efficiency of plant maintenance.In addition, with the number of devices in network, And equipment corresponds to being increasing for manufacturer, and order and index provided by each manufacturer are different this have greatly Ground improves the complexity of maintenance.
Summary of the invention
The purpose of the embodiment of the present application is to provide a kind of processing method and processing device of equipment fault, right in a network to realize The problem of all types of equipment carry out failure modes and monitoring, improve troubleshooting efficiency.
In order to solve the above technical problems, the embodiment of the present application is achieved in that
According to the embodiment of the present application in a first aspect, providing a kind of processing method of equipment fault, which comprises
The correspondence configuration file for extracting each equipment is parsed respectively, obtains the corresponding parameter attribute of equipment;
The parameter attribute is polymerize by fault type respectively, forms failure modes;The failure modes with it is described Parameter attribute is associated storage, carries out universal formulation for the failure to equipment;
Each equipment is monitored in real time, once target faults are detected, then by failure belonging to the target faults point Class obtains corresponding target component;
Trouble Report is generated according to the target component and is sent.
In one embodiment of the application, the configuration file corresponds to producer according to each equipment and extracts respectively, then extracts each When the correspondence configuration file of equipment is parsed respectively,
The content of text in the configuration file is segmented by the corresponding types of producer and the equipment respectively;
By resulting each Feature Words are segmented, corresponding position and paragraph marks are integrated in the configuration file respectively, Obtain the corresponding object format of the configuration file;
The configuration file is parsed respectively according to the object format, the parameter attribute is obtained and failure is crucial The corresponding relationship of word.
It is described when being polymerize the parameter attribute by fault type respectively in one embodiment of the application,
It extracts the failure keyword to be matched with set fault type, obtains the mapping relations;
The corresponding relationship for extracting the mapping relations and the parameter attribute and failure keyword respectively, by the failure classes Type is polymerize, and the corresponding parameter attribute of the failure modes is obtained.
In one embodiment of the application, when the extraction failure keyword is matched with set fault type,
Set near synonym library is called, the corresponding near synonym of the failure keyword are extracted;
The near synonym are matched with the corresponding title of the fault type, to improve of the failure keyword With rate.
It is described to obtain corresponding target component by failure modes belonging to the target faults in one embodiment of the application When,
Corresponding target device is positioned according to the target faults;
Corresponding target component is called according to the failure modes in the target device;
Corresponding operational order is triggered respectively according to the target component, and it is corresponding to obtain the target component respectively Parameter value.
In one embodiment of the application, it is described according to the target component generate Trouble Report when,
The target component is associated together with corresponding parameter value, forms corresponding log information, to generate institute State the corresponding Trouble Report of target faults;
The Trouble Report is sent to the manufacturer of the target device.
According to the second aspect of the embodiment of the present application, a kind of processing unit of equipment fault is provided, described device includes:
Parsing module, the correspondence configuration file for extracting each equipment are parsed respectively, and it is corresponding to obtain equipment Parameter attribute;
Cluster module forms failure modes for the parameter attribute to be polymerize by fault type respectively;The event Barrier classification is associated storage with the parameter attribute, carries out universal formulation for the failure to equipment;
Monitoring modular once detecting target faults, then presses the target faults for being monitored in real time to each equipment Affiliated failure modes obtain corresponding target component;
Sending module, for generating Trouble Report according to the target component and being sent.
In one embodiment of the application, the parsing module is specifically included:
Participle unit, for pressing the corresponding types of producer and the equipment respectively to the content of text in the configuration file It is segmented;
Integral unit segments resulting each Feature Words corresponding position and paragraph in the configuration file respectively for pressing Label is integrated, and the corresponding object format of the configuration file is obtained;
Resolution unit obtains the parameter for parsing respectively to the configuration file according to the object format The corresponding relationship of attribute and failure keyword.
In one embodiment of the application, the cluster module is specifically included,
Matching unit is matched with set fault type for extracting the failure keyword, obtains the mapping Relationship;
Polymerized unit is closed for extracting the mapping relations and the parameter attribute and the corresponding of failure keyword respectively System, is polymerize by the fault type, obtains the corresponding parameter attribute of the failure modes.
In one embodiment of the application, in the matching unit, specifically include:
Extracting sub-module extracts the corresponding near synonym of the failure keyword for calling set near synonym library;
Matched sub-block, for matching the near synonym with the corresponding title of the fault type, to improve State the matching rate of failure keyword.
In one embodiment of the application, in the monitoring modular, specifically include:
Positioning unit, for positioning corresponding target device according to the target faults;
Call unit, for calling corresponding target component according to the failure modes in the target device;
Trigger unit obtains the target for triggering corresponding operational order respectively according to the target component respectively The corresponding parameter value of parameter.
In one embodiment of the application, in the sending module, specifically include:
Associative cell forms corresponding log letter for the target component to be associated together with corresponding parameter value Breath, to generate the corresponding Trouble Report of the target faults;
Output unit, for the Trouble Report to be sent to the manufacturer of the target device.
As can be seen from the technical scheme provided by the above embodiments of the present application, the embodiment of the present application extracts the corresponding configuration of each equipment File is parsed respectively, obtains the corresponding parameter attribute of equipment;The parameter attribute is pressed fault type respectively to carry out Polymerization forms failure modes;Each equipment is monitored in real time, once detecting target faults, then presses the target faults institute The failure modes of category obtain corresponding target component;Trouble Report is generated according to the target component and is sent.The application After being parsed, integrated by the configuration file to each equipment, being matched, each parameter attribute is cached by fault type, is supervised Measure target faults it is matched after the corresponding parameter acquisition instruction of triggering, obtain corresponding parameter attribute to generate Trouble Report, And it is sent to corresponding device manufacturer or operation maintenance personnel, to be analyzed in time the corresponding log information of failure, improve The treatment effeciency of equipment in network failure.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in specification, for those of ordinary skill in the art, before not making the creative labor property It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the flow chart of the processing method of the equipment fault of one embodiment of the application;
Fig. 2 is that the equipment in network troubleshooting of one embodiment of the application corresponds to the structural schematic diagram of electronic equipment;
Fig. 3 is the structural schematic diagram of the processing unit of the equipment fault of one embodiment of the application.
Specific embodiment
In order to make those skilled in the art more fully understand the technical solution in this specification, below in conjunction with the application Attached drawing in embodiment, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described reality Applying example is only this specification a part of the embodiment, instead of all the embodiments.The embodiment of base in this manual, ability Domain those of ordinary skill every other embodiment obtained without making creative work, all should belong to this theory The range of bright book protection.
The embodiment of the present application provides a kind of processing method and processing device of equipment fault.
A kind of processing method of equipment fault provided by the embodiments of the present application is introduced first below.
Inspection, each equipment in periodic analysis network are carried out often through artificial mode to the equipment fault in network at present Corresponding running log judges the corresponding working condition of each equipment, once discovery network breaks down, then needs one by one to respectively setting It is standby to be checked, the target device to break down is determined, under efficiency is very low.Some log analysis tools are also to acquire each manufacturer The corresponding log of equipment, and alarm after carrying out the filtering of parameter attribute, then analyzed by operation maintenance personnel, because of setting in network Standby from different vendor, then operation maintenance personnel needs to be familiar with the equipment of different vendor, and operation maintenance personnel carries out log analysis to log It is handled again afterwards, efficiency is also more low.
In the present embodiment, collect the corresponding configuration file of each vendor equipment first, to the configuration file of each manufacturer respectively into Row analysis, i.e., parse the corresponding configuration file of each equipment, the parameter category for obtaining parsing by the fault type of each equipment Property carry out unified polymerization, integrate the corresponding fault type of each equipment with the mode of semantic analysis;After monitoring target faults The matching of fault type is carried out, determines the abnormal corresponding target faults of parameter attribute, determines mesh in such a way that data are analyzed The corresponding fault type of failure is marked, by the fault type invocation target parameter after matching, and corresponding report is generated and is sent to factory Quotient or operation maintenance personnel, are promptly handled convenient for operation maintenance personnel or manufacturer, and operation maintenance personnel is without being familiar with setting for each manufacturer Standby parameter, improves the treatment effeciency of information, simplifies the plant maintenance work in network.
Fig. 1 is the flow chart of the processing method of the equipment fault of one embodiment of the application, as shown in Figure 1, this method It may comprise steps of:
In a step 101, the correspondence configuration file for extracting each equipment is parsed respectively, obtains the corresponding ginseng of equipment Number attribute.
In the present embodiment, the equipment of each manufacturer is managed concentratedly in a manner of information extraction, passes through special interface point The corresponding configuration file of each equipment is indescribably taken, and configuration file is parsed after reading the format of configuration file, is parsed The parameter attribute obtained afterwards.
When the equipment of You Xin manufacturer accesses in network, corresponding configuration file equally is read by set data-interface It is parsed, obtains the corresponding parameter attribute of new equipment.
In the present embodiment, when configuration file is equipment corresponding failure handbook, can parse configuration file obtain it is corresponding Parameter attribute is as follows in detail:
Step a: the content of text in the configuration file is divided by the corresponding types of producer and the equipment respectively Word;
The corresponding text structure of analysis configuration file, segments the content of text in configuration file, i.e., respectively with section, Row, separator be unit configuration file is split, obtain corresponding participial construction, while removing corresponding function word, as a, The etc., is screened in conjunction with word frequency, obtains corresponding Feature Words after removing general term.
Step b: by segment resulting each Feature Words respectively in the configuration file corresponding position and paragraph marks into Row integration, obtains the corresponding object format of the configuration file;
Be out of order corresponding keyword and the corresponding keyword of parameter attribute are extracted from Feature Words, count these passes respectively The paragraph of position and place of the keyword in configuration file, to fit record failure keyword and ginseng in configuration documentation The relative position of number attribute obtains the corresponding object format of configuration file.
Step c: respectively parsing the configuration file according to the object format, obtains the parameter attribute and event Hinder the corresponding relationship of keyword.
According to target format parses configuration file, obtains the corresponding relationship of failure keyword and parameter attribute, then table Show once some failure occurs for equipment, then obtains corresponding parameter attribute and judged, to realize quickly to fault parameter It is called.
Step 102: the parameter attribute being polymerize by fault type respectively, forms failure modes;The failure point Class and the parameter attribute are associated storage, carry out universal formulation for the failure to equipment;
Specifically, parameter attribute is polymerize by fault type, comprising the following steps:
Step A: it extracts the failure keyword and is matched with set fault type, obtain the mapping relations;
, may be different for the describing mode of same failure because the document description of each manufacturer has differences, therefore need to be by step Failure keyword in rapid 101 is matched with set fault type, to keep the consistency of fault type, obtains failure classes The mapping relations of type and failure keyword.Near synonym dictionary is called simultaneously, the corresponding near synonym of failure keyword is extracted, together with event Barrier keyword is matched with the title of the fault type together, to improve the matching rate of the failure keyword, thus most Big degree has recalled the part of the description failure in configuration documentation.
Step B: extracting the corresponding relationship of the mapping relations and the parameter attribute and failure keyword respectively, by described Fault type is polymerize, and the corresponding parameter attribute of the failure modes is obtained.
According to the mapping relations of the fault type and failure keyword and the parameter attribute and failure keyword Corresponding relationship is associated matching, is polymerize as unit of fault type, and the corresponding parameter category of the failure modes is obtained Property.
In the present embodiment, the failure modes be used for equipment fault carry out universal formulation, and with through integration processing ginseng Number attribute is associated storage.The corresponding parameter attribute of failure modes is cached, caching to control terminal, once there is new equipment Access network, then the configuration file of new equipment can be parsed again, by obtained parameter attribute with cached < parameter category Property, failure modes > mapping relations carry out classification division, so that the equipment newly accessed to be integrated into the troubleshooting of the present embodiment In system.
Step 103: each equipment is monitored in real time, once target faults are detected, then by belonging to the target faults Failure modes obtain corresponding target component;
In the present embodiment, when obtaining corresponding target component by failure modes belonging to the target faults,
Step a): corresponding target device is positioned according to the target faults;
The corresponding working condition of each equipment in network is monitored in real time, once monitor that certain node is corresponding in network Certain index output abnormality, be more than or less than normal operation threshold, then detect target faults, target faults are positioned pair The node (server, gateway, router etc.) answered then is corresponding target device, and target device is corresponded to output failure title It is analyzed for operation maintenance personnel.
In the present embodiment, the target device is one or more, but when target device is multiple, often because of one The failure of equipment affects the working condition of whole link, therefore when target device is multiple, he it is analyzed according to data flow, The equipment of upstream will be located in link as target device.
In other embodiments, if target device is not configured to export the function of failure title, according to target device Correspondence log analyzed, acquisition target device is corresponding to there is abnormal parameter attribute, according to these abnormal parameter attributes The failure modes cached with control terminal in step 102 are matched with the incidence relation of parameter attribute, determine affiliated failure point Class.It if matching result has multiple failure modes, is then ranked up by matching rate, it is highest as target device to choose matching rate Failure modes.
Step b): corresponding target component is called according to the failure modes in the target device;
After determining target device, then the corresponding failure point of target faults is determined according to the target faults that target device exports Class determines that the corresponding target of the failure modes is joined according to failure modes and the incidence relation of parameter attribute of control terminal caching Number.
There are target faults because abnormal parameter attribute has been monitored during real-time monitoring, therefore the target Parameter further includes other parameter attributes to be monitored, these are to be monitored other than the abnormal parameter attribute of the appearance monitored Parameter attribute needs are obtained according to trigger command, to analyze the working condition of target device.
Step c): corresponding operational order is triggered according to the target component respectively, it is each to obtain the target component respectively Self-corresponding parameter value.
Target component corresponding to target faults is obtained, in the present embodiment, the target device for generating failure is extracted, described The corresponding operational order of the target component is triggered in target device respectively, extraction operation instructs corresponding output, and then obtains The corresponding parameter value of corresponding target component, obtains the corresponding parameter state of the target device to break down, with this so as to subsequent Target component and corresponding parameter value are respectively written into Trouble Report.
Step 104: Trouble Report being generated according to the target component and is sent.
In the present embodiment, the target component and the corresponding parameter value of target component are extracted, and by target component and parameter Duplicate removal is carried out after value association, after proposing duplicate target component and corresponding parameter, is written in the form of set table respectively Document template forms Trouble Report, to accurately reflect log information of the target device in the state of target faults.
After generating Trouble Report, Trouble Report is sent to the corresponding producer of target device or the mailbox of administrator, just While target device carries out fault alarm, it is corresponding also target device will to be sent to the corresponding relevant target component of target faults Producer perhaps administrator makes the corresponding producer of target device or administrator not have to separately to run relevant operation one by one and refer to It enables, checks relevant parameter, directly can quickly be analyzed according to whole target components of the target faults of output, and then carry out mesh The repair for marking failure, improves the efficiency of plant maintenance, reduces the complexity of plant maintenance.
The correspondence configuration file that the embodiment of the present application extracts each equipment is parsed respectively, obtains the corresponding ginseng of equipment Number attribute;The parameter attribute is polymerize by fault type respectively, forms failure modes;Each equipment is supervised in real time It surveys, once detecting target faults, then obtains corresponding target component by failure modes belonging to the target faults;According to institute Target component is stated to generate Trouble Report and sent.The application parsed by the configuration file to each equipment, integrated, After matching, each parameter attribute is cached by fault type, monitors to trigger corresponding parameter acquisition after target faults are matched Instruction, obtains corresponding parameter attribute to generate Trouble Report, and be sent to corresponding device manufacturer or operation maintenance personnel, thus and When the corresponding log information of failure is analyzed, improve the treatment effeciency of equipment in network failure.
In another embodiment, when handling the equipment fault in network,
Step 201: the correspondence configuration file for extracting each equipment is parsed respectively, obtains the corresponding parameter category of equipment Property;
Since the equipment of each manufacturer is different, also respectively there is difference to information collection mode provided by system application layer It is different, in the present embodiment, it is necessary first to provided by each manufacturer order or interface be packaged, and packaged type need to have compared with Strong versatility can solve in this way when there is the addition of new vendor server, can equally be packaged, thus with existing in network Some hardware compatibilities.
In the present embodiment, checks that the order of Raid card and disk state is MegaCli provided by Dell manufacturer, then pass through Monitor control index is taken out in this order, and implementation is to be parsed with program, configuration file example is as follows using this as configuration item:
In the present embodiment, configuration file indicates the parameter attribute of equipment by param, health_check, expect etc., It can be obtained by parsing.
Step 202: the parameter attribute being polymerize by fault type respectively, forms failure modes;The failure point Class and the parameter attribute are associated storage, carry out universal formulation for the failure to equipment;
The correlation for extracting param, health_check, expect and corresponding parameter value " block ", " count " etc. is close Adopted word is analyzed, and the failure modes for indicating disk failures is formed, with the correspondence equipment of the more producers of compatibility, and then to each equipment Failure be uniformly processed.
Step 203: each equipment is monitored in real time, once target faults are detected, then by belonging to the target faults Failure modes obtain corresponding target component;
The working condition of each equipment in real time monitoring network, in the present embodiment, if monitoring the corresponding disk of certain equipment Read-write error occurs, then obtains corresponding type of error, that is, call "-PDList-aALL-NoLog | grep-i error " order Obtain corresponding target component ' Media Error Count:'.
Step 204: Trouble Report being generated according to the target component and is sent.
Will acquire ' Media Error Count:' and corresponding parameter value and threshold value " 40 " generate Trouble Report simultaneously It is sent to operation maintenance personnel, is judged convenient for operation maintenance personnel, is then the read-write of disk if parameter value, that is, disk bad track is greater than 40 Mistake, it is on the contrary then be other mistakes, other instructions need to be run in target device and are checked.
In another alternative embodiment, when handling equipment fault:
Fig. 2 is the structural schematic diagram of the electronic equipment of one embodiment of the application.In hardware view, the electronic equipment packet Processor is included, optionally further comprising internal bus, network interface, memory.Wherein, memory may include memory, such as high Fast random access memory (Random-Access Memory, RAM), it is also possible to further include nonvolatile memory (non- Volatile memory), for example, at least 1 magnetic disk storage etc..Certainly, which is also possible that other business institutes The hardware needed.
Processor, network interface and memory can be connected with each other by internal bus, which can be ISA (Industry Standard Architecture, industry standard architecture) bus, PCI (Peripheral Component Interconnect, Peripheral Component Interconnect standard) bus or EISA (Extended Industry Standard Architecture, expanding the industrial standard structure) bus etc..The bus can be divided into address bus, data/address bus, control always Line etc..Only to be indicated with a four-headed arrow in Fig. 2, it is not intended that an only bus or a type of convenient for indicating Bus.
Memory, for storing program.Specifically, program may include program code, and said program code includes calculating Machine operational order.Memory may include memory and nonvolatile memory, and provide instruction and data to processor.
Processor is from the then operation into memory of corresponding computer program is read in nonvolatile memory, in logical layer The processing unit of equipment fault is formed on face.Processor executes the program that memory is stored, and is specifically used for executing following behaviour Make:
The correspondence configuration file for extracting each equipment is parsed respectively, obtains the corresponding parameter attribute of equipment;
The parameter attribute is polymerize by fault type respectively, forms failure modes;The failure modes with it is described Parameter attribute is associated storage, carries out universal formulation for the failure to equipment;
Each equipment is monitored in real time, once target faults are detected, then by failure belonging to the target faults point Class obtains corresponding target component;
Trouble Report is generated according to the target component and is sent.
The processing method of equipment fault disclosed in the above-mentioned embodiment illustrated in fig. 2 such as the application can be applied in processor, Or it is realized by processor.Processor may be a kind of IC chip, the processing capacity with signal.In the process of realization In, each step of the above method can be complete by the integrated logic circuit of the hardware in processor or the instruction of software form At.Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), Network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processor, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing Field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.It may be implemented or execute and is in the embodiment of the present application disclosed each Method, step and logic diagram.General processor can be microprocessor or the processor is also possible to any conventional place Manage device etc..The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware decoding processor and execute At, or in decoding processor hardware and software module combination execute completion.Software module can be located at random access memory, This fields such as flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register maturation In storage medium.The storage medium is located at memory, and processor reads the information in memory, completes above-mentioned side in conjunction with its hardware The step of method.
The method that the electronic equipment can also carry out Fig. 1, and realize the processing unit of equipment fault embodiment shown in Fig. 1 Function, details are not described herein for the embodiment of the present application.
Certainly, other than software realization mode, other implementations are not precluded in the electronic equipment of this specification, such as Logical device or the mode of software and hardware combining etc., that is to say, that the executing subject of following process flow is not limited to each Logic unit is also possible to hardware or logical device.
Fig. 3 is the structural schematic diagram of the processing unit of the equipment fault of one embodiment of the application.Referring to FIG. 3, In a kind of Software Implementation, the processing unit 300 of the equipment fault in picture may include: parsing module 301, cluster mould Block 302, monitoring modular 303 and sending module 304, wherein
Parsing module 301, the correspondence configuration file for extracting each equipment are parsed respectively, obtain equipment and respectively correspond Parameter attribute;
Cluster module 302 forms failure modes for the parameter attribute to be polymerize by fault type respectively;Institute It states failure modes and the parameter attribute is associated storage, carry out universal formulation for the failure to equipment;;
Monitoring modular 303 once detecting target faults, then presses the target for being monitored in real time to each equipment Failure modes belonging to failure obtain corresponding target component;
Sending module 304, for generating Trouble Report according to the target component and being sent.
The parsing module 301, specifically includes:
Participle unit, for pressing the corresponding types of producer and the equipment respectively to the content of text in the configuration file It is segmented;
Integral unit segments resulting each Feature Words corresponding position and paragraph in the configuration file respectively for pressing Label is integrated, and the corresponding object format of the configuration file is obtained;
Resolution unit obtains the parameter for parsing respectively to the configuration file according to the object format The corresponding relationship of attribute and failure keyword.
The cluster module 302, specifically includes,
Matching unit is matched with set fault type for extracting the failure keyword, obtains the mapping Relationship;
Polymerized unit is closed for extracting the mapping relations and the parameter attribute and the corresponding of failure keyword respectively System, is polymerize by the fault type, obtains the corresponding parameter attribute of the failure modes.
In the matching unit, specifically include:
Extracting sub-module extracts the corresponding near synonym of the failure keyword for calling set near synonym library;
Matched sub-block, for matching the near synonym with the corresponding title of the fault type, to improve State the matching rate of failure keyword.
In the monitoring modular 303, specifically include:
Positioning unit, for positioning corresponding target device according to the target faults;
Call unit, for calling corresponding target component according to the failure modes in the target device;
Trigger unit obtains the target for triggering corresponding operational order respectively according to the target component respectively The corresponding parameter value of parameter.
In the sending module 304, specifically include:
Associative cell forms corresponding log letter for the target component to be associated together with corresponding parameter value Breath, to generate the corresponding Trouble Report of the target faults;
Output unit, for the Trouble Report to be sent to the manufacturer of the target device.
In short, being not intended to limit the protection of this specification the foregoing is merely the preferred embodiment of this specification Range.For all spirit in this specification within principle, any modification, equivalent replacement, improvement and so on should be included in this Within the protection scope of specification.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.It is a kind of typically to realize that equipment is computer.Specifically, computer for example may be used Think personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play It is any in device, navigation equipment, electronic mail equipment, game console, tablet computer, wearable device or these equipment The combination of equipment.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for system reality For applying example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to embodiment of the method Part explanation.

Claims (12)

1. a kind of processing method of equipment fault, which is characterized in that the described method includes:
The correspondence configuration file for extracting each equipment is parsed respectively, obtains the corresponding parameter attribute of equipment;
The parameter attribute is polymerize by fault type respectively, forms failure modes;The failure modes and the parameter Attribute is associated storage, carries out universal formulation for the failure to equipment;
Each equipment is monitored in real time, once detecting target faults, is then obtained by failure modes belonging to the target faults Take corresponding target component;
Trouble Report is generated according to the target component and is sent.
2. the method according to claim 1, wherein the configuration file according to each equipment correspond to producer respectively into Row extracts, then when extracting the correspondence configuration file of each equipment and being parsed respectively,
The content of text in the configuration file is segmented by the corresponding types of producer and the equipment respectively;
By resulting each Feature Words are segmented, corresponding position and paragraph marks are integrated in the configuration file respectively, are obtained The corresponding object format of configuration file;
The configuration file is parsed respectively according to the object format, obtains the parameter attribute and failure keyword Corresponding relationship.
3. method according to claim 1 or 2, which is characterized in that described that the parameter attribute is pressed fault type respectively When being polymerize,
It extracts the failure keyword to be matched with set fault type, obtains the mapping relations;
The corresponding relationship for extracting the mapping relations and the parameter attribute and failure keyword respectively, by the fault type into Row polymerization, obtains the corresponding parameter attribute of the failure modes.
4. according to the method described in claim 3, it is characterized in that, described extract the failure keyword and set failure classes When type is matched,
Set near synonym library is called, the corresponding near synonym of the failure keyword are extracted;
The near synonym are matched with the corresponding title of the fault type, to improve the matching of the failure keyword Rate.
5. the method according to claim 1, wherein including: described by failure belonging to the target faults point When class obtains corresponding target component,
Corresponding target device is positioned according to the target faults;
Corresponding target component is called according to the failure modes in the target device;
Corresponding operational order is triggered respectively according to the target component, obtains the corresponding parameter of the target component respectively Value.
6. according to the method described in claim 5, it is characterized in that, it is described according to the target component generate Trouble Report when,
The target component is associated together with corresponding parameter value, forms corresponding log information, to generate the mesh Mark the corresponding Trouble Report of failure;
The Trouble Report is sent to the manufacturer of the target device.
7. a kind of processing unit of equipment fault, which is characterized in that described device includes:
Parsing module, the correspondence configuration file for extracting each equipment are parsed respectively, obtain the corresponding parameter of equipment Attribute;
Cluster module forms failure modes for the parameter attribute to be polymerize by fault type respectively;The failure point Class and the parameter attribute are associated storage, carry out universal formulation for the failure to equipment;
Monitoring modular, for being monitored in real time to each equipment, once target faults are detected, then by belonging to the target faults Failure modes obtain corresponding target component;
Sending module, for generating Trouble Report according to the target component and being sent.
8. device according to claim 7, which is characterized in that the parsing module specifically includes:
Participle unit, the corresponding types for pressing producer and the equipment respectively carry out the content of text in the configuration file Participle;
Integral unit segments resulting each Feature Words corresponding position and paragraph marks in the configuration file respectively for pressing It is integrated, obtains the corresponding object format of the configuration file;
Resolution unit obtains the parameter attribute for parsing respectively to the configuration file according to the object format With the corresponding relationship of failure keyword.
9. device according to claim 7 or 8, which is characterized in that the cluster module specifically includes,
Matching unit is matched with set fault type for extracting the failure keyword, obtains the mapping relations;
Polymerized unit is pressed for extracting the corresponding relationship of the mapping relations and the parameter attribute and failure keyword respectively The fault type is polymerize, and the corresponding parameter attribute of the failure modes is obtained.
10. device according to claim 9, which is characterized in that in the matching unit, specifically include:
Extracting sub-module extracts the corresponding near synonym of the failure keyword for calling set near synonym library;
Matched sub-block, for matching the near synonym with the corresponding title of the fault type, to improve the event Hinder the matching rate of keyword.
11. device according to claim 7, which is characterized in that in the monitoring modular, specifically include:
Positioning unit, for positioning corresponding target device according to the target faults;
Call unit, for calling corresponding target component according to the failure modes in the target device;
Trigger unit obtains the target component for triggering corresponding operational order respectively according to the target component respectively Corresponding parameter value.
12. device according to claim 11, which is characterized in that in the sending module, specifically include:
Associative cell forms corresponding log information for the target component to be associated together with corresponding parameter value, from And generate the corresponding Trouble Report of the target faults;
Output unit, for the Trouble Report to be sent to the manufacturer of the target device.
CN201910565044.1A 2019-06-27 2019-06-27 Equipment fault processing method and device Active CN110224874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910565044.1A CN110224874B (en) 2019-06-27 2019-06-27 Equipment fault processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910565044.1A CN110224874B (en) 2019-06-27 2019-06-27 Equipment fault processing method and device

Publications (2)

Publication Number Publication Date
CN110224874A true CN110224874A (en) 2019-09-10
CN110224874B CN110224874B (en) 2023-04-07

Family

ID=67814962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910565044.1A Active CN110224874B (en) 2019-06-27 2019-06-27 Equipment fault processing method and device

Country Status (1)

Country Link
CN (1) CN110224874B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855503A (en) * 2019-11-22 2020-02-28 叶晓斌 Fault cause determining method and system based on network protocol hierarchy dependency relationship
CN111694686A (en) * 2020-06-03 2020-09-22 北京百度网讯科技有限公司 Abnormal service processing method and device, electronic equipment and storage medium
CN112134356A (en) * 2020-02-11 2020-12-25 吴龙圣 Smart power grid fault monitoring method and system based on big data analysis
CN112148733A (en) * 2020-09-15 2020-12-29 珠海格力电器股份有限公司 Method, device, electronic device and computer readable medium for determining fault type
CN112241163A (en) * 2020-10-28 2021-01-19 广州极飞科技有限公司 Unmanned aerial vehicle fault processing method, device, equipment and storage medium
CN112818008A (en) * 2021-01-21 2021-05-18 中广核工程有限公司 Intelligent diagnosis method, system, medium and electronic equipment for nuclear power debugging faults
CN114630352A (en) * 2020-12-11 2022-06-14 中国移动通信集团湖南有限公司 Fault monitoring method and device of access equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160116377A1 (en) * 2014-10-23 2016-04-28 Fuji Xerox Co., Ltd. Failure prediction apparatus and failure prediction system
CN109376873A (en) * 2018-09-11 2019-02-22 平安科技(深圳)有限公司 O&M method, apparatus, electronic equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160116377A1 (en) * 2014-10-23 2016-04-28 Fuji Xerox Co., Ltd. Failure prediction apparatus and failure prediction system
CN109376873A (en) * 2018-09-11 2019-02-22 平安科技(深圳)有限公司 O&M method, apparatus, electronic equipment and computer readable storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110855503A (en) * 2019-11-22 2020-02-28 叶晓斌 Fault cause determining method and system based on network protocol hierarchy dependency relationship
CN112134356A (en) * 2020-02-11 2020-12-25 吴龙圣 Smart power grid fault monitoring method and system based on big data analysis
CN112165161A (en) * 2020-02-11 2021-01-01 吴龙圣 Intelligent power grid monitoring method and system based on Internet of things
CN111694686A (en) * 2020-06-03 2020-09-22 北京百度网讯科技有限公司 Abnormal service processing method and device, electronic equipment and storage medium
CN111694686B (en) * 2020-06-03 2023-08-04 北京百度网讯科技有限公司 Processing method and device for abnormal service, electronic equipment and storage medium
CN112148733A (en) * 2020-09-15 2020-12-29 珠海格力电器股份有限公司 Method, device, electronic device and computer readable medium for determining fault type
CN112241163A (en) * 2020-10-28 2021-01-19 广州极飞科技有限公司 Unmanned aerial vehicle fault processing method, device, equipment and storage medium
CN114630352A (en) * 2020-12-11 2022-06-14 中国移动通信集团湖南有限公司 Fault monitoring method and device of access equipment
CN114630352B (en) * 2020-12-11 2023-08-15 中国移动通信集团湖南有限公司 Fault monitoring method and device for access equipment
CN112818008A (en) * 2021-01-21 2021-05-18 中广核工程有限公司 Intelligent diagnosis method, system, medium and electronic equipment for nuclear power debugging faults

Also Published As

Publication number Publication date
CN110224874B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN110224874A (en) A kind of processing method and processing device of equipment fault
US11153144B2 (en) System and method of automated fault correction in a network environment
CN106201886A (en) The Proxy Method of the checking of a kind of real time data task and device
CN111881011A (en) Log management method, platform, server and storage medium
CN109495291B (en) Calling abnormity positioning method and device and server
CN110083581B (en) Log tracing method and device, storage medium and computer equipment
CN105630656A (en) Log model based system robustness analysis method and apparatus
CN105677567A (en) Automation testing method and system
CN106021054A (en) Method and apparatus for testing upgrading and downgrading stability of BMC
CN103873298A (en) Configurable method for automatically monitoring data quality of maintenance-center OMC (Operation and Maintenance Center) northbound interfaces
CN105184156A (en) Security threat management method and system
CN105468511A (en) Web page script error positioning method and apparatus
CN111381989A (en) Microservice link generation method, microservice link generation device, server and storage medium
US11675647B2 (en) Determining root-cause of failures based on machine-generated textual data
CN105825641A (en) Service alarm method and apparatus
CN109189679A (en) Interface test method and system, electronic equipment, storage medium
CN104063308B (en) The verification method and device of data
WO2021106014A1 (en) System and method for anomaly detection and root cause automation using shrunk dynamic call graphs
CN109491882B (en) Case data processing method and system, equipment case and readable storage medium
CN116415851A (en) Intelligent identification and evaluation method for facility operation and maintenance performance indexes based on deep learning
CN112068979B (en) Service fault determination method and device
CN111694752B (en) Application testing method, electronic device and storage medium
CN111767213A (en) Method and device for testing database check points, electronic equipment and storage medium
CN110134559A (en) A kind of BMC fault detection method, system and associated component
CN113806196B (en) Root cause analysis method and system

Legal Events

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