Implementation method, system and equipment of energy storage man-machine interaction system and medium
By adopting a multi-level architecture and Qt framework in the energy storage human-computer interaction system, decoupling functional modules and communication modules, and supporting multiple communication protocols, the limitations of the existing energy storage central control screen development model are solved, and an efficient, reliable and beautiful energy storage human-computer interaction system is realized.
Patent Information
- Application Number
- CN202411633314.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-03-04
AI Technical Summary
The existing energy storage central control screen development model is limited by the functional modules built by the manufacturer, resulting in low page clarity and insufficient aesthetics, making it difficult to support industrial communication protocols, increasing development costs, and the functional modules are not autonomous and code maintenance is low.
The energy storage human-computer interaction system adopts a multi-level architecture. By configuring multiple functional modules and communication modules, the data monitoring, instruction issuance, function debugging and information query modules are decoupled from each other, supporting RTU and TCP communication protocols, and using the Qt framework to achieve function switching and communication functions.
It reduces development costs, improves system efficiency and reliability, improves page aesthetics and autonomy, adapts to the mainstream development trend of the Internet, and enhances the maintainability and readability of the code.
Smart Images

Figure CN119556973A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of human-computer interaction of energy storage systems, and in particular to an implementation method, system, device and medium of an energy storage human-computer interaction system. Background Art
[0002] The energy storage central control screen is the human-computer interaction interface of the energy storage system. Users can use the central control screen to debug the energy storage equipment and issue instructions, and observe the operating data of the energy storage system. It is crucial to the debugging and operation of the energy storage system. With the rapid development of the industrial Internet and new energy storage systems, energy storage system integrators have put forward higher requirements for energy storage central control screens, such as more beautiful and friendly interfaces, lower development difficulty, stronger reliability, maintainability and code continuity. At present, some energy storage system integrators usually use Kunlun Tongtai touch screen McgsPro or Labview to develop energy storage central control screens, and build the energy storage central control screen system based on the modules developed by the manufacturer.
[0003] However, in the related technology, the mode of using Kunlun Tongtai touch screen McgsPro or Labview to develop energy storage central control screen has the following defects: First, due to the functional modules built by the manufacturer, the developed central control screen page has low clarity and the page is not beautiful enough; second, it needs to be developed according to the rules specified by the manufacturer, and it is difficult to support the relevant industrial communication protocols, resulting in the need to install the standard converter on the central control screen, which increases the development cost; third, the functional module is limited by the manufacturer's construction architecture and has weak autonomy. At the same time, the scripting language used in the existing development process is difficult to meet the mainstream trend of Internet development. It adopts a monolithic architecture. Although the development difficulty is relatively low, there is coupling between multiple functions. The crash of a single function will affect the normal operation of other functions, and the code is low in maintainability and readability. Summary of the invention
[0004] In view of the above problems, the present application is proposed to provide an implementation method, system, device and medium of an energy storage human-computer interaction system, so as to achieve a technical effect of adopting a multi-level architecture with hierarchical decoupling between functions, reducing development costs, improving system efficiency and reliability, and being conducive to later maintenance and conforming to the mainstream development trend of the Internet.
[0005] According to the first aspect of the present application, a method for implementing an energy storage human-computer interaction system is proposed, comprising:
[0006] Configure multiple functional modules and communication modules, and decouple the data monitoring module, instruction issuing module, function debugging module and information query module in the multiple functional modules from each other; wherein,
[0007] The data monitoring module is configured to read and display the operation data uploaded by the energy storage system;
[0008] The instruction issuing module is configured to receive an operation instruction input by a user, and issue the operation instruction to the energy storage system through the communication module;
[0009] The function debugging module is configured to receive a debugging instruction, and send the debugging instruction to the energy storage system through the communication module to simulate the operating state of the energy storage system; and
[0010] The information query module is configured to read and record the fault information uploaded by the energy storage system.
[0011] Optionally, configuring the communication module includes: configuring an RTU communication module, a first TCP communication module, and a second TCP communication module in the communication module, wherein:
[0012] The RTU communication module is configured to realize a communication connection between the plurality of functional modules and the controller of the energy storage system;
[0013] The first TCP communication module is configured to realize the communication connection between the plurality of functional modules and the BMS battery management system of the energy storage system;
[0014] The second TCP communication module is configured to realize the communication connection between the multiple functional modules and the EMS energy management system of the energy storage system.
[0015] Optionally, the method comprises:
[0016] When the human-computer interaction system communicates with the BMS battery management system, the human-computer interaction system is used as a client of Modbus TCP communication, and the BMS battery management system is used as a server of Modbus TCP communication;
[0017] When the human-computer interaction system communicates with the EMS energy management system, the human-computer interaction system is used as the server of Modbus TCP communication, and the EMS energy management system is used as the client of Modbus TCP communication.
[0018] Optionally, the method further comprises:
[0019] Configure the switching controls of the multiple functional modules, wherein:
[0020] When a function switching instruction input by the user is received, the function switching between the multiple function modules is implemented through the QStackedWidget control in the preset Qt framework.
[0021] Optionally, configuring the functional module further includes:
[0022] The communication module is configured to read the operating data of the energy storage system and save the operating data into a predefined static variable; then different functional modules obtain the operating data of the energy storage system by reading the value of the static variable;
[0023] The communication module is configured to respond to a write instruction input by a user, call a write function in the communication module, and write corresponding data to the energy storage system according to the user input information.
[0024] Optionally, the method further comprises:
[0025] The communication module is configured to read or write the operation data of the energy storage system at a preset time and update the data in the static variable;
[0026] And / or, the communication module is configured to read the operating data of the energy storage system according to the event triggering conditions of the multiple functional modules, and to update the data in the static variables, wherein the event triggering conditions of the multiple functional modules correspond to the values of the preset monitoring parameters in the static variables, and when the values of the preset monitoring parameters change, the operating data of the energy storage system is read through the communication module.
[0027] Optionally, configuring the communication module further includes:
[0028] The communication module is configured to monitor the heartbeat data sent by the energy storage system in real time;
[0029] When the heartbeat data is not received and the preset time threshold is exceeded, the communication connection between the communication module and the energy storage system is re-triggered.
[0030] According to the second aspect of the present application, a human-computer interaction system for energy storage is proposed, which is constructed using the implementation method described in any one of the first aspects above.
[0031] According to a third aspect of the present application, an electronic device is proposed, comprising: a processor; and a memory arranged to store computer executable instructions, wherein when the executable instructions are executed, the processor executes the method as described in any one of the first aspects above.
[0032] According to a fourth aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores one or more programs, and when the one or more programs are executed by a processor, the method described in any one of the first aspects above is implemented.
[0033] It can be seen from the above that at least one of the above technical solutions adopted in the embodiments of the present application can achieve the following beneficial effects: an implementation method, system, device and medium of an energy storage human-computer interaction system are provided, and the implementation method includes: configuring multiple functional modules and communication modules, and decoupling the data monitoring module, instruction issuing module, function debugging module and information query module in the multiple functional modules from each other; wherein the data monitoring module is configured to read and display the operation data uploaded by the energy storage system; the instruction issuing module is configured to receive the operation instructions input by the user, and the operation instructions are issued to the energy storage system through the communication module; the function debugging module is configured to receive the debugging instructions, and the debugging instructions are issued to the energy storage system through the communication module to simulate the operating status of the energy storage system; and the information query module is configured to read and record the fault information uploaded by the energy storage system. On the one hand, by adopting a multi-level architecture, there is no need to be restricted by manufacturers to build modules, which reduces development costs and improves system efficiency, reliability and page aesthetics; on the other hand, the layered decoupling method between multiple functions is more conducive to later maintenance and has a higher degree of autonomy; at the same time, the use of the Qt framework to build the architecture is more in line with the mainstream development trend of the Internet, with higher universal adaptability and stronger readability.
[0034] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0036] Figure 1 This is a schematic diagram of the structure of an energy storage human-computer interaction system in one embodiment of the present application;
[0037] Figure 2 A schematic flow chart of a method for implementing an energy storage human-computer interaction system in one embodiment of the present application;
[0038] Figure 3 This is a schematic diagram of the architecture of a communication module in one embodiment of the present application;
[0039] Figure 4 This is a schematic diagram of the structure of an electronic device in one embodiment of the present application. DETAILED DESCRIPTION
[0040] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0041] The technical concept of this application is that, different from the single development architecture in the existing solution, a multi-level architecture of the energy storage human-computer interaction system is developed based on the Qt framework, and the multi-level architecture is applied to the energy storage central control screen. By adopting a layered decoupling method between multiple functions, other functional modules and communication functional modules are separated from each other, and there is no need to be restricted by the manufacturer to build modules, thereby achieving the technical effect of reducing development costs, improving system efficiency and reliability, being more conducive to later maintenance, having a high degree of autonomy, and complying with the mainstream development trends of the Internet.
[0042] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0043] Figure 1 shows a structural schematic diagram of an energy storage human-computer interaction system, Figure 2 A schematic flow chart of a method for implementing an energy storage human-computer interaction system is shown; in one embodiment of the present application, Figure 2 As shown, the implementation method of the energy storage human-computer interaction system includes:
[0044] Step S100, configuring multiple functional modules and communication modules, and decoupling the data monitoring module, the instruction issuing module, the function debugging module and the information query module in the multiple functional modules from each other;
[0045] Specifically, this embodiment realizes a multi-level development architecture of the energy storage human-computer interaction system. Preferably, the functional modules in this embodiment include at least a data monitoring module, an instruction issuing module, a functional debugging module, and an information query module, etc., which are not limited here; thereby, the multiple functional modules arranged in layers can be relatively independent and decoupled from each other.
[0046] Step S110, configuring the data monitoring module to read and display the operation data uploaded by the energy storage system;
[0047] It can be understood that the energy storage system of this embodiment includes at least a main controller DSP1, an auxiliary controller DSP2, a BMS battery management system, an EMS energy management system, etc.; therefore, the function of the data monitoring module is to allow users to read the operating data sent by each module in the energy storage system, such as the voltage, current, power, fault flag, etc. of the energy storage, so that users can accurately monitor and manage the energy storage system.
[0048] Step S120, configuring the instruction issuing module to receive an operation instruction input by a user, and issuing the operation instruction to the energy storage system through the communication module;
[0049] For example, the operation instructions input by the user include but are not limited to charge and discharge power start instructions, charge and discharge parameter setting instructions, etc., and then by inputting the corresponding operation instructions, the operating state of the energy storage system can be flexibly adjusted, so that the energy storage system can perform corresponding charge and discharge operations according to the actual needs of the user to adapt to changes in grid load and meet the operating needs of the energy storage system.
[0050] Step S130, configuring the function debugging module to receive a debugging instruction, and sending the debugging instruction to the energy storage system through the communication module to simulate the operating state of the energy storage system;
[0051] Specifically, this module is mainly used by grid engineers to debug and verify the energy storage system when it is connected to the grid or off the grid, thereby simulating various operating states of the energy storage system and ensuring that the response of the energy storage system meets expectations, so that relevant technical personnel can optimize and adjust the energy storage system.
[0052] Step S140: configuring the information query module to read and record the fault information uploaded by the energy storage system.
[0053] Specifically, this module is mainly used for users to view the real-time operating fault status and historical fault information of the energy storage system, such as BMS fault information, communication fault information, etc., so that users can timely understand the fault status of the energy storage system and take corresponding maintenance measures to improve the reliability of the system.
[0054] It can be seen that, unlike the single development architecture in the existing solutions, the multi-level architecture built by the implementation method of the embodiment of the present application does not need to be restricted by the manufacturer's building modules. It not only reduces development costs, improves system efficiency, reliability and page aesthetics, but also adopts a layered decoupling method between multiple functions. It is more conducive to later maintenance, has higher autonomy and greater stability.
[0055] Figure 3 The schematic diagram of the architecture of the communication module of the embodiment of the present application is shown. In some embodiments, combined with Figure 1 and Figure 3As shown, configuring the communication module includes: configuring the RTU communication module, the first TCP communication module and the second TCP communication module in the communication module, wherein the RTU communication module is configured to be used for realizing the communication connection between the multiple functional modules and the controller of the energy storage system; the first TCP communication module is configured to be used for realizing the communication connection between the multiple functional modules and the BMS battery management system of the energy storage system; the second TCP communication module is configured to be used for realizing the communication connection between the multiple functional modules and the EMS energy management system of the energy storage system; thereby, relevant communication protocols can be supported without the need for additional conversion, further reducing development costs.
[0056] Preferably, the first TCP communication module can be used as a TCP client, and the second TCP communication module can be used as a TCP server; that is, when the human-computer interaction system communicates with the BMS battery management system, the human-computer interaction system is used as a client of Modbus TCP communication, and the BMS battery management system is used as a server of Modbus TCP communication; when the human-computer interaction system communicates with the EMS energy management system, the human-computer interaction system is used as a server of Modbus TCP communication, and the EMS energy management system is used as a client of Modbus TCP communication.
[0057] Specifically, the communication function of the communication module in this embodiment can be completed through the Modbus TCP communication protocol and the Modbus RTU communication protocol. Among them, TCP communication is used to respectively realize the communication connection between multiple functional modules and the BMS battery management system and the EMS energy management system of the energy storage system, and RTU communication is used to respectively realize the communication connection between multiple functional modules and the controller of the energy storage system.
[0058] refer to Figure 3 As shown, when the human-computer interaction system communicates with the BMS battery management system, the human-computer interaction system acts as a client of TCP communication, and the BMS battery management system acts as a server of TCP communication, and the human-computer interaction system sends a request to read data and / or write data to the BMS battery management system; when the human-computer interaction system communicates with the EMS energy management system, the human-computer interaction system acts as a server of TCP communication, and the EMS energy management system acts as a client of TCP communication, and the human-computer interaction system processes the request to read data and / or write data from the EMS energy management system.
[0059] In some preferred embodiments, the implementation method of the embodiment of the present application can be based on the Qt framework of the C++ programming language for software development. Unlike the monomer module in which all functional modules are developed in the same code file in the existing scheme, the present embodiment constructs a class (called Class in the C++ programming language) for each functional module separately to ensure that each class specifically manages a functional module. Therefore, the functional modules in each class only need to implement their specific functions, and the functional modules are independent of each other and do not interfere with each other. This decoupling design between modules means that the failure of a functional module will not affect other functional modules, thereby enhancing the reliability and stability of the system. In addition, due to the independence between each module, multi-person collaborative development can be achieved, which helps to reduce development costs and improve development efficiency. At the same time, by classifying and managing codes, the code maintainability and readability of the energy storage human-computer interaction system are significantly improved.
[0060] In some embodiments of the present application, the method further includes: configuring a switching control of the multiple functional modules, wherein when a function switching instruction input by a user is received, the function switching between the multiple functional modules is implemented by a QStackedWidget control in a preset Qt framework.
[0061] Combination Figure 1 As shown, in the present embodiment, when developing the energy storage human-computer interaction system, since each functional module is initially constructed independently, in order to ensure the smooth operation of the entire human-computer interaction system, seamless switching between the functional modules must be achieved. To this end, the present embodiment needs to configure switching controls for multiple functional modules and use them as a bridge for mutual calls between multiple functional modules.
[0062] Specifically, a feasible implementation method is to create a new C++ class, for example, named Class A. In this Class A, a QStackedWidget control can be added, which is a stacked container for managing multiple subwindows or pages; through the QStackedWidget control in Class A, a mapping relationship between the pointers of the multiple functional modules and the index of the QStackedWidget control can be established, and the corresponding functional module can be found by searching the corresponding pointer in the index table, thereby realizing smooth switching between different functional modules of the energy storage human-computer interaction system.
[0063] For example, the class initialization of the data monitoring module, instruction issuing module, function debugging module and information query module in this embodiment can all be completed in the above-mentioned Class A, and the pointers of different function modules are added to the QStackedWidget control. Such a design allows the free switching of various function modules in Class A, while ensuring the independence of each module so that they do not interfere with each other. Therefore, even if the requirements of one of the function modules are changed, it will not affect the normal operation of other function modules, thereby improving the stability of the system.
[0064] In one embodiment of the present application, configuring the functional module also includes: configuring the communication module to read the operating data of the energy storage system and save the operating data to a predefined static variable; then different functional modules obtain the operating data of the energy storage system by reading the value of the static variable; configuring the communication module to respond to a write instruction input by a user, calling a write function in the communication module, and writing corresponding data to the energy storage system according to the user input information.
[0065] Specifically, in the present embodiment, the realization of a complete and reliable communication function depends on the above three communication submodules, i.e., the RTU communication module, the first TCP communication module, and the second TCP communication module. Therefore, based on the multi-level architecture, the communication module of the present embodiment can first create three C++ classes, such as Class B, Class C, and Class D, and manage ModbusRTU, Modbus TCP client, and Modbus TCP server respectively through these classes, so that the three submodules of the above communication module are independent of each other; secondly, each communication submodule can store communication data by defining static variables, and these public static variables do not depend on any specific object, but can be shared by all modules. The static variables in the present embodiment are defined by the communication module, which refers to variables that all functional modules can access.
[0066] For example, the above-mentioned RTU communication module, the first TCP communication module and the second TCP communication module will regularly read data from each module of the energy storage system and store it in the corresponding static variables; and for other functional modules, such as the data monitoring module, the instruction issuing module, the function debugging module and the information query module, they can all access the operating data in the static variables to achieve their corresponding functions.
[0067] In addition, combined Figure 3 As shown, the above functional modules can also write data to the controller of the energy storage system or the BMS battery management system by calling the write function in the corresponding communication submodule. It can be seen that although different functional modules and communication modules remain independent, these modules can be connected through static variables and common read and / or write functions.
[0068] In a preferred embodiment of the present application, the method further comprises: configuring the communication module to read or write the operation data of the energy storage system regularly according to a preset time, and updating the data in the static variable;
[0069] And / or, the communication module is configured to read or write the operating data of the energy storage system according to the event triggering conditions of the multiple functional modules, and to update the data in the static variables, wherein the event triggering conditions of the multiple functional modules correspond to the values of the preset monitoring parameters in the static variables, and when the values of the preset monitoring parameters change, the operating data of the energy storage system is read through the communication module.
[0070] Specifically, in the energy storage human-computer interaction system constructed by the implementation method described in this application, the communication module reads or writes data in two modes. One is the timed cycle read-write mode, which regularly updates data by setting a periodic time interval; the other is the event-triggered read-write mode, which reads or writes data only when a specific event occurs. For example, when the user clicks a button to enter an operation instruction, the human-computer interaction system will trigger the communication module to read the corresponding data.
[0071] Preferably, for the timed cyclic read-write mode, the communication data can be updated regularly by starting a timer in the communication submodule. For the event-triggered read-write mode, since the human-computer interaction system adopts a layered architecture and each module is independent of each other, this mode is relatively more complex, and the communication module must be able to sense changes in external events and read and write data accordingly.
[0072] For example, in the event-triggered read-write mode, it is necessary to add a function to monitor changes in external events in the communication module and define a preset monitoring parameter, that is, a public static variable Flag. The static variable Flag is a positive integer, and its different values are defined to represent different trigger events. When a trigger event occurs in a functional module, the value of Flag will be changed to the corresponding integer, and the value of the Flag variable can be continuously monitored and polled through the preset timer in the communication module. Once a specific value is detected, the corresponding data read or write operation will be performed, thereby ensuring the integrity and reliability of the communication function.
[0073] In one embodiment of the present application, configuring the communication module also includes: configuring the communication module to monitor the heartbeat data sent by the energy storage system in real time; when the heartbeat data is not received and exceeds a preset time threshold, re-triggering the communication connection between the communication module and the energy storage system.
[0074] Specifically, in order to ensure the reliability of the communication function of the human-computer interaction system, this embodiment is equipped with a connection interruption detection mechanism for each communication submodule and a timeout retransmission function is set. For example, the heartbeat data of each communication submodule is monitored in real time. Once the heartbeat data cannot be detected, a connection interruption event will be triggered, and the system will periodically attempt to perform a timeout reconnection operation. At the same time, since network jitter may cause data reading and writing abnormalities, before performing data reading and writing operations, the system will judge the status of the communication connection. If the communication module status is found to be abnormal, the timeout reconnection and retransmission operations will be automatically performed through the program immediately to ensure accurate data transmission.
[0075] Preferably, the implementation method described in the embodiment of the present application also includes: two-stage functional testing; functional testing is an indispensable part of software system development, therefore, the layered architecture of the energy storage human-computer interaction system is more conducive to the functional testing of the software.
[0076] The test is mainly divided into two stages: the first stage is the independent self-test of each functional module during the system development process, and the second stage is the overall functional test after the system development is completed. Since the embodiment of the present application is based on the layered decoupling method to build a development architecture, the independence between each functional module is high, and the functions do not affect each other, so the basic functions of each module can be fully tested during the development stage. After all the functions of the system are developed, it is only necessary to test whether the functions of the interconnected functions between multiple functional modules are normal, which greatly simplifies the test link and ensures the efficiency and reliability of the test. At the same time, due to the low degree of coupling between different modules, the vulnerabilities found in the test link can be quickly located, which is more conducive to program maintenance.
[0077] In another embodiment of the present application, an energy storage human-computer interaction system is also proposed, which is constructed using an implementation method as described in any one of the above embodiments.
[0078] Preferably, when building the energy storage human-computer interaction system, the following steps are specifically included:
[0079] First, build a multi-level architecture in which multiple functional modules are decoupled from each other, including but not limited to a data monitoring module, an instruction issuing module, a function debugging module, and an information query module;
[0080] Second, a function switching control is designed, a Class class is created for the multiple function modules and a QStackedWidget control is added, and a mapping relationship between the pointers of the multiple function modules and the index of the QStackedWidget control is established to realize the switching of the multiple function modules.
[0081] Third, build the communication module in the architecture, create three Class classes for the three sub-modules of the communication module, and define static variables for the three communication sub-modules to implement the data reading / writing function of the communication module;
[0082] Fourth, complete two-stage functional testing, wherein the first stage includes independent self-testing of the multiple functional modules during the development process, and the second stage includes integrated testing of the multiple functional modules after development to achieve human-computer interaction functions between the communication module and the energy storage system.
[0083] It can be understood that each step of the aforementioned implementation method of the energy storage human-computer interaction system can be used to build the energy storage human-computer interaction system provided in this embodiment. Therefore, the relevant explanations on the implementation method of the energy storage human-computer interaction system are applicable to the energy storage human-computer interaction system and will not be repeated here.
[0084] To sum up, this application has achieved at least the following technical effects: on the one hand, by adopting a multi-level architecture, there is no need to be restricted by the manufacturer to build modules, which reduces development costs and improves system efficiency, reliability and page aesthetics; on the other hand, the hierarchical decoupling method between multiple functions is more conducive to later maintenance and has a higher degree of autonomy; on the other hand, by using the Qt framework to build the architecture, it is more in line with the mainstream development trend of the Internet, has higher universal adaptability and stronger readability.
[0085] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. Figure 4 At the hardware level, the electronic device includes a processor, and optionally also includes an internal bus, a network interface, and a memory. The memory may include a memory, such as a high-speed random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage. Of course, the electronic device may also include hardware required for other services.
[0086] The processor, network interface and memory can be interconnected through an internal bus, which can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0087] The memory is used to store the program. Specifically, the program may include a program code, and the program code includes a computer operation instruction. The memory may include a memory and a non-volatile memory, and provides instructions and data to the processor.
[0088] The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it, forming an energy storage human-computer interaction system at the logical level. The processor executes the program stored in the memory and is specifically used to perform the following operations:
[0089] Configure multiple functional modules and communication modules, and decouple the data monitoring module, instruction issuing module, function debugging module and information query module in the multiple functional modules from each other; wherein,
[0090] The data monitoring module is configured to read and display the operation data uploaded by the energy storage system;
[0091] The instruction issuing module is configured to receive an operation instruction input by a user, and issue the operation instruction to the energy storage system through the communication module;
[0092] The function debugging module is configured to receive a debugging instruction, and send the debugging instruction to the energy storage system through the communication module to simulate the operating state of the energy storage system; and
[0093] The information query module is configured to read and record the fault information uploaded by the energy storage system.
[0094] The above application Figure 2The implementation method of the energy storage human-computer interaction system disclosed in the illustrated embodiment can be applied to a processor or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in a decoding processor. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0095] The present application also provides a computer program product, which stores one or more programs, wherein the one or more programs include instructions, which, when executed by an electronic device including multiple application programs, enable the electronic device to execute Figure 2 The implementation method of the energy storage human-computer interaction system in the embodiment shown is specifically used to execute:
[0096] Configure multiple functional modules and communication modules, and decouple the data monitoring module, instruction issuing module, function debugging module and information query module in the multiple functional modules from each other; wherein,
[0097] The data monitoring module is configured to read and display the operation data uploaded by the energy storage system;
[0098] The instruction issuing module is configured to receive an operation instruction input by a user, and issue the operation instruction to the energy storage system through the communication module;
[0099] The function debugging module is configured to receive a debugging instruction, and send the debugging instruction to the energy storage system through the communication module to simulate the operating state of the energy storage system; and
[0100] The information query module is configured to read and record the fault information uploaded by the energy storage system.
[0101] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0102] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0103] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0104] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0105] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0106] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0107] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0108] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0109] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0110] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for implementing an energy storage human-computer interaction system, characterized in that: include: Configure multiple functional modules and communication modules, and decouple the data monitoring module, instruction issuing module, function debugging module and information query module in the multiple functional modules from each other; wherein, The data monitoring module is configured to read and display the operation data uploaded by the energy storage system; The instruction issuing module is configured to receive an operation instruction input by a user, and issue the operation instruction to the energy storage system through the communication module; The function debugging module is configured to receive a debugging instruction, and send the debugging instruction to the energy storage system through the communication module to simulate the operating state of the energy storage system; and The information query module is configured to read and record the fault information uploaded by the energy storage system.
2. The implementation method according to claim 1, characterized in that: Configuring the communication module includes: configuring an RTU communication module, a first TCP communication module, and a second TCP communication module in the communication module, wherein: The RTU communication module is configured to realize a communication connection between the plurality of functional modules and the controller of the energy storage system; The first TCP communication module is configured to realize the communication connection between the plurality of functional modules and the BMS battery management system of the energy storage system; The second TCP communication module is configured to realize the communication connection between the multiple functional modules and the EMS energy management system of the energy storage system.
3. The implementation method according to claim 2, characterized in that: The method comprises: When the human-computer interaction system communicates with the BMS battery management system, the human-computer interaction system is used as a client of Modbus TCP communication, and the BMS battery management system is used as a server of Modbus TCP communication; When the human-computer interaction system communicates with the EMS energy management system, the human-computer interaction system is used as the server of Modbus TCP communication, and the EMS energy management system is used as the client of Modbus TCP communication.
4. The implementation method according to claim 3, characterized in that: The method further comprises: Configure the switching controls of the multiple functional modules, wherein: When a function switching instruction input by the user is received, the function switching between the multiple function modules is implemented through the QStackedWidget control in the preset Qt framework.
5. The implementation method according to claim 1, characterized in that: Configuring the functional module further includes: The communication module is configured to read the operating data of the energy storage system and save the operating data into a predefined static variable; then different functional modules obtain the operating data of the energy storage system by reading the value of the static variable; The communication module is configured to respond to a write instruction input by a user, call a write function in the communication module, and write corresponding data to the energy storage system according to the user input information.
6. The implementation method according to claim 5, characterized in that: The method further comprises: The communication module is configured to read or write the operation data of the energy storage system at a preset time and update the data in the static variable; And / or, the communication module is configured to read or write the operating data of the energy storage system according to the event triggering conditions of the multiple functional modules, and to update the data in the static variables, wherein the event triggering conditions of the multiple functional modules correspond to the values of the preset monitoring parameters in the static variables, and when the values of the preset monitoring parameters change, the operating data of the energy storage system is read through the communication module.
7. The implementation method according to claim 5, characterized in that: Configuring the communication module further includes: The communication module is configured to monitor the heartbeat data sent by the energy storage system in real time; When the heartbeat data is not received and the preset time threshold is exceeded, the communication connection between the communication module and the energy storage system is re-triggered.
8. An energy storage human-computer interaction system, characterized in that: The method is constructed by using any one of the implementation methods described in claims 1 to 7.
9. An electronic device, wherein: The electronic device comprises: a processor; and a memory arranged to store computer executable instructions, wherein the executable instructions, when executed, cause the processor to perform the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, wherein: The computer-readable storage medium stores one or more programs, which, when executed by a processor, implement the method according to any one of claims 1 to 7.