Monitoring interface dynamic display method and system based on calculation script configuration icons

By introducing a configuration symbol editor and screen editor with customizable calculation scripts into the monitoring system, the problems of complex configuration symbol drawing and limited status change modes in traditional monitoring systems have been solved, realizing dynamic display of the monitoring interface and improving user experience.

CN120892128APending Publication Date: 2025-11-04NANJING GUODIAN NANZI POWER GRID AUTOMATION CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511084952.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

Traditional monitoring systems have a complex configuration diagram drawing process, limited state change modes, and strong coupling with the type of the object being measured, resulting in low development and display efficiency and difficulty in meeting the needs of complex state changes.

Method used

The configuration symbol editor is used to draw configuration symbols for each monitored object, and customizable calculation scripts are introduced. The screen editor is used to associate and map the data with the real-time data collected by the monitoring system. The calculation script service module is used to realize the dynamic display of the monitoring interface.

Benefits of technology

It achieves dynamic display effects on the monitoring interface, reduces the workload of configuration symbol development and release, improves user experience, and supports the flexible application of monitoring systems in various industries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120892128A_ABST
    Figure CN120892128A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of industrial automation comprehensive monitoring, and provides a monitoring interface dynamic display method and system based on a calculation script configuration icon, and the method comprises the steps: drawing a configuration icon for each concerned monitoring object, and introducing a customizable calculation script into the basic primitive display attribute of each configuration icon; carrying out picture layout and drawing, and carrying out association mapping on the calculation script and the collected data; when the monitoring system runs in real time, information of the calculation script is loaded, collected data change information is registered, then script operation is executed, and a calculation result is sent to a monitoring interface; and the monitoring interface loads a monitoring picture file, when related acquisition data displayed by a picture is changed, the display attribute state of the basic primitive in each group of state icons is displayed according to a calculation result, and finally, the dynamic display effect of the monitoring interface is realized. According to the method, the development and release workload of the configuration icons can be greatly reduced, and various configurations can be newly added and updated under the condition that a user does not perceive the configuration icons.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of integrated industrial automation monitoring technology, and in particular to a method and system for dynamically displaying a monitoring interface based on computational script configuration symbols. Background Technology

[0002] With the development of integrated automated monitoring systems in modern industry, industrial automation has made significant progress. Today, Supervisory Control and Data Acquisition (SCADA) systems have become an indispensable part of industrial processes, empowering operators to monitor and control complex systems in real time. These systems play a crucial role in various industries, including manufacturing, energy production, power transmission and distribution, oil and gas, wastewater treatment, and public transportation.

[0003] As part of a monitoring system used in industrial production, configuration can intuitively display the operating status of industrial equipment to users in a graphical and digital way. In different production monitoring sites, the equipment and monitoring data are different, and users have diverse needs for the display of the configuration interface. How to quickly develop configuration symbols and flexibly display the status of the monitored objects is a significant factor restricting the widespread application of monitoring systems.

[0004] Traditional monitoring system configuration schemes typically assume several different states of the monitored object when configuring the symbols. Different status symbols are then drawn for each state. During real-time monitoring, the corresponding status symbol is displayed based on the different state data collected, achieving a dynamic change effect as the monitoring interface changes with the collected data. However, with the increasing intelligence of monitoring systems in recent years, the state change patterns of the monitored objects have become increasingly complex. This approach suffers from several shortcomings, making it increasingly difficult to meet practical application needs: First, the symbol drawing process is cumbersome, requiring separate symbols for each state, even though many symbols only have local differences, leading to repetitive drawing and wasting time and effort. Second, the state changes of each symbol are strongly coupled to the type of the monitored object, requiring special handling from configuration tools and the monitoring interface, resulting in complex application logic and limited effectiveness. Third, the state change patterns of the configured symbols are limited, with only a few fixed types. Changes in business logic may necessitate adding new change patterns and redrawing symbols, requiring modifications to the real-time interface program for display. Summary of the Invention

[0005] The purpose of this invention is to solve at least one technical problem in the background art and to provide a method and system for dynamically displaying a monitoring interface based on a calculation script configuration diagram.

[0006] To achieve the above objectives, this invention provides a method for dynamically displaying a monitoring interface based on a computational script configuration icon, comprising: Use the configuration symbol editor to draw configuration symbols for each monitored object of interest, create a configuration symbol library, and import customizable calculation scripts into the basic element display attributes of each configuration symbol; Edit the monitoring screen using the screen editor, perform screen layout and drawing, associate and map the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and save the drawn monitoring screen file to the screen file library. When the screen editor saves the monitoring screen file, it also saves the calculation scripts for all completed variable association mappings in each configuration symbol of the screen to the calculation script file library. When the monitoring system is running in real time, the calculation script service module first loads the information of the calculation script from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface. The monitoring interface loads the monitoring screen file. When the relevant collected data displayed on the screen changes, the display attribute status of the basic graphic elements in each configuration graphic symbol is displayed according to the calculation results of the calculation script service module, so as to achieve the dynamic display effect of the monitoring interface.

[0007] According to one aspect of the present invention, the step of drawing configuration symbols for each monitored object of interest through a configuration symbol editor, creating a configuration symbol library, wherein the basic element display attributes of each configuration symbol are imported into a customizable calculation script, including: Create a new configuration symbol object in the symbol editor. When creating the object, you need to set the name and object type of the configuration symbol. Then configure the length and width layout information of the configuration symbol. The length and width dimensions are in pixels. Finally, set the background color of the configuration symbol. In the symbol editing interface, you can draw and edit combinations of one or more basic symbols, and record the position, size, and rotation angle of the basic symbols in the configuration symbol layout; the basic symbols adapt to various display requirements of the monitoring system, including straight lines, arcs, polylines, curves, rectangles, ellipses, sectors, polygons, text, and images; For each basic graphic element's display attributes, a related predefined calculation script is introduced; the display attributes of the basic graphic elements include visibility, color, displacement, scaling, rotation, fill, linetype, and linewidth; The same calculation script can be referenced by the display attributes of multiple basic elements within a single configuration icon.

[0008] According to one aspect of the present invention, the process of defining the computation script includes: First, declare the variables, defining their names and data types. After instantiation, all variables will correspond to real-time data collected by a monitoring system. Mathematical expressions are written using variables and operators to form calculation scripts. These calculation scripts are then saved to a calculation script file library. Each calculation script has a unique ID that is used to reference the display attributes of basic primitives.

[0009] According to one aspect of the present invention, the step of editing the monitoring screen through a screen editor, performing screen layout and drawing, associating and mapping the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and saving the drawn monitoring screen file to a screen file library includes: Create a new monitoring screen in the screen editor. When creating the screen, set its name and configure its length and width layout information. The length and width dimensions are in pixels. Also, set the background color of the monitoring screen. In the screen editor, instantiated objects are created on the monitoring screen using basic graphic elements and configuration symbols. The drawing process involves first selecting a basic graphic element or configuration symbol, then dragging the basic graphic element or configuration symbol to the specified position on the monitoring screen, and rotating and scaling it according to display requirements to complete the creation of an instantiated monitoring screen object. Among them, one type of configuration symbol can create multiple instantiated objects. In the screen editor, the calculation scripts in each instantiated object of the configuration symbol are mapped to the real-time data collected by the monitoring system; The drawn monitoring screen files are saved in a scalable vector graphics format and stored in the monitoring screen file library of the monitoring system.

[0010] According to one aspect of the present invention, when the monitoring system is running in real time, the calculation script service module first loads the information of the calculation script from the calculation script file library, registers the collected data change information therein with the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface, including: The calculation script service module extracts calculation scripts from the calculation script file library, merges and configures and maps the same calculation scripts in each configuration symbol, and generates a calculation script pool that can be quickly searched and applied within the calculation script service module. Extract the collected data of the association mapping of each computing script from the computing script pool, and generate a mapping variable table that can be quickly searched and applied within the computing script service module; The calculation script service module registers the corresponding changes in the collected data with the real-time database of the monitoring system based on the generated mapping variable table; The real-time database sends the initial and changing values ​​of the collected data to the calculation script service module based on the registration information of the collected data. The calculation script service module receives the changed collected data, performs the corresponding script calculations, and writes the results into the calculation result table for use by the monitoring interface.

[0011] According to one aspect of the present invention, the monitoring interface loads a monitoring screen file, and when the relevant collected data displayed on the screen changes, it displays the display attribute status of basic graphic elements in each configuration symbol according to the calculation results of the calculation script service module, ultimately realizing a dynamic display effect of the monitoring interface, including: The monitoring interface loads the video file that the user currently needs to display from the video file library; The calculation script service module extracts the calculation script and associated mapping data from the screen file. When the relevant data displayed on the screen changes, the calculation script service module registers the change information of the data with the real-time database of the monitoring system. The monitoring interface refreshes periodically or proactively based on changes in the registered information in the system. Based on the results, the monitoring interface will display the visibility, color, displacement, scaling, rotation, fill, line type, and line width attributes of each basic graphic element in the configuration symbol, ultimately achieving a dynamic display effect for the monitoring interface.

[0012] To achieve the above objectives, the present invention also provides a dynamic display system for a monitoring interface based on a computational script configuration diagram, comprising: The calculation script definition module uses the configuration symbol editor to draw configuration symbols for each monitored object of interest, create a configuration symbol library, and import customizable calculation scripts into the basic element display attributes of each configuration symbol. The monitoring screen drawing module edits the monitoring screen through the screen editor, performs screen layout and drawing, associates and maps the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and saves the drawn monitoring screen file to the screen file library. The calculation script saving module, when the screen editor saves the monitoring screen file, also saves the calculation scripts of all variables that have completed the association mapping in each configuration symbol of the screen to the calculation script file library. When the monitoring system is running in real time, the script calculation module first loads the information of the calculation script from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface. The monitoring interface dynamic display module loads the monitoring screen file. When the relevant collected data displayed on the screen changes, it displays the display attribute status of the basic graphic elements in each configuration graphic symbol according to the calculation results of the calculation script service module, thus achieving a dynamic display effect of the monitoring interface.

[0013] To achieve the above objectives, the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the dynamic display method of the monitoring interface based on the configuration diagram of the calculation script as described above.

[0014] To achieve the above objectives, the present invention also provides a computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, it implements the dynamic display method of the monitoring interface based on the configuration diagram of the calculation script as described above.

[0015] According to the present invention, the configuration symbol library created through the configuration symbol editor allows for convenient and flexible drawing of various monitoring screens that need to be dynamically displayed in monitoring systems. It also enables the monitoring interface to dynamically load configuration symbols and associated calculation scripts, achieving dynamic loading and display of configuration symbols. This invention significantly reduces the workload of developing and releasing configuration symbols, allowing users to add and update various configurations without their awareness, greatly improving the user experience. Furthermore, this invention can flexibly display the status information of various monitored objects based on changes in collected data predefined in the calculation scripts within the configuration symbols, according to user needs, strongly supporting the application and development of monitoring systems in various industries. Attached Figure Description

[0016] Figure 1 A flowchart illustrating a method for dynamically displaying a monitoring interface based on a computational script configuration symbol according to an embodiment of the present invention; Figure 2 This diagram illustrates the state composition of a dynamic display system for a monitoring interface based on a computational script configuration diagram, according to an embodiment of the present invention. Detailed Implementation

[0017] The invention will now be discussed with reference to exemplary embodiments. It should be understood that the described embodiments are merely intended to enable those skilled in the art to better understand and thus implement the invention, and are not intended to imply any limitation on the scope of the invention.

[0018] As used herein, the term "comprising" and its variations are to be interpreted as open-ended terms meaning "including but not limited to". The term "based on" is to be interpreted as "at least partially based on". The terms "one embodiment" and "an embodiment" are to be interpreted as "at least one embodiment".

[0019] Figure 1 This is a schematic flowchart illustrating a method for dynamically displaying a monitoring interface based on a computational script configuration symbol, according to an embodiment of the present invention. Figure 1As shown, in this embodiment, the method for dynamically displaying the monitoring interface based on the configuration symbols of the calculation script includes: Use the configuration symbol editor to draw configuration symbols for each monitored object of interest, create a configuration symbol library, and import customizable calculation scripts into the basic element display attributes of each configuration symbol; Edit the monitoring screen using the screen editor, perform screen layout and drawing, associate and map the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and save the drawn monitoring screen file to the screen file library. When the screen editor saves the monitoring screen file, it also saves the calculation scripts for all completed variable association mappings in each configuration symbol of the screen to the calculation script file library. When the monitoring system is running in real time, the calculation script service module first loads the information of the calculation script from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface. The monitoring interface loads the monitoring screen file. When the relevant collected data displayed on the screen changes, the display attribute status of the basic graphic elements in each configuration graphic symbol is displayed according to the calculation results of the calculation script service module, so as to achieve the dynamic display effect of the monitoring interface.

[0020] Furthermore, according to one embodiment of the present invention, configuration symbols are drawn for each monitored object of interest using a configuration symbol editor, creating a configuration symbol library. The basic element display attributes of each configuration symbol are imported into a customizable calculation script, including: Create a new configuration symbol object in the symbol editor. When creating the object, you need to set the name and object type of the configuration symbol. This object type is the real or abstract device that the user wants to see dynamically displayed in the monitoring interface, such as a pressure plate or switch. Then configure the layout information of the symbol, such as its length and width. The size data is based on pixels. It should be noted that the layout pixel size of the symbol here is only the original size. The symbol can be scaled and drawn after instantiation. Finally, set the background color of the symbol. Generally, the default background color of the symbol is transparent. In the icon editing interface, one or more basic graphic elements can be drawn and edited, and the graphic information such as the position, size, and rotation angle of the basic graphic elements in the icon layout can be recorded to meet the dynamic display needs of the monitored object; the basic graphic elements can adapt to various display needs of the monitoring system, including but not limited to straight lines, arcs, polylines, curves, rectangles, ellipses, sectors, polygons, text, images, etc. For the display attributes of each basic graphic element, a relevant predefined calculation script is introduced; the display attributes of the basic graphic elements can adapt to various dynamic display needs of the monitoring system, including but not limited to attributes such as visibility, color, displacement, scaling, rotation, fill, line type, and line width. The same calculation script can be referenced by the attributes of multiple basic elements in a single configuration symbol.

[0021] Furthermore, according to one embodiment of the present invention, the definition of the calculation script should include variable declaration and script writing. The script is described as a mathematical expression composed of several declared variables and operators, and its calculation result corresponds to the display status of various attributes. The declared variables refer to the variable names and data types that participate in the mathematical expression.

[0022] In this embodiment, the process of defining the calculation script includes the following steps: First, declare the variables, defining their names and data types. After instantiation, all variables will correspond to real-time data collected by a monitoring system. Variable names consist of uppercase and lowercase English letters, numbers, and a special separator "_". The first character must be an English letter for easy reference in subsequent mathematical expression configuration steps. Variable names should ideally use meaningful combinations of letters and numbers. Here are a few examples: For example, to measure the tap position of a transformer (number 1), a variable named... ; For example, in the active power measurement of bay 221 in a substation, a variable named... ; Mathematical expressions are written using elements such as variables and operators to form calculation scripts, which are then saved to a calculation script database. Each calculation script has a unique ID identifier so that it can be referenced by the display attributes of basic graphic elements.

[0023] Furthermore, the actual drawing process of the above configuration symbols is as follows: In the power industry, circuit breaker objects are typically represented by a rectangular frame and two intersecting lines inside to indicate their real-time status. Generally, there are two associated real-time data acquisition points, corresponding to the closed and open positions of the circuit breaker, each with two real-time value states: 0 and 1. These are two remote signaling points that are always opposite in normal operation, resulting in four possible states: "0+0", "0+1", "1+0", and "1+1". The dynamic display requirements for circuit breakers are described below (for illustrative purposes only and may not fully correspond to actual applications): The collected values ​​are combinations of "0+0" and "1+1", indicating that the circuit breaker is in an abnormal state. Both the outer frame and the cross lines are displayed, and the fill color inside the frame is yellow. The collected value is "1+0", the circuit breaker is in the closed position, the outer frame is displayed, the cross lines are hidden, and the fill color inside the frame is green. The collected value is "0+1", the circuit breaker is in the open position, the outer frame is displayed, the cross lines are hidden, and the fill color inside the frame is red.

[0024] Based on the above requirements for dynamic display of circuit breakers, the detailed steps for configuring the symbols are as follows: 1) Create a new configuration symbol in the symbol editor, name it "Circuit Breaker Type 1", set the associated type to the object type of the circuit breaker in the database, and set the size and layout of the symbol to 48x48 pixels, with the background using the default transparent color; 2) In the symbol editor interface, drag and drop one rectangle and two lines to draw and edit the basic symbols, and finally draw the shape of the monitoring interface of the circuit breaker object. 3) In the script editing interface attached to the configuration diagram, you can first define the calculation script for calculating the actual position value of the circuit breaker: first define two variables " "and" ", representing the measured positions of the instantiated circuit breaker object (closed and open), respectively, and with the variable type set to integer, the mathematical expression for the actual position should be as follows: ; In the expression, the two input variables take values ​​of 0 and 1 respectively. Based on the actual combination of changes during operation, the calculation result of the expression should have four values: 0, 1, 2, and 3. Among them, 0 and 3 correspond to the abnormal state of the circuit breaker, 1 is the open position of the circuit breaker, and 2 is the closed position of the circuit breaker. 4) To set the visibility attribute of the two intersecting lines in the symbol, a calculation script was introduced. Based on the expression calculated at the actual location, further modifications were made as follows: ; After this processing, the result of the expression calculation becomes: if the actual position is 0 or 3 in an abnormal state, the settlement result is 1, and these two lines will be displayed; if the calculation result is 0 in other positions, these two lines will be hidden. 5) Set the fill properties of the rectangle in the icon. You can omit the script and use the default value of 1, which means the fill color will always be displayed (0 means the fill color will never be displayed). 6) Set the color attribute of the rectangle in the symbol. The input value of this attribute is the color code defined by the monitoring system. For the sake of this example, we assume that the three color codes required for this example are 0 for yellow, 1 for red, and 2 for green. Based on the above conditions, the input values ​​for the color attribute are incorporated into the calculation script as follows: ; The expression here uses a ternary expression for calculation. Based on the four state values ​​of the actual position, the output results are the color code values ​​described above. 7) Save the above calculation script and configuration symbol drawing information to the database in the form of a file to complete the configuration symbol customization of the circuit breaker.

[0025] Furthermore, according to one embodiment of the present invention, the monitoring screen is edited using a screen editor, the screen layout and drawing are performed, and the calculation script of the configuration symbols is associated and mapped with the real-time data collected by the monitoring system. The drawn monitoring screen file is then saved to the screen file library, including: Create a new monitoring screen in the screen editor. When creating the screen, you need to set the screen name, then configure the screen's length, width, and other layout information. The size data is based on pixels. You also need to set the screen's background color. Generally, the default background color of symbols is transparent. In the screen editor, instantiated objects are created on the screen using basic graphic elements and configuration symbols. The drawing process generally involves first selecting a basic graphic element or configuration symbol, then dragging the symbol to the specified position on the screen, and rotating and scaling it according to display requirements to complete the creation of an instantiated monitoring screen object. One configuration symbol can create multiple instantiated objects. Through a series of instantiation operations, the drawing of the entire screen is finally completed. In the screen editor, the calculation script variables in each instantiated object of the configuration symbol are mapped to the real-time data collected by the monitoring system; Files that save the aforementioned graphic drawing information in Scalable Vector Graphics (SVG) format are stored in the database of the monitoring system or in local storage media. This storage database is collectively referred to as the monitoring screen file library.

[0026] In this embodiment, during the saving process of the calculation script, calculation scripts with the same expression and variable mapping in the same configuration symbol can be merged and saved to reduce redundant calculations and effectively improve the calculation efficiency in real time. The file that saves the calculation script description information in Extensible Markup Language (XML) format is stored in the database of the monitoring system or in the local storage medium. This storage database is collectively referred to as the calculation script file library.

[0027] Furthermore, according to one embodiment of the present invention, when the monitoring system is running in real time, the calculation script service module first loads the information of the calculation script from the calculation script file library, registers the collected data change information therein with the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface, including: The calculation script service module extracts information from the calculation script file library and merges the same calculation scripts configured and mapped within each configuration symbol (a configuration symbol consists of multiple basic elements, each of which can be configured and mapped with calculation scripts. Due to the display characteristics of graphics, the calculation scripts of different basic elements in the same configuration symbol may be exactly the same. To avoid unnecessary duplicate calculations during real-time display, the calculation script service module merges these duplicate calculation scripts during initial loading, performs only one actual calculation, and the calculation result can be reused by the configuration symbol). A pool of calculation scripts that can be quickly searched and applied is generated within the calculation script service module. While generating the computation script pool, the collected data information of the association mapping of each computation script variable is extracted from it, and a mapping variable table that can be quickly searched and applied is generated in the computation script service module. The calculation script service module registers the corresponding changes in the collected data with the real-time database of the monitoring system based on the generated mapping variable table. The real-time database sends the initial and changing values ​​of the collected data to the calculation script service module based on the registration information of the collected data. The calculation script service module receives the changed collected data information (initial value and changed value of the collected data), performs the corresponding script calculation, and writes the results into the calculation result table for use by the monitoring interface and other applications.

[0028] Furthermore, according to one embodiment of the present invention, the monitoring interface loads a monitoring screen file, and when the relevant collected data displayed on the screen changes, it displays the display attribute status of basic graphic elements in each configuration graphic symbol according to the calculation results of the calculation script service module, ultimately realizing the dynamic display effect of the monitoring interface, including: The monitoring interface loads the video file that the user currently needs to display from the video file library; The calculation script service module extracts the calculation script and associated mapping data from the screen file. When the relevant data displayed on the screen changes, the calculation script service module registers the change information of the data with the real-time database of the monitoring system. The monitoring interface refreshes periodically or proactively based on changes in the registered information in the system. Based on the results, the monitoring interface will display the visibility, color, displacement, scaling, rotation, fill, line type, and line width attributes of each basic graphic element in the configuration symbol, ultimately achieving a dynamic display effect for the monitoring interface.

[0029] According to the above-described solution of the present invention, the configuration symbol library created by the configuration symbol editor allows for convenient and flexible drawing of various monitoring screens that need to be dynamically displayed in monitoring systems. It also enables the monitoring interface to dynamically load configuration symbols and associated calculation scripts, achieving dynamic loading and display of configuration symbols. This invention significantly reduces the workload of developing and releasing configuration symbols, allowing users to add and update various configurations without their awareness, greatly improving the user experience. Furthermore, this invention can flexibly display the status information of various monitored objects based on changes in collected data predefined in the calculation scripts within the configuration symbols, according to user needs, strongly supporting the application and development of monitoring systems in various industries.

[0030] Furthermore, to achieve the above objectives, the present invention also provides a dynamic display system for a monitoring interface based on a computational script configuration diagram, comprising: The calculation script definition module uses the configuration symbol editor to draw configuration symbols for each monitored object of interest, create a configuration symbol library, and import customizable calculation scripts into the basic element display attributes of each configuration symbol. The monitoring screen drawing module edits the monitoring screen through the screen editor, performs screen layout and drawing, associates and maps the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and saves the drawn monitoring screen file to the screen file library. The calculation script saving module, when the screen editor saves the monitoring screen file, also saves the calculation scripts of all variables that have completed the association mapping in each configuration symbol of the screen to the calculation script file library. When the monitoring system is running in real time, the script calculation module first loads the information of the calculation script from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface. The monitoring interface dynamic display module loads the monitoring screen file. When the relevant collected data displayed on the screen changes, it displays the display attribute status of the basic graphic elements in each configuration graphic symbol according to the calculation results of the calculation script service module, thus achieving a dynamic display effect of the monitoring interface.

[0031] like Figure 2 As shown, in this embodiment, the system components of the present invention include two states: configuration state and real-time state. The configuration state is the process of preparing the system for real-time operation through a series of configuration tools. In this invention, the configuration state involves a configuration symbol editor and a monitoring screen editor. The configuration symbol library is created and generated by the configuration symbol editor, while the screen file library and the calculation script file library are both created and generated by the monitoring screen editor. Real-time state refers to the various application services of a monitoring system that collect and display various real-time data. This invention involves a script calculation service module and a real-time monitoring interface in the real-time state, with a real-time database providing real-time data support services for both.

[0032] The monitoring interface dynamic display system based on the calculation script configuration diagram of the present invention can realize the monitoring interface dynamic display method based on the calculation script configuration diagram. The specific process steps are as described above and will not be repeated here.

[0033] Furthermore, to achieve the above objectives, the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the dynamic display method of the monitoring interface based on the configuration diagram of the calculation script as described above.

[0034] Furthermore, to achieve the above objectives, the present invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the dynamic display method of the monitoring interface based on the configuration diagram of the computational script as described above.

[0035] Those skilled in the art will recognize that the modules and algorithm steps described in conjunction with the embodiments disclosed herein can be implemented using electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0036] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the above-described apparatus and equipment can be referred to the corresponding process in the foregoing method implementation, and will not be repeated here.

[0037] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or modules may be electrical, mechanical, or other forms.

[0038] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the objectives of the embodiments of the present invention, depending on actual needs.

[0039] In addition, the functional modules in the embodiments of the present invention can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module.

[0040] If the aforementioned functions are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the sending / receiving methods of various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0041] The above description is merely a preferred embodiment of this application and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the inventive concept. For example, technical solutions formed by substituting the above-described features with (but not limited to) technical features with similar functions disclosed in this application.

[0042] It should be understood that the sequence number of each step in the invention and its embodiments does not absolutely imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

Claims

1. A method for dynamically displaying a monitoring interface based on computational script configuration symbols, characterized in that, include: Use the configuration symbol editor to draw configuration symbols for each monitored object of interest, create a configuration symbol library, and import customizable calculation scripts into the basic element display attributes of each configuration symbol; Edit the monitoring screen using the screen editor, perform screen layout and drawing, associate and map the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and save the drawn monitoring screen file to the screen file library. When the screen editor saves the monitoring screen file, it also saves the calculation scripts for all completed variable association mappings in each configuration symbol of the screen to the calculation script file library. When the monitoring system is running in real time, the calculation script service module first loads the information of the calculation script from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface. The monitoring interface loads the monitoring screen file. When the relevant collected data displayed on the screen changes, the display attribute status of the basic graphic elements in each configuration graphic symbol is displayed according to the calculation results of the calculation script service module, so as to achieve the dynamic display effect of the monitoring interface.

2. The method for dynamically displaying a monitoring interface based on a computational script configuration symbol as described in claim 1, characterized in that, The process involves drawing configuration symbols for each monitored object of interest using a configuration symbol editor, creating a configuration symbol library, and importing customizable calculation scripts into the basic element display attributes of each configuration symbol, including: Create a new configuration symbol object in the symbol editor. When creating the object, you need to set the name and object type of the configuration symbol. Then configure the length and width layout information of the configuration symbol. The length and width dimensions are in pixels. Finally, set the background color of the configuration symbol. In the symbol editing interface, you can draw and edit combinations of one or more basic symbols, and record the position, size, and rotation angle of the basic symbols in the configuration symbol layout; the basic symbols adapt to various display requirements of the monitoring system, including straight lines, arcs, polylines, curves, rectangles, ellipses, sectors, polygons, text, and images; For each basic graphic element's display attributes, a related predefined calculation script is introduced; the display attributes of the basic graphic elements include visibility, color, displacement, scaling, rotation, fill, linetype, and linewidth; The same calculation script can be referenced by the display attributes of multiple basic elements within a single configuration icon.

3. The method for dynamically displaying a monitoring interface based on a computational script configuration diagram according to claim 1, characterized in that, The process of defining the calculation script includes: First, declare the variables, defining their names and data types. After instantiation, all variables will correspond to real-time data collected by a monitoring system. Mathematical expressions are written using variables and operators to form calculation scripts. These calculation scripts are then saved to a calculation script file library. Each calculation script has a unique ID that is used to reference the display attributes of basic primitives.

4. The method for dynamically displaying a monitoring interface based on a computational script configuration symbol according to claim 1, characterized in that, The process of editing the monitoring screen using a screen editor, including screen layout and drawing, associating the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and saving the drawn monitoring screen file to the screen file library includes: Create a new monitoring screen in the screen editor. When creating the screen, set its name and configure its length and width layout information. The length and width dimensions are in pixels. Also, set the background color of the monitoring screen. In the screen editor, instantiated objects are created on the monitoring screen using basic graphic elements and configuration symbols. The drawing process involves first selecting a basic graphic element or configuration symbol, then dragging the basic graphic element or configuration symbol to the specified position on the monitoring screen, and rotating and scaling it according to display requirements to complete the creation of an instantiated monitoring screen object. Among them, one type of configuration symbol can create multiple instantiated objects. In the screen editor, the calculation scripts in each instantiated object of the configuration symbol are mapped to the real-time data collected by the monitoring system; The drawn monitoring screen files are saved in a scalable vector graphics format and stored in the monitoring screen file library of the monitoring system.

5. The method for dynamically displaying a monitoring interface based on a computational script configuration diagram according to claim 1, characterized in that, When the monitoring system is running in real time, the calculation script service module first loads the calculation script information from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation results to the monitoring interface, including: The calculation script service module extracts calculation scripts from the calculation script file library, merges and configures and maps the same calculation scripts in each configuration symbol, and generates a calculation script pool that can be quickly searched and applied within the calculation script service module. Extract the collected data of the association mapping of each computing script from the computing script pool, and generate a mapping variable table that can be quickly searched and applied within the computing script service module; The calculation script service module registers the corresponding changes in the collected data with the real-time database of the monitoring system based on the generated mapping variable table; The real-time database sends the initial and changing values ​​of the collected data to the calculation script service module based on the registration information of the collected data. The calculation script service module receives the changed collected data, performs the corresponding script calculations, and writes the calculation results into the calculation result table for use by the monitoring interface.

6. The method for dynamically displaying a monitoring interface based on a computational script configuration diagram according to any one of claims 1-5, characterized in that, The monitoring interface loads the monitoring screen file. When the relevant collected data displayed on the screen changes, it displays the display attribute status of basic graphic elements in each configuration symbol according to the calculation results of the calculation script service module, ultimately achieving a dynamic display effect for the monitoring interface, including: The monitoring interface loads the video file that the user currently needs to display from the video file library; The calculation script service module extracts the calculation script and associated mapping data from the screen file. When the relevant data displayed on the screen changes, the calculation script service module registers the change information of the data with the real-time database of the monitoring system. The monitoring interface refreshes periodically or proactively based on changes in registered information in the system. The monitoring interface will display the visibility, color, displacement, scaling, rotation, fill, line type, and line width attributes of each basic graphic element in the configuration symbol based on the calculation results, ultimately achieving a dynamic display effect for the monitoring interface.

7. A dynamic display system for monitoring interfaces based on computational script configuration symbols, characterized in that, include: The calculation script definition module uses the configuration symbol editor to draw configuration symbols for each monitored object of interest, create a configuration symbol library, and import customizable calculation scripts into the basic element display attributes of each configuration symbol. The monitoring screen drawing module edits the monitoring screen through the screen editor, performs screen layout and drawing, associates and maps the calculation script of the configuration symbols with the real-time data collected by the monitoring system, and saves the drawn monitoring screen file to the screen file library. The calculation script saving module, when the screen editor saves the monitoring screen file, also saves the calculation scripts of all completed variable association mappings in each configuration symbol of the screen to the calculation script file library. When the monitoring system is running in real time, the script calculation module first loads the information of the calculation script from the calculation script file library, registers the collected data change information in the real-time database of the monitoring system, then executes the script calculation, and finally sends the calculation result to the monitoring interface. The monitoring interface dynamic display module loads the monitoring screen file. When the relevant collected data displayed on the screen changes, it displays the display attribute status of the basic graphic elements in each configuration graphic symbol according to the calculation results of the calculation script service module, thus achieving a dynamic display effect of the monitoring interface.

8. An electronic device, characterized in that, The system includes a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the method for dynamically displaying a monitoring interface based on a configuration diagram of a computational script as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for dynamically displaying a monitoring interface based on a computational script configuration diagram as described in any one of claims 1-6.