A power device wiring diagram data display method, device and storage medium
By using a power equipment wiring diagram data display method, and by dynamically updating XML files using various data update methods and script files, the problem of inconvenient switching of graphic element shapes in power system graphics technology is solved, and flexible and efficient display of power equipment wiring status is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2026-03-20
AI Technical Summary
Existing power system graphics technology cannot flexibly switch the shape of graphic elements, making it inconvenient to display the wiring status of power equipment.
A method for displaying wiring diagrams of power equipment is provided. By selecting the current data update method from multiple data update methods, the method updates and initializes the XML file based on the measurement point data to display the corresponding graphic elements in the browser. This includes periodic updates and updates based on changes in measurement point values. Dynamic updates of graphic elements are achieved by using script file calls and graphic element associations.
It enables flexible display of wiring diagram data for power equipment, improving display efficiency and flexibility, and allows for customization of element types and display methods based on measurement point data.
Smart Images

Figure CN116340660B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power system and automation, and more particularly to a power equipment wiring diagram data display method, device and storage medium. BACKGROUND
[0002] The power system is an extremely huge system, and there are numerous power lines, substations and power plants, and the amount of data and information contained is huge. In order to be able to intuitively observe and analyze data, graphical technology becomes the key to solving this problem.
[0003] At present, the graphical technology of the power system has been widely applied, but when displaying the power system graphics, each power equipment and its wiring state need to be sent to the display device by the power equipment for display. However, this display method cannot switch the shape of the graphic element, and is not convenient enough. SUMMARY
[0004] In order to solve the above problems, the present application is proposed. According to an aspect of the present application, a power equipment wiring diagram data display method is provided, which comprises:
[0005] selecting a current data update mode from a plurality of preset data update modes;
[0006] when a trigger condition required by the current data update mode is met, updating an initialization xml file according to the measurement point data, so as to display a graphic element corresponding to the measurement point data in a browser.
[0007] In an embodiment of the present application, the plurality of data update modes comprises a periodic update mode and a measurement point value change update mode.
[0008] In an embodiment of the present application, the current data update mode is the periodic update mode.
[0009] when a trigger condition required by the current data update mode is met, updating an initialization xml file according to the measurement point data, so as to display a graphic element corresponding to the measurement point data in a browser, comprising:
[0010] receiving first power equipment measurement point data sent by the power equipment every first time interval, and storing the first power equipment measurement point data into a real-time database;
[0011] acquiring the first power equipment measurement point data in the real-time database every second time interval;
[0012] updating the initialization xml file according to the first power equipment measurement point data, so as to display a graphic element corresponding to the measurement point data in a browser.
[0013] In an embodiment of the present application, the current data updating mode is the measured point value change updating mode.
[0014] When the trigger condition required by the current data updating mode is met, the initialized xml file is updated according to the measured point data of the power equipment, so as to display the graph element corresponding to the measured point data in the browser, including:
[0015] At any time, the second power equipment measured point data sent by the power equipment is received, and the initialized xml file is updated according to the second power equipment measured point data, so as to display the graph element corresponding to the measured point data in the browser.
[0016] In an embodiment of the present application, according to the first power equipment measured point data, a script file is generated, and before the graph element corresponding to the measured point data is displayed in the browser, the method further includes:
[0017] The first power equipment measured point data is retrieved in the real-time database, so as to determine whether the first power equipment measured point data is stored in the real-time database;
[0018] When the first power equipment measured point data is not stored in the real-time database, the upstream and downstream power-on logic of the first equipment topology is acquired, the graph element corresponding to the power equipment without measured point data is determined according to the upstream and downstream power-on logic of the first equipment topology, then the graph element corresponding to the power equipment without measured point data is directly called in the initialized xml file, and the graph element corresponding to the power equipment without measured point data is displayed in the browser.
[0019] In an embodiment of the present application, updating the initialized xml file includes:
[0020] The elements of the graph element description of the initialized xml file are updated, and the display in the browser is performed.
[0021] In an embodiment of the present application, before the initialized xml file is updated according to the measured point data to display the graph element corresponding to the measured point data in the browser, the method includes: associating the graph element with the initialized xml file.
[0022] In an embodiment of the present application, the initialized xml file includes elements for graph element description;
[0023] Updating the initialized xml file includes:
[0024] The attributes of the elements for graph element description in the initialized xml file are assigned values, so as to generate the graph element conforming to the graph element description.
[0025] In an embodiment of the present application, the elements include at least one of the following: a primitive shape, a fill color, a line width, and a line color.
[0026] In an embodiment of the present application, the initialization xml file includes an element for text description.
[0027] updating the initialization xml file, including:
[0028] assigning values to attributes of the element for text description in the initialization xml file to generate text conforming to the text description.
[0029] In an embodiment of the present application, the measurement point data includes at least one set of remote signaling values of the power equipment; when the measurement point data includes at least two sets of remote signaling values of the power equipment, each remote signaling value in the at least two sets of remote signaling values corresponds to one primitive.
[0030] In an embodiment of the present application, the primitive includes an SVG graphic.
[0031] According to another aspect of the present application, there is provided a power equipment wiring diagram data display device, the device including:
[0032] a display for executing a command sent by the processor to display the primitive in the browser;
[0033] a memory and the processor, the memory storing a computer program run by the processor, the computer program, when run by the processor, causing the processor to execute the power equipment wiring diagram data display method as described above.
[0034] According to still another aspect of the present application, there is provided a storage medium, the storage medium storing a computer program, the computer program, when run by a processor, causing the processor to execute the power equipment wiring diagram data display method as described above.
[0035] According to the power equipment wiring diagram data display method, device and storage medium of the present application, when the trigger condition required by the current data updating mode is met, a script file can be generated according to the measurement point data to display primitives of different shapes and colors corresponding to the measurement point data in the browser, and the type of primitive can be customized according to requirements, so that the display mode is more flexible. BRIEF DESCRIPTION OF DRAWINGS
[0036] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description thereof taken in conjunction with the accompanying drawings in which:
[0037] Figure 1 Fig. 1 shows a schematic flow chart of a power equipment wiring diagram data display method according to an embodiment of the present application;
[0038] Fig. 2(a) shows a schematic diagram of transformer graphic elements before color updating using a switching graphic element mode according to an embodiment of the present application;
[0039] Fig. 2(b) shows a schematic diagram of transformer graphic elements after color updating using a switching graphic element mode according to an embodiment of the present application;
[0040] Fig. 3(a) shows a schematic diagram of handcart graphic elements before switching handcart graphic element style and refreshing telemetry value text information update according to an embodiment of the present application;
[0041] Fig. 3(b) shows a schematic diagram of handcart graphic elements after switching handcart graphic element style and refreshing telemetry value text information update according to an embodiment of the present application;
[0042] Fig. 4(a) shows a schematic diagram of conductor coloring logic and no-measuring-point equipment coloring logic update effect before update according to an embodiment of the present application;
[0043] Fig. 4(b) shows a schematic diagram of conductor coloring logic and no-measuring-point equipment coloring logic update effect after update according to an embodiment of the present application;
[0044] Figure 5 Fig. 5 shows a screenshot of a topology relationship of each power equipment and conductor in a real-time database according to an embodiment of the present application;
[0045] Figure 6 Fig. 6 shows a schematic block diagram of a power equipment wiring diagram data display device according to an embodiment of the present application. DETAILED DESCRIPTION
[0046] In order to make the objectives, technical solutions and advantages of the present application more apparent, the following will describe example embodiments according to the present application in detail with reference to the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application, and it should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present application described in the present application, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of the present application.
[0047] Based on the foregoing technical problem, the application provides a power equipment wiring diagram data display method, which comprises the following steps: selecting a current data updating mode from a plurality of preset data updating modes; and updating an initialization xml file according to measurement point data to display a graph element corresponding to the measurement point data in a browser when a trigger condition required by the current data updating mode is met. According to the embodiment of the application, the initialization xml file can be updated according to the measurement point data to display the graph element of different shapes and colors corresponding to the measurement point data in the browser when the trigger condition required by the current data updating mode is met, and the graph element type can be customized according to requirements, so that the display mode is more flexible.
[0048] The scheme of the power equipment wiring diagram data display method according to the embodiment of the application will be described in detail below with reference to the accompanying drawings. The features of each embodiment of the application can be combined with each other on the premise of no conflict.
[0049] Figure 1 A schematic flowchart of the power equipment wiring diagram data display method according to the embodiment of the application is shown. As shown in the figure, the power equipment wiring diagram data display method 100 according to the embodiment of the application can comprise the following steps S101 and S102. Figure 1
[0050] In step S101, a current data updating mode is selected from a plurality of preset data updating modes.
[0051] In one example, the plurality of data updating modes comprises a periodic updating mode and a measurement point value change updating mode.
[0052] The measurement point data comprises at least one group of remote signaling values of the power equipment. When the measurement point data comprises at least two groups of remote signaling values, each remote signaling value in the at least two groups of remote signaling values corresponds to one graph element. Remote signaling refers to the input quantity of remote communication data, such as the open / close state of a circuit breaker or disconnector, the action / restoration of a protection signal, the input / output of an AGC / AVC function, etc., which is usually represented by one or two binary bits. For example, the circuit breaker in the open and closed states corresponds to different graph elements, which can be graph elements of different shapes or graph elements of different colors, which are not limited herein.
[0053] The graph element comprises a scalable vector graphics (SVG) graph.
[0054] In step S102, the initialization xml file is updated according to the measurement point data to display the graph element corresponding to the measurement point data in the browser when the trigger condition required by the current data updating mode is met.
[0055] In an embodiment of the present application, the current data updating mode is the periodic updating mode.
[0056] When the trigger condition required by the current data updating mode is met, the initialization xml file is updated according to the measurement point data to display the graph element corresponding to the measurement point data in the browser, including: A1, receiving the first power equipment measurement point data sent by the power equipment every first time interval, and storing the first power equipment measurement point data to the real-time database; A2, acquiring the first power equipment measurement point data in the real-time database every second time interval; A3, updating the initialization xml file according to the first power equipment measurement point data to display the graph element corresponding to the measurement point data in the browser.
[0057] The first time interval can be set as needed. For example, the measurement point data sent by the power equipment is received every 0.1 seconds. After receiving the measurement point data sent by the power equipment each time, the measurement point data can be stored in the real-time database. The second time interval can be set as needed, for example, the real-time database is accessed and the graph element is updated every 1 second. Only the graph element in which the measurement point data has changed can be updated, or all graph elements can be updated.
[0058] In addition, the xml file of the present application generates SVG graphs. When modification of the graph element is needed, the script file needs to be used to update, color, display the telemetry value, and control the content of the corresponding field in the xml file to realize the function.
[0059] XML generally refers to Extensible Markup Language, which is a subset of Standard Generalized Markup Language, and is abbreviated as XML. It is a markup language used to mark electronic files to have structure. The xml file of the present application can be written by a script language, which can include at least one of the following: JavaScript, VBScript, ASP, and PHP.
[0060] In a specific example, as shown in Figure 5 Fig. 1 is a screenshot of the topological relationship of each power equipment and conductor in the real-time database. The incoming line circuit breaker (the equipmentId of the incoming line circuit breaker is 200) is taken as an example for description. The script file calls the equipmentId of the incoming line circuit breaker (for example, the equipmentId of the incoming line circuit breaker is 200) stored in the real-time database, and then the script file finds the graph element specified by the id by searching the graph element template xml file in the system, and refreshes the incoming line circuit breaker graph element on the interface
[0061] Generally, the color, line width and line color have initial values, or the values of the last time. When the xml file is executed, the graph element corresponding to the measurement point data of the incoming line breaker can have new values of the fill color, line width and line color by calling the measurement point data of the incoming line breaker in the real-time database. At this time, the values of the fill color, line width and line color can be directly updated in the xml file, that is, the graph element description is updated, so as to realize the display of the power equipment wiring diagram data.
[0062] In the conventional technology, since the power equipment wiring diagram needs to be recolored every time the measurement point data is received, the efficiency of the display of the power equipment wiring diagram data will be directly affected. The embodiment of the present application can call the graph element that needs to be recolored through the script file, and update the display of the graph element that needs to be recolored, instead of recoloring all the power equipment wiring diagram, so as to improve the efficiency of the display of the power equipment wiring diagram data.
[0063] In one of the examples, according to the first power equipment measurement point data, the initialization xml file is updated, and before the graph element corresponding to the measurement point data is displayed in the browser, the method further comprises: B1, retrieving the first power equipment measurement point data in the real-time database to determine whether the first power equipment measurement point data is stored in the real-time database; B2, when the first power equipment measurement point data is not stored in the real-time database, obtaining the first device topology upstream and downstream power-on logic, judging the graph element corresponding to the power equipment without measurement point data according to the first device topology upstream and downstream power-on logic, then directly calling the graph element corresponding to the power equipment without measurement point data in the initialization xml file, and displaying the graph element corresponding to the power equipment without measurement point data in the browser.
[0064] In a specific example, as shown in FIG. 2(a), it is a transformer graph element schematic diagram before updating, and as shown in FIG. 2(b), it is a transformer graph element schematic diagram after updating. In the following code, the transformer power-on and power-off states are two graph elements, and the following xml file code realizes the switching of the graph elements, and the corresponding xml file code is as follows:
[0065] - <object id="arx7mt3q5whtx3x1l-l2-191"equipmentid="9999"label="">
[0066] - <mxCell parent="1" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.wd_electric.bianyaqi;whiteSpace=wrap;html=1;top=0;bottom=0;vertex="1">
[0067] <mxGeometry as="geometry" height="225" width="135" y="1" x="1" / >
[0068]
[0069] < / object>
[0070] <!-- The above is a static graph element, and the following is a graph element that can be dynamically refreshed to color the equipment -->
[0071] - <object id="arx7mt3q5whtx3x1l-l2-191"equipmentname="变压器本体"equipmentid="112"label=""图元="变压器">
[0072] - <mxCell parent="1" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.wd_electric.bianyaqi;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;strokeWidth=6;strokeColor=#808080;aspect=fixed;" vertex="1">
[0073] <mxGeometry as="geometry" height="225" width="135" y="1" x="1" / >
[0074]
[0075] < / object>
[0076] In the embodiments of the present application, some electric power equipment has no measuring point data, for example, the transformer body has no measuring point data, in this case, the graphic element description of the electric power equipment can be updated by the xml file, for example, the fill color, line width and stroke color of the graphic element corresponding to the transformer are directly set in the xml file to realize dynamic update of the graphic element corresponding to the transformer.
[0077] In the displayed graphic element, the graphic element description of the fill color, line width and stroke color of the transformer graphic element can also be set according to the state of the transformer. For example, the measuring points are the transformer winding temperature and core temperature. In the initial state, the winding temperature and core temperature of the transformer are T a = 0.00 ℃, T b = 0.00 ℃, T c = 0.00 ℃, T l = 0.00 ℃, the color of the graphic element corresponding to the transformer; after the measuring point data is updated, the winding temperature and core temperature of the transformer are updated to T a = 33.98 ℃, T b = 36.62 ℃, T c = 33.25 ℃, T l = 60.72 ℃, at this time, the color of the graphic element corresponding to the transformer becomes orange red. This part belongs to refreshing of the telemetry text information, and the principle is the same as that of the refreshing of the telemetry text information introduced below.
[0078] In another embodiment of the present application, the current data update mode is the measuring point value change update mode. When the trigger condition required by the current data update mode is met, the initialized xml file is updated according to the measuring point data of the electric power equipment to display the graphic element corresponding to the measuring point data in the browser, including: at any time, receiving the second electric power equipment measuring point data sent by the electric power equipment, updating the initialized xml file according to the second electric power equipment measuring point data to display the graphic element corresponding to the measuring point data in the browser.
[0079] In one example, updating the initialized xml file includes: calling the graphic element corresponding to the measuring point data by a function in a script file, and sending the graphic element to the browser for display.
[0080] In one example, before updating the initialized xml file to display the graphic element corresponding to the measuring point data in the browser according to the measuring point data, the method includes: associating the graphic element with the initialized xml file.
[0081] In an embodiment of the present application, the initialization xml file includes an element for the graphic element description. The initialization xml file is updated by assigning values to the attributes of the element for the graphic element description in the initialization xml file to generate a graphic element conforming to the graphic element description.
[0082] The element includes at least one of a graphic element shape, a fill color, a line width, and a line color.
[0083] In a specific example, there are multiple ways to change the graphic element shape, such as redrawing the graphic element or processing part of the line of the graphic element.
[0084] The measured point data of the same power equipment can be different, and therefore different graphic elements are needed to represent the measured point data of the same power equipment. In the present solution, different graphic elements are referenced according to the different measured point data (remote signaling values) of the power equipment, and the graphic elements are modified very conveniently, only the graphic element description in the script file needs to be modified, without modifying each instance and without recompilation, and migration is also very convenient. The following takes the circuit breaker trolley graphic element as an example to introduce the method of dynamically updating the display style of the trolley graphic element.
[0085] - <object id="arx7mt3q5whtx3x1l-l2-233"equipmentid="9999"label="">
[0086] - <mxCell parent="1" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.wd_electric.shouchedaozhaguifen;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;" vertex="1">
[0087] <mxGeometry as="geometry" height="450" width="45" y="1" x="1" / >
[0088]
[0089] < / object>
[0090] <!-- The above is a static graphic element, and the following is a graphic element with dynamically refreshable style -->
[0091] - <object id="arx7mt3q5whtx3x1l-l2-233"equipmentname="配电变馈线柜手车"equipmentid="76"label=""tagdesc="手车工作位置 手车试验位置"tagid="2072 2073"图元="手车刀闸"multistate="1"bindingvalue="2073=0+2072=1#shouchedaozhahe,2073=1+2072=0#shouchedaozhafen"canclick="true">
[0092] - <mxCell parent="1" style="verticalLabelPosition=bottom;verticalAlign=top;html=1;shape=mxgraph.wd_electric.shouchedaozhafen;whiteSpace=wrap;html=1;top=0;bottom=0;fillColor=none;strokeWidth=6;strokeColor=#808080;aspect=fixed;" vertex="1">
[0093] <mxGeometry as="geometry" height="450" width="45" y="1" x="1" / >
[0094]
[0095] < / object>
[0096] As shown in FIG. 3(a), it is a trolley graphic element schematic diagram before switching the trolley graphic element style and refreshing the remote measurement value text information update according to the embodiment of the present application; as shown in FIG. 3(b), it is a trolley graphic element schematic diagram after switching the trolley graphic element style and refreshing the remote measurement value text information update according to the embodiment of the present application. In the figures, the measured point data of the trolley in the initial state is: I a = 000.00 A, I b = 000.00 A, I c = 000.00 A. In the next state, the measured point data of the trolley is updated to: I a = 0.58 A, I b = 0.54 A, I c = 0.53 A. Since the phase current of the trolley changes, the graphic element style of the trolley needs to be updated.I a , I b , I c The remote measurement text information of the incoming line cabinet current state of the external power supply changes using the text information refreshing method below. The trolley on-off state depends on the actual device trolley on-off state, and is irrelevant to whether there is current.
[0097] For example, at this time, the interface circuit breaker handcart is in the off state. Subsequently, the substation staff closes the handcart. At this time, the monitoring screen needs to be updated. At this time, the script file first calls the measured point data of the handcart (for example, equipmentId = 76) in the real-time database. Secondly, the graphic element corresponding to the measured point data is determined through the control statement bingdingValue. Then, the updated graphic element is called through the script function setEquipShape() provided by the script file, and the graphic element name after # in the control statement in the xml file is filled into shape = mxgraph.wd_electric.XXX to achieve graphic element switching, thereby changing the display style of the graphic element. The updated handcart graphic element style is shown in Figure 3(b).
[0098] In an embodiment of the present application, the initialized xml file further includes an element for text description. Updating the initialized xml file includes: assigning values to the attributes of the element for text description in the initialized xml file to generate text conforming to the text description, thereby generating text information conforming to the actual telemetry value and displaying it on the browser.
[0099] In a specific example, when updating the text information in the display interface, it is necessary to retrieve all the measured point data of the power equipment from the real-time database. Taking the external power supply incoming line cabinet as an example, the process of dynamically updating the text information of the external power supply incoming line cabinet is introduced below. The following is the xml file code of the text information of the external power supply incoming line cabinet:
[0100] <mxCell parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;value="000.00";" vertex="1">
[0101] <mxGeometry as="geometry" height="50" width="80" y="1" x="1" / >
[0102]
[0103] <!-The above are static graphic elements, and the following are graphic elements that can dynamically refresh text information->
[0104] -<object id="UmFyeW21i_9IjySDc-rB-18" equipmentName="External power supply incoming line cabinet multifunction meter" equipmentId="21" label=" <font style="font-size:40px"> <font style="font-size:40px">000.00 < / font>"tagDesc="Phase voltage Ua" tagID="286">
[0105] - <mxCell parent="1" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontColor=#ffffff;fontSize=40;" vertex="1">
[0106] <mxGeometry as="geometry" height="50" width="80" y="1" x="1" / >
[0107]
[0108]
[0109] In the present application, the script file calls the measured point data (text information) of the external power line cabinet (for example, equipmentId=21) in the real-time database, the value corresponding to the measured point data is the content of the text information, the description statement in the xml is updated in real time, and the content of the text information in the real-time database is displayed in the display interface.
[0110] As shown in Figure 5 , it is a screenshot of the topological relationship of each power equipment and wire in the real-time database. Taking JXPTSC-JXPT wire (equipment_id is 75) as an example, the upstream (from_id) of JXPTSC-JXPT wire in the entire topological relationship is the incoming line pt handcart (equipment_id is 57), and the downstream (to_id) is the incoming line pt (equipment_id is 56). The logic for determining whether JXPTSC-JXPT wire is colored as the power-on color is as follows: ① Determine the incoming line pt handcart on-off state. At this time, the real-time database pt handcart on-off state remote transmission value is used to determine whether the state of the incoming line pt handcart is on or off; ② Determine whether the incoming line pt handcart is powered on. Search whether the upstream wire JXQF-JXPTSC (equipment_id is 74) of the pt handcart equipment topology is in the power-on state; ③ Determine that the incoming line pt handcart is in the on state and the power-on state. The script file will update the JXPTSC-JXPT wire color description in the xml file to the power-on color through the function, and then this state is successfully refreshed in the browser interface. Please refer to FIG. 4(a) and FIG. 4(b) for the refresh effect.
[0111] In addition, the incoming line pt (equipment_id is 56) shown in FIG. 4(a) and FIG. 4(b) is also consistent with the transformer described in the first specific example, which is a non-measuring point device, and the incoming line pt is a downstream device of the conductor JXPTSC-JXPT (equipment_id is 75) mentioned above. The coloring logic also depends on the power-on state of the topological upstream conductor. If the conductor is live, the pt device is directly colored.
[0112] When the trigger condition required by the current data updating mode is met, the embodiment of the application can update the initialization xml file according to the measuring point data to display the different shapes and colors of the graphic elements corresponding to the measuring point data in the browser. In addition, the graphic element type can be customized according to the requirements, and the display mode is flexible.
[0113] The power equipment wiring diagram data display device of the application will be described below. Figure 6 The power equipment wiring diagram data display device of the application will be described below. Figure 6 A schematic block diagram of the power equipment wiring diagram data display device according to the embodiment of the application is shown.
[0114] As shown in the figure, Figure 6 The power equipment wiring diagram data display device 600 includes:
[0115] The display 601 is used to execute the command of displaying the graphic element in the browser sent by the processor.
[0116] One or more memories 602 and one or more processors 603, the memory 602 stores a computer program run by the processor 603, and the computer program makes the processor 603 execute the power equipment wiring diagram data display method described above when run by the processor 603.
[0117] The power equipment wiring diagram data display device 600 can be part or all of the computer device that can realize the power equipment wiring diagram data display method by software, hardware or combination of software and hardware.
[0118] As shown in the figure, Figure 6 The power equipment wiring diagram data display device 600 includes:
[0119] One or more memories 602, one or more processors 603, display 601 and communication interface, etc., these components are interconnected through bus system and / or other forms of connection mechanism (not shown). It should be noted that, Figure 6 The components and structure of the power equipment wiring diagram data display device 600 shown are only exemplary and not limiting, and the power equipment wiring diagram data display device 600 can also have other components and structures according to needs.
[0120] The memory 602 is used to store various data generated during the relevant train operation process and executable program instructions, for example, to store various application programs or algorithms for implementing various specific functions. One or more computer program products can be included, which can include various forms of computer readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may, for example, include random access memory (RAM) and / or cache memory, etc. The non-volatile memory may, for example, include read-only memory (ROM), a hard disk, a flash memory, etc.
[0121] The processor 603 can be a central processing unit (CPU), a graphics processing unit (GPU), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other forms of processing units with data processing and / or instruction execution capabilities, and can invoke other components in the power equipment wiring diagram data display device 600 to perform desired functions.
[0122] In one example, the power equipment wiring diagram data display device 600 further includes an output device that can output various information (such as images or sounds) to the outside (such as a user), and can include one or more of a display device, a speaker, etc.
[0123] The communication interface can be an interface of any communication protocol known at present, such as a wired interface or a wireless interface, wherein the communication interface can include one or more serial ports, USB interfaces, Ethernet ports, WiFi, wired networks, DVI interfaces, device integrated interconnection modules, or other suitable various ports, interfaces, or connections.
[0124] In addition, according to the embodiments of the present application, a storage medium is also provided, on which program instructions are stored, and when the program instructions are run by a computer or a processor, the corresponding steps of the power equipment wiring diagram data display method of the embodiments of the present application are executed. The storage medium may, for example, include a memory card of a smart phone, a storage component of a tablet computer, a hard disk of a personal computer, a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a portable compact disc read-only memory (CD-ROM), a USB memory, or any combination of the above storage media.
[0125] The power equipment wiring diagram data display device and the storage medium of the embodiments of the present application have the same advantages as the power equipment wiring diagram data display method described above, since they can implement the power equipment wiring diagram data display method described above.
[0126] Although example embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the example embodiments are intended to be illustrative only and are not intended to limit the scope of the present application. Various modifications and changes can be made thereto by those of ordinary skill in the art without departing from the scope and spirit of the application. It is intended that all such modifications and changes be included within the scope of the application as claimed.
[0127] Those skilled in the art can realize the units and algorithm steps with the examples described in the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether the functions are performed in hardware or software depends on the particular applications and design constraints. Those skilled in the art can realize the described functions by designing a corresponding electrical circuit or in a combination of hardware and software modules with the use of common technical means. Such software is stored in one or more storage media or memory of the electronic devices and includes a number of instructions for implementing elements of the methods described herein. Such software can also include data files stored by one or more of the electronic devices.
[0128] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, another division manner can be used, for example, a plurality of units or components can be combined or integrated into another device, or some features can be omitted or not implemented.
[0129] In the specification provided herein, a large number of specific details are described. However, it can be understood that the embodiments of the present application can be practiced without these specific details. In some examples, well-known methods, structures and techniques are not described in detail in order not to obscure the understanding of the specification.
[0130] Similarly, it should be appreciated that the various features described herein which can be incorporated in the various aspects of the application can be implemented by one or more of the exemplary embodiments described herein. Further, it should be appreciated that all combinations of the exemplary embodiments are not necessarily excluded. For example, a combination of features described in one embodiment can be combined with features described in another embodiment. Further, it should be appreciated that features described in the specification, the claims and the drawings can be combined in any manner.
[0131] Those skilled in the art will appreciate that all features described herein (including all features and processes described in the accompanying claims, abstract and drawings) can be combined in any combination. Each feature disclosed in this specification (including any "means for" feature disclosed by the specification, abstract and drawings) can be replaced by alternative features that are both equivalent in terms of the functionality for which the features are used. Unless otherwise expressly stated, the disclosure herein is not directed to any single implementation, but rather to all possible implementations.
[0132] Furthermore, those skilled in the art will recognize that references in the specification to "one implementation", "an implementation", "some implementations", "an alternate implementation" etc., mean that a particular feature, structure, or characteristic being described is included in at least one implementation. Thus, the appearance of such phrases in various places throughout the specification are not necessarily all referring to the same implementation.
[0133] Various components of the present application can be implemented in hardware, or as software modules running in one or more processors, or combinations thereof. Those skilled in the art will appreciate that some or all of the functionality of some of the modules according to embodiments of the present application can be implemented using a microprocessor or a digital signal processor (DSP) in practice. The present application can also be implemented as a program (for example, a computer program and a computer program product) for executing any or all of the methods described herein on a computer system. Such a program implementing the present application can be stored on a computer readable medium, or can be in the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier wave, or in any other form.
[0134] It is noted that the foregoing examples have been provided merely for the purpose of explanation and are in no way to be construed as limiting of the present application. While the application has been described with reference to preferred embodiments, it is understood that the words that have been used herein are words of description, and that changes can be made within the scope and spirit of the application. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word comprising does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application can be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the system claims enumerating several means, several of these means can be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not imply any order. These words are to be understood as names.
[0135] The above merely provides specific implementation manners or specific implementation manners of the present application, and the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed by the present application, and all the changes or replacements should be covered in the protection scope of the present application. The protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A method for displaying wiring diagrams of electrical equipment, characterized in that, The method includes: Select the current data update method from a variety of preset data update methods; When the triggering conditions required by the current data update method are met, the initialization XML file is updated according to the measurement point data so as to display the graphic elements corresponding to the measurement point data in the browser; Among these, the various data update methods include periodic updates; Specifically, when the current data update method is the periodic update method, and the triggering conditions required by the current data update method are met, the initialization XML file is updated according to the measurement point data to display the graphic elements corresponding to the measurement point data in the browser, including: At each first interval, receive the first power equipment measurement point data sent by the power equipment, and store the first power equipment measurement point data in the real-time database; At each second time interval, acquire the measurement data of the first power equipment in the real-time database; Based on the measurement point data of the first power equipment, update the initialization XML file to display the graphic elements corresponding to the measurement point data in the browser; When the triggering conditions required by the current data update method are met, the method further includes updating the initialization XML file based on the measurement point data before displaying the graphic elements corresponding to the measurement point data in the browser: The first power equipment measurement point data is retrieved from the real-time database to determine whether the first power equipment measurement point data is stored in the real-time database. When the real-time database does not store the measurement point data of the first power equipment, the upstream and downstream power-on logic of the first equipment topology is obtained. Based on the upstream and downstream power-on logic of the first equipment topology, the corresponding graphic element of the power equipment without measurement point data is determined. Then, the graphic element corresponding to the power equipment without measurement point data is directly called in the initialization XML file, and the graphic element corresponding to the power equipment without measurement point data is displayed in the browser.
2. The method as described in claim 1, characterized in that, The various data update methods also include update methods based on changes in measurement point values.
3. The method as described in claim 2, characterized in that, When the current data update method is the measurement point value change update method, and the triggering conditions required by the current data update method are met, the initialization XML file is updated according to the measurement point data to display the graphic elements corresponding to the measurement point data in the browser, including: At any given time, the system receives second power equipment measurement point data sent by the power equipment, and updates the initialization XML file based on the second power equipment measurement point data to display the graphic elements corresponding to the measurement point data in the browser.
4. The method as described in claim 1, characterized in that, Update the initialization XML file, including: Update the elements of the primitive description in the initialization XML file and display them in the browser.
5. The method as described in claim 4, characterized in that, Based on the measurement point data, the initialization XML file is updated so that the graphic elements corresponding to the measurement point data are displayed in the browser. The method includes associating the graphic elements with the initialization XML file.
6. The method as described in claim 1, characterized in that, The initialization XML file includes elements for primitive description; Update the initialization XML file, including: Assign values to the attributes of the elements used for primitive description in the initialization XML file to generate primitives that conform to the primitive description.
7. The method as described in claim 6, characterized in that, The element includes at least one of the following: primitive shape, fill color, line width, and line color.
8. The method as described in claim 1, characterized in that, The initialization XML file includes elements for text description; Update the initialization XML file, including: Assign values to the attributes of the elements used for text description in the initialization XML file to generate text that conforms to the text description.
9. The method as described in claim 1, characterized in that, The measurement point data includes at least one set of remote signaling values of the power equipment; when the measurement point data includes at least two sets of remote signaling values of the power equipment, each of the at least two sets of remote signaling values corresponds to a graphic element.
10. The method as described in claim 1, characterized in that, The graphic elements include SVG graphics.
11. A power equipment wiring diagram display device, characterized in that, The device includes: The display is used to execute commands sent by the processor to display graphic elements in the browser; The memory and the processor, wherein the memory stores a computer program executed by the processor, the computer program, when executed by the processor, causes the processor to perform the power equipment wiring diagram data display method as described in any one of claims 1 to 10.
12. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, causes the processor to perform the power equipment wiring diagram data display method as described in any one of claims 1 to 10.
Citation Information
Patent Citations
Pixel coloring method in transformer station remote browsing
CN104657352A
Railway power supply dispatching cluster monitoring system visualization method based on column database reverse index
CN110795498A