Energy topological graph generation method and device
By generating data structures based on business logic relationships in the energy topology diagram and updating rendering parameters based on real-time monitoring information, the problem that energy systems cannot dynamically display real-time changes in the existing technology is solved, and the dynamics of energy equipment and linkage relationship status are realized Display improves user experience and monitoring efficiency.
Patent Information
- Application Number
- CN202411341530.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-01-03
AI Technical Summary
The existing energy topology map cannot dynamically display real-time changes in the energy system, especially when the energy equipment alarm or linkage relationship is abnormal, it cannot effectively reflect the system status.
The data structure is determined based on the business logic relationship information of the energy system, an energy topology map is generated, and the rendering parameters of the primitives and connections are updated according to the real-time monitoring information, and the operating status of the energy equipment and the state changes in the linkage relationship are dynamically displayed.
It realizes dynamic update of the energy topology map, can reflect the state changes of energy equipment and linkage relationships in real time, and improves the efficiency of user experience and system monitoring.
Smart Images

Figure CN119249664A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of energy technology, and in particular to a method and device for generating an energy topology map. Background Art
[0002] In the field of energy technology, topology maps are widely used in the design and layout of network topology structures, as well as the analysis and optimization of various complex energy systems. Traditional topology map drawing methods require manual drawing of each node and connection, which is time-consuming, labor-intensive and error-prone. Therefore, automated topology map generation methods have become a hot topic of research.
[0003] The existing demand for energy topology maps is increasing day by day, which can only be achieved by manually drawing topology maps or customizing topology maps through some open source libraries. However, the energy topology maps implemented based on the existing technology can only display the connection relationship between various energy devices. When the energy system changes (such as energy equipment alarms, abnormal connections between multiple energy devices, etc.), the energy topology map cannot dynamically display the real-time changes of the energy system. Summary of the invention
[0004] The present application provides a method and device for generating an energy topology map, which are used to dynamically display the real-time changes of an energy system in an energy topology map.
[0005] In order to achieve the above objectives, this application provides the following technical solutions:
[0006] A method for generating an energy topology map, comprising:
[0007] Based on the business logic relationship information of the energy system, a corresponding data structure is determined; the business logic relationship information includes a plurality of energy devices and a linkage relationship between each of the energy devices; the data structure includes a graphic element corresponding to each of the energy devices and a connection line corresponding to each of the linkage relationships;
[0008] Based on the data structure, generate an energy topology map;
[0009] Based on the real-time monitoring information of the energy system, the rendering parameters of the graphic elements and the lines are determined; the real-time monitoring information includes the operating status of each of the energy devices and the linkage status of each of the linkage relationships;
[0010] By updating the rendering parameters of the graphic element, the graphic element in the energy topology map is triggered to output a display effect that matches the operating status of the energy device, so that the energy topology map dynamically displays the operating status change of the energy device;
[0011] By updating the rendering parameters of the connection, a display effect that matches the connection output in the energy topology map with the linkage state of the linkage relationship is triggered, so that the energy topology map dynamically displays the linkage state change of the linkage relationship.
[0012] Optionally, the rendering parameters of the graphic element include a background color, and by updating the rendering parameters of the graphic element, triggering the graphic element in the energy topology map to output a display effect that matches the operating status of the energy device, including:
[0013] When the operation state of the corresponding energy device is startup, the graphic element in the energy topology map is triggered to output a first display effect by updating the background color of the graphic element to a first color;
[0014] When the operation state of the corresponding energy device is stopped, the background color of the graphic element is updated to a second color, so as to trigger the graphic element in the energy topology map to output a second display effect.
[0015] Optionally, the rendering parameters of the graphic element include animation effects, and by updating the rendering parameters of the graphic element, triggering the graphic element in the energy topology map to output a display effect that matches the operating status of the energy device, including:
[0016] When the operation status of the corresponding energy equipment is normal, the display effect output by the graphic element in the energy topology map is triggered to be presented as a static image by updating the animation effect of the graphic element to be still;
[0017] When the operation status of the corresponding energy device is an alarm, the animation effect of the graphic element is updated to flashing, which triggers the display effect output by the graphic element in the energy topology map to be presented as a dynamic image.
[0018] Optionally, the rendering parameters of the connection include a connection state, and by updating the rendering parameters of the connection, a display effect that matches the connection output in the energy topology diagram with the linkage state of the linkage relationship is triggered, including:
[0019] When the linkage state of the corresponding linkage relationship is activated, the connection state of the connection is updated to a flow state, triggering the connection in the energy topology map to output a display effect of a flow line; the flow line represents a connection including a flow animation;
[0020] When the linkage state of the corresponding linkage relationship is stopped, by updating the connection state of the connection to a static state, the display effect output by the connection in the energy topology diagram is triggered to be a static line; the static line represents a connection that does not contain the flow animation.
[0021] Optionally, the rendering parameters of the connection include the color of the wire, and by updating the rendering parameters of the connection, a display effect of matching the connection output in the energy topology diagram with the linkage state of the linkage relationship is triggered, including:
[0022] When the linkage state of the corresponding linkage relationship is normal, the line color of the connection is updated to a third color, triggering the connection in the energy topology diagram to output a third display effect;
[0023] When the linkage state of the corresponding linkage relationship is an alarm, the line color of the connection is updated to a fourth color, triggering the connection in the energy topology map to output a fourth display effect.
[0024] Optionally, the rendering parameters of the connection include flow effects, and by updating the rendering parameters of the connection, a display effect that matches the connection output in the energy topology diagram with the linkage state of the linkage relationship is triggered, including:
[0025] When the linkage state of the corresponding linkage relationship is material interaction, by updating the flow effect of the connection line to the first effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a pipeline line flow animation;
[0026] When the linkage state of the corresponding linkage relationship is energy interaction, by updating the flow effect of the connection line to the second effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a drag flow animation;
[0027] When the linkage state of the corresponding linkage relationship is information interaction, by updating the flow effect of the connection line to the third effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a meteor flow animation.
[0028] Optionally, the method further includes:
[0029] Based on the business logic relationship information, obtaining the device name of the energy device corresponding to the graphic element;
[0030] Based on the real-time monitoring information, obtaining the working parameters of the energy equipment corresponding to the graphic element;
[0031] The device names and working parameters corresponding to the graphic elements are displayed in the energy topology diagram.
[0032] An energy topology map generating device, comprising:
[0033] A structure determination unit, configured to determine a corresponding data structure based on business logic relationship information of an energy system; the business logic relationship information includes a plurality of energy devices and linkage relationships between the energy devices; the data structure includes a graphic element corresponding to each of the energy devices and a connection line corresponding to each of the linkage relationships;
[0034] A topology map generating unit, used for generating an energy topology map based on the data structure;
[0035] A rendering parameter determination unit, configured to determine the rendering parameters of each of the graphic element and the connection based on real-time monitoring information of the energy system; the real-time monitoring information includes the operating status of each of the energy devices and the linkage status of each of the linkage relationships;
[0036] A graphic element rendering unit, configured to trigger the graphic element in the energy topology map to output a display effect matching the operating status of the energy device by updating the rendering parameters of the graphic element, so that the energy topology map dynamically displays the operating status change of the energy device;
[0037] The line rendering unit is used to trigger the display effect of matching the line output in the energy topology map with the linkage state of the linkage relationship by updating the rendering parameters of the line, so that the energy topology map dynamically displays the linkage state change of the linkage relationship.
[0038] Optionally, the rendering parameters of the graphic element include background color, and the graphic element rendering unit is specifically used for:
[0039] When the operation state of the corresponding energy device is startup, the graphic element in the energy topology map is triggered to output a first display effect by updating the background color of the graphic element to a first color;
[0040] When the operation state of the corresponding energy device is stopped, the background color of the graphic element is updated to a second color, so as to trigger the graphic element in the energy topology map to output a second display effect.
[0041] Optionally, the rendering parameters of the graphic element include animation effects, and the graphic element rendering unit is specifically used for:
[0042] When the operation status of the corresponding energy equipment is normal, the display effect output by the graphic element in the energy topology map is triggered to be presented as a static image by updating the animation effect of the graphic element to be still;
[0043] When the operation status of the corresponding energy device is an alarm, the animation effect of the graphic element is updated to flashing, which triggers the display effect output by the graphic element in the energy topology map to be presented as a dynamic image.
[0044] Optionally, the rendering parameters of the connection include a connection state, and the connection rendering unit is specifically used for:
[0045] When the linkage state of the corresponding linkage relationship is activated, the connection state of the connection is updated to a flow state, triggering the connection in the energy topology map to output a display effect of a flow line; the flow line represents a connection including a flow animation;
[0046] When the linkage state of the corresponding linkage relationship is stopped, by updating the connection state of the connection to a static state, the display effect output by the connection in the energy topology diagram is triggered to be a static line; the static line represents a connection that does not contain the flow animation.
[0047] Optionally, the rendering parameters of the connection line include a wire color, and the connection line rendering unit is specifically used to:
[0048] When the linkage state of the corresponding linkage relationship is normal, the line color of the connection is updated to a third color, triggering the connection in the energy topology diagram to output a third display effect;
[0049] When the linkage state of the corresponding linkage relationship is an alarm, the line color of the connection is updated to a fourth color, triggering the connection in the energy topology map to output a fourth display effect.
[0050] Optionally, the rendering parameters of the line include a flow effect, and the line rendering unit is specifically used for:
[0051] When the linkage state of the corresponding linkage relationship is material interaction, by updating the flow effect of the connection line to the first effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a pipeline line flow animation;
[0052] When the linkage state of the corresponding linkage relationship is energy interaction, by updating the flow effect of the connection line to the second effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a drag flow animation;
[0053] When the linkage state of the corresponding linkage relationship is information interaction, by updating the flow effect of the connection line to the third effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a meteor flow animation.
[0054] Optionally, the device further comprises:
[0055] The device information display unit is used to: obtain the device name of the energy device corresponding to the graphic element based on the business logic relationship information; obtain the working parameters of the energy device corresponding to the graphic element based on the real-time monitoring information; and display the device name and working parameters corresponding to the graphic element in the energy topology map.
[0056] A storage medium includes a stored program, wherein the program executes the energy topology map generation method when executed by a processor.
[0057] An electronic device, comprising: a processor, a memory and a bus; the processor and the memory are connected via the bus;
[0058] The memory is used to store programs, and the processor is used to run programs, wherein the program executes the energy topology map generating method when the program is run by the processor.
[0059] The technical solution provided by the present application determines the corresponding data structure based on the business logic relationship information of the energy system. Based on the data structure, an energy topology map is generated. Based on the real-time monitoring information of the energy system, the rendering parameters of the primitives and the lines are determined. By updating the rendering parameters of the primitives, the display effect of the primitive output in the energy topology map matching the operating status of the energy equipment is triggered, so that the energy topology map dynamically displays the changes in the operating status of the energy equipment. By updating the rendering parameters of the lines, the display effect of the line output in the energy topology map matching the linkage state of the linkage relationship is triggered, so that the energy topology map dynamically displays the linkage state changes of the linkage relationship. The present application uses the data structure determined by the business logic relationship information to generate an energy topology map, so that the generation efficiency of the energy topology map is improved, and according to the real-time monitoring information of the energy system, the rendering parameters of the primitives and the lines are determined. By updating the rendering parameters of the primitives and the lines, the energy topology map can dynamically display the changes in the operating status of the energy equipment and the linkage state changes of the linkage relationship, so that the real-time changes of the energy system can be dynamically displayed in the energy topology map, enriching the user perception of the energy topology map. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0061] Figure 1 A schematic diagram of a process for generating an energy topology map provided in an embodiment of the present application;
[0062] Figure 2 A schematic diagram of a process of another energy topology map generation method provided in an embodiment of the present application;
[0063] Figure 3 A schematic diagram of a process of another energy topology map generation method provided in an embodiment of the present application;
[0064] Figure 4 A schematic diagram of a process of another energy topology map generation method provided in an embodiment of the present application;
[0065] Figure 5 A schematic diagram of a process of another energy topology map generation method provided in an embodiment of the present application;
[0066] Figure 6 A schematic diagram of a process of another energy topology map generation method provided in an embodiment of the present application;
[0067] Figure 7 A schematic diagram of a process of another energy topology map generation method provided in an embodiment of the present application;
[0068] Figure 8 A schematic diagram of the architecture of an energy topology map generating device provided in an embodiment of the present application;
[0069] Fig. 9 An energy topology diagram provided in an embodiment of the present application. DETAILED DESCRIPTION
[0070] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0071] In this application, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprise one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0072] like Figure 1 As shown, it is a flow chart of a method for generating an energy topology map provided in an embodiment of the present application, which includes the following steps.
[0073] S101: Determine a corresponding data structure based on business logic relationship information of the energy system.
[0074] The business logic relationship information includes multiple energy devices and linkage relationships between the energy devices. The data structure includes a graphic element corresponding to each energy device and a connection line corresponding to each linkage relationship.
[0075] In some examples, the types of energy devices may include load type devices, source type devices, grid type devices, storage type devices, and control type devices.
[0076] In a possible implementation manner, load-type equipment includes but is not limited to: lumped wind-water heat exchanger, fresh air ventilator, air-conditioning unit, fan coil, cold and hot water pump, power distribution box, low-voltage distribution box, jacketed combustion heater, etc.
[0077] In a possible implementation manner, source type equipment includes but is not limited to: a chiller, a gas hot water boiler, a gas steam boiler, a power transformer, and the like.
[0078] In a possible implementation, the network-type device includes, but is not limited to: a flow sensor, a steam pressure sensor, a heat meter, a steam flow sensor, and the like.
[0079] In a possible implementation manner, storage type equipment includes but is not limited to: water storage tanks, mobile storage power stations, etc.
[0080] In a possible implementation manner, the control type equipment includes but is not limited to: an air compressor cluster controller, an air compressor control mode decision maker, a control signal splitter, and the like.
[0081] In some examples, business logic relationship information can be understood as real physical relationships in real energy systems. That is, when users build energy topology diagrams, the real physical logic between various energy devices already exists, such as the connection between high-voltage distribution cabinets and power transformers.
[0082] In some examples, the linkage relationship between various energy devices includes, but is not limited to, the physical connection relationship between various energy devices (for example, there is an electrical connection between the high-voltage distribution cabinet and the power transformer, specifically, the high-voltage distribution cabinet is connected to the power transformer through a high-voltage wire), and the energy path between various energy devices (for example, there is a pipeline connection between the boiler and the chilled water pump, so that the boiler transmits water vapor to the chilled water pump, that is, the boiler transmits heat energy to the chilled water pump).
[0083] In some examples, the data structure shown in the embodiments of the present application may adopt the JSON format, specifically: const data = {cells:[] / / element example table; lines:[] / / line list; lineStyle:{} / / line style configuration; anLineStyle:[] / / dynamic flow line configuration; globalParams:{} / / global parameter configuration}.
[0084] It should be noted that the so-called graphic primitives refer to graphic data, which correspond to the visible entities on the drawing interface.
[0085] In some examples, the user may manually input business logic relationship information of the energy system. In addition, when the business logic relationship information of the energy system changes, the user may also manually input the changed business logic relationship information so as to generate a data structure corresponding to the changed energy system based on the changed business logic relationship information.
[0086] S102: Generate an energy topology map based on the data structure.
[0087] Among them, after determining the data structure corresponding to the energy system, it is also necessary to obtain the target layout style pre-specified by the user, and generate an energy topology map based on the data structure and the layout rules corresponding to the target layout style.
[0088] In some examples, if the target layout style is device wiring, the layout rules of vertical layout can be used to generate an energy topology map; if the target layout style is device topology, the layout rules of horizontal layout can be used to generate an energy topology map.
[0089] In some examples, after obtaining a data structure corresponding to an energy system, a JavaScript graphics library may be used to generate an energy topology map based on the data structure.
[0090] In a possible implementation, the data structure and the target layout style are loaded into the mxGraph graphics library (mxGraph is a feature-rich JavaScript graphics library designed for developing interactive charts, flow charts, network diagrams and other graphical applications. mxGraph is based on HTML5 and SVG technology, providing a high degree of flexibility and scalability, allowing developers to easily build complex graphical interfaces) to obtain the energy topology map generated by the mxGraph graphics library.
[0091] S103: Based on the real-time monitoring information of the energy system, determine the rendering parameters of the graphics elements and the lines.
[0092] The real-time monitoring information includes the operating status of each energy device and the linkage status of each linkage relationship.
[0093] In some examples, real-time monitoring information of the energy system can be obtained from the background of the energy system through a preset interface, and the operating status of each energy device at any time and the linkage status of each linkage relationship at any time can be obtained by parsing the real-time monitoring information.
[0094] It should be noted that after obtaining the operating status of each energy device, the rendering parameters of the graphics element corresponding to each energy device can be determined based on the operating status of each energy device. After obtaining the linkage status of each linkage relationship, the rendering parameters of the connection line corresponding to each linkage relationship can be determined based on the linkage status of each linkage relationship.
[0095] In some examples, the rendering parameters of the graphics elements and the lines can be configured by calling a preset rendering interface. Specifically, the preset rendering interface can be an iframe document, and the user can load the rendering topology function through the iframe document to configure the rendering parameters of the graphics elements and the lines shown in the energy topology diagram.
[0096] In some examples, the rendering parameters involved in the data structure include, but are not limited to: global parameter configuration, global style configuration, global dynamic line configuration, global primitive style configuration, primitive list configuration, and primitive widget configuration.
[0097] In a possible implementation, the global parameter configuration includes the topology map background, color configuration and layout configuration. The layout configuration includes the layout type (e.g., horizontal layout, vertical layout, etc.), whether the connection points (i.e., the connection points between lines and graphic elements) are merged, the distance between the upper and lower graphic elements (i.e., the vertical spacing between each graphic element), and the distance between the left and right graphic elements (i.e., the horizontal spacing between each graphic element).
[0098] In a possible implementation, the global style configuration includes line color configuration items (i.e., the connecting lines shown in the embodiments of the present application), line width configuration items, line type configuration items (such as connecting status, curve, straight line, etc.), line style configuration items (such as straight lines, inflection lines, right-angle lines, three-dimensional lines, etc.), and line corner configurations (such as rounded corners, sharp angles, etc.).
[0099] In a possible implementation, the global dynamic line configuration includes flow effects (such as pipeline line flow, meteor flow, drag flow), flow line speed configuration, flow line color configuration (such as wire color), flow line width configuration, and flow line size configuration.
[0100] In a possible implementation, the global graphic element style configuration includes graphic element font color configuration, graphic element font option configuration, graphic element font size configuration item, and graphic element font distance configuration.
[0101] In a possible implementation, the primitive list configuration includes a primitive index (eg, device ID), a primitive display background image configuration (eg, background color, animation effect), a primitive width and height configuration, and a primitive style configuration.
[0102] In a possible implementation, the graphic element widget configuration includes connection set configuration, connection display information, source graphic element, target graphic element, dynamic style configuration, and line style configuration.
[0103] S104: triggering the graphics elements in the energy topology map to output a display effect matching the operating status of the energy equipment by updating the rendering parameters of the graphics elements, so that the energy topology map dynamically displays the operating status changes of the energy equipment.
[0104] Among them, after determining the rendering parameters of the graphic element, the rendering parameters of the graphic element can be updated through the preset graphic element state interface (that is, the parameter value of the currently determined rendering parameter is used to replace the original parameter value of the rendering parameter), triggering the graphic element output in the energy topology map to match the display effect of the operating status of the energy equipment.
[0105] Optionally, the rendering parameters of the primitive include background color. Accordingly, by updating the rendering parameters of the primitive, triggering the primitive output in the energy topology map to match the operating status of the energy equipment, the implementation process can be seen in Figure 2 Steps shown and explanations of the steps.
[0106] Optionally, the rendering parameters of the primitives include animation effects. Accordingly, by updating the rendering parameters of the primitives, the realization process of triggering the display effect of the primitive output in the energy topology map matching the operating status of the energy equipment can be seen in Figure 3 Steps shown and explanations of the steps.
[0107] S105: triggering a display effect that matches the connection output in the energy topology diagram with the linkage state of the linkage relationship by updating the rendering parameters of the connection, so that the energy topology diagram dynamically displays the linkage state change of the linkage relationship.
[0108] Among them, after determining the rendering parameters of the connection, the continuous rendering parameters can be updated through the preset connection status interface (that is, the parameter value of the currently determined rendering parameter is used to replace the original parameter value of the rendering parameter), triggering the display effect of matching the connection output in the energy topology diagram with the linkage status of the linkage relationship.
[0109] Optionally, the rendering parameters of the connection include the connection state. Accordingly, by updating the rendering parameters of the connection, the connection output in the energy topology diagram is triggered to match the linkage state of the linkage relationship. For details, see Figure 4 Steps shown and explanations of the steps.
[0110] Optionally, the rendering parameters of the connection include the color of the wire. Accordingly, by updating the rendering parameters of the connection, the connection output in the energy topology diagram is triggered to match the linkage state of the linkage relationship. For details, see Figure 5 Steps shown and explanations of the steps.
[0111] Optionally, the rendering parameters of the connection include flow effects. Accordingly, by updating the rendering parameters of the connection, the connection output in the energy topology diagram is triggered to match the linkage state of the linkage relationship. For details, see Figure 6 Steps shown and explanations of the steps.
[0112] It should be noted that in order for users to intuitively obtain more detailed information from the energy topology map, optional, see Figure 7 The steps shown and their explanations can be used to add the names of energy equipment and the marking of working parameters in the energy topology diagram.
[0113] In a possible embodiment, in combination with Figure 2-Figure 7 The energy topology diagram generated by the method shown can be found in Fig. 9 shown.
[0114] The process shown in S101-S105 above uses the data structure determined by the business logic relationship information to generate an energy topology map, thereby improving the efficiency of generating the energy topology map, and determines the rendering parameters of the graphics elements and the lines based on the real-time monitoring information of the energy system. By updating the rendering parameters of the graphics elements and the lines, the energy topology map can dynamically display the changes in the operating status of the energy equipment and the changes in the linkage status of the linkage relationship, thereby realizing the dynamic display of the real-time changes of the energy system in the energy topology map and enriching the user experience of the energy topology map.
[0115] like Figure 2 As shown, it is a flow chart of another energy topology map generation method provided in an embodiment of the present application, including the following steps.
[0116] S201: When the operation state of the corresponding energy device is startup, the background color of the graphic element is updated to a first color, thereby triggering the graphic element in the energy topology map to output a first display effect.
[0117] Among them, the first color can be green. Specifically, when the operating status of the corresponding energy equipment is startup, by updating the background color of the graphic element to the first color, the graphic element in the energy topology map is triggered to output the first display effect. The first display effect can be a pattern in which the graphic element is presented as a green background.
[0118] S202: When the operation state of the corresponding energy device is stopped, the background color of the graphic element is updated to a second color, thereby triggering the graphic element in the energy topology map to output a second display effect.
[0119] Among them, the second color can be white. Specifically, when the operating status of the corresponding energy equipment is stopped, by updating the background color of the graphic element to the second color, the graphic element in the energy topology map is triggered to output a second display effect. The second display effect can be a pattern in which the graphic element is presented as a white background.
[0120] The process shown in S201-S202 above updates the background color of the graphic element according to the operating status of the corresponding energy device, thereby distinguishing the graphic elements with the operating status of start or stop in the energy topology map, so that the energy topology map can dynamically display the operating status changes of each energy device.
[0121] like Figure 3 As shown, it is a flow chart of another energy topology map generation method provided in an embodiment of the present application, including the following steps.
[0122] S301: When the operation status of the corresponding energy equipment is normal, the display effect output by the graphic element in the energy topology map is triggered to be presented as a static image by updating the animation effect of the graphic element to be still.
[0123] Among them, when the operating status of the corresponding energy equipment is normal and started, the display effect output by the graphic element in the energy topology map can be triggered by updating the animation effect of the graphic element to still and updating the background color of the graphic element to the first color, so that the display effect presented as a static image with the background color of the first color.
[0124] In addition, when the operating status of the corresponding energy equipment is normal and stopped, the display effect output by the graphic element in the energy topology map can be triggered by updating the animation effect of the graphic element to still and updating the background color of the graphic element to the second color, so that the display effect presented as a static image with the background color of the second color is presented.
[0125] S302: When the operation status of the corresponding energy device is an alarm, the animation effect of the graphic element is updated to flashing, so as to trigger the display effect output by the graphic element in the energy topology map to be presented as a dynamic image.
[0126] Among them, when the operating status of the corresponding energy equipment is alarm and started, the animation effect of the graphic element can be updated to flashing, and the background color of the graphic element can be updated to the first color, so that the display effect output by the graphic element in the energy topology map is triggered to appear as a dynamic image with the background color of the first color.
[0127] In addition, when the operating status of the corresponding energy equipment is alarm and stopped, the animation effect of the graphic element can be updated to flashing, and the background color of the graphic element can be updated to the second color, triggering the display effect output by the graphic element in the energy topology map to appear as a dynamic image with the background color of the second color.
[0128] The process shown in S301-S302 above updates the animation effect of the graphic element according to the operating status of the corresponding energy equipment, thereby distinguishing the graphic elements with normal or alarm operating status in the energy topology map, so that the energy topology map can dynamically display the operating status changes of each energy equipment.
[0129] like Figure 4 As shown, it is a flow chart of another energy topology map generation method provided in an embodiment of the present application, including the following steps.
[0130] S401: When the linkage state of the corresponding linkage relationship is activated, the connection state of the connection is updated to a flow state, so that the display effect output by the connection in the energy topology diagram is triggered to be a flow line.
[0131] Among them, the flow line represents the connection line containing the flow animation.
[0132] It should be noted that the linkage state of the corresponding linkage relationship is activated, which means that the two energy devices in the linkage relationship interact normally.
[0133] In some examples, for the linkage relationship between any two energy devices, the linkage relationship can also indicate the source device and the target device. When the linkage state of the corresponding linkage relationship is started, by updating the connection state of the connection to the flow state, the display effect output by the connection in the energy topology diagram is triggered to be a flow line, and the flow direction of the flow line is from the source device to the target device.
[0134] S402: When the linkage state of the corresponding linkage relationship is stopped, the connection state of the connection line is updated to a static state, so that the display effect output by the connection line in the energy topology diagram is triggered to be a static line.
[0135] Among them, the static line representation does not contain the connecting line of the flow animation.
[0136] It should be noted that the linkage state of the corresponding linkage relationship is stopped, which means that the two energy devices in the linkage relationship have not interacted with each other.
[0137] The process shown in S401-S402 above updates the animation effect of the connection according to the linkage status of the corresponding linkage relationship, thereby distinguishing the connection with the linkage status of start or stop in the energy topology map, so that the energy topology map can dynamically display the linkage status changes of each linkage relationship.
[0138] like Figure 5 As shown, it is a flow chart of another energy topology map generation method provided in an embodiment of the present application, including the following steps.
[0139] S501: When the linkage state of the corresponding linkage relationship is normal, the line color of the connection is updated to a third color, triggering the connection in the energy topology map to output a third display effect.
[0140] Among them, the third color can be white. Specifically, when the linkage state of the corresponding linkage relationship is normal, by updating the wire color of the connection to the third color, the connection output in the energy topology diagram is triggered to have a third display effect. The third display effect can be that the connection is presented as a white line.
[0141] S502: When the linkage state of the corresponding linkage relationship is an alarm, the line color of the connection is updated to a fourth color, triggering the connection in the energy topology map to output a fourth display effect.
[0142] Among them, the fourth color can be red. Specifically, when the linkage status of the corresponding linkage relationship is alarm, by updating the wire color of the connection to the fourth color, the connection output in the energy topology diagram is triggered to have a fourth display effect. The fourth display effect can be that the connection is presented as a red line.
[0143] The process shown in S501-S502 above updates the wire color of the connection according to the linkage status of the corresponding linkage relationship, thereby distinguishing the connection with normal or alarm linkage status in the energy topology map, so that the energy topology map can dynamically display the linkage status changes of each linkage relationship.
[0144] like Figure 6 As shown, it is a flow chart of another energy topology map generation method provided in an embodiment of the present application, including the following steps.
[0145] S601: When the linkage state of the corresponding linkage relationship is material interaction, the flow effect of the connection line is updated to the first effect, triggering the display effect output by the connection line in the energy topology diagram to be presented as a pipeline line flow animation.
[0146] The so-called materials include but are not limited to water, waste materials, means of production, etc. The so-called material interaction refers to the material transmission between two energy devices that have a linkage relationship, usually the material is transmitted from the source device to the target device.
[0147] It can be understood that the first effect represents the flow of the pipeline, which represents the material interaction between two energy devices in a linkage relationship through the pipeline.
[0148] S602: When the linkage state of the corresponding linkage relationship is energy interaction, the flow effect of the connection line is updated to a second effect, so that the display effect output by the connection line in the energy topology diagram is triggered to be presented as a drag flow animation.
[0149] The so-called energy includes but is not limited to electrical energy, thermal energy, etc. The so-called energy interaction refers to the energy exchange between two energy devices that have a linkage relationship, usually the source device transfers energy to the target device.
[0150] It can be understood that the second effect represents the drag flow, which means that there is energy exchange between two energy devices in a linkage relationship.
[0151] S603: When the linkage state of the corresponding linkage relationship is information interaction, the flow effect of the connection line is updated to a third effect, so that the display effect output by the connection line in the energy topology diagram is triggered to be presented as a meteor flow animation.
[0152] The so-called information includes but is not limited to the Internet of Things, wireless communication, wired communication, etc. The so-called information interaction refers to the data interaction between two energy devices with a linkage relationship, usually the source device sends data to the target device.
[0153] It can be understood that the third effect represents the meteor flow, which represents the data interaction between two energy devices in a linkage relationship.
[0154] The process shown in S601-S603 above updates the flow effect of the connection according to the linkage status of the corresponding linkage relationship, thereby distinguishing the connections with linkage status of material interaction, energy interaction or data interaction in the energy topology map, so that the energy topology map can dynamically display the linkage status changes of each linkage relationship.
[0155] like Figure 7 As shown, it is a flow chart of another energy topology map generation method provided in an embodiment of the present application, including the following steps.
[0156] S701: Based on the business logic relationship information, obtain the device name of the energy device corresponding to the graphic element.
[0157] The business logic relationship information may be semantically identified to obtain the device name (or device ID) of the energy device corresponding to each graphic element.
[0158] S702: Based on the real-time monitoring information, obtain the working parameters of the energy equipment corresponding to the graphic element.
[0159] Among them, by performing keyword recognition on the real-time monitoring information, the working parameters of the energy equipment corresponding to each graphic element (such as thermal efficiency, thermal power, etc.) can be obtained.
[0160] S703: Displaying the device name and working parameters corresponding to the graphic element in the energy topology diagram.
[0161] The rendering parameters of the graphic elements can be configured so that the device names and working parameters corresponding to the graphic elements are displayed in the energy topology map at the same time as the graphic elements.
[0162] The process shown in S701-S703 can simultaneously display the graphic elements corresponding to the energy equipment as well as the equipment name and working parameters in the energy topology map, making the information displayed in the energy topology map more diverse and effectively improving the user experience of the energy topology map.
[0163] like Figure 8 As shown, it is a schematic diagram of the architecture of an energy topology map generating device provided in an embodiment of the present application, including the units shown below.
[0164] The structure determination unit 100 is used to determine the corresponding data structure based on the business logic relationship information of the energy system; the business logic relationship information includes multiple energy devices and the linkage relationship between each energy device; the data structure includes a graphic element corresponding to each energy device and a connection line corresponding to each linkage relationship.
[0165] The topology map generating unit 200 is used to generate an energy topology map based on the data structure.
[0166] The rendering parameter determination unit 300 is used to determine the rendering parameters of each primitive and connection based on the real-time monitoring information of the energy system; the real-time monitoring information includes the operating status of each energy device and the linkage status of each linkage relationship.
[0167] The primitive rendering unit 400 is used to trigger the primitive output in the energy topology map to match the operating status of the energy equipment by updating the rendering parameters of the primitive, so that the energy topology map dynamically displays the operating status changes of the energy equipment.
[0168] Optionally, the rendering parameters of the graphic element include a background color, and the graphic element rendering unit 400 is specifically used to: when the operating status of the corresponding energy device is started, by updating the background color of the graphic element to a first color, triggering the graphic element in the energy topology map to output a first display effect; when the operating status of the corresponding energy device is stopped, by updating the background color of the graphic element to a second color, triggering the graphic element in the energy topology map to output a second display effect.
[0169] Optionally, the rendering parameters of the graphic element include animation effects, and the graphic element rendering unit 400 is specifically used for: when the operating status of the corresponding energy equipment is normal, by updating the animation effect of the graphic element to still, triggering the display effect output by the graphic element in the energy topology map to be presented as a static image; when the operating status of the corresponding energy equipment is alarm, by updating the animation effect of the graphic element to flashing, triggering the display effect output by the graphic element in the energy topology map to be presented as a dynamic image.
[0170] The connection rendering unit 500 is used to trigger the display effect of matching the connection output in the energy topology map with the linkage state of the linkage relationship by updating the rendering parameters of the connection, so that the energy topology map dynamically displays the linkage state change of the linkage relationship.
[0171] Optionally, the rendering parameters of the connection include the connection status, and the connection rendering unit 500 is specifically used for: when the linkage status of the corresponding linkage relationship is started, by updating the connection status of the connection to the flow status, triggering the display effect output by the connection in the energy topology map to be a flow line; the flow line represents the connection containing a flow animation; when the linkage status of the corresponding linkage relationship is stopped, by updating the connection status of the connection to the static state, triggering the display effect output by the connection in the energy topology map to be a static line; the static line represents the connection that does not contain a flow animation.
[0172] Optionally, the rendering parameters of the connection include wire color, and the connection rendering unit 500 is specifically used for: when the linkage state of the corresponding linkage relationship is normal, by updating the wire color of the connection to a third color, triggering the connection in the energy topology map to output a third display effect; when the linkage state of the corresponding linkage relationship is an alarm, by updating the wire color of the connection to a fourth color, triggering the connection in the energy topology map to output a fourth display effect.
[0173] Optionally, the rendering parameters of the connection include flow effects, and the connection rendering unit 500 is specifically used for: when the linkage state of the corresponding linkage relationship is material interaction, by updating the flow effect of the connection to the first effect, triggering the display effect output by the connection in the energy topology map to be presented as a pipeline line flow animation; when the linkage state of the corresponding linkage relationship is energy interaction, by updating the flow effect of the connection to the second effect, triggering the display effect output by the connection in the energy topology map to be presented as a drag flow animation; when the linkage state of the corresponding linkage relationship is information interaction, by updating the flow effect of the connection to the third effect, triggering the display effect output by the connection in the energy topology map to be presented as a meteor flow animation.
[0174] The device information display unit 600 is used to: obtain the device name of the energy device corresponding to the graphic element based on the business logic relationship information; obtain the working parameters of the energy device corresponding to the graphic element based on the real-time monitoring information; and display the device name and working parameters corresponding to the graphic element in the energy topology map.
[0175] Each unit shown above generates an energy topology map using the data structure determined by the business logic relationship information, thereby improving the efficiency of generating the energy topology map, and determines the rendering parameters of the graphics elements and the lines based on the real-time monitoring information of the energy system. By updating the rendering parameters of the graphics elements and the lines, the energy topology map can dynamically display the changes in the operating status of the energy equipment and the changes in the linkage status of the linkage relationship, thereby realizing the dynamic display of the real-time changes of the energy system in the energy topology map and enriching the user experience of the energy topology map.
[0176] The present application also provides a computer-readable storage medium, which includes a stored program, wherein the program executes the energy topology map generation method provided by the present application.
[0177] The present application also provides an electronic device, including: a processor, a memory and a bus. The processor and the memory are connected via the bus, the memory is used to store programs, and the processor is used to run the programs, wherein the energy topology map generation method provided by the present application is executed when the programs are run.
[0178] In addition, the functions described above in the embodiments of the present application may be at least partially performed by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0179] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0180] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present application. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0181] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A method for generating an energy topology map, characterized in that: include: Based on the business logic relationship information of the energy system, determine the corresponding data structure; The business logic relationship information includes a plurality of energy devices and linkage relationships between the energy devices; the data structure includes a graphic element corresponding to each energy device and a connection line corresponding to each linkage relationship; Based on the data structure, generate an energy topology map; Determining rendering parameters of the graphic elements and the lines based on real-time monitoring information of the energy system; The real-time monitoring information includes the operating status of each of the energy devices and the linkage status of each of the linkage relationships; By updating the rendering parameters of the graphic element, the graphic element in the energy topology map is triggered to output a display effect that matches the operating status of the energy device, so that the energy topology map dynamically displays the operating status change of the energy device; By updating the rendering parameters of the connection, a display effect that matches the connection output in the energy topology map with the linkage state of the linkage relationship is triggered, so that the energy topology map dynamically displays the linkage state change of the linkage relationship.
2. The method according to claim 1, characterized in that The rendering parameters of the graphic element include background color. By updating the rendering parameters of the graphic element, the graphic element in the energy topology map is triggered to output a display effect matching the operating status of the energy device, including: When the operation state of the corresponding energy device is startup, the graphic element in the energy topology map is triggered to output a first display effect by updating the background color of the graphic element to a first color; When the operation state of the corresponding energy device is stopped, the background color of the graphic element is updated to a second color, so as to trigger the graphic element in the energy topology map to output a second display effect.
3. The method according to claim 1, characterized in that The rendering parameters of the graphic element include animation effects. By updating the rendering parameters of the graphic element, the graphic element in the energy topology map is triggered to output a display effect that matches the operating status of the energy device, including: When the operation status of the corresponding energy equipment is normal, the display effect output by the graphic element in the energy topology map is triggered to be presented as a static image by updating the animation effect of the graphic element to be still; When the operation status of the corresponding energy device is an alarm, the animation effect of the graphic element is updated to flashing, which triggers the display effect output by the graphic element in the energy topology map to be presented as a dynamic image.
4. The method according to claim 1, characterized in that The rendering parameters of the connection include the connection state. By updating the rendering parameters of the connection, a display effect that matches the connection output in the energy topology diagram with the linkage state of the linkage relationship is triggered, including: When the linkage state of the corresponding linkage relationship is activated, the connection state of the connection is updated to a flow state, triggering the connection in the energy topology map to output a display effect of a flow line; the flow line represents a connection including a flow animation; When the linkage state of the corresponding linkage relationship is stopped, by updating the connection state of the connection to a static state, the display effect output by the connection in the energy topology diagram is triggered to be a static line; the static line represents a connection that does not contain the flow animation.
5. The method according to claim 1, characterized in that The rendering parameters of the connection include the color of the wire. By updating the rendering parameters of the connection, a display effect of matching the connection output in the energy topology diagram with the linkage state of the linkage relationship is triggered, including: When the linkage state of the corresponding linkage relationship is normal, the line color of the connection is updated to a third color, triggering the connection in the energy topology diagram to output a third display effect; When the linkage state of the corresponding linkage relationship is an alarm, the line color of the connection is updated to a fourth color, triggering the connection in the energy topology map to output a fourth display effect.
6. The method according to claim 1, characterized in that The rendering parameters of the connection include flow effects. By updating the rendering parameters of the connection, a display effect that matches the connection output in the energy topology diagram with the linkage state of the linkage relationship is triggered, including: When the linkage state of the corresponding linkage relationship is material interaction, by updating the flow effect of the connection line to the first effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a pipeline line flow animation; When the linkage state of the corresponding linkage relationship is energy interaction, by updating the flow effect of the connection line to the second effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a drag flow animation; When the linkage state of the corresponding linkage relationship is information interaction, by updating the flow effect of the connection line to the third effect, the display effect output by the connection line in the energy topology diagram is triggered to be presented as a meteor flow animation.
7. The method according to claim 1, characterized in that The method further comprises: Based on the business logic relationship information, obtaining the device name of the energy device corresponding to the graphic element; Based on the real-time monitoring information, obtaining the working parameters of the energy equipment corresponding to the graphic element; The device names and working parameters corresponding to the graphic elements are displayed in the energy topology diagram.
8. An energy topology map generating device, characterized in that: include: A structure determination unit, used to determine a corresponding data structure based on business logic relationship information of the energy system; The business logic relationship information includes a plurality of energy devices and linkage relationships between the energy devices; the data structure includes a graphic element corresponding to each energy device and a connection line corresponding to each linkage relationship; A topology map generating unit, used for generating an energy topology map based on the data structure; A rendering parameter determination unit, used to determine the rendering parameters of the graphic element and the connection respectively based on the real-time monitoring information of the energy system; The real-time monitoring information includes the operating status of each of the energy devices and the linkage status of each of the linkage relationships; A graphic element rendering unit, configured to trigger the graphic element in the energy topology map to output a display effect matching the operating status of the energy device by updating the rendering parameters of the graphic element, so that the energy topology map dynamically displays the operating status change of the energy device; The line rendering unit is used to trigger the display effect of matching the line output in the energy topology map with the linkage state of the linkage relationship by updating the rendering parameters of the line, so that the energy topology map dynamically displays the linkage state change of the linkage relationship.
9. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program, when executed by a processor, executes the energy topology map generating method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: processor, memory, and bus; The processor is connected to the memory via the bus; The memory is used to store programs, and the processor is used to run programs, wherein the program, when run by the processor, executes the energy topology map generating method according to any one of claims 1 to 7.
