CN110968546B - Method for setting map node skipping probability and related equipment - Google Patents
Method for setting map node skipping probability and related equipment Download PDFInfo
- Publication number
- CN110968546B CN110968546B CN201811161188.2A CN201811161188A CN110968546B CN 110968546 B CN110968546 B CN 110968546B CN 201811161188 A CN201811161188 A CN 201811161188A CN 110968546 B CN110968546 B CN 110968546B
- Authority
- CN
- China
- Prior art keywords
- target
- jump
- node
- map
- event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 238000004088 simulation Methods 0.000 claims abstract description 121
- 230000008569 process Effects 0.000 claims abstract description 33
- 238000010276 construction Methods 0.000 claims abstract description 14
- 230000009191 jumping Effects 0.000 claims description 17
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 13
- 238000010586 diagram Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 10
- 230000008859 change Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 239000007788 liquid Substances 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000012360 testing method Methods 0.000 description 6
- 230000008901 benefit Effects 0.000 description 3
- 239000007789 gas Substances 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000036961 partial effect Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000003345 natural gas Substances 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000002829 reductive effect Effects 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method for setting graph node jump probability, which comprises the steps of firstly obtaining an event jump graph related to target equipment, wherein the event jump graph comprises nodes, the nodes represent events which occur in the operation process of the target equipment, jump relations exist among the nodes, obtaining a simulation model of the target equipment, determining model parameters corresponding to the jump relations according to the jump relations in the event jump graph, adjusting parameter values of the model parameters in the simulation model, and carrying out simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the jump occurrence probability represented by the jump relations. Therefore, the method and the device can combine the simulation process of the simulation model with the construction process of the event jump map to determine the jump probability corresponding to the jump relation in the event jump map. In addition, the invention also discloses equipment, a storage medium and a processor related to the setting method of the map node skipping probability.
Description
Technical Field
The invention relates to the technical field of construction of event jump maps, in particular to a method for setting jump probability of map nodes and related equipment.
Background
The event jump map is a semantic network and consists of a plurality of node elements, and the node elements can have an association relation. The node elements can describe objects or events, and the association relationship between the node elements can also be called a jump relationship, which means that the object or event described by one node element is converted into the object or event described by another node element. By the event jump map, the complicated and intricate relationship between objects or events can be clearly understood.
In practical application, an event jump map can be constructed according to documents related to application scenarios, in the event jump map constructed by some application scenarios, jump relations between node elements have jump probabilities, and the jump probabilities represent the possibility that one node element jumps to another node element. Therefore, in addition to the map structure, the jump probability value needs to be set for the jump relationship of the event jump map in the construction of the event jump map.
Disclosure of Invention
In view of the above problems, the present invention is proposed to provide a setting method of graph node hop probability and related device, which overcome or at least partially solve the above problems.
In a first aspect, the present application provides a method for setting graph node hop probability, including:
obtaining an event skipping map related to a target device, wherein the event skipping map comprises nodes, skipping relations exist among the nodes, and the nodes in the event skipping map represent events occurring in the running process of the target device;
obtaining a simulation model associated with the target device;
determining target model parameters corresponding to the target jump relation in the simulation model aiming at the target jump relation between target nodes in the event jump map;
adjusting parameter values of the target model parameters, and performing simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the probability of occurrence of the target jump relation;
and adding the probability to the target jump relation in the event jump map.
In a second aspect, the present application provides a setting apparatus for graph node hop probability, including:
the event skipping map obtaining module is used for obtaining an event skipping map related to target equipment, wherein the event skipping map comprises nodes, skipping relations exist among the nodes, and the nodes in the event skipping map represent events occurring in the running process of the target equipment;
a simulation model obtaining module for obtaining a simulation model associated with the target device;
a target model parameter determination module, configured to determine, for a target jump relationship between target nodes in the event jump map, a target model parameter corresponding to the target jump relationship in the simulation model;
the jump probability simulation module is used for adjusting the parameter value of the target model parameter, and performing simulation and statistics on the basis of the adjusted parameter value through the simulation model to obtain the probability of the target jump relation;
and the jump probability setting module is used for adding the probability to the target jump relation in the event jump map.
In a third aspect, the present application provides a storage medium having a program stored thereon, wherein the program, when executed by a processor, implements a method for setting a graph node hop probability.
In a fourth aspect, the present application provides a processor, where the processor is configured to execute a program, where the program executes a setting method of graph node hop probability during execution.
According to the technical scheme, the method for setting the node jump probability of the graph comprises the steps of firstly obtaining an event jump graph related to target equipment, wherein the event jump graph comprises nodes, the nodes represent events which occur in the operation process of the target equipment, jump relations exist among the nodes, obtaining a simulation model of the target equipment, determining model parameters corresponding to the jump relations according to the jump relations in the event jump graph, adjusting parameter values of the model parameters in the simulation model, and performing simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the probability of jump appearing represented by the jump relations. Therefore, the method and the device can combine the simulation process of the simulation model with the construction process of the event jump map to determine the jump probability corresponding to the jump relation in the event jump map.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 shows a partial structural example of an event jump map of a three-phase separator;
FIG. 2 is a flow chart diagram illustrating a method for setting the hop probability of a graph node;
FIG. 3 shows an exemplary diagram of a simulation model of a three-phase separator;
fig. 4 shows a schematic structural diagram of the setting device of map node hop probability.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The event jump map is a specific map structure obtained by combining a knowledge map and a specific application field. The knowledge graph describes the association relationship between the nodes, but the association relationship may not have directionality and may not represent the change relationship between the nodes, where the change relationship may also be referred to as a jump relationship.
However, in the application scenario of the present application, events that may occur during the operation of the device are targeted, and the events describe a change process from one event node to another event node, so that on the basis of the structure of the knowledge graph, event element definitions can be added to nodes in the knowledge graph, and direction information can be added to association relations between the nodes, such association relations with change directionality between the nodes are called jump relations, and the knowledge graph with jump relations can be called an event jump graph.
The event jump map is constructed according to events occurring in the equipment in practical application, and the jump relation represented by the event jump map can provide a certain decision function for the operation, maintenance and other work of subsequent equipment, so the event jump map can also be called as a decision map.
It should be noted that the jump event described by the event jump map may not necessarily occur in practical application, but has a certain occurrence probability, and therefore, the jump relation in the event jump map has an associated probability value. For convenience of description, the probability value may be referred to as a hop probability. The technical scheme includes that for an event jump map with a basic structure, probability values of the event jump map are added to jump relations in the event jump map. Event jump maps with jump probability values can better provide decision support for the operation, maintenance and the like of equipment.
In order to facilitate understanding of the technical solution of the present application, a construction process of the event jump map is first described. It should be noted that the event refers to an event related to the operation process of the device.
Specifically, the construction method of the event jump map can comprise the following steps 1.1-1.4.
1.1: and determining the node type of the node contained in the event jump graph to be constructed, wherein different node types represent different events of equipment operation.
Before constructing the event jump graph, the node types of the nodes included in the event jump graph to be constructed need to be clarified. Node types may include, but are not limited to: a device node, a fault node, a cause node, a phenomenon node, a risk node, and a disposition node.
The device node represents the specific type of device; the fault node represents the fault occurring in the operation process of the equipment; the reason node represents the reason causing the equipment operation failure; the phenomenon node represents an abnormal phenomenon occurring in the operation process of the equipment; the risk node represents the risk possibly brought by the occurrence of equipment operation failure; the disposal measure node represents a disposal measure or a disposal measure for the equipment operation failure.
The event jump map comprises the nodes of the types, and each node needs to be filled with corresponding node information.
1.2: and obtaining the operation description document associated with the target equipment.
Wherein, for which device the relevant event hop map is established, the device may be referred to as the target device. In practical application, the device generates an operation description document for recording the operation process of the device. Specifically, the operation description document records what phenomena occur during the operation of the device, what faults occur, what the cause of the faults may be, what processing measures are implemented after the faults occur, and the like.
1.3: and extracting the description content corresponding to each node type from the operation description document, and taking the description content as node information of the node.
The description content corresponding to the preset node type is extracted from the operation description document by using a semantic analysis method. It should be noted that, after the extracted description content is the node type of the device node, the description content corresponding to other node types may not be limited to words, but may also be in the form of short sentences.
Specifically, before the extraction process, an event corresponding to each node type and standard description content corresponding to the event may be preset. It should be noted that there may be one or more events corresponding to each node type. Accordingly, the standard description content corresponding to the event may be one or more.
For example, for risk nodes, the actual risks that may occur include: risk of liquid backflow, risk of pipeline breakage, risk of leakage, risk of affecting a treatment system, and the like; wherein:
the standard description content corresponding to the liquid backflow risk is 'liquid backflow, and pollution accidents are caused when the liquid backflow is not found in time'; the standard description corresponding to the risk of pipeline breakage is "out of station pipeline perforation or breakage"; the standard description content corresponding to the leakage risk is 'serious leakage occurs'; the standard description corresponding to the risk of affecting the treatment system is 'affecting the natural gas treatment system'.
And according to the standard description content, extracting the description content which is the same as or similar to the standard description content from the operation description document. When judging whether the extracted description content is similar to the standard description content, the similarity between two sentences can be calculated by using a distance calculation method, and besides, a industry dictionary related to equipment can be used. Specifically, relevant key words are recorded in the industry dictionary, which key words are contained in the standard description content is firstly determined, which same key words are contained in the extracted description content is then determined, whether the ratio of the contained same key words to the total number of the key words reaches a certain threshold value proportion or not is calculated, and if yes, the two description contents are determined to be similar.
By the method, the description content related to the standard description content can be extracted from the operation description document according to the standard description content of the event. And extracting the description contents corresponding to the standard description contents corresponding to the node types, and taking the standard description contents as the node information of the nodes corresponding to the node types. In short, in the operation description document, the description contents of the events related to the node types are extracted, then the nodes of the node types are established, and the standard description contents corresponding to the description contents are used as the node information of the nodes.
For example, using the standard description "report to the central office of the united station", one or more similar descriptions are extracted from the operational description of the "three-phase separator" as follows: the method comprises the steps of simultaneously reporting to a central control room of the united station, listening to arrangement and reporting of the central control room of the united station from a duty cadre, reporting to the central control room of the united station by a duty worker in time, and reporting to the central control room of the united station immediately. And according to the preset, the standard description content is 'reporting to the central control room of the combined station' as the standard description content corresponding to the disposal measure node, so that the event jump map to be constructed can be determined to contain the disposal measure node, and the 'reporting to the central control room of the combined station' is taken as the node information of the disposal measure node.
1.4: and adding a jump relation among the nodes according to a preset relation among the node types.
Besides each node included in the constructed event jump graph, a jump relation needs to be added among the nodes.
Specifically, the addition mode of the jump relationship is to obtain a preset relationship between node types, and set a corresponding jump relationship according to the preset relationship.
For example, for several types of nodes, namely, a device node, a failure node, a cause node, a phenomenon node, a risk node, and a disposal measure node, the preset relationship between the node types may include any one or more of the following: equipment failure, equipment phenomenon, phenomenon-to-failure, failure occurrence reason, risk brought by failure and failure handling measures. Wherein:
when the equipment fails, the equipment node jumps to the failure node;
the phenomenon of the equipment indicates that the equipment node jumps to the phenomenon node;
the phenomenon is converted into the fault expression, namely, the phenomenon node jumps to the fault node;
the reason for the fault occurrence indicates that the fault node jumps to the reason node;
the risk brought by the fault indicates that the fault node jumps to a risk node;
the handling measure of the fault means that the faulty node jumps to the handling measure node.
Based on the above description, it can be known that the jump relationship between nodes can be established.
Nodes with node information and the jump relation among the nodes can form an event jump map.
For ease of understanding, see fig. 1, which provides an example of a partial structure of an event jump map for a three-phase separator of an apparatus. The event jump map is directed at equipment of a 'three-phase separator', as shown in fig. 1, in the event jump map, "pressure rise of an external oil pipeline" is a fault node, "pressure rise of the external oil pipeline, displacement reduction" and the like are phenomenon nodes, "report to a central control room of a combined station" and the like are treatment measure nodes, "filter blockage" and the like are reason nodes, "pressure build-up causes leakage of the pipeline" and the like are risk nodes. Connecting lines with directions among different types of nodes represent the jumping relation among the nodes.
Based on an event jump map with a structure, the application provides a setting method of map node jump probability. As shown in fig. 2, the method may specifically include the following steps S201 to S205.
S201: and obtaining an event jump map related to the target equipment, wherein the event jump map comprises nodes and jump relations exist among the nodes, and the nodes in the event jump map represent events occurring in the running process of the target equipment.
The step of obtaining may be directly obtaining an event jump map that has been constructed in advance, or may be performing an event jump map constructing action. The construction method can be found in the above description, and is not described herein in detail.
As mentioned above, the event jump map includes nodes, and it can be determined through node information that the nodes represent events that may occur during the operation of the target device. Events may also be referred to as activities, and may include not only events occurring on the target device itself, but also events occurring on other devices that are coordinated with the target device events. For example, reporting to the union station central office of the event is an action performed by another device associated with the target device, such as a communication device.
S202: a simulation model associated with the target device is obtained.
It can be understood that the jump relationship of the target device described in the event jump map is an event jump that may occur in the actual operation process of the target device.
However, the running description document of the target device may have problems of limited data accumulation or data loss, so that the probability of occurrence of the event jump cannot be directly obtained from the running description document. However, if actual testing is performed on the target device entity, irreversible damage may be caused to the target device, or damage may be caused to surrounding equipment or the surrounding environment. Therefore, the simulation model is used for simulating the operation of the target equipment, so that test data can be obtained, and the harm condition can be avoided.
The obtaining operation in this step may be an obtaining operation of a simulation model of a target device that is constructed in advance, or may be a constructed operation.
The simulation model may be constructed using prior art construction methods, or based on the device map, as provided in the present application described below. The specific construction process comprises the following steps 3.1-3.2.
3.1: and obtaining the equipment map of the target equipment, wherein various types of equipment parameters of the target equipment are recorded in the equipment map.
The device map of the target device may be constructed in advance, and the device map is mainly used for recording various device parameters related to the target device. Several different types of nodes are included in the device graph, with the different types of nodes representing different types of device parameters.
For example, the three-phase separator may include a static parameter, a dynamic parameter, a model input parameter, and a model output parameter. Wherein,
the static parameters may include: the equivalent length of the separator, the cross section area of the water chamber, the cross section area of the oil chamber, the radius of the separator, the water density, the oil density, the temperature in the total volume tank in the tank and the like;
the dynamic parameters may include: water inlet pressure, air inlet pressure, oil inlet pressure, water outlet pressure, air outlet pressure, oil outlet pressure, water content of the water outlet, water content of the oil outlet and the like;
the model input parameters may include: the opening degree of a water inlet volume flow water outlet valve, the opening degree of an oil inlet volume flow oil outlet valve, the opening degree of an air inlet molar flow air outlet valve and the like;
the model output parameters may include: the height of the page of the water outlet volume flow water chamber, the height of the page of the oil outlet volume flow oil chamber, the gas pressure in the outlet mole flow tank and the like.
3.2: and constructing a simulation model of the target equipment according to the equipment parameters recorded by the equipment map.
Wherein a simulation model for the target device is constructed in the simulation tool according to the device parameters recorded by the device map.
It should be noted that there may not be one target device, or the simulation model required by the target device may include not only one device model. In any case, in the case that a plurality of equipment models are required, the input and output among the plurality of equipment models are connected through pipelines to form a complete simulation model.
See fig. 3, which shows an example of a simulation model of a three-phase separator. As shown in fig. 3, the three-phase separator includes components such as a "gas conduit", "gas outlet", "spiral regulating valve", "liquid level meter", "drain", "oil outlet", "water guide hole", "defoaming device", "drain", and "oil inlet".
S203: and determining target model parameters corresponding to the target jump relation in the simulation model aiming at the target jump relation between target nodes in the event jump map.
As mentioned above, in the event jump map, the nodes have a jump relationship. In practical application, more than one node and more than one jump relation are provided in the event jump map, and for any jump relation, the jump relation can be called a target jump relation, and two nodes associated with the target jump relation are called target nodes.
For a jump relation, it needs to determine which model parameter or parameters in the simulation model correspond to the jump relation, and what is specifically indicated is that the change of the model parameter or parameters may cause the jump indicated by the jump relation to occur. For convenience of description, the model parameter or parameters corresponding to the target jump relation may be referred to as target model parameters.
In practical application, a certain jump relation can be determined as a target jump relation, only the model parameter corresponding to the jump relation is determined, and only the jump probability corresponding to the jump relation is added. Or, in order to add a jump probability to each jump relation in the event jump map, the target model parameter may be determined according to the following method.
Specifically, the method comprises the steps of classifying according to the jump relations of nodes in an event jump map, and taking each type of jump relations as target jump relations respectively; wherein, the node corresponding to the target jump relation is a target node; and determining target model parameters corresponding to each target jump relation according to the preset corresponding relation between the jump relation type and the model parameters in the simulation model.
In order to add a jump probability to each jump relation in the event jump map, all jump relation classifications in the event jump map are firstly obtained, and the obtained jump classifications include, by taking the event jump map of the three-phase separator as an example: equipment failure, equipment phenomenon, phenomenon-to-failure, failure occurrence reason, risk brought by failure and failure handling measures. And respectively taking each jump relation as a target jump relation.
The method and the device can preset the corresponding relation between the type of the jump relation and the model parameters, and the corresponding relation indicates which model parameter or parameters in the simulation model are adjusted, so that the jump represented by the jump relation can occur in the simulation model. After the target jump relationship is determined, according to the corresponding relationship, a model parameter corresponding to the target jump relationship is determined, and the model parameter can be called as a target model parameter.
Taking a three-phase separator as an example, it can be known from the preset corresponding relationship that the three parameters of "water outlet pressure", "air outlet pressure" and "oil outlet pressure" of the three-phase separator are adjusted, and a jump from "pressure rise of an external oil pipeline" to "pressure build-up of a pipeline causing leakage" may occur.
S204: and adjusting the parameter value of the target model parameter, and performing simulation and statistics on the basis of the adjusted parameter value through the simulation model to obtain the probability of occurrence of the target jump relation.
After the target model parameters needing to be adjusted are determined, the parameter values of the target model parameters can be adjusted in a simulation test, for example, the leakage can be triggered when the pressure of an external oil pipeline is increased, the displacement is reduced, and the liquid level of an oil chamber of the separator continuously rises to what value, and related parameter values can be adjusted for many times.
The simulation model simulates according to the target model parameters after the parameter values are adjusted, and the simulation result may be that the jump represented by the jump relation corresponding to the target model parameters really occurs or that the jump does not occur. And counting the simulation result of the simulation model to obtain the probability of the jump represented by the target jump relation.
In one implementation mode, the equipment parameters recorded by the equipment map comprise adjustable parameters and adjustable ranges of parameter values of the adjustable parameters; accordingly, one specific implementation of adjusting the parameter values of the target model parameters may include:
determining a target model parameter in the adjustable parameters of the equipment map, and obtaining the parameter value adjustable range of the target model parameter; and adjusting the parameter value of the target model parameter according to the parameter value adjustable range of the target model parameter.
Specifically, in addition to the device parameters, parameters in which parameter values of the target device can be adjusted may be recorded in the device map, and for convenience of description, this type of parameters may be referred to as adjustable parameters, and parameter value adjustable ranges of the adjustable parameters may also be recorded in the device map. The target model parameter is used as an adjustable parameter, and the adjustable range of the parameter value of the target model parameter can be obtained from the equipment map, and the parameter value of the target model parameter is adjusted within the adjustable range.
According to the simulation result of the multiple adjustment processes, the occurrence probability of the target jump relation can be obtained.
Specifically, parameter values of target model parameters are adjusted for multiple times, and the times of target jump relations of the simulation model after the parameter values are adjusted are recorded; and calculating the ratio of the times of the target jump relation to the total times of the adjustment parameter values, and taking the ratio as the probability of the target jump relation.
That is, the total number of parameter value adjustments of the target model parameter is recorded, the number of frame skipping occurring when the target skipping relationship occurs in the simulation model after the adjustment is recorded, and the ratio of the two is calculated, so that the occurrence probability of the target skipping relationship can be obtained. This probability may be referred to as a hop probability.
For example, in 1000 simulation experiments, for a certain fault, 900 times of successful solution are performed by the handling measure a, and 100 times of successful solution are performed by the handling measure B, so that the probability of a jump from the faulty node to the handling measure a is 0.9, and the probability of a jump from the faulty node to the handling measure B is 0.1.
S205: and adding probability for the target jump relation in the event jump map.
And the probability obtained in the previous step is added to the configuration information.
According to the technical scheme, the method comprises the steps of firstly obtaining an event jump map related to target equipment, wherein the event jump map comprises nodes, the nodes represent events which occur in the operation process of the target equipment, jump relations exist among the nodes, a simulation model of the target equipment is obtained, model parameters corresponding to the jump relations are determined according to the jump relations in the event jump map, parameter values of the model parameters are adjusted in the simulation model, and the simulation model is used for carrying out simulation and statistics on the basis of the adjusted parameter values to obtain the probability of jump appearing represented by the jump relations. Therefore, the method and the device can combine the simulation process of the simulation model with the construction process of the event jump map to determine the jump probability corresponding to the jump relation in the event jump map.
In practical application, the simulation process of the simulation model can be executed for multiple times, and the jump represented by the jump relation can be triggered without carrying out test operation with damage hazard on the actual equipment under the condition that the running description document of the equipment is lost. The simulation test can be repeatedly executed, and the jump probability in the event jump map can be continuously refreshed after multiple simulation tests. The event jump map with the jump probability can provide more accurate guidance for subsequent operation, maintenance, management and other work of the target equipment.
Referring to fig. 4, a structure of a setting apparatus for graph node hop probability provided by the present application is shown. As shown in fig. 4, the semantic determining apparatus may specifically include: an event jump map obtaining module 401, a simulation model obtaining module 402, a target model parameter determining module 403, a jump probability simulation module 404, and a jump probability setting module 405.
An event hopping map obtaining module 401, configured to obtain an event hopping map related to a target device, where the event hopping map includes nodes and the nodes have a hopping relationship, and a node in the event hopping map represents an event that occurs in an operation process of the target device;
a simulation model obtaining module 402, configured to obtain a simulation model related to the target device;
a target model parameter determining module 403, configured to determine, for a target jump relationship between target nodes in the event jump map, a target model parameter corresponding to the target jump relationship in the simulation model;
a jump probability simulation module 404, configured to adjust a parameter value of the target model parameter, and perform simulation and statistics on the adjusted parameter value through the simulation model to obtain a probability of occurrence of the target jump relationship;
a jump probability setting module 405, configured to add the probability to the target jump relationship in the event jump map.
In one implementation, the target model parameter determining module 403 is configured to determine, for a target jump relationship between target nodes in the event jump graph, a target model parameter corresponding to the target jump relationship in the simulation model, including:
the target model parameter determining module 403 is specifically configured to classify according to the jump relationships of the nodes in the event jump map, and use each type of jump relationship as a target jump relationship, respectively; wherein, the node corresponding to the target jump relation is a target node; and determining target model parameters corresponding to each target jump relation according to the preset jump relation type and the corresponding relation of the model parameters in the simulation model.
In an implementation manner, the jump probability simulation module 404 is configured to adjust a parameter value of the target model parameter, and perform simulation and statistics based on the adjusted parameter value through the simulation model to obtain a probability of occurrence of the target jump relationship, including:
the jump probability simulation module 404 is specifically configured to adjust parameter values of the target model parameters for multiple times, and record the number of times that the target jump relationship occurs after the parameter values are adjusted by the simulation model; and calculating the ratio of the times of the target jump relation to the total times of the adjustment parameter values, and taking the ratio as the probability of the target jump relation.
In one implementation, the above apparatus may further include a construction module of the event jump map.
The construction module of the event jump map is used for determining the node type of the node contained in the event jump map to be constructed, wherein different node types represent different events of equipment operation; obtaining an operation description document associated with target equipment; extracting description contents corresponding to each node type from the operation description document, and taking the description contents as node information of the nodes; adding a jump relation between the nodes according to a preset relation between the node types; wherein nodes having node information and a hopping relationship between nodes are used to compose the event hopping graph.
In one implementation, the above apparatus may further include a building module of the simulation model.
The simulation model building module is used for obtaining an equipment map of target equipment, wherein various types of equipment parameters of the target equipment are recorded in the equipment map; and constructing a simulation model of the target equipment according to the equipment parameters recorded by the equipment map.
In one implementation, the equipment parameters recorded by the equipment map comprise adjustable parameters and adjustable ranges of parameter values thereof; the jump probability simulation module 404 is configured to adjust parameter values of the target model parameters, including:
the jump probability simulation module 404 is specifically configured to determine the target model parameter in the adjustable parameters of the device map, and obtain an adjustable range of a parameter value of the target model parameter; and adjusting the parameter value of the target model parameter according to the adjustable range of the parameter value of the target model parameter.
In one implementation, the nodes in the event hop graph include one or more of: the node comprises an equipment node, a fault node, a reason node, a phenomenon node, a risk node and a disposal measure node; the jump relation among the nodes in the event jump map comprises one or more of the following: equipment failure, equipment phenomenon, phenomenon-to-failure, failure occurrence reason, risk brought by failure and failure handling measures.
The setting device of the graph node jump probability comprises a processor and a memory, wherein the event jump graph obtaining module 401, the simulation model obtaining module 402, the target model parameter determining module 403, the jump probability simulation module 404, the jump probability setting module 405 and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the simulation process of the simulation model and the construction process of the event jump map are combined by adjusting the kernel parameters to determine the jump probability corresponding to the jump relation in the event jump map.
The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium, on which a program is stored, where the program, when executed by a processor, implements a method for setting a hop probability of a graph node.
The embodiment of the invention provides a processor, which is used for running a program, wherein the setting method of the graph node jump probability is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps:
obtaining an event jump map related to a target device, wherein the event jump map comprises nodes and jump relations exist among the nodes, and the nodes in the event jump map represent events occurring in the running process of the target device;
obtaining a simulation model associated with the target device;
determining target model parameters corresponding to the target jump relation in the simulation model aiming at the target jump relation among target nodes in the event jump map;
adjusting parameter values of the target model parameters, and performing simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the probability of occurrence of the target jump relation;
and adding the probability to the target jump relation in the event jump map.
In one implementation, the determining, for a target jump relationship between target nodes in the event jump map, a target model parameter in the simulation model corresponding to the target jump relationship includes:
classifying according to the jumping relations of the nodes in the event jumping map, and taking each type of jumping relations as target jumping relations respectively; wherein, the node corresponding to the target jump relation is a target node;
and determining target model parameters corresponding to each target jump relation according to the preset jump relation type and the corresponding relation of the model parameters in the simulation model.
In an implementation manner, the adjusting the parameter value of the target model parameter, and performing simulation and statistics on the simulation model based on the adjusted parameter value to obtain the probability of the occurrence of the target jump relationship includes:
adjusting the parameter values of the target model parameters for multiple times, and recording the times of the target jump relation after the parameter values of the simulation model are adjusted;
and calculating the ratio of the times of the target jump relation to the total times of the adjustment parameter values, and taking the ratio as the probability of the target jump relation.
In one implementation manner, the method for constructing the event jump map includes:
determining node types of nodes contained in an event jump graph to be constructed, wherein different node types represent different events of equipment operation;
obtaining an operation description document associated with the target equipment;
extracting description contents corresponding to each node type from the operation description document, and taking the description contents as node information of the nodes;
adding a jump relation between nodes according to a preset relation between node types;
wherein nodes with node information and the jump relation between nodes are used to compose the event jump graph.
In one implementation, the method for constructing the simulation model includes:
obtaining an equipment map of a target equipment, wherein various types of equipment parameters of the target equipment are recorded in the equipment map;
and constructing a simulation model of the target equipment according to the equipment parameters recorded by the equipment map.
In one implementation, the equipment parameters recorded by the equipment map comprise adjustable parameters and adjustable ranges of parameter values thereof;
the adjusting the parameter values of the target model parameters comprises:
determining the target model parameter in the adjustable parameters of the equipment map, and obtaining the parameter value adjustable range of the target model parameter;
and adjusting the parameter value of the target model parameter according to the adjustable range of the parameter value of the target model parameter.
In one implementation, the nodes in the event hop graph include one or more of: the node comprises an equipment node, a fault node, a reason node, a phenomenon node, a risk node and a disposal measure node;
the jump relation among the nodes in the event jump map comprises one or more of the following: equipment failure, equipment phenomenon, phenomenon conversion into failure, failure occurrence reason, risk brought by failure and failure disposal measure.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device:
obtaining an event jump map related to a target device, wherein the event jump map comprises nodes and jump relations exist among the nodes, and the nodes in the event jump map represent events occurring in the running process of the target device;
obtaining a simulation model associated with the target device;
determining target model parameters corresponding to the target jump relation in the simulation model aiming at the target jump relation among target nodes in the event jump map;
adjusting parameter values of the target model parameters, and performing simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the probability of occurrence of the target jump relation;
and adding the probability to the target jump relation in the event jump map.
In one implementation, the determining, for a target jump relationship between target nodes in the event jump map, a target model parameter in the simulation model corresponding to the target jump relationship includes:
classifying according to the jumping relations of the nodes in the event jumping map, and taking each type of jumping relations as target jumping relations respectively; wherein, the node corresponding to the target jump relation is a target node;
and determining target model parameters corresponding to each target jump relation according to the preset jump relation type and the corresponding relation of the model parameters in the simulation model.
In an implementation manner, the adjusting the parameter value of the target model parameter, and performing simulation and statistics based on the adjusted parameter value through the simulation model to obtain the probability of the occurrence of the target jump relationship includes:
adjusting the parameter values of the target model parameters for multiple times, and recording the times of the target jump relation after the parameter values of the simulation model are adjusted;
and calculating the ratio of the times of the target jump relation to the total times of the adjustment parameter values, and taking the ratio as the probability of the target jump relation.
In one implementation, the method for constructing the event jump map includes:
determining node types of nodes contained in an event jump graph to be constructed, wherein different node types represent different events of equipment operation;
obtaining an operation description document associated with target equipment;
extracting description contents corresponding to each node type from the operation description document, and taking the description contents as node information of the nodes;
adding a jump relation between nodes according to a preset relation between node types;
wherein nodes having node information and a hopping relationship between nodes are used to compose the event hopping graph.
In one implementation manner, the method for constructing the simulation model includes:
obtaining an equipment map of target equipment, wherein various types of equipment parameters of the target equipment are recorded in the equipment map;
and constructing a simulation model of the target equipment according to the equipment parameters recorded by the equipment map.
In one implementation, the equipment parameters recorded by the equipment map comprise adjustable parameters and adjustable ranges of parameter values thereof;
the adjusting the parameter values of the target model parameters comprises:
determining the target model parameter in the adjustable parameters of the equipment map, and obtaining the parameter value adjustable range of the target model parameter;
and adjusting the parameter value of the target model parameter according to the adjustable range of the parameter value of the target model parameter.
In one implementation, the nodes in the event hop graph include one or more of: the node comprises an equipment node, a fault node, a reason node, a phenomenon node, a risk node and a disposal measure node;
the jump relation among the nodes in the event jump map comprises one or more of the following: equipment failure, equipment phenomenon, phenomenon-to-failure, failure occurrence reason, risk brought by failure and failure handling measures.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art to which the present application pertains. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims (9)
1. A method for setting graph node jump probability is characterized by comprising the following steps:
obtaining an event skipping map related to a target device, wherein the event skipping map comprises nodes, skipping relations exist among the nodes, and the nodes in the event skipping map represent events occurring in the running process of the target device;
obtaining a simulation model associated with the target device;
classifying according to the jumping relations of the nodes in the event jumping map, and taking each type of jumping relations as target jumping relations respectively; wherein, the node corresponding to the target jump relation is a target node;
determining target model parameters corresponding to each target jump relation according to the preset jump relation type and the corresponding relation of the model parameters in the simulation model;
adjusting parameter values of the target model parameters, and performing simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the probability of occurrence of the target jump relation;
and adding the probability to the target jump relation in the event jump map.
2. The method for setting graph node hop probability according to claim 1, wherein the adjusting the parameter value of the target model parameter, and performing simulation and statistics based on the adjusted parameter value through the simulation model to obtain the probability of occurrence of the target hop relationship comprises:
adjusting the parameter values of the target model parameters for multiple times, and recording the times of the target jump relation after the parameter values of the simulation model are adjusted;
and calculating the ratio of the times of the target jump relation to the total times of the adjustment parameter values, and taking the ratio as the probability of the target jump relation.
3. The setting method of graph node hop probability according to claim 1, wherein the construction method of the event hop graph comprises:
determining node types of nodes contained in an event hopping graph to be constructed, wherein different node types represent different events of equipment operation;
obtaining an operation description document associated with the target equipment;
extracting description contents corresponding to each node type from the operation description document, and taking the description contents as node information of the nodes;
adding a jump relation among the nodes according to a preset relation among the node types;
wherein nodes having node information and a hopping relationship between nodes are used to compose the event hopping graph.
4. The method for setting graph node hop probability according to claim 1, wherein the method for constructing the simulation model comprises:
obtaining an equipment map of a target equipment, wherein various types of equipment parameters of the target equipment are recorded in the equipment map;
and constructing a simulation model of the target equipment according to the equipment parameters recorded by the equipment map.
5. The setting method of graph node hop probability according to claim 4, wherein the equipment parameters recorded by the equipment graph include adjustable parameters and adjustable ranges of parameter values thereof;
the adjusting the parameter values of the target model parameters comprises:
determining the target model parameters in the adjustable parameters of the equipment map, and obtaining parameter value adjustable ranges of the target model parameters;
and adjusting the parameter value of the target model parameter according to the adjustable range of the parameter value of the target model parameter.
6. The setting method of graph node hop probability according to claim 1,
the nodes in the event hop map include one or more of: the node comprises an equipment node, a fault node, a reason node, a phenomenon node, a risk node and a disposal measure node;
the jump relation among the nodes in the event jump map comprises one or more of the following: equipment failure, equipment phenomenon, phenomenon-to-failure, failure occurrence reason, risk brought by failure and failure handling measures.
7. A map node hop probability setting device is characterized by comprising:
the event skipping map obtaining module is used for obtaining an event skipping map related to target equipment, wherein the event skipping map comprises nodes, skipping relations exist among the nodes, and the nodes in the event skipping map represent events occurring in the running process of the target equipment;
a simulation model obtaining module for obtaining a simulation model associated with the target device;
a target model parameter determination module, configured to determine, for a target jump relationship between target nodes in the event jump map, a target model parameter corresponding to the target jump relationship in the simulation model;
the jump probability simulation module is used for adjusting parameter values of the target model parameters, and performing simulation and statistics on the basis of the adjusted parameter values through the simulation model to obtain the probability of the target jump relation;
a jump probability setting module for adding the probability to the target jump relation in the event jump map;
the target model parameter determination module is specifically configured to: classifying according to the jumping relations of the nodes in the event jumping map, and taking each type of jumping relations as target jumping relations respectively; wherein, the node corresponding to the target jump relation is a target node; and determining target model parameters corresponding to each target jump relation according to the preset jump relation type and the corresponding relation of the model parameters in the simulation model.
8. A storage medium on which a program is stored, the program realizing the setting method of the graph node hop probability according to any one of claims 1 to 6 when executed by a processor.
9. A processor, characterized in that the processor is configured to run a program, wherein the program when running executes the setting method of graph node hop probability according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811161188.2A CN110968546B (en) | 2018-09-30 | 2018-09-30 | Method for setting map node skipping probability and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811161188.2A CN110968546B (en) | 2018-09-30 | 2018-09-30 | Method for setting map node skipping probability and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110968546A CN110968546A (en) | 2020-04-07 |
CN110968546B true CN110968546B (en) | 2023-04-07 |
Family
ID=70029258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811161188.2A Active CN110968546B (en) | 2018-09-30 | 2018-09-30 | Method for setting map node skipping probability and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110968546B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117436593B (en) * | 2023-12-18 | 2024-05-24 | 广州市意立环保科技有限公司 | Incinerator system fault prediction method and system based on artificial intelligence |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101770616A (en) * | 2010-02-09 | 2010-07-07 | 北京航空航天大学 | Multi-level collaborative project plan management method |
CN103353902B (en) * | 2011-12-21 | 2017-02-22 | 国网河北省电力公司培训中心 | Construction method for secondary equipment simulation model of electric power system |
CN103377082B (en) * | 2012-04-27 | 2016-09-07 | 国际商业机器公司 | The method and apparatus that discrete events simulation is scheduling |
CN108415932B (en) * | 2018-01-23 | 2023-12-22 | 思必驰科技股份有限公司 | Man-machine conversation method and electronic equipment |
-
2018
- 2018-09-30 CN CN201811161188.2A patent/CN110968546B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110968546A (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109542789B (en) | Code coverage rate statistical method and device | |
CN109063886B (en) | Anomaly detection method, device and equipment | |
CN112181804B (en) | Parameter verification method, device and storage medium | |
US10474799B2 (en) | Method and system for identifying a unique mobile device based on mobile device attribute changes over time | |
CN109561052B (en) | Method and device for detecting abnormal flow of website | |
CN108596410B (en) | Automatic wind control event processing method and device | |
CN113641526B (en) | Alarm root cause positioning method and device, electronic equipment and computer storage medium | |
CN110287188B (en) | Feature variable generation method and device for call detail list data | |
US20170306726A1 (en) | Stuck pipe prediction | |
CN114116414A (en) | Alarm method, alarm device, nonvolatile storage medium and electronic equipment | |
CN110968546B (en) | Method for setting map node skipping probability and related equipment | |
CN116307460A (en) | Chemical equipment management method, equipment and medium for safe production | |
CN110069379B (en) | Screening method and screening device for monitoring indexes | |
CN110163470B (en) | Event evaluation method and device | |
CN105302700A (en) | Method and equipment for recording user operation on touch terminal | |
CN109039695B (en) | Service fault processing method, device and equipment | |
CN112579847A (en) | Method and device for processing production data, storage medium and electronic equipment | |
CN110955760A (en) | Evaluation method of judgment result and related device | |
CN108267613B (en) | Wind measurement data processing method and related equipment | |
CN106896419B (en) | Method and device for determining oil and gas resource quantity | |
CN114154864A (en) | Quality assessment method and processor for electric microclimate monitoring data | |
CN114861984A (en) | For predicting high CO content 2 Method and processor for condensing volume of oil ring of gas reservoir | |
CN114493242A (en) | Method and system for positioning and processing abnormal water supply of pipe network | |
CN109145996B (en) | Index data generation method and device under abnormal environment and electronic equipment | |
CN111475654A (en) | Method and device for determining production fault of oil and gas field and establishing knowledge graph spectrum |
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 |