CN117197281B - Asset data full life chain dynamic portrait construction method based on business scene - Google Patents

Asset data full life chain dynamic portrait construction method based on business scene Download PDF

Info

Publication number
CN117197281B
CN117197281B CN202311481053.5A CN202311481053A CN117197281B CN 117197281 B CN117197281 B CN 117197281B CN 202311481053 A CN202311481053 A CN 202311481053A CN 117197281 B CN117197281 B CN 117197281B
Authority
CN
China
Prior art keywords
state
fault
dynamic
preset
node
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
Application number
CN202311481053.5A
Other languages
Chinese (zh)
Other versions
CN117197281A (en
Inventor
张智伟
庄谦
孙晓刚
王韦
叶忠坤
孔骋涛
傅悦
夏瑜
杨新明
王乾峰
王丽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Zhejiang Electric Power Co Ltd
Zhejiang Huayun Information Technology Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd
Zhejiang Huayun Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Zhejiang Electric Power Co Ltd, Zhejiang Huayun Information Technology Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd
Priority to CN202311481053.5A priority Critical patent/CN117197281B/en
Publication of CN117197281A publication Critical patent/CN117197281A/en
Application granted granted Critical
Publication of CN117197281B publication Critical patent/CN117197281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a business scene-based asset data full-life chain dynamic image construction method, which comprises the steps of obtaining a dynamic equipment set corresponding to a target scene, and constructing a state chain corresponding to each target equipment according to the equipment state of each target equipment in the dynamic equipment set, wherein the state chain comprises a plurality of state nodes; constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data; determining a total node with a node attribute of a sub-portrait as a target node, and acquiring a plurality of sub-nodes corresponding to the target node; and acquiring fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and sending the dynamic life chain portrait and the dynamic fault portrait to a management end.

Description

Asset data full life chain dynamic portrait construction method based on business scene
Technical Field
The invention relates to a data processing technology, in particular to a business scene-based asset data full life chain dynamic portrait construction method.
Background
The power equipment plays an important role in the power system, and the representation of each life link of the power equipment is important for improving the production efficiency and reducing the cost. Wherein the life-whole representation of the device is divided into a plurality of different stages including device purchase, device use, device maintenance, device scrapping, etc.
In the prior art, when generating the life image of the power equipment, repeated information input is usually performed by a manual recording mode, but due to the fact that the types and the models of the power equipment are various, and the corresponding life images of the equipment with the same model are possibly different under different business scenes, the operation is complex and the efficiency is low in the mode.
Therefore, how to automatically generate full life portraits under different business scenes by combining the data of the power equipment in each life link becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a business scene-based asset data full life chain dynamic image construction method, which can automatically generate full life images under different business scenes by combining data of power equipment in each life link.
In a first aspect of the embodiment of the present invention, a method for constructing a full life chain dynamic portrait of asset data based on business scenario is provided, including:
Acquiring a dynamic equipment set corresponding to a target scene, and constructing a state chain corresponding to each target equipment according to the equipment state of each target equipment in the dynamic equipment set, wherein the state chain comprises a plurality of state nodes;
constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data;
determining a total node with a node attribute of a sub-portrait as a target node, and acquiring a plurality of sub-nodes corresponding to the target node;
and acquiring fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and sending the dynamic life chain portrait and the dynamic fault portrait to a management end.
Optionally, in one possible implementation manner of the first aspect, a dynamic device set corresponding to a target scene is obtained, and a state chain corresponding to each target device in the dynamic device set is constructed according to a device state of each target device, where the state chain includes a plurality of state nodes, and the method includes:
acquiring the equipment state of each target equipment in the dynamic equipment set, and calling a preset full-state chain, wherein the preset full-state chain comprises a plurality of preset nodes, and each preset node corresponds to a corresponding preset state;
The device model information of the target devices in the dynamic device set is the same;
determining preset nodes in preset states corresponding to the equipment states, taking the preset nodes as intercepting nodes, and intercepting all preset nodes in the preset full-state chains and before the intercepting nodes to obtain intercepting chains corresponding to the corresponding target equipment;
and acquiring sub-period data corresponding to each preset node of the target equipment, updating the preset nodes according to the sub-period data to obtain state nodes, and generating state chains corresponding to the target equipment according to the state nodes.
Optionally, in one possible implementation manner of the first aspect, constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data, including:
acquiring state chains corresponding to the target devices in real time, and taking the state nodes with the same device state in the state chains as a node set;
constructing a total node corresponding to each equipment state, and dynamically updating the period data of the total node according to the sub-period data of each state node in the node set;
Connecting the total nodes according to the state sequence among the equipment states to obtain a dynamic life chain corresponding to the target scene;
and acquiring the period data corresponding to each total node in the dynamic life chain, and updating the dynamic life chain according to the period data to generate a life chain portrait.
Optionally, in one possible implementation manner of the first aspect, constructing a total node corresponding to each device state, and dynamically updating period data of the total node according to sub-period data of each state node in the node set, including:
constructing a total node corresponding to each equipment state, and carrying out average value calculation on sub-period data corresponding to each state node in the node set to obtain average period data;
and dynamically updating the period data of the total node according to the average period data.
Optionally, in one possible implementation manner of the first aspect, the method further includes:
if the dynamic equipment set corresponding to the target scene has newly-added equipment, acquiring a newly-added state chain corresponding to the newly-added equipment;
and updating the dynamic life chain according to the newly-added state chain to obtain an updated life chain.
Optionally, in one possible implementation manner of the first aspect, obtaining fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, including:
acquiring fault equipment corresponding to each child node, determining fault location data and fault accessory data corresponding to the fault equipment, and generating fault data corresponding to the corresponding child node according to the fault location data and the fault accessory data;
generating a first-level display portrait according to the fault part data, and updating the first-level display portrait according to the fault accessory data to obtain a second-level display portrait;
and generating a sub-fault image corresponding to the corresponding sub-node based on the secondary display image, and generating a dynamic fault image according to the sub-fault image.
Optionally, in a possible implementation manner of the first aspect, generating a first-level presentation image according to the fault location data includes:
obtaining the number of faults corresponding to each fault part in the fault equipment according to the fault part data, and calling a preset color gradient map, wherein the preset color gradient map comprises a plurality of preset colors and span filling areas corresponding to the preset colors;
Obtaining span intervals corresponding to each preset color based on the failure times, and updating corresponding span filling areas in the preset color gradient map according to a plurality of span intervals to obtain a color gradient map;
and obtaining display colors corresponding to the fault parts according to the color gradient diagrams, calling the part explosion diagrams corresponding to the fault equipment, and updating pixel values of the corresponding fault parts in the part explosion diagrams based on the display colors to obtain a first-level display portrait.
Optionally, in one possible implementation manner of the first aspect, obtaining a span interval corresponding to each preset color based on the failure times, and updating a corresponding span filling area in the preset color gradient map according to a plurality of span intervals, to obtain a color gradient map, including:
obtaining the maximum fault times as target times, counting the color numbers of all preset colors, and obtaining interval span values according to the ratio of the target times and the color numbers;
arranging all preset colors from small to large according to the fault degree corresponding to the preset colors to obtain a color sequence;
acquiring a preset color positioned at the first position in the color sequence as a filling color, and summing the minimum span value and the interval span value to obtain a maximum span value;
Generating a span interval corresponding to the filling color according to the minimum span value and the maximum span value, and updating the span filling area corresponding to the filling color based on the span interval;
deleting the filling color, continuously acquiring a preset color positioned at the first position in the color sequence as the filling color, and taking the maximum span value of the last filling color as the minimum span value of the current filling color;
repeating the steps until obtaining span intervals corresponding to all preset colors, stopping obtaining filling colors, and updating the preset color gradient map according to the span intervals corresponding to all the preset colors to obtain a color gradient map.
Optionally, in one possible implementation manner of the first aspect, obtaining, according to the color gradient map, a display color corresponding to each fault location includes:
traversing the color gradient map according to the fault times corresponding to the fault positions, and acquiring a preset color corresponding to a span interval where the fault times are located as a display color corresponding to the corresponding fault position.
Optionally, in a possible implementation manner of the first aspect, updating the primary presentation according to the fault accessory data to obtain a secondary presentation includes:
Obtaining the sub-fault times of the fault accessories corresponding to each fault part according to the fault accessory data, and obtaining a plurality of sub-preset colors corresponding to each preset color;
obtaining a sub-span interval corresponding to each sub-preset color based on the sub-fault times;
acquiring a sub preset color corresponding to a sub span interval where each sub fault frequency is located as a sub display color corresponding to a corresponding fault accessory;
and updating pixel values of corresponding fault accessories in the primary display portrait according to the sub display colors to obtain a secondary display portrait.
In a second aspect of the embodiment of the present invention, there is provided a business scenario-based asset data full life chain dynamic portrait construction system, including:
the state module is used for acquiring a dynamic equipment set corresponding to a target scene, and constructing a state chain corresponding to each target equipment according to the equipment state of each target equipment in the dynamic equipment set, wherein the state chain comprises a plurality of state nodes;
the dynamic module is used for constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data;
The target module is used for determining a total node with the node attribute of the sub-portraits as a target node and acquiring a plurality of sub-nodes corresponding to the target node;
the fault module is used for acquiring fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and sending the dynamic life chain portrait and the dynamic fault portrait to a management end.
In a third aspect of an embodiment of the present invention, there is provided an electronic device including: a memory, a processor and a computer program stored in the memory, the processor running the computer program to perform the first aspect of the invention and the methods that the first aspect may relate to.
In a fourth aspect of embodiments of the present invention, there is provided a readable storage medium having stored therein a computer program for implementing the method of the first aspect and the various possible aspects of the first aspect when executed by a processor.
The beneficial effects of the invention are as follows:
1. the invention can automatically generate full life image under different service scenes by combining the data of the power equipment in each life link. The method and the system can acquire the equipment states of all the target equipment in the corresponding life links in the dynamic equipment set corresponding to the target scene in real time, then construct the corresponding state chains according to the equipment states, construct the dynamic life chains in the corresponding service scene through the state chains of all the target equipment, and generate the dynamic life chain image through the cycle data of the dynamic life chains, so that the dynamic life chains can be dynamically updated according to the equipment state data dynamically changed in the dynamic equipment set, and the dynamic life chain image obtained according to the dynamic life chains can be updated more and more accurately along with the continuous updating of the equipment state data. And the invention can also generate dynamic fault portraits according to the fault data of a plurality of sub-nodes corresponding to the total node with the sub-portraits in the dynamic life chain, so that a user can visually check the fault conditions of each fault part in each fault device and each specific fault accessory in each fault part through the dynamic fault portraits.
2. When the dynamic life chain image is generated, the dynamic life chain is constructed according to the state chains corresponding to all target devices in the dynamic device set, when the dynamic life chain is constructed, the invention constructs the total nodes corresponding to all device states, then obtains the period data corresponding to the corresponding total nodes according to the average period data of the state nodes with the same device state, and when new devices exist, the invention correspondingly updates the dynamic life chain according to the new devices, thereby realizing the dynamic updating of the dynamic life chain and enabling the period data of the dynamic life chain image obtained according to the dynamic life chain to be more and more accurate.
3. When the dynamic fault image is acquired, the fault parts of the equipment explosion images and the fault degrees of the fault accessories in the fault parts are displayed through different colors according to the fault part data and the fault accessory data of the fault equipment, so that the fault degrees of the fault parts and the fault degrees of the fault accessories can be intuitively displayed through the display colors, and a user can intuitively check the fault degrees of the fault parts and the fault accessories in the fault equipment through the dynamic fault image.
Drawings
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present invention;
FIG. 2 is a schematic diagram of a system for constructing a full life chain dynamic representation of asset data based on business scenarios according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, an application scenario is schematically shown in the embodiment of the present invention. The method and the system can acquire the equipment states of all target equipment in the dynamic equipment set in corresponding life links in real time, then construct corresponding state chains according to the equipment states, construct the dynamic life chains in corresponding service scenes through the state chains of all the target equipment, and generate dynamic life chain images through the cycle data of the dynamic life chains, so that the dynamic life chains can be dynamically updated according to the equipment dynamically changed in the dynamic equipment set, and the dynamic life chain images obtained according to the dynamic life chains can be updated more and more accurately along with the continuous updating of the dynamic data. And the invention can also generate dynamic fault portraits according to the fault data of a plurality of sub-nodes corresponding to the total node with the sub-portraits in the dynamic life chain, so that a user can intuitively check the data when corresponding equipment fails.
The execution bodies of the present application may include, but are not limited to, at least one of: user equipment, network equipment, etc. The user equipment may include, but is not limited to, computers, smart phones, personal digital assistants (Personal Digital Assistant, abbreviated as PDA), and the above-mentioned electronic devices. The network device may include, but is not limited to, a single network server, a server group of multiple network servers, or a cloud of a large number of computers or network servers based on cloud computing, where cloud computing is one of distributed computing, and a super virtual computer consisting of a group of loosely coupled computers. This embodiment is not limited thereto. The embodiment specifically includes steps S1 to S4, and specifically includes the following steps:
s1, acquiring a dynamic device set corresponding to a target scene, and constructing a state chain corresponding to each target device according to the device state of each target device in the dynamic device set, wherein the state chain comprises a plurality of state nodes.
In practical applications, the target device in the dynamic device set may be various power devices, such as a transformer, a sensor, and other power devices, and the target scene may be various service scenes, for example, one transformer needs to operate under the operating condition a, and the other transformer needs to operate under the operating condition B, so that the target scenes corresponding to the two transformers are different, and the corresponding setting can be performed by the staff according to the actual requirements.
It can be understood that the states of the devices corresponding to the target devices are different, and the life links corresponding to the target devices may be different, for example, the target devices may be in a use state, the life links corresponding to the target devices are use links, and some target devices may be in a scrapped state, and the life links corresponding to the target devices are scrapped links. The corresponding life links of the target devices are different, and the corresponding chain data of the target devices may be different, for example, the chain data of the target devices under the using links may only include the data under the using links and the previous links, but not the data under the scrapping links, so that the state chain corresponding to the target devices can be constructed according to the device states of the target devices, and the dynamic life chain corresponding to the target scene can be constructed and updated through the state chain of each target device.
The specific implementation manner of step S1 based on the above embodiment may be:
s11, acquiring the equipment state of each target equipment in the dynamic equipment set, and calling a preset full-state chain, wherein the preset full-state chain comprises a plurality of preset nodes, and each preset node corresponds to a corresponding preset state.
And the equipment model information of the target equipment in the dynamic equipment set is the same.
It can be understood that the dynamic life chain generated by the scheme is a dynamic life chain generated by the target devices with the same device model in the same service scene, so that the device models of the target devices in the dynamic device set are identical.
The preset full-state chain refers to a chain corresponding to a full-life link, each preset node of the preset full-state chain corresponds to each link in the full-life link, and the preset full-state chain comprises a plurality of life links such as purchasing, transporting, using, maintaining, scrapping and the like, and the preset state refers to a state corresponding to each link, for example, the preset state corresponding to the purchasing link is a purchasing state. It should be noted that, when the preset nodes in the preset full-state chain are arranged, the corresponding arrangement can be performed according to the front-back sequence of each link in the life links.
S12, determining preset nodes in preset states corresponding to the equipment states, taking the preset nodes as interception nodes, and intercepting all preset nodes in the preset full-state chains and before the interception nodes to obtain interception chains corresponding to the target equipment.
It can be understood that the target device may obtain the device state and the period data in each state before the device state, but the period data in the state after the device state is not obtained, so when the intercepting chain corresponding to each target device is obtained, the preset node corresponding to the device state may be used as the intercepting node, and then the intercepting chain corresponding to the corresponding target device is obtained by intercepting the preset full-state chain through the intercepting node.
For example, if the target device is in the use state, the preset node corresponding to the use state may be taken as an intercepting node, and then the intercepting node and all the nodes before the intercepting node in the preset full-state chain are intercepted to obtain the intercepting chain corresponding to the target device.
S13, acquiring sub-period data corresponding to each preset node of the target equipment, updating the preset nodes according to the sub-period data to obtain state nodes, and generating state chains corresponding to the target equipment according to the state nodes.
In practical application, the target device may have corresponding period data at the corresponding preset node, for example, the target device may have a corresponding use period when in use, so after obtaining the intercepting chain, the target device may update the intercepting chain according to the sub-period data corresponding to each preset node to obtain the state chain.
By the method, the state chains corresponding to the target devices in different device states can be obtained, so that the cycle data of the target devices in the current device state can be obtained through the state chains.
S2, constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to all total nodes in the dynamic life chain, and generating a dynamic life chain portrait according to the period data.
The period data are obtained through sub-period data corresponding to the state chains of the target devices.
In some embodiments, the dynamic life chain representation described above may be generated by:
s21, acquiring state chains corresponding to the target devices in real time, and taking the state nodes with the same device states in the state chains as a node set.
It will be appreciated that the target devices may be updated in real time, for example, new devices may exist, so that the status chains of the respective target devices may be acquired in real time as the status chains are acquired. It may also be appreciated that, since there may be multiple target devices in the dynamic device set, the state chains corresponding to each target device may be different, so for statistics on the periodic data of the corresponding nodes, the state nodes with the same device state may be used as a node set.
S22, constructing a total node corresponding to each equipment state, and dynamically updating the period data of the total node according to the sub-period data of each state node in the node set.
It should be noted that if the device state does not cover the device states of all links in the whole life links, the total node corresponding to the corresponding device state is not generated when the total node is generated, and when the state node corresponding to the corresponding device state exists in the state chain corresponding to the target device, the corresponding total node is constructed according to the corresponding device state, so that the dynamic life chain constructed according to the total node is dynamically changed along with the state data of the target device.
Specifically, step S22 may be implemented through steps S221 to S222, which are specifically as follows:
s221, constructing a total node corresponding to each equipment state, and carrying out average value calculation on sub-period data corresponding to each state node in the node set to obtain average period data.
S222, dynamically updating the period data of the total node according to the average period data.
It should be noted that if a newly added state node exists in the corresponding node set, the average period data corresponding to the node can be recalculated, so that the obtained period data can be more and more accurate along with the increase of the calculated data.
S23, connecting the total nodes according to the state sequence among the equipment states to obtain a dynamic life chain corresponding to the target scene.
The state sequence refers to the sequence among the states of the devices corresponding to each life link, and the period data of the devices corresponding to the life links of the corresponding device model in the target scene can be clearly known by connecting the total nodes through the state sequence.
S24, acquiring the period data corresponding to each total node in the dynamic life chain, and updating the dynamic life chain according to the period data to generate a life chain portrait.
It will be appreciated that since the dynamic life chain is dynamically updated with the state data of the target device, the life chain representation is also dynamically updated. Along with the continuous updating of the equipment data, the obtained life chain portrait is more accurate.
In addition, on the basis of the above embodiment, the present solution further includes the following embodiments:
s25, if the dynamic equipment set corresponding to the target scene has newly-added equipment, acquiring a newly-added state chain corresponding to the newly-added equipment.
It can be understood that in practical application, new devices may be added to the dynamic device set continuously, so when new devices exist in the dynamic device set, a new state chain corresponding to the new devices can be generated in the same manner as the above-mentioned generation of the state chain.
S26, updating the dynamic life chain according to the newly-added state chain to obtain an updated life chain.
When the dynamic life chain is updated through the newly-added state chain, the above-mentioned mode for generating the dynamic life chain can be adopted to update the total nodes in the dynamic life chain and the period data corresponding to each total node, so that the dynamic update of the dynamic life chain can be realized, and the updated period data can be more and more accurate.
S3, determining a total node with the node attribute of the sub-portraits as a target node, and acquiring a plurality of sub-nodes corresponding to the target node.
It will be appreciated that in practical applications, the target device may also fail in some life links, for example, some components in the target device may fail during the use links, and the corresponding failure data may be different due to different use cases of each target device.
Therefore, in order to intuitively check the fault condition of each target device, the scheme also determines the total node with the node attribute of the sub-portrait as the target node, generates a dynamic fault image according to the fault data corresponding to the sub-node of the target node, and displays the fault condition of each target device through the dynamic fault image. Wherein each child node may correspond to each target device.
S4, obtaining fault data corresponding to each child node, generating a dynamic fault image according to the fault data, and sending the dynamic life chain image and the dynamic fault image to a management end.
Based on the above embodiment, the specific implementation manner of "obtaining the fault data corresponding to each child node and generating the dynamic fault portrait according to the fault data" in step S4 may be:
s41, fault equipment corresponding to each child node is obtained, fault position data and fault accessory data corresponding to the fault equipment are determined, and fault data corresponding to the corresponding child nodes are generated according to the fault position data and the fault accessory data.
The fault equipment refers to target equipment with faults, and when fault data of the fault equipment are acquired, the fault data of the corresponding fault equipment can be obtained according to the fault part of the fault equipment and specific fault accessories in the fault part.
S42, generating a first-level display portrait according to the fault part data, and updating the first-level display portrait according to the fault accessory data to obtain a second-level display portrait.
It will be appreciated that there may be a plurality of fault locations in the fault device, and the degree of failure of each fault location may be different, so in order to intuitively display the degree of failure of each fault location in the fault device, the present scheme may generate a first-level display image according to the fault location data.
It can be further understood that a plurality of fault accessories may exist in each fault part, and the fault degree of each fault accessory may be different, so that in order to intuitively display the fault degree of each fault accessory, the scheme can update the primary display portrait according to the fault accessory data to obtain the secondary display portrait.
In some embodiments, the primary presentation image may be generated by:
s421, obtaining the number of faults corresponding to each fault part in the fault equipment according to the fault part data, and calling a preset color gradient map, wherein the preset color gradient map comprises a plurality of preset colors and span filling areas corresponding to the preset colors.
In practice, different preset colors may correspond to different severity of the equipment failure, e.g. red may indicate that the severity of the equipment failure is high, while yellow may be less severe than red. Wherein the span filling area is a filling area for filling span sections of respective preset colors.
It can be understood that the number of times of faults corresponding to each fault position in different fault devices may be different, so that in order to perform personalized display on fault conditions of fault positions in corresponding fault devices in combination with fault data of each fault device, the preset color gradient map is updated correspondingly according to the number of times of faults corresponding to each fault device, and then the device explosion map corresponding to each fault device is updated correspondingly according to the updated color gradient map.
S422, obtaining span intervals corresponding to each preset color based on the failure times, and updating corresponding span filling areas in the preset color gradient map according to a plurality of span intervals to obtain a color gradient map.
The span interval is a scale range corresponding to each color, for example, the span interval corresponding to the preset color with the least severity may correspond to the fault from 0 times to 10 times, and only the span interval corresponding to each preset color is obtained, so that the display color corresponding to each fault part can be obtained through the color gradient map.
Specifically, step S422 may be implemented through steps S4221 to S4226, which are specifically as follows:
s4221, obtaining the maximum failure times as target times, counting the color numbers of all preset colors, and obtaining interval span values according to the ratio of the target times to the color numbers.
For example, if the maximum number of failures is 20 and the number of colors is 5, the interval span value is 4. It will be appreciated that the maximum number of faults is chosen as the target number so that the span interval to be obtained subsequently can cover all the number of faults.
S4222, arranging the preset colors from small to large according to the fault degree corresponding to the preset colors to obtain a color sequence.
The fault degree corresponding to each preset color can be set by a worker in advance.
S4223, obtaining a preset color located at the first position in the color sequence as a filling color, and summing the minimum span value and the interval span value to obtain a maximum span value.
In practical application, the minimum span value may be 0, so that the obtained span interval may cover all times from 0 to the maximum failure times.
S4224, generating a span interval corresponding to the filling color according to the minimum span value and the maximum span value, and updating the span filling area corresponding to the filling color based on the span interval.
It can be understood that, by the above method, the span interval corresponding to the preset color with the least fault degree can be obtained, and after the span interval is obtained, the span filling area corresponding to the preset color can be updated through the span interval.
S4225, deleting the filling color, continuously acquiring a preset color positioned at the first position in the color sequence as the filling color, and taking the maximum span value of the last filling color as the minimum span value of the current filling color.
It can be understood that the maximum span value of the previous filling color is used as the minimum span value of the current filling color, so that the span intervals between adjacent preset colors can be continuous, the span intervals of each preset color can cover the fault times from 0 to the maximum, and the accuracy of the display color of each fault part obtained later is improved.
S4226, repeating the steps until the span intervals corresponding to all the preset colors are obtained, stopping obtaining the filling colors, and updating the preset color gradient map according to the span intervals corresponding to all the preset colors to obtain a color gradient map.
By the method, the preset color gradient map can be correspondingly updated according to the failure times of the failure equipment, so that the display color of each failure part can be obtained through the updated color gradient map.
S423, obtaining display colors corresponding to the fault parts according to the color gradient diagrams, calling the part explosion diagrams corresponding to the fault equipment, and updating pixel values of the corresponding fault parts in the part explosion diagrams based on the display colors to obtain a first-level display portrait.
In practical application, the position explosion diagram can correspond to corresponding fault equipment, and the severity of each fault position can be intuitively obtained through the display color of each fault position in the position explosion diagram.
Specifically, the display color corresponding to each fault part can be obtained according to the color gradient diagram in the following manner:
traversing the color gradient map according to the fault times corresponding to the fault positions, and acquiring a preset color corresponding to a span interval where the fault times are located as a display color corresponding to the corresponding fault position.
For example, if a certain number of faults is 5 and a certain span interval is 3-8, the display color corresponding to the number of faults is a preset color corresponding to the span interval.
In some embodiments, the secondary presentation image described above may be generated by:
s424, obtaining the sub-fault times of the fault accessories corresponding to each fault part according to the fault accessory data, and obtaining a plurality of sub-preset colors corresponding to each preset color.
In practical applications, the sub-preset colors may be set corresponding to corresponding preset colors, for example, red may correspond to multiple sub-preset colors such as deep red, light red, etc.
S425, obtaining a sub-span interval corresponding to each sub-preset color based on the sub-fault times.
The method for obtaining the sub-span interval corresponding to each sub-preset color is the same as the method for obtaining the span interval corresponding to each preset color, for example, the span interval value can also be obtained by adopting the maximum number of sub-faults, and then the sub-span interval corresponding to each sub-preset color is obtained through the span interval value.
S426, obtaining a sub preset color corresponding to the sub span interval where each sub fault frequency is located as a sub display color corresponding to the corresponding fault accessory.
Likewise, the manner of obtaining the sub-display color of each fault accessory is the same as the manner of obtaining the display color of each fault part, and this scheme is not described herein.
S427, updating pixel values of corresponding fault accessories in the primary display portrait according to the sub display colors to obtain a secondary display portrait.
Through the mode, the fault condition of each specific fault accessory in each fault part can be intuitively displayed.
S43, generating a sub-fault image corresponding to the sub-node based on the two-level display image, and generating a dynamic fault image according to the sub-fault image.
The dynamic fault image obtained by the method can intuitively display the fault conditions of each fault part in each fault device and each specific fault accessory in each fault part.
Referring to fig. 2, a schematic structural diagram of a business scene-based asset data full-life-chain dynamic representation construction system according to an embodiment of the present invention includes:
the state module is used for acquiring a dynamic equipment set corresponding to a target scene, and constructing a state chain corresponding to each target equipment according to the equipment state of each target equipment in the dynamic equipment set, wherein the state chain comprises a plurality of state nodes;
the dynamic module is used for constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data;
the target module is used for determining a total node with the node attribute of the sub-portraits as a target node and acquiring a plurality of sub-nodes corresponding to the target node;
the fault module is used for acquiring fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and sending the dynamic life chain portrait and the dynamic fault portrait to a management end.
The invention also provides an electronic device, comprising: a processor, a memory and a computer program; the memory is used for storing the computer program, and the memory can also be a flash memory (flash). Such as application programs, functional modules, etc. implementing the methods described above.
And the processor is used for executing the computer program stored in the memory to realize each step executed by the equipment in the method. Reference may be made in particular to the description of the embodiments of the method described above.
In the alternative, the memory may be separate or integrated with the processor.
When the memory is a device separate from the processor, the apparatus may further include:
and the bus is used for connecting the memory and the processor.
The present invention also provides a readable storage medium having stored therein a computer program for implementing the methods provided by the various embodiments described above when executed by a processor.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media can be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. In the alternative, the readable storage medium may be integral to the processor. The processor and the readable storage medium may reside in an application specific integrated circuit (Application Specific Integrated Circuits, ASIC for short). In addition, the ASIC may reside in a user device. The processor and the readable storage medium may reside as discrete components in a communication device. The readable storage medium may be read-only memory (ROM), random-access memory (RAM), CD-ROMs, magnetic tape, floppy disk, optical data storage device, etc.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, the execution instructions being executed by the at least one processor to cause the device to implement the methods provided by the various embodiments described above.
In the above embodiment of the apparatus, it should be understood that the processor may be a central processing unit (english: central Processing Unit, abbreviated as CPU), or may be other general purpose processors, digital signal processors (english: digital Signal Processor, abbreviated as DSP), application specific integrated circuits (english: application Specific Integrated Circuit, abbreviated as ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in a processor for execution.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. The method for constructing the full life chain dynamic portraits of the asset data based on the business scene is characterized by comprising the following steps:
acquiring a dynamic equipment set corresponding to a target scene, and constructing a state chain corresponding to each target equipment according to the equipment state of each target equipment in the dynamic equipment set, wherein the state chain comprises a plurality of state nodes;
constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data;
determining a total node with a node attribute of a sub-portrait as a target node, and acquiring a plurality of sub-nodes corresponding to the target node;
acquiring fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and sending the dynamic life chain portrait and the dynamic fault portrait to a management end;
acquiring a dynamic device set corresponding to a target scene, and constructing a state chain corresponding to each target device according to the device state of each target device in the dynamic device set, wherein the state chain comprises a plurality of state nodes and comprises:
Acquiring the equipment state of each target equipment in the dynamic equipment set, and calling a preset full-state chain, wherein the preset full-state chain comprises a plurality of preset nodes, and each preset node corresponds to a corresponding preset state;
the device model information of the target devices in the dynamic device set is the same;
determining preset nodes in preset states corresponding to the equipment states, taking the preset nodes as intercepting nodes, and intercepting all preset nodes in the preset full-state chains and before the intercepting nodes to obtain intercepting chains corresponding to the corresponding target equipment;
acquiring sub-period data corresponding to each preset node of the target equipment, updating the preset nodes according to the sub-period data to obtain state nodes, and generating state chains corresponding to the target equipment according to the state nodes;
based on the state chain, constructing a dynamic life chain corresponding to the target scene, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data, wherein the method comprises the following steps:
acquiring state chains corresponding to the target devices in real time, and taking the state nodes with the same device state in the state chains as a node set;
Constructing a total node corresponding to each equipment state, and dynamically updating the period data of the total node according to the sub-period data of each state node in the node set;
connecting the total nodes according to the state sequence among the equipment states to obtain a dynamic life chain corresponding to the target scene;
acquiring period data corresponding to each total node in the dynamic life chain, and updating the dynamic life chain according to the period data to generate a life chain portrait;
constructing a total node corresponding to each equipment state, and dynamically updating the period data of the total node according to the sub-period data of each state node in the node set, wherein the method comprises the following steps:
constructing a total node corresponding to each equipment state, and carrying out average value calculation on sub-period data corresponding to each state node in the node set to obtain average period data;
and dynamically updating the period data of the total node according to the average period data.
2. The method as recited in claim 1, further comprising:
if the dynamic equipment set corresponding to the target scene has newly-added equipment, acquiring a newly-added state chain corresponding to the newly-added equipment;
And updating the dynamic life chain according to the newly-added state chain to obtain an updated life chain.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
obtaining fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and comprising:
acquiring fault equipment corresponding to each child node, determining fault location data and fault accessory data corresponding to the fault equipment, and generating fault data corresponding to the corresponding child node according to the fault location data and the fault accessory data;
generating a first-level display portrait according to the fault part data, and updating the first-level display portrait according to the fault accessory data to obtain a second-level display portrait;
and generating a sub-fault image corresponding to the corresponding sub-node based on the secondary display image, and generating a dynamic fault image according to the sub-fault image.
4. The method of claim 3, wherein the step of,
generating a first-level display portrait according to the fault part data, including:
obtaining the number of faults corresponding to each fault part in the fault equipment according to the fault part data, and calling a preset color gradient map, wherein the preset color gradient map comprises a plurality of preset colors and span filling areas corresponding to the preset colors;
Obtaining span intervals corresponding to each preset color based on the failure times, and updating corresponding span filling areas in the preset color gradient map according to a plurality of span intervals to obtain a color gradient map;
and obtaining display colors corresponding to the fault parts according to the color gradient diagrams, calling the part explosion diagrams corresponding to the fault equipment, and updating pixel values of the corresponding fault parts in the part explosion diagrams based on the display colors to obtain a first-level display portrait.
5. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
obtaining a span interval corresponding to each preset color based on the failure times, updating a corresponding span filling area in the preset color gradient map according to a plurality of span intervals to obtain a color gradient map, wherein the method comprises the following steps:
obtaining the maximum fault times as target times, counting the color numbers of all preset colors, and obtaining interval span values according to the ratio of the target times and the color numbers;
arranging all preset colors from small to large according to the fault degree corresponding to the preset colors to obtain a color sequence;
acquiring a preset color positioned at the first position in the color sequence as a filling color, and summing the minimum span value and the interval span value to obtain a maximum span value;
Generating a span interval corresponding to the filling color according to the minimum span value and the maximum span value, and updating the span filling area corresponding to the filling color based on the span interval;
deleting the filling color, continuously acquiring a preset color positioned at the first position in the color sequence as the filling color, and taking the maximum span value of the last filling color as the minimum span value of the current filling color;
repeating the steps until obtaining span intervals corresponding to all preset colors, stopping obtaining filling colors, and updating the preset color gradient map according to the span intervals corresponding to all the preset colors to obtain a color gradient map.
6. The method of claim 5, wherein the step of determining the position of the probe is performed,
obtaining the display color corresponding to each fault part according to the color gradient diagram, wherein the display color comprises the following steps:
traversing the color gradient map according to the fault times corresponding to the fault positions, and acquiring a preset color corresponding to a span interval where the fault times are located as a display color corresponding to the corresponding fault position.
7. The method of claim 4, wherein the step of determining the position of the first electrode is performed,
updating the primary display representation according to the fault accessory data to obtain a secondary display representation, comprising:
Obtaining the sub-fault times of the fault accessories corresponding to each fault part according to the fault accessory data, and obtaining a plurality of sub-preset colors corresponding to each preset color;
obtaining a sub-span interval corresponding to each sub-preset color based on the sub-fault times;
acquiring a sub preset color corresponding to a sub span interval where each sub fault frequency is located as a sub display color corresponding to a corresponding fault accessory;
and updating pixel values of corresponding fault accessories in the primary display portrait according to the sub display colors to obtain a secondary display portrait.
8. The asset data full life chain dynamic portrait construction system based on business scene is characterized by comprising:
the state module is used for acquiring a dynamic equipment set corresponding to a target scene, and constructing a state chain corresponding to each target equipment according to the equipment state of each target equipment in the dynamic equipment set, wherein the state chain comprises a plurality of state nodes;
the dynamic module is used for constructing a dynamic life chain corresponding to the target scene based on the state chain, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data;
The target module is used for determining a total node with the node attribute of the sub-portraits as a target node and acquiring a plurality of sub-nodes corresponding to the target node;
the fault module is used for acquiring fault data corresponding to each child node, generating a dynamic fault portrait according to the fault data, and sending the dynamic life chain portrait and the dynamic fault portrait to a management end;
acquiring a dynamic device set corresponding to a target scene, and constructing a state chain corresponding to each target device according to the device state of each target device in the dynamic device set, wherein the state chain comprises a plurality of state nodes and comprises:
acquiring the equipment state of each target equipment in the dynamic equipment set, and calling a preset full-state chain, wherein the preset full-state chain comprises a plurality of preset nodes, and each preset node corresponds to a corresponding preset state;
the device model information of the target devices in the dynamic device set is the same;
determining preset nodes in preset states corresponding to the equipment states, taking the preset nodes as intercepting nodes, and intercepting all preset nodes in the preset full-state chains and before the intercepting nodes to obtain intercepting chains corresponding to the corresponding target equipment;
Acquiring sub-period data corresponding to each preset node of the target equipment, updating the preset nodes according to the sub-period data to obtain state nodes, and generating state chains corresponding to the target equipment according to the state nodes;
based on the state chain, constructing a dynamic life chain corresponding to the target scene, acquiring period data corresponding to each total node in the dynamic life chain, and generating a dynamic life chain portrait according to the period data, wherein the method comprises the following steps:
acquiring state chains corresponding to the target devices in real time, and taking the state nodes with the same device state in the state chains as a node set;
constructing a total node corresponding to each equipment state, and dynamically updating the period data of the total node according to the sub-period data of each state node in the node set;
connecting the total nodes according to the state sequence among the equipment states to obtain a dynamic life chain corresponding to the target scene;
acquiring period data corresponding to each total node in the dynamic life chain, and updating the dynamic life chain according to the period data to generate a life chain portrait;
Constructing a total node corresponding to each equipment state, and dynamically updating the period data of the total node according to the sub-period data of each state node in the node set, wherein the method comprises the following steps:
constructing a total node corresponding to each equipment state, and carrying out average value calculation on sub-period data corresponding to each state node in the node set to obtain average period data;
and dynamically updating the period data of the total node according to the average period data.
9. An electronic device, comprising: a memory, a processor and a computer program stored in the memory, the processor running the computer program to perform the method of any one of claims 1 to 7.
10. A readable storage medium, characterized in that the readable storage medium has stored therein a computer program for implementing the method of any of claims 1 to 7 when being executed by a processor.
CN202311481053.5A 2023-11-08 2023-11-08 Asset data full life chain dynamic portrait construction method based on business scene Active CN117197281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311481053.5A CN117197281B (en) 2023-11-08 2023-11-08 Asset data full life chain dynamic portrait construction method based on business scene

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311481053.5A CN117197281B (en) 2023-11-08 2023-11-08 Asset data full life chain dynamic portrait construction method based on business scene

Publications (2)

Publication Number Publication Date
CN117197281A CN117197281A (en) 2023-12-08
CN117197281B true CN117197281B (en) 2024-02-23

Family

ID=88990998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311481053.5A Active CN117197281B (en) 2023-11-08 2023-11-08 Asset data full life chain dynamic portrait construction method based on business scene

Country Status (1)

Country Link
CN (1) CN117197281B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471383A (en) * 2019-08-15 2019-11-19 深圳华龙讯达信息技术股份有限公司 Device management method, device, system and electronic equipment
CN112288014A (en) * 2020-10-30 2021-01-29 云南电网有限责任公司电力科学研究院 Data mining-based equipment full life cycle management method
CN113420162A (en) * 2021-06-24 2021-09-21 国网天津市电力公司 Equipment operation chain state monitoring method based on knowledge graph
CN115422151A (en) * 2022-08-17 2022-12-02 维正科技服务有限公司 Data life cycle management method and device, computer equipment and storage medium
WO2023206771A1 (en) * 2022-04-24 2023-11-02 南栖仙策(南京)科技有限公司 Environment modeling method and apparatus based on decision flow graph, and electronic device
CN116993326A (en) * 2023-08-16 2023-11-03 段雅琦 Full life cycle monitoring method and system for intelligent equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379387A1 (en) * 2012-03-01 2014-12-25 Su-Cc Corporation Limited System and method for life cycle operation of supply chain business transaction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471383A (en) * 2019-08-15 2019-11-19 深圳华龙讯达信息技术股份有限公司 Device management method, device, system and electronic equipment
CN112288014A (en) * 2020-10-30 2021-01-29 云南电网有限责任公司电力科学研究院 Data mining-based equipment full life cycle management method
CN113420162A (en) * 2021-06-24 2021-09-21 国网天津市电力公司 Equipment operation chain state monitoring method based on knowledge graph
WO2023206771A1 (en) * 2022-04-24 2023-11-02 南栖仙策(南京)科技有限公司 Environment modeling method and apparatus based on decision flow graph, and electronic device
CN115422151A (en) * 2022-08-17 2022-12-02 维正科技服务有限公司 Data life cycle management method and device, computer equipment and storage medium
CN116993326A (en) * 2023-08-16 2023-11-03 段雅琦 Full life cycle monitoring method and system for intelligent equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
Building an agent-based techno-economic assessment coupled with life cycle assessment of biomass to methanol supply chains;Yohanes Kristianto Nugroho等;Applied Energy;第309卷;第1-19页 *
基于RFID的电子产品全生命周期物联模型:制造、供应与回收;廖剑锋等;制造业自动化;第35卷(第9期);第132-136页 *
基于产品生命周期的生态管理研究;黄蕙萍等;武汉理工大学学报;第23卷(第06期);第87-90页 *
基于生命周期理论和正态分布拟合技术的电网项目关键节点预警分析;文凡等;浙江电力;第39卷(第05期);第66-73页 *

Also Published As

Publication number Publication date
CN117197281A (en) 2023-12-08

Similar Documents

Publication Publication Date Title
US11514206B2 (en) Method, apparatus, and storage medium for planning power distribution network
CN111193605B (en) Fault positioning method and device and storage medium
CN114357925A (en) Parasitic parameter acquisition method and device
CN105989213A (en) Communication engineering drawing generation method and drawing design client
CN111240876A (en) Fault positioning method and device for microservice, storage medium and terminal
CN112491047A (en) Fault positioning method, device and equipment for secondary equipment of transformer substation
CN117197281B (en) Asset data full life chain dynamic portrait construction method based on business scene
US11165665B2 (en) Apparatus and method to improve precision of identifying a range of effects of a failure in a system providing a multilayer structure of services
US20160335301A1 (en) Generating context tree data based on a tailored data model
CN111625474B (en) Automatic testing method of alliance chain
CN116436791A (en) Industrial Internet scene construction method, system, equipment and storage medium
CN116341481B (en) Clock file confirmation method and device, electronic equipment and storage medium
CN114727100B (en) Joint debugging method and device for monitoring equipment
CN116629330A (en) Operator detection method and device and computer equipment
CN113691403B (en) Topology node configuration method, related device and computer program product
CN111814368B (en) Tensor-based land utilization simulation method, system, equipment and storage medium
CN114385453A (en) Database cluster exception handling method, device, equipment and medium
CN113868809A (en) Electric drawing method and device, computer equipment and storage medium
CN116797464A (en) Computing method, computing device, computer apparatus, and storage medium
JPWO2013031129A1 (en) Information processing apparatus, information processing method, and program
CN115238880B (en) Self-adaptive deployment method, system, equipment and storage medium of power transmission inspection terminal
CN116414366B (en) Middleware interface generation method, device, equipment and medium
CN116451001B (en) Multi-grid carbon-emission distributed collaborative privacy computing method and system
CN108241742A (en) Database inquiry system and method
CN115495858A (en) Method and system for improving toughness of power distribution network and storage medium

Legal Events

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