Source tracing warning method and system based on the fusion of data-driven and mechanism model

Through the traceability early warning method based on the integration of data-driven and mechanism models, the node set and the target state evolution network diagram are generated, which solves the problem that the traditional model cannot monitor the system state evolution, achieves accurate monitoring and risk warning of the operating system, and reduces the operational cost. risk.

CN118467303BActive Publication Date: 2024-09-17CHENGDU GREATECH ELECTRONIC TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410941528.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-17
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

The traditional scenario evolution model cannot accurately display the system state evolution process, and thus cannot accurately perceive the risk evolution process, resulting in the inability to effectively monitor and reduce the operational risks of the operating system.

Method used

A traceability early warning method based on the fusion of data-driven and mechanism models is used to obtain operating system data, generate node sets and target state evolution network diagrams, and reflect the system state evolution process in real time for state traceability and risk early warning.

Benefits of technology

It achieves accurate monitoring and risk warning of the status evolution process of the operating system, and reduces the operational risks of the operating system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118467303B
    Figure CN118467303B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a traceability warning method and system based on the fusion of data-driven and mechanism model; the embodiment of the present invention includes: obtaining data corresponding to the operating system; generating a node set based on the data corresponding to the operating system and the operating system, wherein the node set includes at least one node, and the node is used to characterize the state of the operating system; based on the node set and the relationship between each node, generating a visualized target state evolution network diagram. The present invention can reflect the state evolution process of the operating system, thereby helping to monitor the operating system and helping to reduce the operating risk of the operating system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a source tracing and early warning method and system based on the fusion of data drive and mechanism model. Background Art

[0002] State evolution refers to the process of state change of a system, object or thing on the time axis. In the field of information security, state evolution can be used to describe the changes in the security state of a system or network over time. Risk evolution is a special scenario, and the risk evolution model can describe the occurrence, development and outcome of risks.

[0003] At present, scenario evolution models are often used to describe the changes of things. Traditional scenario evolution models mainly focus on descriptive models, focusing on describing the evolution of risks and only describing the state of risks. In terms of the perception and detection of the specific state of risks, traditional scenario evolution models are insufficient. Therefore, traditional scenario evolution models cannot accurately display the state evolution process of the system, and thus cannot accurately perceive the risk evolution process. Summary of the invention

[0004] The embodiment of the present invention provides a traceability warning method and system based on the fusion of data-driven and mechanism models, which can reflect the state evolution process of the running system, thereby helping to monitor the running system and help reduce the running risk of the running system.

[0005] The embodiment of the present invention provides a source tracing warning method based on the fusion of data drive and mechanism model, including:

[0006] Get the data corresponding to the running system;

[0007] Generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set includes at least one node, and the node is used to represent the state of the operating system;

[0008] Based on the node set and the relationship between each node, a visual target state evolution network diagram is generated, and the target state evolution network diagram is used to perform state tracing and risk warning of the operating system.

[0009] Specifically, generating a node set based on the data corresponding to the operating system and the operating system includes:

[0010] Based on the data, generate a data source unit;

[0011] Generate an object unit based on the data source unit, the device of the operating system, and parameters corresponding to the device;

[0012] generating at least one state unit based on the detection results corresponding to the object unit and the detection unit of the operating system;

[0013] Based on the state unit, generate a state unit collection;

[0014] Based on the operating system, a current state unit, an upstream state unit, and a downstream state unit are screened out from the state unit collection, wherein the current state unit is used to represent the current state of the operating system, the upstream state unit is used to represent the previous state of the operating system associated with the current state, and the downstream state unit is used to represent the subsequent state of the operating system associated with the current state;

[0015] Generate the node based on the current state unit, the upstream state unit, and the downstream state unit;

[0016] Based on the node, the node set is generated.

[0017] Specifically, the data source unit is represented by the following expression:

[0018] ,

[0019] in, Represents the data source unit, represents the database corresponding to the data, represents the data table corresponding to the data, Indicates the field corresponding to the data.

[0020] Specifically, the object unit is represented by the following expression:

[0021] ,

[0022] in, represents the object unit, represents the device, Indicates the parameter.

[0023] Specifically, the state unit is represented by the following expression:

[0024] ,

[0025] ,

[0026] in, represents the state unit, , , …, Respectively represent the detection results corresponding to each detection unit, and the detection results are Boolean values or Boolean , represents a combinatorial logic operation designed based on the operating system, represents the logical operation corresponding to the detection unit, Indicates the detection decision value corresponding to the detection unit.

[0027] Specifically, the node is represented by the following expression:

[0028] ,

[0029] in, represents the node, represents the state unit collection, represents the current state unit, Respectively represent each upstream state unit, Represent each downstream state unit respectively.

[0030] Specifically, the method further includes:

[0031] Parsing the node to obtain a state unit corresponding to the node, a detection unit corresponding to the node, and a data source unit corresponding to the node;

[0032] Reconstructing the state unit corresponding to the node, the detection unit corresponding to the node, and the data source unit corresponding to the node to obtain a set of data to be collected;

[0033] Based on the database corresponding to the data set to be collected and the data table corresponding to the data set to be collected, the data set to be collected is grouped to obtain at least one data group to be collected;

[0034] Based on the preset collection statements, the data groups to be collected are collected and processed in parallel to improve data collection efficiency and enable the target state evolution network diagram to reflect the state evolution process of the operating system in real time.

[0035] The embodiment of the present invention further provides a traceability warning system based on the fusion of data drive and mechanism model, including:

[0036] The first module is used to obtain data corresponding to the running system;

[0037] A second module is used to generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set is used to represent the state evolution process of the operating system, and the node set includes at least one node, and the node is used to represent the state of the operating system;

[0038] The third module is used to generate a visual target state evolution network diagram based on the node set and the relationship between each node.

[0039] An embodiment of the present invention provides a traceability and early warning method and system based on the fusion of data-driven and mechanism models. The method and system can first obtain data corresponding to an operating system; based on the data corresponding to the operating system and the operating system, generate a node set, wherein the node set is used to characterize the state evolution process of the operating system, and the node set includes at least one node, and the node is used to characterize the state of the operating system; finally, based on the node set and the relationship between each node, generate a visual target state evolution network diagram.

[0040] The embodiments of the present invention can reflect the state evolution process of the running system, thereby facilitating monitoring of the running system and reducing the running risk of the running system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 It is a flow chart of a source tracing and early warning method based on the fusion of data drive and mechanism model provided by an embodiment of the present invention;

[0043] Figure 2 It is a structural diagram of a source tracing and early warning system based on the fusion of data drive and mechanism model provided by an embodiment of the present invention;

[0044] Figure 3 It is a schematic diagram of the structure of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0046] The embodiment of the present invention provides a source tracing warning method and system based on the fusion of data drive and mechanism model.

[0047] The system may be integrated into an electronic device, which may be a terminal, a server or the like.

[0048] In some embodiments, the server may also be implemented in the form of a terminal.

[0049] Among them, the server can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0050] The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, and the present invention does not limit this.

[0051] It should be noted that the serial numbers of the following embodiments are not intended to limit the preferred order of the embodiments.

[0052] In this embodiment, a traceability warning method based on the fusion of data-driven and mechanism models is provided, which can reflect the state evolution process of the running system, thereby helping to monitor the running system and help reduce the operating risk of the running system. Among them, the state evolution model to be adopted by the method is the internal mechanism of state evolution, and the analysis in the method is based on this internal mechanism; the data received in the method makes judgments and warnings on the state reflected by the data according to the internal mechanism of the state evolution model. Therefore, this method is a traceability warning method based on the fusion of data-driven and mechanism models.

[0053] like Figure 1 As shown, the specific process of the method can be as follows:

[0054] 110. Get the data corresponding to the running system.

[0055] In some embodiments, the operating system may be a fire environment system, a factory assembly line system, or a system corresponding to a conventional application scenario.

[0056] 120. Generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set includes at least one node, and the node is used to represent a state of the operating system.

[0057] In some embodiments, generating a node set based on the data corresponding to the operating system and the operating system includes steps 121 to 127 as shown below:

[0058] 121. Generate a data source unit based on the data.

[0059] In some embodiments, the data source unit is represented by the following expression:

[0060]

[0061] in, Represents the data source unit, represents the database corresponding to the data, represents the data table corresponding to the data, Indicates the field corresponding to the data.

[0062] 122. Generate an object unit based on the data source unit, the device of the operating system, and parameters corresponding to the device.

[0063] In some embodiments, the object unit is represented by the following expression:

[0064]

[0065] in, represents the object unit, represents the device, Indicates the parameter.

[0066] 123. Generate at least one status unit based on the detection results corresponding to the object unit and the detection unit of the operating system.

[0067] In some embodiments, the state unit is represented by the following expression:

[0068] ,

[0069] ,

[0070] in, represents the state unit, , , …, Respectively represent the detection results corresponding to each detection unit, and the detection results are Boolean values or Boolean , represents a combinatorial logic operation designed based on the operating system, represents the logical operation corresponding to the detection unit, Indicates the detection decision value corresponding to the detection unit.

[0071] 124. Generate a state unit collection based on the state unit.

[0072] 125. Based on the operating system, a current state unit, an upstream state unit and a downstream state unit are filtered out from the state unit collection, wherein the current state unit is used to characterize the current state of the operating system, the upstream state unit is used to characterize the previous state of the operating system associated with the current state, and the downstream state unit is used to characterize the subsequent state of the operating system associated with the current state.

[0073] 126. Generate the node based on the current state unit, the upstream state unit, and the downstream state unit.

[0074] In some embodiments, the node is represented by the following expression:

[0075]

[0076] in, represents the node, represents the state unit collection, represents the current state unit, Respectively represent each upstream state unit, Represent each downstream state unit respectively.

[0077] 127. Generate the node set based on the node.

[0078] 130. Based on the node set and the relationship between each node, generate a visualized target state evolution network diagram, wherein the target state evolution network diagram is used to perform state tracing and risk warning for the operating system.

[0079] In some embodiments, in order to enable the method to be used for real-time monitoring, it is necessary to periodically update the nodes, and then collect the data corresponding to the nodes. Data collection is a relatively time-consuming operation; if the number of nodes involved in the model is large, the operation of collecting node data one by one will inevitably increase the load of the model operation.

[0080] Specifically, the method further includes steps A1 to A4 as shown below:

[0081] A1. parse the node to obtain a state unit corresponding to the node, a detection unit corresponding to the node, and a data source unit corresponding to the node.

[0082] A2. Reconstruct the state unit corresponding to the node, the detection unit corresponding to the node, and the data source unit corresponding to the node to obtain a set of data to be collected.

[0083] A3. Based on the database corresponding to the data set to be collected and the data table corresponding to the data set to be collected, the data set to be collected is grouped to obtain at least one data group to be collected.

[0084] A4. Based on the preset collection statement, the data group to be collected is collected and processed in parallel to improve the data collection efficiency and enable the target state evolution network diagram to reflect the state evolution process of the running system in real time.

[0085] In summary, the embodiments of the present invention can reflect the state evolution process of the operating system, thereby facilitating monitoring of the operating system and helping to reduce the operating risk of the operating system.

[0086] The present invention is further described below by a specific embodiment:

[0087] To reflect the state evolution process of the running system, the target result can be set as a state evolution network diagram, where the nodes in the network diagram represent the state, and the connection lines between the nodes in the network represent the relationship between the state and the state. In order to achieve the monitorability of the method, the nodes must be restructured, and the state discrimination, data collection, and data representation must be deeply bound, so that the method can be given the ability to be used for state monitoring.

[0088] Specifically, the nodes can be defined by the following levels:

[0089] (a) Data source layer:

[0090] The data source layer is used to describe the storage location of state-related data in the information system. A state may be related to multiple data, so it can correspond to multiple data source units; the data in each data source may also be used to describe multiple states. The structure of the data source unit is defined as follows:

[0091] (1)

[0092] in, Represents a data source unit, which includes a database , Data Table and Fields Three components.

[0093] (b) Object layer:

[0094] The object layer is used to describe risk-related carriers. Typical objects include equipment and its parameters, such as the temperature of equipment A, the liquid level of equipment B, etc. Considering generalization, non-physical equipment such as the environment can also be considered as special objects, such as the temperature of the environment and the carbon dioxide concentration of the environment. The model of the present invention is committed to ensuring monitorability. In addition to describing equipment and parameters, any object unit must also be bound to a data source unit. Therefore, the definition of the object unit is as follows:

[0095] (2)

[0096] in, Represents an object, Indicates the device, Indicates the parameters, It is the data unit from the data source layer.

[0097] (c) Status layer:

[0098] The state layer describes the manifestation of risk, and each risk corresponds to a state unit. Risks may be related to a single object or multiple objects, and thus correspond to single or multiple specific parameters. Even when the risk is only related to one object, it may be related to only one parameter or multiple parameters. When these parameters are abnormal, risks may arise, and these parameters need to be tested. Therefore, the determination of risk status is actually a logical combination of the results of these basic detection units. To this end, the basic structure of the state unit is as follows:

[0099] (3)

[0100] in, Represents a state unit; , ,……, Represents the result of each detection unit, the result is a Boolean value; Represents a combinatorial logic operation designed according to risk. It can be further expanded into an expression relation:

[0101] (4)

[0102] In formula (4), and All are derived from the devices and parameters described in the object layer. Represents logical operations, such as greater than, less than, equal to, not equal to, is the detection decision value corresponding to the detection unit. The result is a Boolean value. or .

[0103] The meaning of formula (3) and formula (4) is to make the state discrimination mandatory and the object unit management, and then mandatory and associated with the data source unit; if a state unit cannot find the corresponding data source unit, it cannot become a state unit. This achieves the monitorability of risk.

[0104] All state units form a set, expressed as:

[0105] (5)

[0106] Node layer:

[0107] The node layer is used to describe the risk state and other states associated with it. The present invention further constrains the source of the node. First, the risk state must be derived from the state layer, that is, from formula (5); second, the associated upstream nodes and downstream nodes must also be derived from the state layer, that is, from formula (5). The risk node structure is defined as follows:

[0108] (6)

[0109] in, represents the node, represents the state unit collection, represents the current state unit, Respectively represent each upstream state unit, They represent each downstream state unit respectively. Finally, a state evolution network diagram is formed through the combination of nodes.

[0110] To reflect the state evolution of the running system, the user can implement it through the steps B1 to B6 shown below:

[0111] B1. Select nodes related to the risk state evolution to form a node set. The structure of each risk node is as shown in formula (6), where the current state unit, upstream state unit, and downstream state unit are as shown in formula (4).

[0112] B2. Create an empty table of nodes, each node represents a state.

[0113] B3. Traverse each node in the node set and add the current state, upstream state, and downstream state of each node to the network node table. In the nodes represented by formula (6), different states may contain repeated states; if a state already exists in the network node table during the addition process, it does not need to be added again.

[0114] B4. Create an empty table of network edges, where each edge represents a logical evolution relationship.

[0115] B5. Traverse each node in the node set and extract the edge information contained in each node: each upstream state can form an edge to the current state; each current state can also form an edge to the downstream state. Add these edges to the network edge table. In the risk node represented by formula (6), different risks and state associations (i.e., the edge formed by state A->state B) may be repeated; if an edge already exists in the network edge table during the addition process, it does not need to be added again.

[0116] B6. Combining the node table and the edge table will form a visualized target state evolution network diagram. Each circle represents a state, and each state is a detectable state.

[0117] In order to improve the data collection efficiency, so that the method can be used to monitor the operating status of the running system in real time, the present invention is further described below through another specific embodiment:

[0118] In order to improve the data collection efficiency so that the method can be used to monitor the operating status of the operating system in real time, the following steps C1 to C4 are used to implement the method:

[0119] C1. Disassemble the nodes to form a collection to be collected:

[0120] The state unit set involved in this embodiment is shown in formula (5), and each state can be decomposed into the detection unit in formula (3). The data required by the detection unit is expressed as formula (2), and then finally mapped to the data source in the triple of formula (1). Then, the state, detection unit and data source unit are reassembled to form a new set to be collected. In each unit of the set to be collected, D, T, and F indicate where the data is to be collected; S and e indicate a state where the data is available and the corresponding detection unit.

[0121] C2. Packaging the collection to be collected:

[0122] The elements in the collection set are grouped, and the elements with the same D and T are grouped together. In the same group, S (state), e (detection unit), and F (field) can be different, but they all come from the same table in the same database and can be collected in parallel at one time.

[0123] C3. Assemble the collection field and collect data.

[0124] For the packaged data, assemble the collection fields according to the following template to form a database collection statement, and collect multiple data for different state nodes at one time. The pseudo code of the assembly template is as follows, which means to get the latest values ​​of different fields in the same database and the same table at one time:

[0125] SELECT [F1],[F2],…

[0126] FROM [D],[T]

[0127] WHERE LATESTRECORD

[0128] Data is collected using assembled SQL statements, where V represents the value of the corresponding field, thereby achieving parallel collection.

[0129] C4. Get the final results of each state:

[0130] After returning the results of the detection units corresponding to each state from the previous step, the results of each state in the risk model can be finally obtained according to formula (3).

[0131] In order to better demonstrate the presentation of the visualized target state evolution network diagram in an actual application scenario, the present invention is further described below through another specific embodiment:

[0132] Based on the method, a monitorable scenario risk evolution model is constructed by the system. The warning content will prompt the cause (i.e., upstream node) and the consequence (downstream node). The warning is based on the detection result of the status node. The four-level mechanism ensures the availability of data of the status node. During real-time monitoring, data can be quickly collected and the status can be calculated through parallel data collection methods.

[0133] In summary, this solution provides a method for displaying state evolution, which can reflect the state evolution process of the running system, thereby helping to monitor the running system and help reduce the operation risk of the running system.

[0134] In order to better implement the above method, the embodiment of the present invention also provides a traceability warning system based on the fusion of data drive and mechanism model, which can be integrated in electronic devices, such as terminals, servers, etc. Among them, the terminal can be a mobile phone, tablet computer, smart Bluetooth device, laptop computer, personal computer, etc.; the server can be a single server or a server cluster composed of multiple servers.

[0135] For example, in this embodiment, the method of the embodiment of the present invention is described in detail by taking the specific integration of the traceability warning system based on the fusion of data-driven and mechanism models in the terminal as an example.

[0136] For example, Figure 2 As shown, the system may include a first module 201, a second module 202, and a third module 203, as follows:

[0137] The first module 201 is used to obtain data corresponding to the operating system;

[0138] The second module 202 is used to generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set is used to represent the state evolution process of the operating system, and the node set includes at least one node, and the node is used to represent the state of the operating system;

[0139] The third module 203 is used to generate a visualized target state evolution network diagram based on the node set and the relationship between each node.

[0140] In specific implementation, the above units can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units can refer to the previous method embodiments, which will not be repeated here.

[0141] It can be seen from the above that the embodiments of the present invention can reflect the state evolution process of the running system, thereby facilitating monitoring of the running system and helping to reduce the running risk of the running system.

[0142] The embodiment of the present invention further provides an electronic device, which may be a terminal, a server, or the like. The terminal may be a mobile phone, a tablet computer, a smart Bluetooth device, a notebook computer, a personal computer, or the like; the server may be a single server or a server cluster composed of multiple servers, or the like.

[0143] In some embodiments, the traceability and early warning system based on the fusion of data-driven and mechanism models can also be integrated into multiple electronic devices. For example, the traceability and early warning system based on the fusion of data-driven and mechanism models can be integrated into multiple servers, and the traceability and early warning method based on the fusion of data-driven and mechanism models of the present invention can be implemented by multiple servers.

[0144] In this embodiment, the electronic device of this embodiment is a terminal as an example for detailed description, for example, Figure 3 As shown, it shows a schematic diagram of the structure of the terminal involved in the embodiment of the present invention, specifically:

[0145] The terminal may include one or more processors 301 of processing cores, one or more storage media 302, a power supply 303, an input module 304, and a communication module 305. Those skilled in the art will appreciate that Figure 3 The terminal structure shown in the figure does not constitute a limitation on the terminal, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0146] The processor 301 is the control center of the terminal. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the terminal and processes data by running or executing software programs and / or modules stored in the memory 302, and calling data stored in the memory 302, so as to monitor the terminal as a whole. In some embodiments, the processor 301 may include one or more processing cores; in some embodiments, the processor 301 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 301.

[0147] The memory 302 can be used to store software programs and modules. The processor 301 executes various functional applications and data processing by running the software programs and modules stored in the memory 302. The memory 302 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 302 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 302 may also include a memory controller to provide the processor 301 with access to the memory 302.

[0148] The terminal also includes a power supply 303 for supplying power to various components. In some embodiments, the power supply 303 can be logically connected to the processor 301 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 303 can also include any components such as one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, and power status indicators.

[0149] The terminal may further include an input module 304, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.

[0150] The terminal may also include a communication module 305. In some embodiments, the communication module 305 may include a wireless module. The terminal may perform short-range wireless transmission through the wireless module of the communication module 305, thereby providing the user with wireless broadband Internet access. For example, the communication module 305 may be used to help the user send and receive emails, browse web pages, and access streaming media.

[0151] Although not shown, the terminal may further include a display unit, etc., which will not be described in detail herein. Specifically in this embodiment, the processor 301 in the terminal will load the executable files corresponding to the processes of one or more applications into the memory 302 according to the following instructions, and the processor 301 will run the applications stored in the memory 302, thereby realizing various functions, as follows:

[0152] Get the data corresponding to the running system;

[0153] Generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set includes at least one node, and the node is used to represent the state of the operating system;

[0154] Based on the node set and the relationship between each node, a visual target state evolution network diagram is generated, and the target state evolution network diagram is used to perform state tracing and risk warning of the operating system.

[0155] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0156] It can be seen from the above that the embodiments of the present invention can reflect the state evolution process of the running system, thereby facilitating monitoring of the running system and helping to reduce the running risk of the running system.

[0157] A person skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a storage medium and loaded and executed by a processor.

[0158] To this end, an embodiment of the present invention provides a storage medium in which a plurality of instructions are stored. The instructions can be loaded by a processor to execute any one of the steps provided in the embodiment of the present invention, wherein the target state evolution network diagram is used to perform state tracing and risk warning methods for the operating system. For example, the instructions can execute the following steps:

[0159] Get the data corresponding to the running system;

[0160] Generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set includes at least one node, and the node is used to represent the state of the operating system;

[0161] Based on the node set and the relationship between each node, a visual target state evolution network diagram is generated, and the target state evolution network diagram is used to perform state tracing and risk warning of the operating system.

[0162] The storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0163] According to one aspect of the present invention, a computer program product or a computer program is provided, the computer program product or the computer program comprising computer instructions, the computer instructions being stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations provided in the above embodiments.

[0164] Since the instructions stored in the storage medium can execute the steps in any method of displaying state evolution provided in the embodiments of the present invention, the beneficial effects that can be achieved by any traceability and early warning method based on the fusion of data-driven and mechanism models provided in the embodiments of the present invention can be achieved. For details, please see the previous embodiments and will not be repeated here.

[0165] The above is a detailed introduction to a traceability warning method and system based on the fusion of data-driven and mechanism models provided in an embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A source tracing warning method based on the fusion of data-driven and mechanism model, characterized in that: include: Get the data corresponding to the running system; Generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set includes at least one node, and the node is used to represent the state of the operating system; Based on the node set and the relationship between each node, a visual target state evolution network diagram is generated, and the target state evolution network diagram is used to perform state tracing and risk warning of the operating system; The generating a node set based on the data corresponding to the operating system and the operating system includes: Based on the data, generate a data source unit; Generate an object unit based on the data source unit, the device of the operating system, and parameters corresponding to the device; generating at least one state unit based on the detection results corresponding to the object unit and the detection unit of the operating system; Based on the state unit, generate a state unit collection; Based on the operating system, a current state unit, an upstream state unit, and a downstream state unit are screened out from the state unit collection, wherein the current state unit is used to represent the current state of the operating system, the upstream state unit is used to represent the previous state of the operating system associated with the current state, and the downstream state unit is used to represent the subsequent state of the operating system associated with the current state; Generate the node based on the current state unit, the upstream state unit, and the downstream state unit; Based on the node, generate the node set; The data source unit is represented by the following expression: , in, Represents the data source unit, represents the database corresponding to the data, represents the data table corresponding to the data, Indicates the field corresponding to the data; The object unit is represented by the following expression: , in, represents the object unit, represents the device, represents the parameter; The state unit is represented by the following expression: , , in, represents the state unit, , , …, Respectively represent the detection results corresponding to each detection unit, and the detection results are Boolean values or Boolean , represents a combinatorial logic operation designed based on the operating system, represents the logical operation corresponding to the detection unit, Indicates the detection decision value corresponding to the detection unit; The nodes are represented by the following expressions: , in, represents the node, represents the state unit collection, represents the current state unit, Respectively represent each upstream state unit, Represent each downstream state unit respectively.

2. The method according to claim 1, characterized in that The method further comprises: Parsing the node to obtain a state unit corresponding to the node, a detection unit corresponding to the node, and a data source unit corresponding to the node; Reconstructing the state unit corresponding to the node, the detection unit corresponding to the node, and the data source unit corresponding to the node to obtain a set of data to be collected; Based on the database corresponding to the data set to be collected and the data table corresponding to the data set to be collected, the data set to be collected is grouped to obtain at least one data group to be collected; Based on the preset collection statements, the data groups to be collected are collected and processed in parallel to improve data collection efficiency and enable the target state evolution network diagram to reflect the state evolution process of the operating system in real time.

3. A traceability warning system based on the fusion of data-driven and mechanism models, characterized in that: include: The first module is used to obtain data corresponding to the running system; The second module is configured to generate a node set based on the data corresponding to the operating system and the operating system, wherein the node set is used to characterize the state evolution process of the operating system, and the node set includes at least one node, and the node is used to characterize the state of the operating system; the generating the node set based on the data corresponding to the operating system and the operating system includes: Based on the data, generate a data source unit; Generate an object unit based on the data source unit, the device of the operating system, and parameters corresponding to the device; generating at least one state unit based on the detection results corresponding to the object unit and the detection unit of the operating system; Based on the state unit, generate a state unit collection; Based on the operating system, a current state unit, an upstream state unit, and a downstream state unit are screened out from the state unit collection, wherein the current state unit is used to represent the current state of the operating system, the upstream state unit is used to represent the previous state of the operating system associated with the current state, and the downstream state unit is used to represent the subsequent state of the operating system associated with the current state; Generate the node based on the current state unit, the upstream state unit, and the downstream state unit; Based on the node, generate the node set; The data source unit is represented by the following expression: , in, Represents the data source unit, represents the database corresponding to the data, represents the data table corresponding to the data, Indicates the field corresponding to the data; The object unit is represented by the following expression: , in, represents the object unit, represents the device, represents the parameter; The state unit is represented by the following expression: , , in, represents the state unit, , , …, Respectively represent the detection results corresponding to each detection unit, and the detection results are Boolean values or Boolean , represents a combinatorial logic operation designed based on the operating system, represents the logical operation corresponding to the detection unit, Indicates the detection decision value corresponding to the detection unit; The nodes are represented by the following expressions: , in, represents the node, represents the state unit collection, represents the current state unit, Respectively represent each upstream state unit, Respectively represent each downstream state unit; The third module is used to generate a visual target state evolution network diagram based on the node set and the relationship between each node.

Citation Information

Patent Citations

  • Network attack tracing method, system and equipment based on knowledge graph

    CN115412372A

  • Power utilization safety early warning method and system based on data and mechanism fusion driving

    CN116613881A

  • Dynamic evolution method and system for gas turbine mechanism simulation model

    CN116822120A

  • Flight control system state monitoring method based on domain adversarial migration network

    CN117608959A

  • Sewage treatment fault diagnosis method and system based on data analysis

    CN118230069A