CN109583726A - The method and system of characterization processes state - Google Patents

The method and system of characterization processes state Download PDF

Info

Publication number
CN109583726A
CN109583726A CN201811376140.3A CN201811376140A CN109583726A CN 109583726 A CN109583726 A CN 109583726A CN 201811376140 A CN201811376140 A CN 201811376140A CN 109583726 A CN109583726 A CN 109583726A
Authority
CN
China
Prior art keywords
technique
node
equipment
detected
state
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
CN201811376140.3A
Other languages
Chinese (zh)
Other versions
CN109583726B (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.)
Nanjing Xinlian Energy Cloud Services Co Ltd
Original Assignee
Nanjing Xinlian Energy Cloud Services 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 Nanjing Xinlian Energy Cloud Services Co Ltd filed Critical Nanjing Xinlian Energy Cloud Services Co Ltd
Priority to CN201811376140.3A priority Critical patent/CN109583726B/en
Publication of CN109583726A publication Critical patent/CN109583726A/en
Application granted granted Critical
Publication of CN109583726B publication Critical patent/CN109583726B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06313Resource planning in a project environment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0633Workflow analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • 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

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Educational Administration (AREA)
  • Game Theory and Decision Science (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biodiversity & Conservation Biology (AREA)
  • Manufacturing & Machinery (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of method and system of characterization processes state, this method comprises: obtaining the technique decision tree of technique to be detected, wherein technique decision tree is used to determine the logical relation in technique to be detected between each equipment;Detect the state of each equipment in technique to be detected;According to the logical relation in the state of each equipment and technique decision tree between each equipment, the state of technique to be detected is determined.The present invention can provide a kind of general state of the art detection scheme, may be implemented quickly and accurately to carry out automatic detection to complicated technology.

Description

The method and system of characterization processes state
Technical field
The present invention relates to industrial automatic monitoring field more particularly to a kind of method and system of characterization processes state.
Background technique
This part intends to provides background or context for the embodiment of the present invention stated in claims.Description herein Recognize it is the prior art not because not being included in this section.
As the development of industry 4.0 not only needs to acquire the state of each equipment in industrial automatic monitoring, it is also necessary to The production status in entire producing line or workshop is judged automatically according to each equipment operation condition.
For example, in the case where completing a job there are multiple stand-by equipments in production line, if only stand-by equipment In a unit exception, for entire producing line, working condition may be normal.When multiple equipment is same in production line When complete one work in the case where, as long as there is an equipment operation irregularity, will affect entire producing line.
Since actual producing line, the syntagmatic of workshop equipment can be more complicated, so needing a general shape State detection system automates to complete the automatic detection work of complexity to realize.
Summary of the invention
The embodiment of the present invention provides a kind of method of characterization processes state, to solve in the prior art without a kind of general State-detection scheme carrys out the problem of carrying out automatic detection to complicated technology, this method comprises: obtaining the technique of technique to be detected Decision tree, wherein technique decision tree is used to determine the logical relation in technique to be detected between each equipment;Detect work to be detected The state of each equipment in skill;According to the logical relation in the state of each equipment and technique decision tree between each equipment, Determine the state of technique to be detected.
The embodiment of the present invention also provides a kind of system of characterization processes state, to solve in the prior art without a kind of logical With state-detection scheme come the problem of carrying out automatic detection to complicated technology, which includes: data source management module, it is used for The device data of each equipment in technique to be detected is provided;Process management module is connect, for being based on data source management module The technique decision tree of technique to be detected determines the shape of technique to be detected according to the device data of equipment each in technique to be detected State, wherein technique decision tree is used to determine the logical relation in technique to be detected between each equipment.
The embodiment of the present invention also provides a kind of computer equipment, examines in the prior art without a kind of generic state to solve Survey scheme is come the problem of carrying out automatic detection to complicated technology, including memory, processor and storage are on a memory and can The computer program run on a processor, processor realize the side of above-mentioned characterization processes state when executing computer program Method.
The embodiment of the present invention also provides a kind of computer readable storage medium, to solve in the prior art without a kind of logical With state-detection scheme come the problem of carrying out automatic detection to complicated technology, computer-readable recording medium storage has in execution State the computer program of the method for characterization processes state.
In the embodiment of the present invention, determined in technique to be detected between each equipment by the technique decision tree of technique to be detected Logical relation, in detecting technique to be detected after the state of each equipment, according to the state of each equipment and to be detected Logical relation in technique between each equipment determines the state of technique to be detected.Through the embodiment of the present invention, based on containing The technique decision tree of logical relation detects the state of technique to be detected between equipment, provides a kind of general state of the art inspection Survey scheme may be implemented quickly and accurately to carry out automatic detection to complicated technology.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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 Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.In the accompanying drawings:
Fig. 1 is a kind of method flow diagram of the characterization processes state provided in the embodiment of the present invention;
Fig. 2 is a kind of technique decision tree schematic diagram provided in the embodiment of the present invention;
Fig. 3 is a kind of system schematic of the characterization processes state provided in the embodiment of the present invention.
Specific embodiment
Understand in order to make the object, technical scheme and advantages of the embodiment of the invention clearer, with reference to the accompanying drawing to this hair Bright embodiment is described in further details.Here, the illustrative embodiments of the present invention and their descriptions are used to explain the present invention, but simultaneously It is not as a limitation of the invention.
A kind of method of characterization processes state is provided in the embodiment of the present invention, Fig. 1 is to provide in the embodiment of the present invention A kind of method flow diagram of characterization processes state, as shown in Figure 1, this method comprises the following steps:
S101 obtains the technique decision tree of technique to be detected, wherein technique decision tree is each in technique to be detected for determining Logical relation between a equipment;
S102 detects the state of each equipment in technique to be detected;
S103, according to the logical relation in the state of each equipment and technique decision tree between each equipment, determine to The state of characterization processes.
Specifically, above-mentioned technique to be detected can be any one work for needing to be made of multiple equipment interconnected Set, for example, producing line, workshop etc. in factory;Technique decision tree can be the physics according to equipment each in technique to be detected The tree-shaped logical construction for being used to determine the logical relation between each equipment that connection relationship generates.It is determined by technique decision tree The logical relation of each equipment in technique to be detected, can according to real-time detection to technique to be detected in each equipment shape State determines the state of technique to be detected.
Since some equipment need to be completed at the same time a job in technique to be detected, in this case, any one The misoperation of equipment influences whether entire technique.But in some cases, often have for the equipment for completing some link Multiple stand-by equipments run if there is the unit exception of stand-by equipment in this case, then do not interfere with entire technique. Thus, one is generated for detecting work according to the logical relation between the information and equipment of all devices in technique to be detected The technique decision tree of skill state, the equipment state that can be quickly and accurately arrived according to real-time detection, determines the shape of technique to be detected State.
From the foregoing, it will be observed that determining the logic in technique to be detected between each equipment by the technique decision tree of technique to be detected Relationship, in detecting technique to be detected after the state of each equipment, according in the state of each equipment and technique to be detected Logical relation between each equipment determines the state of technique to be detected.Through the embodiment of the present invention, based on contain equipment it Between the technique decision tree of logical relation detect the state of technique to be detected, provide a kind of general state of the art detection side Case may be implemented quickly and accurately to carry out automatic detection to complicated technology.
It should be noted that technique decision tree can support that technique is nested when generating, i.e. may include below a technique Sub- technique, same sub- technique may belong to multiple father's techniques.Thus, as a kind of optional embodiment, before S101, on The method of stating can also include: the technique decision tree for generating technique to be detected, include following at least one node in technique decision tree: Device node, process node, equipment composite node, attribute node and attribute composite node, wherein device node indicates one and sets Standby object, process node indicate another technique object of technique reference to be detected, and equipment composite node is indicated by device object With the composite object of technique object composition, attribute node indicates that an attributes object, attribute composite node are indicated by multiple attributes The composite object of object composition.
Since the generation of technique decision tree needs to realize a Directory tree structure interface, therefore, it is possible to be added by dynamic The mode of supernumerary segment point constructs an artistic tree knot by way of constantly adding root node and adding child node to root node Structure.As an alternative embodiment, generating the technique decision tree of technique to be detected, it may include steps of: creation work At least one root node (directly node of the creation under technique, be not belonging to any father node) of skill decision tree, and be each Node adds corresponding parameter, wherein the type of root node includes following at least one: device node, process node, equipment are multiple Close node;The parameter of device node includes device identification, and the parameter of process node includes craft label, the ginseng of equipment composite node Number includes the physical couplings and logical relation of each child node under equipment composite node;Create the son section under each root node Point, wherein child node under device node is attribute node or attribute composite node, and without child node under attribute node, attribute is multiple Closing the child node under node is attribute composite node or attribute node;Without child node under process node;Under equipment composite node Child node is equipment composite node, device node or process node;The parameter of attribute composite node includes under attribute composite node The logical relation of each child node, the parameter of attribute node include attribute-bit and attribute normal interval.
As an alternative embodiment, can be given birth to by way of adding node by the U/I interfaces level-one level-one such as webpage It simultaneously include the physical connection mode and logical relation of all devices in technique at technique decision tree, in tree;Backstage receives biography The defeated logical relation to come generates a logical decision tree, determines the state of each equipment according to decision tree first, then basis Logical relation between the state and all devices of each equipment determines the state of entire technique.
For example, Fig. 2 is a kind of technique decision tree schematic diagram provided in the embodiment of the present invention, as shown in Fig. 2, technique 1 Node type in technique decision tree includes equipment composite node, device node, attribute composite node, attribute node, technique section Point may be constructed a logic tree by physical couplings between node and logical relation, wherein the root node of tree can be with It is device node, equipment complex node and process node, process node indicates the reference to another technique.It is multiple for equipment Device node, equipment composite node and process node may only be added as child node by closing node.Only for device node To add attribute composite node or attribute node as child node.Attribute node or category may only be added for attribute composite node Property composite node is as child node.Child node cannot be added below attribute node.
It also needs to fill in corresponding parameter respectively according to the type of node when creating each node, section compound for equipment Point needs to dose the physical connection mode and logical relation of following child node, needs to insert the unique of technique for process node Mark, needs to fill in the unique identification of equipment for device node, and attribute composite node is needed to add between following child node Logical relation, need to fill in the normal interval of attribute and the mark of attribute for attribute node.Level-one grade adds in this way Directory tree structure as follows can be generated after having added node.Serial/parallel indicates the physical connection side between child node in Fig. 2 Formula, at least n expression logical relation are only just indicating father node state just when the normal child node quantity of state is not less than n Often.
For example, the child node of " equipment composite node 1 " subsequent " parallel " expression " equipment composite node 1 " below in Fig. 2 Be between " equipment composite node 1.1 " and " device node 1 " it is parallel, due to " equipment composite node 1.1 " and " device node 1 " It is not the relationship of stand-by equipment, thus, " equipment composite node 1 " needs in the normal situation of at least two child status, should The state of " equipment composite node 1 " is just normal.And for child node " equipment composite node 1.1 ", since the child node " is set The following child node " equipment 2 " of standby composite node 1.1 " and " equipment 3 " are stand-by equipment relationships, thus, as long as have " equipment 2 " and " equipment 3 " as long as there is a node state normal in as soon as, then the state of child node " equipment composite node 1.1 " is normal.
It should be noted that the operation of equipment it is normal whether, often whether a certain item running parameter of the equipment In indication range, thus, as an alternative embodiment, detecting the state of each equipment in technique to be detected, specifically It may include: the device data for obtaining each equipment in technique to be detected, wherein comprising every in technique decision tree in device data The parameter information of each attribute node under a device node;According to the parameter information of attribute node each under each device node, Judge whether each attribute node normal and each attribute node between logical relation it is whether normal;According to judging result, Determine the state of each equipment in technique to be detected.
In order to make system have relatively high scalability and versatility, to different data sources (for example, the number of environmental protection equipment It is different data sources according to the database of library and power equipment) unified interface can be used, using the realization side of object-oriented Formula as long as adding a data source object when increasing a data, and realizes the unified interface of formulation in object, and system can All data sources to be uniformly processed.The addition of data source is realized by configuration file, using mybatis database frame Frame, as long as having configured the database linkage information and query interface of data source in the configuration file of mybatis, so that it may automatic Unified data source object is generated, is then added in data source control object and is managed collectively, when obtaining device data The interface provided by data source management module obtains data from corresponding data source.
Further, in the parameter information according to attribute node each under each device node, judge each attribute node Whether it is normal when, it can be determined that the value of each attribute node whether in the attribute normal interval of each attribute node, Then according to judging result, determine whether each attribute node is normal.
It include multiple child nodes under each root node due to including multiple root nodes in technique decision tree, it is to be checked determining When surveying the state of technique, it can be judged step by step upwards by child node, until judging that root node all in technique to be detected is It is no normal, and then whether normally the state of technique to be detected is determined further according to root node.Thus, in a kind of embodiment, according to Logical relation in the state and technique decision tree of each equipment between each equipment, determines the state of technique to be detected, tool Body may include:, according to the state of each equipment, to determine the shape of each root node in technique decision tree based on technique decision tree State;According to the state of root node each in technique decision tree, the state of technique to be detected is determined, wherein technique to be detected is normal The condition of operation are as follows: upper root node operation and the operation of next root node or a upper root node in technique decision tree It does not run and next root node is not also run.
It should be noted that first choice needs to judge every in technique to be detected when judging whether a state of the art is normal Whether the state of a equipment is normal.When whether the equipment state for judging an equipment is normal, need according to every under equipment Logical relation between whether a attribute node normal and attribute could judge, whether normal need is according to the value of attribute for attribute And the normal range (NR) of attribute judges.In obtaining tree after the state of all devices, it can judge to upper level level-one level-one The state of father node, the state until judging all root nodes in tree.Be easy it is noted that tree in root node between have There is special logical relation, i.e., if a upper root node operates normally so next root node and must also operate normally, on One root node does not run next root node and cannot run yet, and otherwise all thinks state of the art exception.
It, can also be by equipment in the court verdict of each technique and technique after the state for determining technique to be detected State change situation is shown by way of transmitting event outward.The state change of each equipment can generate corresponding state and become More event.Technique can also generate corresponding anomalous event according to state change situation and restore event.It thus can as one kind The embodiment of choosing, it is above-mentioned after the state according to root node each in technique decision tree, the state for determining technique to be detected Method can also include: to generate corresponding process event (pair that state of the art generates when changing according to the state of technique to be detected External notice), wherein process event includes at least one following: the first process event (misoperation event), the second technique Event (energy waste event) and third process event (restoring normal event), the first process event is for characterizing technique decision tree In a upper root node do not run and next root node is run, the second process event is for characterizing in technique decision tree upper one Root node is run and next root node is not run, and third process event is restored to for characterizing technique to be detected from misoperation It operates normally.
Optionally, in the case that all root nodes are not run in technique decision tree, according to each in technique to be detected The state of equipment generates corresponding device events (notice to outside that equipment state generates when changing), wherein device events Including at least one following: the first device events (energy waste event) and the second device events (event out of service), first Device events have equipment operation for characterizing in technique to be detected, the second device events are not set in technique to be detected for characterizing Received shipment row.
Herein it should be noted that the event of technique and equipment is stored separately when event stores, first may be used when inquiring state To inquire the state of technique, the state of each equipment and sub- technique under technique then can be checked, then can look into sub- technique again Under sub- technique and equipment state, can level-one level-one in this way inquiry junior until there is no sub- technique.
Based on any one of the above optional embodiment, as an alternative embodiment, the above method can also wrap Include: whether the process data for detecting technique to be detected changes;The case where the process data of technique to be detected changes Under, update the technique decision tree of technique to be detected.By the embodiment, the mesh of real-time update technique decision tree may be implemented , so that the state of the art that the equipment state got according to the technique decision tree of real-time update and in real time determines is more quasi- Really.
A kind of system of characterization processes state is additionally provided in the embodiment of the present invention, as described in the following examples.Due to The principle that these modules solve the problems, such as is similar to the method for characterization processes state, therefore the implementation of these modules may refer to method Implementation, overlaps will not be repeated.
Fig. 3 is a kind of system schematic of the characterization processes state provided in the embodiment of the present invention, as shown in figure 3, this is System includes: data source management module 31 and process management module 32.
Wherein, data source management module 31, for providing the device data of each equipment in technique to be detected;
Process management module 32 is connect with data source management module, for the technique decision tree based on technique to be detected, root According to the device data of each equipment in technique to be detected, the state of technique to be detected is determined, wherein technique decision tree is for determining Logical relation in technique to be detected between each equipment.
From the foregoing, it will be observed that process management module 32 determined based on the technique decision tree of technique to be detected it is each in technique to be detected Logical relation between equipment, and got in characterization processes after the device data of each equipment from data source management module 31, According to the logical relation in the state of each equipment and technique to be detected between each equipment, the shape of technique to be detected is determined State.Through the embodiment of the present invention, technique to be detected is detected based on the technique decision tree for containing logical relation between equipment State provides a kind of general state of the art detection scheme, may be implemented quickly and accurately to automate complicated technology Detection.
In one embodiment, above system can also include: process data database management module 33, with process management module 32 connections, for storing the process data of technique to be detected;Wherein, process management module is also used to characterization processes data base administration Whether the process data stored in module changes, and in the case where the process data of technique to be detected changes, more The technique decision tree of new technique to be detected.
Optionally, above-mentioned process management module is also used to the state according to technique to be detected, generates corresponding process event And/or device events, process data database management module are also used to store the process event and/or device events of technique to be detected, Wherein, process event includes at least one following: the first process event, the second process event and third process event, the first work Skill event is not run and the operation of next root node for characterizing a upper root node in technique decision tree, and the second process event is used The upper root node operation in characterization technique decision tree and next root node is not run, third process event for characterize to Characterization processes are restored to normal operation from misoperation;Device events include at least one following: the first device events and second Device events, the first device events have equipment operation for characterizing in technique to be detected, the second device events are to be checked for characterizing Surveying in technique does not have equipment operation.
Relationship such as 1 institute of table in the system of characterization processes state provided in an embodiment of the present invention between modules and function Show, the realization for beating the expression corresponding function of hook has the participation of this module, otherwise indicates to participate in without this module.Due to technique decision tree It may be modified at any time after creation, thus need the variation for checking each technique in real time and modify to technique, here it is works Skill more new function needs when technological change to read technique information from the database of technique, then compared with current information, when changing Just more new process when change.Technique judgement needs to first pass through the real time data that data source obtains each equipment, then process management mould Block could judge the state of technique and generate process event or device events.Event store function is mainly completed from process management mould Block obtains event, is then stored in technological data bank.
Relationship between 1 modules of table and function
Function Process management module Data source management module Process data database management module
Technological change
Technique judgement
Event storage
As a preferred embodiment, the embodiment of the present invention is above-mentioned by the java programming language realization of object-oriented The system of characterization processes state, the system may include the update of technique decision tree, data source, technique decision process, event handling Etc. several modules.Technique decision tree update module mainly checks whether technique decision tree has update, then updates work if there is updating Skill decision tree;Data source modules provide initial data for judging process;Technique decision process module check in real time each technique and The state of equipment;Event processing module carries out unified processing to the event that judging process generates.Object in the system includes But it is not limited to: data source control, process management, technique, root node, equipment, device attribute, event, logical relation tree and work Skill data base administration etc..Modules object is described in detail below:
(1) data source control.The module provides different data source lists.The part provide data source more new interface and Device data obtains interface, wherein data source more new interface is for checking the corresponding data source of configuration file generation in real time and adding It is added to list;Device data obtains interface for searching for the data of designated equipment from each data source.
(2) process management module.For all techniques in storage system, the additions and deletions for managing all techniques change looks into the module, And carry out the state judgement of all techniques.The attribute of process management module includes the HashMap mapping table for storing all techniques, The increasing of technique is provided, deletes, change, looking into interface, fabrication evaluation interface and event obtain interface.Fabrication evaluation interface completes all works The state-detection of skill, event obtain interface and read the event in all techniques.
(3) technique.The attribute of technique includes but is not limited to craft label, process names, current process state, root node column Table and list of thing etc..The part, which provides, generates interface, more new interface, detection interface, event acquisition interface etc..Wherein, raw It is used to generate corresponding technique by the json data provided at interface;More new interface is used to be completed according to the json data of offer Update to technique;The state that detection interface is used to that the state detection interfaces of each root node to be called to obtain each root node, so The state of technique is judged according to the state of root node afterwards and generates corresponding event;Event obtain interface for read technique and The event of all root node neutron techniques and equipment.
(4) technique root node.The attribute of root node includes that list of devices, sub- technique list and the equipment under root node add The logical relation tree of sub- technique, wherein the logical relation of logical relation tree representation all devices and sub- technology room.The part mentions For generating interface, event obtains interface and state detection interfaces.Wherein, it generates interface and is used to pass through the json data life provided At corresponding root node;Event obtains the event that interface is used to obtain all devices and sub- technique generates;State detection interfaces are used In the state detection interfaces for calling each equipment and sub- technique, then using the state of each equipment and sub- technique according to patrolling Collect the state that relational tree determines root node.
(5) equipment.The attribute of each device object include but is not limited to device type, device name, equipment unique identification, Logical relation tree etc. between equipment current state, attributes object list and each attribute.The part, which provides, generates interface, attribute more New interface, state detection interfaces, state detection interfaces and event obtain interface etc..Wherein, interface is generated to be used for according to offer Json data generate corresponding device object;Number of the attribute more new interface for being provided before state-detection using data source It is updated according to each attribute to equipment;State detection interfaces be used for call each device attribute object detection interface and The Status Change event of equipment state and generating device is judged using the relational tree between result and attribute;Event obtains interface and is used for Obtain all Status Change events that equipment generates.
(6) device attribute.The attribute of each device attribute object can include but is not limited to attribute-bit, current property value And the normal range (NR) of attribute.The part, which provides, generates interface and detection interface, wherein generates interface and is used for according to offer Json data produce corresponding attributes object, and detection interface is used to judge current attribute according to the normal range (NR) of current value and attribute It is whether abnormal.
(7) event object.Technique and equipment can all generate event, and each event can generate an event object.Event The attribute of object includes the details etc. of event source, event type and event.
(8) logical relation tree.Relationship between the attribute of equipment, between the equipment and technique of root node is all closed with logic The form of system tree saves, and one relationship of every grade of expression in relational tree, every grade of attribute includes the main body list an of relationship, one A inferior relation tree list and a relationship type.Relationship type indicates between the same level all devices and all inferior relations Relationship, for example, conditional relationship (a | | b) &&c, first level-one relational tree store main body (equipment, technique, attribute) c, a table Show a | | the degree relationship tree of b and relationship type 2 (at least running 2), degree relationship tree includes two equipment a and b and pass Set type 1 (at least runs 1).Relational tree object structure is as follows:
Relational tree:
Relationship type n (at least n are normal),
[list of the main bodys such as attribute, equipment, technique],
[list of subrelation tree],
}
(9) technological data bank management.Data base administration object mainly provide process information knowledge acquirement interface and event save, More new interface, by the details of the available each technique of process information knowledge acquirement interface, event saving interface is completed to every The state of the preservation of a equipment and process event and before event updates.
The unified json data format of technique
By it is this it is nested in a manner of store, can be very good between mark equipment room, attribute, the physical connection of technology room and Logical relation.
In conclusion the embodiment of the invention provides generating mode, the state of the art of a kind of general technique decision tree to sentence The certainly way to manage of mode, court verdict exhibition method and data source, to realize the automatic detection work to complicated technology.
It additionally provides a kind of computer equipment in the embodiment of the present invention, including memory, processor and is stored in memory Computer program that is upper and can running on a processor, processor realize any of the above-described characterization processes when executing computer program The method of state.
A kind of computer readable storage medium is additionally provided in the embodiment of the present invention, computer-readable recording medium storage has Execute the computer program of the method for any of the above-described characterization processes state.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Particular embodiments described above has carried out further in detail the purpose of the present invention, technical scheme and beneficial effects Describe in detail it is bright, it should be understood that the above is only a specific embodiment of the present invention, the guarantor being not intended to limit the present invention Range is protected, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should be included in this Within the protection scope of invention.

Claims (10)

1. a kind of method of characterization processes state characterized by comprising
Obtain the technique decision tree of technique to be detected, wherein the technique decision tree is each in the technique to be detected for determining Logical relation between a equipment;
Detect the state of each equipment in the technique to be detected;
According to the logical relation in the state of each equipment and the technique decision tree between each equipment, institute is determined State the state of technique to be detected.
2. the method as described in claim 1, which is characterized in that described before the technique decision tree for obtaining technique to be detected Method further include:
The technique decision tree of the technique to be detected is generated, includes following at least one node: equipment in the technique decision tree Node, process node, equipment composite node, attribute node and attribute composite node, wherein device node indicates an equipment pair As process node indicates another technique object of the technique reference to be detected, and equipment composite node is indicated by device object With the composite object of technique object composition, attribute node indicates that an attributes object, attribute composite node are indicated by multiple attributes The composite object of object composition.
3. method according to claim 2, which is characterized in that generate the technique decision tree of the technique to be detected, comprising:
At least one root node of the technique decision tree is created, and adds corresponding parameter for each root node, wherein root section The type of point includes following at least one: device node, process node, equipment composite node;The parameter of device node includes setting Standby mark, the parameter of process node includes craft label, and the parameter of equipment composite node includes each height under equipment composite node The physical couplings and logical relation of node;
Creating the child node under each root node, wherein child node under device node is attribute node or attribute composite node, Without child node under attribute node, the child node under attribute composite node is attribute composite node or attribute node;Under process node Without child node;Child node under equipment composite node is equipment composite node, device node or process node;Attribute composite node Parameter include each child node under attribute composite node logical relation, the parameter of attribute node includes attribute-bit and attribute Normal interval.
4. method as claimed in claim 3, which is characterized in that the state of each equipment, packet in the detection technique to be detected It includes:
Obtain the device data of each equipment in the technique to be detected, wherein sentence in the device data comprising the technique Certainly in tree under each device node each attribute node parameter information;
According to the parameter information of attribute node each under each device node, judge whether each attribute node is normal, and each Whether the logical relation between a attribute node is normal;
According to judging result, the state of each equipment in the technique to be detected is determined.
5. method as claimed in claim 4, which is characterized in that believed according to the parameter of attribute node each under each device node Breath, judges whether each attribute node is normal, comprising:
Judge the value of each attribute node whether in the attribute normal interval of each attribute node;
According to judging result, determine whether each attribute node is normal.
6. method as claimed in claim 3, which is characterized in that sentenced according to the state of each equipment and the technique The certainly logical relation in tree between each equipment, determines the state of the technique to be detected, comprising:
The shape of each root node in the technique decision tree is determined according to the state of each equipment based on the technique decision tree State;
According to the state of each root node in the technique decision tree, determine the state of the technique to be detected, wherein it is described to The condition that characterization processes operate normally are as follows: upper root node operation and the operation of next root node in the technique decision tree, Or a upper root node is not run and next root node is not also run.
7. method as claimed in claim 6, which is characterized in that in the shape according to each root node in the technique decision tree State, after the state for determining the technique to be detected, the method also includes:
According to the state of the technique to be detected, generate corresponding process event, wherein the process event include it is following at least One of: the first process event, the second process event and third process event, first process event is for characterizing the technique A upper root node is not run in decision tree and next root node is run, and second process event is for characterizing the technique A upper root node is run in decision tree and next root node is not run, and the third process event is described to be checked for characterizing It surveys technique and is restored to normal operation from misoperation.
8. the method for claim 7, which is characterized in that all root nodes are not run in the technique decision tree In the case of, according to the state of each equipment in the technique to be detected, generate corresponding device events, wherein the equipment thing Part includes at least one following: the first device events and the second device events, first device events for characterize it is described to There is equipment operation in characterization processes, second device events do not have equipment operation for characterizing in the technique to be detected.
9. method as claimed in any of claims 1 to 8 in one of claims, which is characterized in that the method also includes:
Whether the process data for detecting the technique to be detected changes;
In the case where the process data of the technique to be detected changes, the technique judgement of the technique to be detected is updated Tree.
10. a kind of system of characterization processes state characterized by comprising
Data source management module, for providing the device data of each equipment in technique to be detected;
Process management module is connect with the data source management module, for the technique decision tree based on the technique to be detected, According to the device data of each equipment in the technique to be detected, the state of the technique to be detected is determined, wherein the technique Decision tree is used to determine the logical relation in the technique to be detected between each equipment.
CN201811376140.3A 2018-11-19 2018-11-19 Method and system for detecting process state Active CN109583726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811376140.3A CN109583726B (en) 2018-11-19 2018-11-19 Method and system for detecting process state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811376140.3A CN109583726B (en) 2018-11-19 2018-11-19 Method and system for detecting process state

Publications (2)

Publication Number Publication Date
CN109583726A true CN109583726A (en) 2019-04-05
CN109583726B CN109583726B (en) 2022-02-22

Family

ID=65923155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811376140.3A Active CN109583726B (en) 2018-11-19 2018-11-19 Method and system for detecting process state

Country Status (1)

Country Link
CN (1) CN109583726B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113051270A (en) * 2021-03-26 2021-06-29 合安科技技术有限公司 Grouping method and device based on special-shaped structure tree, electronic equipment and storage medium
CN113452542A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Fault detection method and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217763A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 An expanding device and method from logic tree to physical tree in fault analysis
CN102136981A (en) * 2010-06-29 2011-07-27 华为技术有限公司 Method for realizing E-Tree (Ethernet tree) service in Ethernet and related device
CN102340433A (en) * 2011-09-28 2012-02-01 北京瑞航威尔科技有限公司 Central node equipment and realization method thereof
CN103491651A (en) * 2013-09-25 2014-01-01 河海大学 Abnormal/fault positioning detection method based on binomial tree model
WO2016101294A1 (en) * 2014-12-25 2016-06-30 深圳Tcl数字技术有限公司 Method and apparatus for managing network node information
CN108809676A (en) * 2017-05-02 2018-11-13 北京米文动力科技有限公司 A kind of fault detection method and robot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217763A (en) * 2008-01-15 2008-07-09 中兴通讯股份有限公司 An expanding device and method from logic tree to physical tree in fault analysis
CN102136981A (en) * 2010-06-29 2011-07-27 华为技术有限公司 Method for realizing E-Tree (Ethernet tree) service in Ethernet and related device
CN102340433A (en) * 2011-09-28 2012-02-01 北京瑞航威尔科技有限公司 Central node equipment and realization method thereof
CN103491651A (en) * 2013-09-25 2014-01-01 河海大学 Abnormal/fault positioning detection method based on binomial tree model
WO2016101294A1 (en) * 2014-12-25 2016-06-30 深圳Tcl数字技术有限公司 Method and apparatus for managing network node information
CN108809676A (en) * 2017-05-02 2018-11-13 北京米文动力科技有限公司 A kind of fault detection method and robot

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113452542A (en) * 2020-03-27 2021-09-28 华为技术有限公司 Fault detection method and equipment
CN113051270A (en) * 2021-03-26 2021-06-29 合安科技技术有限公司 Grouping method and device based on special-shaped structure tree, electronic equipment and storage medium
CN113051270B (en) * 2021-03-26 2023-05-12 合安科技技术有限公司 Grouping method and device based on special-shaped structure tree, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109583726B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
US8655830B2 (en) Systems and methods for reporting a cause of an event or equipment state using causal relationship models in a building management system
CN103714185B (en) Subject event updating method base and urban multi-source time-space information parallel updating method
US8782597B2 (en) Ontology updating apparatus, method and system
CN101442591B (en) Method and system for self-checking and updating performance business model discrepancy
CN104375943A (en) Embedded software black-box test case generation method based on static models
CN102855332A (en) Graphic configuration management database based on graphic database
CN104021195A (en) Warning association analysis method based on knowledge base
CN106293891A (en) Multidimensional investment target measure of supervision
CN109583726A (en) The method and system of characterization processes state
CN112100984B (en) Data conversion method and system from EBOM to SBOM
US10466686B2 (en) System and method for automatic configuration of a data collection system and schedule for control system monitoring
CN114238463A (en) Calculation engine control method and device for distributed index calculation
CN107548087A (en) A kind of method and device of warning association analysis
CN108959391B (en) Apparatus, system, method, and storage medium for presenting database cluster architecture diagram
CN114443437A (en) Alarm root cause output method, apparatus, device, medium, and program product
US8818974B2 (en) System and method for synchronously updating a hierarchy bridge table
CN117910934A (en) Material replaceability assessment method, device, computer equipment and storage medium
CN108762753A (en) Page assembly amending method and equipment
CN106296047A (en) A kind of land and resources administration method
CN106204320A (en) A kind of transformer station secondary system malfunction base construction method and system
CN107423448A (en) Distributed data processing device and method
CN114462859A (en) Workflow processing method and device, computer equipment and storage medium
US20100125825A1 (en) Diagram layout patterns
CN117077457B (en) Full-frame consumption type processing method and system for parts from PBOM (physical component array) to MBOM (component array)
Khodadadeh Designing a Software Platform for Evaluating Cyber-Attacks on The Electric PowerGrid

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