Visual configuration method and device based on energy management system and related medium
By introducing a visual configuration method in the energy management system, users can quickly configure by dragging animal materials and binding equipment parameters, solving the problems of cumbersome configuration steps and poor flexibility in the existing technology, and improving management efficiency and convenience of system maintenance.
Patent Information
- Application Number
- CN202411915582.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2025-04-18
AI Technical Summary
The existing remote monitoring configuration system and low-code platform have cumbersome configuration steps and poor flexibility when dealing with a large number of devices, resulting in inefficient management and difficulty in system maintenance.
Provides a visual configuration method based on an energy management system, and creates a new configuration page on the operation interface by responding to user instructions, including material list, edit area and data binding functional area. Users can drag animal materials to the editing area, bind device parameters, and display the data source in real time.
It simplifies the equipment configuration process, improves configuration efficiency and flexibility, reduces the workload of manual configuration, and improves the convenience and scalability of system management.
Smart Images

Figure CN119847395A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a visualization configuration method, device and related media based on an energy management system. Background Art
[0002] In the modern energy field, the Energy Management System (EMS) has become a core tool for optimizing energy production and consumption and improving energy efficiency. With the increasing complexity of energy networks, especially in the access and management of distributed energy resources (such as wind power, photovoltaics and energy storage systems), traditional low-code platforms and remote monitoring configuration systems have solved some problems in development work to a certain extent and can realize remote real-time data monitoring of equipment.
[0003] However, existing remote monitoring configuration systems or low-code platforms still have significant defects when dealing with a large number of devices with a wide range of series and types. Especially when the device parameters are numerous and complex, the configuration operation through traditional manual configuration requires a huge amount of configuration work, resulting in low management efficiency. In addition, as the number of devices in the system increases or the system topology changes, each device and parameter in the configuration needs to be manually added, deleted or modified one by one, making system maintenance and updates extremely cumbersome and placing a heavy burden on device managers. Summary of the invention
[0004] The embodiments of the present invention provide a visual configuration method, device and related media based on an energy management system, aiming to solve the problems of cumbersome configuration steps and poor flexibility of existing remote monitoring configuration systems and low-code platforms when dealing with large-scale equipment management and rapidly changing system environments.
[0005] In a first aspect, an embodiment of the present invention provides a visualization configuration method based on an energy management system, comprising:
[0006] In response to the new creation instruction, a new configuration page is created in the operation interface; wherein the configuration page includes a material list, an editing area, and a data binding function area;
[0007] In response to a drag command for a material in the material list, the material in the material list is moved to the editing area, and the configuration of the material is stored;
[0008] In response to a click instruction on the data binding function area, a binding interface is displayed; wherein the binding interface includes a device list and a binding area;
[0009] In response to a selection instruction for a device in the device list, displaying a parameter list of the selected device in the binding area, wherein the parameter list includes a plurality of parameters;
[0010] In response to a multiple selection instruction for parameters in the parameter list, the selected multiple parameters are simultaneously bound to the material;
[0011] Run the configuration page to obtain the data sources of multiple parameters bound to the material in the energy management system and display them in the material.
[0012] In a second aspect, an embodiment of the present invention provides a visual configuration device based on an energy management system, comprising:
[0013] A page creation unit, used to create a new configuration page in the operation interface in response to a new creation instruction; wherein the configuration page includes a material list, an editing area and a data binding function area;
[0014] A material dragging unit, for responding to a dragging instruction for a material in the material list, moving the material in the material list to the editing area, and storing the configuration of the material;
[0015] A page display unit, for displaying a binding interface in response to a click instruction on a data binding function area; wherein the binding interface includes a device list and a binding area;
[0016] a device binding unit, configured to, in response to a selection instruction for a device in the device list, display a parameter list of the selected device in the binding area, wherein the parameter list includes a plurality of parameters;
[0017] A parameter binding unit, for responding to a multiple selection instruction for parameters in the parameter list, and binding the selected multiple parameters to the material at the same time;
[0018] The material display unit is used to run the configuration page, obtain the data source of multiple parameters bound to the material in the energy management system, and display them in the material.
[0019] In a third aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the visual configuration method based on the energy management system of the first aspect is implemented.
[0020] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the visualization configuration method based on the energy management system of the first aspect is implemented.
[0021] The embodiment of the present invention provides a visual configuration method based on an energy management system, including responding to a new instruction, creating a new configuration page in an operation interface; wherein the configuration page includes a material list, an editing area and a data binding function area; responding to a drag instruction for a material in the material list, moving the material in the material list to the editing area, and storing the configuration of the material; responding to a click instruction for the data binding function area, displaying a binding interface; wherein the binding interface includes a device list and a binding area; responding to a selection instruction for a device in the device list, displaying a parameter list of the selected device in the binding area, wherein the parameter list includes multiple parameters; responding to a multiple selection instruction for a parameter in the parameter list, binding the selected multiple parameters to the material at the same time; running the configuration page, obtaining the data source of the multiple parameters bound to the material in the energy management system, and displaying them in the material. The present invention responds to a multiple selection instruction for a parameter in the parameter list, binds the selected multiple parameters to the material at the same time, and finally displays the material, so that the user only needs to drag the material once and select the data source to realize the configuration of the device with one click, which simplifies the configuration steps and improves the configuration flexibility.
[0022] The embodiment of the present invention also provides a visual configuration device, a computer device and a storage medium based on an energy management system, which also have the above-mentioned beneficial effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying any creative work.
[0024] Figure 1 A schematic diagram of a process of a visualization configuration method based on an energy management system provided by an embodiment of the present invention Figure 1 ;
[0025] Figure 2 An operation diagram of a visualization configuration method based on an energy management system provided by an embodiment of the present invention Figure 1 ;
[0026] Figure 3 An operation diagram of a visualization configuration method based on an energy management system provided by an embodiment of the present invention Figure 2 ;
[0027] Figure 4 A schematic diagram of a process of a visualization configuration method based on an energy management system provided by an embodiment of the present invention Figure 2 ;
[0028] Figure 5 A schematic diagram of a flow chart of a configuration page display provided by an embodiment of the present invention;
[0029] Figure 6 A schematic diagram of a process for replacing equipment provided by an embodiment of the present invention;
[0030] Figure 7 A schematic block diagram of a visual configuration device based on an energy management system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0031] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0032] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0033] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0034] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0035] See below Figure 1 , Figure 1 A flowchart of a visualized configuration method based on an energy management system provided in an embodiment of the present invention specifically includes steps S101 to S106.
[0036] S101, in response to a new creation instruction, creating a new configuration page in the operation interface; wherein the configuration page includes a material list, an editing area, and a data binding function area;
[0037] S102, in response to a drag instruction for a material in the material list, moving the material in the material list to the editing area, and storing the configuration of the material;
[0038] S103, in response to a click instruction on the data binding function area, displaying a binding interface; wherein the binding interface includes a device list and a binding area;
[0039] S104, in response to a selection instruction for a device in the device list, displaying a parameter list of the selected device in the binding area, wherein the parameter list includes a plurality of parameters;
[0040] S105, in response to a multiple selection instruction for parameters in the parameter list, binding the selected multiple parameters to the material at the same time;
[0041] S106, running the configuration page, obtaining the data source of multiple parameters bound to the material in the energy management system, and displaying them in the material.
[0042] Combination Figure 2 As shown, in step S101, in response to a new creation instruction issued by the user, a new configuration page is created in the operation interface. The configuration page contains three main areas: a material list, an editing area, and a data binding function area. The material list shows all material types supported by the system. Users can select suitable materials from the material list and drag them to the editing area for layout. Materials include echart chart materials, map materials, table materials, text materials, icon materials, etc. After selecting a material, you can set the display border, size, color, background color, background image, animation effect and other styles of the material. The materials on the editing area display the latest configuration style in real time. The data binding function area provides an entry for binding the device's data to the material. Users can use this function to dynamically bind data to the material.
[0043] In step S102, after creating a new configuration page, in response to the drag command in the material list, the selected material is dragged from the material list to the editing area. After the material is dragged to the editing area, the system will automatically save the configuration of the material, including the type, location, style and other information of the material. At this time, the user can also freely adjust the layout and display style of the material in the editing area.
[0044] In step S103, when the user needs to perform data binding on the material, in response to the user's click instruction on the data binding function area, the system will display the binding interface. The binding interface includes a device list and a binding area. The device list displays the devices registered in the energy management system, and the binding area is used to display the parameters of the selected device and perform the data source binding operation.
[0045] Combination Figure 3As shown, in step S104, after the user selects the device to be monitored in the device list, the system responds to the user's selection instruction and displays the parameter list of the device in the binding area. The parameter list contains multiple parameters of the device, such as: module maximum temperature, active power, battery voltage, battery current, current maximum active adjustable value, current maximum reactive adjustable value, current active setting value, current maximum charging adjustable value, current maximum discharging adjustable value, grid a phase current, grid b phase current, grid c phase current, grid ab line voltage, grid frequency, DC bus voltage, etc. Each parameter can be selected individually or in combination to bind with the material.
[0046] In step S105, in response to the user's multiple selection instructions for multiple parameters in the parameter list, the system binds the selected parameters to the materials. After the binding is completed, the user can specify the specific data content displayed for each material. This process can quickly complete the data association between the device and the material, avoiding the tedious operation of manually entering the data source and improving the configuration efficiency. Figure 2 As shown, click Figure 2 After clicking "Bind Data" in the Figure 3 , Figure 3 The multiple parameters corresponding to each device in the device collection are displayed. You can select all of them with one click or check them as needed.
[0047] In step S106, after the configuration is completed, the user can run the generated configuration page. According to the binding relationship between the material and the equipment parameters, the system obtains the data sources of multiple parameters bound to the selected material in the energy management system in real time, and displays the real-time data in these data sources on the corresponding material. Through this process, the user can view the operating status of the equipment in real time on the configuration page. The data display can include various parameters of the equipment (such as power, voltage, current, etc.), and can be automatically updated as needed.
[0048] Combination Figure 4 and Figure 5 As shown, in one embodiment, the step S106 includes:
[0049] Run the configuration page, establish a communication connection with the server, and send a push request to the server;
[0050] Receive the device update data pushed by the server, and synchronize the material according to the device update data.
[0051] In this embodiment, when the user starts the configuration page, the system first establishes a communication connection with the server. The communication connection is usually established through a network protocol (such as WebSocket, HTTP, etc.) to ensure that the configuration page can interact with the energy management system or device data source at the back end in real time. After the communication connection is established, the configuration page sends a push request to the server, which is used to notify the server that the configuration page is ready to receive the latest device data. The push request may include the requested device information, the required parameter data type, etc., so that the server can push the correct data to the configuration page. After receiving the push request, the server will query the status data of the relevant equipment according to the request content, and push the latest device update data to the configuration page. The device update data usually includes the real-time operation data, status information and related parameters (such as power, current, voltage, etc.) of the device. The server ensures the real-time and accuracy of the data by continuously monitoring the changes of the device.
[0052] Furthermore, after receiving the device update data from the server, the configuration page will synchronize the material in real time according to the device update data. Specifically, the system will fill the updated data value into the corresponding material according to the binding relationship between the data source and the material. For example, a material may be bound to the real-time power data of the inverter. After receiving the latest data, the page will automatically update to display the latest power value (for example: real-time power: 3.68kW). Of course, multiple data can be displayed in a material at the same time, or one material can be displayed in the form of one data, which can be set according to needs.
[0053] In one embodiment, the step S106 further includes:
[0054] Run the configuration page, use the API interface to request the data source from the server, and display it in the material.
[0055] In this embodiment, after the user starts the configuration page, the system will prepare to request the data source of the relevant equipment from the server according to the material binding information in the configuration configuration. At this point, the configuration page is ready to display the data related to the selected material. The configuration page initiates a data request to the server through a predefined API interface. The API interface is used to pass request parameters to the server and specify the data source to be obtained. For example, if a material configured by the user on the configuration page is bound to the real-time power parameters of the inverter, then the configuration page will send a request to the server through the API interface to obtain the real-time power data of the inverter. The API request includes information such as device ID and parameter type. After receiving the API request, the server processes and queries the latest data of the relevant equipment, and then returns the data response through the API interface. The data response contains the requested device data, including the status, performance parameters, real-time monitoring data, etc. of the device.
[0056] Furthermore, after the configuration page receives the data returned by the server, it will display the acquired data in the corresponding material according to the bound material configuration. For example, if the material is bound to the real-time power data of the inverter, the system will fill the returned power value (such as: real-time power 3.68kW) into the corresponding position of the material and display it on the configuration page. In this way, the user can view the data corresponding to the selected device and parameters in real time on the page.
[0057] In one embodiment, the step S106 further includes:
[0058] Running the configuration page, sending a request to the server at a polling time interval to automatically update data;
[0059] After acquiring the data, the data is operated and displayed according to preset operation rules.
[0060] In this embodiment, the system sets a polling time interval, which defines the frequency at which the system requests data from the server to ensure that the data can be updated on time. The system regularly sends data requests to the server according to a preset polling time interval (for example, every minute or every second). The data request includes the identification information of the device, the monitoring parameters that need to be obtained, etc. Through polling, the system can continuously obtain the latest data of the device and ensure that the material displayed is real-time data. Each time the server receives a request, it will query and return the corresponding device data based on the request content. These data include real-time monitoring data such as the operating status, power, current, voltage, etc. of the equipment. After receiving the data, the system will process the data and prepare for the next step of display.
[0061] Furthermore, after obtaining the data returned by the server, the system performs calculations on the data according to the preset calculation rules. For example, the system can calculate the revenue based on the real-time power and electricity price of the equipment, or perform energy efficiency analysis based on the temperature and power of the equipment. The calculation rules can include addition, multiplication, average calculation, etc., or user-defined formulas. After the calculation is completed, the system will display the calculation results on the corresponding materials in the configuration page. For example, the user wants to view the current equipment power generation revenue in real time on the configuration page. The electricity prices in different regions may be inconsistent. At this time, you can choose to bind the equipment power generation, and then enter the calculation formula for this, such as [Power Generation] * 0.62. After the configuration is completed, when the configuration page is loaded and displayed, the power generation data value will be obtained first, then multiplied by the electricity price of 0.62 yuan, and finally the calculation result will be displayed on the configuration page. For another example, the system performs the "real-time power * electricity price" calculation, and the calculated result will be displayed as "real-time revenue: 5.48 yuan". The content displayed by these data can be dynamically changed and updated in real time as the equipment data changes.
[0062] Combination Figure 6 As shown, in one embodiment, the configuration page further includes a clone operation item, and after step S106, the following steps are included:
[0063] In response to a click instruction for the clone operation item, a clone configuration page having the same material configuration as the configuration page is created; wherein the clone configuration page includes a device replacement item;
[0064] In response to a click instruction for the replacement device item, a binding interface is displayed on the clone configuration page; wherein the binding interface includes a device list and a binding area;
[0065] In response to a selection instruction for a device in the device list, displaying a parameter list of the selected device in the binding area, wherein the parameter list includes a plurality of parameters;
[0066] In response to a multiple selection instruction for parameters in the parameter list, the selected multiple parameters are simultaneously bound to the material.
[0067] In this embodiment, on an existing configuration page, the user can click on the Clone operation item. The Clone operation item allows the user to create a new configuration page, and the new page has the same material configuration as the original configuration page, including material type, layout, and bound data source, etc. With this function, the user can quickly copy the existing configuration page without having to re-drag and drop the material configuration. In response to the user clicking on the Clone operation item, the system automatically generates a cloned configuration page and copies all material configurations of the original configuration page (including the data source binding of each material and device parameters) to the new page. The cloned page is consistent with the original page, but the user can make further modifications to the cloned page according to actual needs. After the cloned configuration page is created, the system will display a Replace Device item on the page, which allows the user to replace the device data source in the cloned configuration page. The user can select the new device to be replaced by clicking on the Replace Device item and rebind the new device parameters. In response to the user clicking on the Replace Device item, the system will display a binding interface, which includes a device list and a binding area. The device list displays all available devices, and the user can select the required device in the device list to replace the data source. After the user selects a device in the device list, the system will respond to the user's selection instruction and display the parameter list of the selected device in the binding area. The parameter list includes multiple monitoring parameters of the device, such as power, current, voltage, temperature, etc. Each parameter can be selected individually or in combination so that the user can bind the data source. By checking multiple parameters in the parameter list, the system will bind the selected multiple parameters to the materials on the clone page at the same time. In this way, the materials in the clone configuration page will display the relevant parameters of the selected device, completing the replacement and binding operations of the data source. Users can freely adjust which parameters are bound to the materials as needed, and view the effect of the modified configuration page in real time.
[0068] Through this process, users can quickly copy the original configuration page without reconfiguring materials, and customize the new device and its parameters, which improves the flexibility and configuration efficiency of the configuration page. Users can quickly copy the existing configuration and replace the device and its parameters as needed by simply clicking the clone operation item, avoiding repeated manual configuration processes. This function is particularly suitable for scenarios where multiple devices need to be monitored, and can quickly complete the configuration and display of device monitoring parameters, thereby improving the flexibility and scalability of the system.
[0069] In one embodiment, after creating a clone configuration page having the same material configuration as the configuration page in response to a click instruction for the clone operation item, the method further includes:
[0070] In response to a click instruction for a material on the clone configuration page, a list of devices and parameters bound to the material is displayed.
[0071] In this embodiment, when the user responds to the click instruction of the clone operation item, the system will create a clone configuration page with the same material configuration as the original configuration page. The clone page retains the material type, layout and binding relationship with the device parameters of the original page. At this time, the user does not need to reconfigure the material, but only needs to adjust it on the clone page. After the clone configuration page is created, the user can interact with each material on the page. In response to the user clicking on any material in the clone configuration page, the system will identify which device parameter the material is bound to and perform the corresponding display operation. When the user clicks on a material, the system will display the device bound to the material and its related parameter list in the interface. Specifically, the system will display the name of the device bound to the material, which can be an inverter, transformer, energy storage device, etc., depending on the object monitored by the material. Under the device, the parameter list of the device is displayed, including but not limited to monitoring data such as power, current, voltage, temperature, frequency, etc. The parameter list will list all available monitoring parameters of the device and allow the user to view its current real-time data or make further configurations. The user can select, view or edit specific device parameters in the parameter list. At this point, users can adjust the specific data items monitored by the device as needed, or change the data source displayed by the material. For example, if the material is bound to the "real-time power" of the device, users can select different monitoring items, such as "current" or "temperature", by clicking on the parameter list, and bind these new parameters to the material.
[0072] Through this operation, users can not only view the devices and their parameters bound to the materials on the cloned configuration page, but also further adjust and optimize the device monitoring content in the configuration page, thereby improving the flexibility of device configuration and monitoring management.
[0073] In one embodiment, in response to a multiple selection instruction for parameters in the parameter list, binding the selected multiple parameters to the material at the same time includes:
[0074] In response to a multiple selection instruction for a parameter in the parameter list, obtaining a data unique identifier of a data source of a corresponding bound parameter;
[0075] The material is bound to the corresponding parameters through the data unique identifier.
[0076] In this embodiment, the user issues a multiple-selection instruction by clicking or checking multiple parameters in the parameter list on the configuration page. The parameter list contains multiple monitoring parameters (such as power, current, voltage, temperature, etc. of the equipment), and the user can select the data items that need to be bound to the material in this way. After receiving the multiple-selection instruction, the system will obtain the data unique identifier of the data source corresponding to each selected parameter according to the multiple parameters selected by the user. Each parameter corresponds to a unique data source identifier, which is used to uniquely identify the data source of the parameter. For example, for the real-time power parameter of an inverter device, the system will obtain the real-time power data of the device from the energy management system according to the unique identifier of the parameter. The system binds the selected multiple parameters to the specified material through the background data interface or database according to the data unique identifier of each selected parameter. As a display element, the material will display the data source bound to it on the configuration page. The binding process ensures that the display content of the material is updated synchronously with the real-time data of the device, ensuring that the user can view the latest value of the selected parameter in real time. For example, if the user selects the two parameters of "real-time power" and "current" of the inverter, the system will obtain the data unique identifiers corresponding to these two parameters and bind them to materials (such as "power display material" and "current display material"). At this time, the material will display the latest values of these two parameters in real time according to the data source.
[0077] Furthermore, after the binding is completed, the real-time data of the selected parameters will be automatically pushed to the configuration page, and the material will display the real-time data of multiple bound parameters. For example, if the material is bound to the real-time power and current of the inverter, the configuration page will display "Real-time power: 3.68kW" and "Current: 12A" respectively, and these data will be automatically updated as the device changes.
[0078] In summary, the visual configuration method based on the energy management system provided by the present invention is for the configuration of multiple parameters of the equipment. Each time a device is configured, it is only necessary to drag the material once and check the parameters to realize the real-time monitoring configuration of all parameters of the equipment. The problem of large configuration workload of conventional configuration methods is solved, and multi-parameter configuration does not need to manually drag elements multiple times like the traditional configuration method, and bind specific corresponding parameters separately to achieve it.
[0079] Combination Figure 7 As shown, Figure 7 A schematic block diagram of a visualization configuration device based on an energy management system provided by an embodiment of the present invention, the visualization configuration device 700 based on the energy management system includes:
[0080] A page creation unit 701 is used to create a new configuration page in the operation interface in response to a new creation instruction; wherein the configuration page includes a material list, an editing area, and a data binding function area;
[0081] A material dragging unit 702, for responding to a dragging instruction for a material in the material list, moving the material in the material list to the editing area, and storing the configuration of the material;
[0082] The page display unit 703 is used to display a binding interface in response to a click instruction on the data binding function area; wherein the binding interface includes a device list and a binding area;
[0083] A device binding unit 704, configured to display a parameter list of the selected device in the binding area in response to a selection instruction for a device in the device list, wherein the parameter list includes a plurality of parameters;
[0084] A parameter binding unit 705, for responding to a multiple selection instruction for parameters in the parameter list, and binding the selected multiple parameters to the material at the same time;
[0085] The material display unit 706 is used to run the configuration page, obtain the data source of multiple parameters bound to the material in the energy management system, and display them in the material.
[0086] In this embodiment, the page creation unit 701 creates a new configuration page in the operation interface in response to a creation instruction; wherein the configuration page includes a material list, an editing area and a data binding function area; the material dragging unit 702 responds to a dragging instruction for a material in the material list, moves the material in the material list to the editing area, and stores the configuration of the material; the page display unit 703 responds to a click instruction for the data binding function area to display a binding interface; wherein the binding interface includes a device list and a binding area; the device binding unit 704 responds to a selection instruction for a device in the device list, displays a parameter list of the selected device in the binding area, wherein the parameter list includes multiple parameters; the parameter binding unit 705 responds to a multiple selection instruction for a parameter in the parameter list, and simultaneously binds the selected multiple parameters to the material; the material display unit 706 runs the configuration page, obtains the data source of the multiple parameters bound to the material in the energy management system, and displays them in the material.
[0087] In one embodiment, the material display unit 706 includes:
[0088] A communication establishing unit, used to run the configuration page, establish a communication connection with the server, and send a push request to the server;
[0089] The data push unit is used to receive the device update data pushed by the server, and synchronize the materials according to the device update data.
[0090] In one embodiment, the material display unit 706 further includes:
[0091] An interface display unit is used to run the configuration page, request the data source from the server using an API interface, and display it in the material.
[0092] In one embodiment, the material display unit 706 further includes:
[0093] A polling sending unit, used to run the configuration page and send a request to the server at a polling time interval to automatically update data at regular intervals;
[0094] The calculation setting unit is used to perform calculation operations on the data according to preset calculation rules and display the data after acquiring the data.
[0095] In one embodiment, the configuration page further includes a clone operation item, and the visual configuration device 700 based on the energy management system further includes:
[0096] A first response unit, configured to create a clone configuration page having the same material configuration as the configuration page in response to a click instruction for the clone operation item; wherein the clone configuration page includes a device replacement item;
[0097] A second response unit, configured to display a binding interface on the clone configuration page in response to a click instruction for the replacement device item; wherein the binding interface includes a device list and a binding area;
[0098] A third response unit, configured to display a parameter list of the selected device in the binding area in response to a selection instruction for a device in the device list, wherein the parameter list includes a plurality of parameters;
[0099] The fourth response unit is used to respond to a multiple selection instruction for the parameters in the parameter list and bind the selected multiple parameters to the material at the same time.
[0100] In one embodiment, the energy management system-based visualization configuration device 700 further includes:
[0101] The fifth response unit is used to respond to a click instruction for a material on the clone configuration page and display a list of devices and parameters bound to the material.
[0102] In one embodiment, the energy management system-based visualization configuration device 700 further includes:
[0103] A sixth response unit, configured to obtain a data unique identifier of a data source of a corresponding bound parameter in response to a multiple selection instruction for a parameter in the parameter list;
[0104] The data binding unit is used to bind the material with the corresponding parameters through the data unique identifier.
[0105] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0106] The embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0107] The embodiment of the present invention also provides a computer device, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the computer device may also include various network interfaces, power supplies and other components.
[0108] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of this application.
[0109] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A visualization configuration method based on an energy management system, characterized in that: include: In response to the new creation instruction, a new configuration page is created in the operation interface; wherein the configuration page includes a material list, an editing area and a data binding function area; In response to a drag instruction for a material in the material list, move the material in the material list to the editing area, and store the configuration of the material; In response to a click instruction on the data binding function area, a binding interface is displayed; wherein the binding interface includes a device list and a binding area; In response to a selection instruction for a device in the device list, displaying a parameter list of the selected device in the binding area, wherein the parameter list includes a plurality of parameters; In response to a multiple selection instruction for parameters in the parameter list, the selected multiple parameters are simultaneously bound to the material; The configuration page is run to obtain data sources of multiple parameters bound to the material in the energy management system and display them in the material.
2. The visualization configuration method based on energy management system according to claim 1 is characterized in that: The configuration page also includes a clone operation item. The operation of running the configuration page, obtaining the data source of multiple parameters bound to the material in the energy management system, and displaying them in the material includes: In response to a click instruction for the clone operation item, a clone configuration page having the same material configuration as the configuration page is created; wherein the clone configuration page includes a device replacement item; In response to a click instruction for the replacement device item, a binding interface is displayed on the clone configuration page; wherein the binding interface includes a device list and a binding area; In response to a selection instruction for a device in the device list, displaying a parameter list of the selected device in the binding area, wherein the parameter list includes a plurality of parameters; In response to a multiple selection instruction for parameters in the parameter list, the selected multiple parameters are simultaneously bound to the material.
3. The visualization configuration method based on energy management system according to claim 2 is characterized in that: After the step of creating a clone configuration page having the same material configuration as the configuration page in response to a click instruction for the clone operation item, the step further comprises: In response to a click instruction for a material on the clone configuration page, a list of devices and parameters bound to the material is displayed.
4. The visualization configuration method based on energy management system according to claim 1 is characterized in that: The running of the configuration page, obtaining the data source of multiple parameters bound to the material in the energy management system, and displaying them in the material, includes: Run the configuration page, establish a communication connection with the server, and send a push request to the server; Receive the device update data pushed by the server, and synchronize the material according to the device update data.
5. The visualization configuration method based on energy management system according to claim 4 is characterized in that: The step of running the configuration page, acquiring the data source of multiple parameters bound to the material in the energy management system, and displaying them in the material, further includes: Run the configuration page, use the API interface to request the data source from the server, and display it in the material.
6. The visualization configuration method based on energy management system according to claim 4 is characterized in that: The step of running the configuration page, acquiring the data source of multiple parameters bound to the material in the energy management system, and displaying them in the material, further includes: Running the configuration page, sending a request to the server at a polling time interval to automatically update data; After acquiring the data, the data is operated and displayed according to preset operation rules.
7. The visualization configuration method based on energy management system according to claim 1 is characterized in that: The step of responding to a multiple selection instruction for parameters in the parameter list and binding the selected multiple parameters to the material at the same time includes: In response to a multiple selection instruction for a parameter in the parameter list, obtaining a data unique identifier of a data source of a corresponding bound parameter; The material is bound to the corresponding parameters through the data unique identifier.
8. A visual configuration device based on an energy management system, characterized in that: include: A page creation unit, used to create a new configuration page in the operation interface in response to a new creation instruction; wherein the configuration page includes a material list, an editing area and a data binding function area; A material dragging unit, for moving the material in the material list to the editing area in response to a dragging instruction for the material in the material list, and storing the configuration of the material; A page display unit, for displaying a binding interface in response to a click instruction on the data binding function area; wherein the binding interface includes a device list and a binding area; a device binding unit, configured to display a parameter list of the selected device in the binding area in response to a selection instruction for a device in the device list, wherein the parameter list includes a plurality of parameters; A parameter binding unit, for responding to a multiple selection instruction for parameters in the parameter list, and binding the selected multiple parameters to the material at the same time; The material display unit is used to run the configuration page, obtain the data source of multiple parameters bound to the material in the energy management system, and display them in the material.
9. A computer device, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the visualization configuration method based on the energy management system as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the visualization configuration method based on the energy management system according to any one of claims 1 to 7 is implemented.