Energy storage system, cloud server and energy storage data management system
By using data acquisition, processing and transmission devices in the energy storage system to store and transmit energy storage data in key-value formats and parsing it on the cloud server, the problem of inconvenient energy storage data management in the existing technology is solved, and data security is achieved Transmission and user convenient viewing improve user experience.
Patent Information
- Application Number
- CN202111250302.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-26
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2041-10-26
AI Technical Summary
The existing energy storage system cannot conveniently display energy storage data in monitoring and data management. Users need to view or use dedicated terminal equipment on site, and can only be managed through SMS or message alarms.
An energy storage system is designed, including data acquisition, processing and transmission devices, which stores and transmits data in key-value formats through serial port data frames, and parses them on cloud servers to ensure safe data transmission and convenient user viewing.
It realizes convenient viewing and secure transmission of energy storage data, improves user experience, reduces the computing complexity of encryption chips, and simplifies the data analysis process of cloud servers.
Smart Images

Figure CN116028259B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of data monitoring technology, and more specifically, to an energy storage system, a cloud server, and an energy storage data management system. Background Art
[0002] Energy storage systems, especially household energy storage systems, are integrated systems that are beautiful and easy to install, equipped with long-life battery packs, and provide access to photovoltaic arrays. They can provide electricity for residences, public facilities, small factories, etc. Usually, energy storage systems use an integrated microgrid architecture, which can operate in both off-grid and grid-connected modes, and can achieve seamless switching of operating modes, greatly improving power supply reliability.
[0003] At present, when it is necessary to view the energy storage data reflecting the operating status of the energy storage system in order to monitor the energy storage system, users are required to go to the site to view the data, or they need to develop and use special terminal equipment to view the data, or they can only monitor and manage the energy storage system by receiving alarm information pushed by the energy storage system through text messages or information. Therefore, it can be seen that the existing energy storage system has the problem of not being able to conveniently display energy storage data to users. Summary of the invention
[0004] One purpose of the embodiments of the present disclosure is to provide a new technical solution for implementing an energy storage system and an energy storage data management system.
[0005] According to a first aspect of the present disclosure, an embodiment of an energy storage system is provided, comprising: a data acquisition device, a data processing device, and a first data transmission device and a second data transmission device;
[0006] The data acquisition device is used to collect raw energy storage data and send the raw energy storage data to the data processing device;
[0007] The data processing device is used to receive the original energy storage data and convert the original energy storage data into standard energy storage data; and send the standard energy storage data to the first data transmission device;
[0008] The first data transmission device is used to receive the standard energy storage data, generate a serial port data frame according to the standard energy storage data; and send the serial port data frame to the second data transmission device using a preset serial port communication technology; wherein the serial port data frame includes a frame header and a data portion, the data portion stores the standard energy storage data in a key-value format, and the frame header is used to store control data of the serial port data frame;
[0009] The second data transmission device is used to receive the serial port data frame using the preset serial port communication technology; when it is determined according to the control data in the frame header that the data portion meets the preset conditions, the data portion is cut from the serial port data frame according to the control data, and the data portion is encrypted; and the encrypted data portion is sent to the cloud server using the preset long-distance communication technology.
[0010] Optionally, the standard energy storage data includes at least one data item;
[0011] When the first data transmission device generates a serial port data frame according to the standard energy storage data, it is used to:
[0012] Acquire at least one preset key value corresponding to each data item in the energy storage data, and generate at least one key-value data pair according to the corresponding preset key value and data item;
[0013] generating the data portion according to the at least one key-value data pair;
[0014] Obtaining the verification data and data length of the data portion;
[0015] Constructing the control data according to the verification data and the data length, the message type corresponding to the standard energy storage data, and the data type corresponding to the standard energy storage data to generate the frame header;
[0016] The frame header and the data portion are encapsulated to generate the serial port data frame.
[0017] Optionally, the at least one key-value data pair in the data portion is stored in a serial manner.
[0018] Optionally, the second data transmission device determines whether the data portion meets the preset condition by the following processing:
[0019] After receiving the serial communication frame, parsing the frame header to obtain the verification data;
[0020] Whether the received data portion is correct is verified according to the verification data, and if the verification passes, it is determined that the data portion meets the preset condition.
[0021] Optionally, when the second data transmission device cuts the data portion from the serial port data frame according to the control data, it is configured to:
[0022] Calculating a second starting address of the data portion according to the first starting address of the serial port data frame and the frame length of the frame header;
[0023] In the serial port data frame, the data corresponding to the data length is cut with the second starting address as the starting position to obtain the data portion.
[0024] Optionally, the first data transmission device includes a data caching sub-device and a data sending sub-module;
[0025] The data cache sub-device is used to generate a serial port data frame according to the standard energy storage data, generate a task message corresponding to the serial port data frame, and write the task message into a target cache queue; and receive a reply message corresponding to the task message provided by the second data transmission device; when the reply message indicates that the data portion is successfully sent to the cloud server, remove the task message from the target cache queue; and / or, when the reply message indicates that the data portion is not successfully sent to the cloud server and the number of retransmissions corresponding to the task message is greater than a preset threshold, remove the task message from the target cache queue and generate corresponding fault log information;
[0026] The data sending submodule is used to consume the task message from the target cache queue according to a preset mechanism, send the serial port data frame in the task message to the second data transmission device using the preset serial port communication technology, and update the number of retransmissions in the task message.
[0027] Optionally, the energy storage system further includes a local storage subsystem and a local display subsystem;
[0028] The local storage subsystem is used to obtain the standard energy storage data from the data processing device and store the standard energy storage data;
[0029] The local display subsystem is used to read and display the standard energy storage data stored in the local storage subsystem, and to display the standard energy storage data.
[0030] Optionally, the shared memory is used to store the standard energy storage data of a first type, and the local database is used to store the standard energy storage data other than the first type.
[0031] Optionally, the energy storage system further includes a battery management subsystem, which includes a battery pack, a process control module and a battery boost and expansion control module;
[0032] The energy storage data includes at least one item of historical operation data, real-time operation data and alarm data generated by the battery management subsystem, the process control module and the battery boost and expansion control module respectively.
[0033] Optionally, the data unit stores the standard energy storage data in a preset JSON protocol format, and the preset JSON protocol format is a protocol format that does not contain line breaks.
[0034] According to a second aspect of the present disclosure, there is provided an embodiment of a cloud server, comprising: a data receiving device and a data storage device;
[0035] The data receiving device is used to receive the encrypted data part sent by the energy storage system according to the preset long-distance communication technology; and decrypt and parse the data part to obtain standard energy storage data, wherein the energy storage system is the energy storage system described in any one of the first aspects;
[0036] The data storage device is used to store the standard energy storage data.
[0037] Optionally, the cloud server also includes a request response device for receiving a data viewing request sent by a user terminal, and generating a response message corresponding to the data viewing request based on the standard energy storage data, and providing the response message to the user terminal.
[0038] According to a third aspect of the present disclosure, an embodiment of an energy storage data management system is provided, including:
[0039] The energy storage system as described in the first aspect of the present disclosure;
[0040] A cloud server as described in the second aspect of the present disclosure.
[0041] One beneficial effect of the present disclosure is that, in the energy storage system provided by the embodiment of the present disclosure, the data acquisition device acquires the original energy storage data and sends the original energy storage data to the data processing device; and after the data processing device converts the original energy storage data into the standard energy storage data, the data processing device, different from the method of encapsulating the data frame in the way of continuously storing data values in the existing serial communication protocol, in the embodiment of the present disclosure, the data part of the serial data frame generated by the first data transmission device stores the standard energy storage data in a key value format, that is, a key-value format, so that the user can conveniently view the standard energy storage data; at the same time, in order to ensure the safe transmission of data and reduce the processing complexity of the second data transmission device, after receiving the serial data frame sent by the first data transmission device, the second data transmission device will directly cut out the data part from the serial data frame and encrypt and send it to the cloud server when the data part meets the preset conditions after checking. In this way, on the one hand, the security of the data can be maintained, and on the other hand, after the data part is transmitted to the cloud server, the cloud server obtains the standard energy storage data by parsing the data part according to the key value method, and can respond to the data viewing request of the user terminal at any time, and provide the standard energy storage data to the user for viewing, so as to improve the user experience.
[0042] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0044] Figure 1 It is a structural diagram of the energy storage data management system provided by an embodiment of the present disclosure.
[0045] Figure 2 It is a schematic diagram of the structure of the cloud server provided in the embodiment of the present disclosure.
[0046] Figure 3 It is a schematic diagram of the structure of the energy storage system provided in the embodiment of the present disclosure. DETAILED DESCRIPTION
[0047] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0048] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0049] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.
[0050] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0051] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0052] <System Embodiment>
[0053] Please see Figure 1 , which is a schematic diagram of the structure of the energy storage data management system provided by the embodiment of the present disclosure. Figure 1As shown, the energy storage data management system 100 provided by the embodiment of the present disclosure includes at least one energy storage system 1000, a cloud server 2000, a user terminal 3000 and a network 4000, wherein the energy storage system 1000 and the cloud server 2000 can communicate through the network 4000 using a preset remote communication technology, and the user terminal 3000 and the cloud server 2000 can communicate through the network 4000.
[0054] Please see Figure 2 , which is a schematic diagram of the structure of the cloud server provided by the embodiment of the present disclosure. Figure 2 As shown, in one embodiment, the cloud server 2000 may include a data receiving device 2100 and a data storage device 2200, wherein the data receiving device receives the encrypted data portion sent by the energy storage system 1000 according to a preset long-distance communication technology; and decrypts and parses the data portion to obtain standard energy storage data, and stores the standard energy storage data. In addition, the cloud server 2000 may include a request response device 2300, wherein the request response device 2300 is used to receive a data viewing request sent by the user terminal 3000, and generate a response message corresponding to the data viewing request according to the standard energy storage data, and provide the response message to the user terminal.
[0055] It should be noted that, in a specific implementation, the cloud server 2000 may be, for example, a blade server, a rack server, etc. In the system 100, the number of the cloud servers 2000 may be one or more, for example, a server cluster, and no special limitation is made here.
[0056] Please see Figure 3 , which is a schematic diagram of the structure of the energy storage system provided by the embodiment of the present disclosure. Figure 3 As shown, the energy storage system 1000 at least includes: a data acquisition device 1100 , a data processing device 1200 , a first data transmission device 1300 and a second data transmission device 1400 .
[0057] The data acquisition device 1100 is used to acquire raw energy storage data and send the raw energy storage data to the data processing device.
[0058] Specifically, Figure 3 As shown, the energy storage system may also include Figure 3 The BMS battery management subsystem 1500 (Battery Management System) shown in FIG. 1 includes Figure 3The process control module 1501 (PCS, Process Control Systems), the battery pack 1502 and the battery boost and capacity expansion control module 1503 (DC-DC, DC-DC Converter) are shown.
[0059] The BMS battery management subsystem 1500 is used to collect, analyze and process the operating data generated by each module it contains to generate original energy storage data; wherein, the process control module 1501 is used to control the grid-connected charging and discharging and off-grid PV charging functions and collect corresponding data; the battery boost and capacity expansion control module 1503 is used to control the boost and capacity expansion functions of the battery pack 1502 and collect corresponding data.
[0060] The original energy storage data may include multiple data items, for example, three voltage values, current values, etc.; in addition, the multiple data items may belong to different data item categories, and the data item categories may include, for example: operation data, parameter data, command data. Those skilled in the art can obviously understand the meaning of the different categories of data based on common knowledge, and will not be elaborated here.
[0061] like Figure 3 As shown, the BMS battery management subsystem 1500 can communicate with the process control module 1501 and the battery boost and expansion control module 1503 based on the controller area network bus (CAN) 2, and can communicate with the battery pack 1502 based on a serial component, for example, a serial peripheral interface (SPI).
[0062] In one embodiment, the data acquisition device 1100 can communicate with the BMS battery management subsystem 1500 via the controller area network bus 1 and other user-defined protocols to obtain the original energy storage data.
[0063] The data processing device 1200 is used to receive the original energy storage data and convert the original energy storage data into standard energy storage data. That is, the data processing device is used to perform format conversion, simple calculation, judgment and format conversion on the original energy storage data to obtain standard energy storage data.
[0064] The first data transmission device 1300 is used to receive the standard energy storage data, generate a serial port data frame according to the standard energy storage data; and send the serial port data frame to the second data transmission device using a preset serial port communication technology; wherein the serial port data frame includes a frame header and a data portion, the data portion stores the standard energy storage data in a key-value format, and the frame header is used to store control data of the serial port data frame.
[0065] The second data transmission device 1400 is used to receive the serial port data frame using the preset serial port communication technology; when it is determined according to the control data in the frame header that the data portion meets the preset conditions, the data portion is cut from the serial port data frame according to the control data, and the data portion is encrypted; and the encrypted data portion is sent to the cloud server using the preset long-distance communication technology.
[0066] Specifically, the energy storage system 1100 provided in the embodiment of the present disclosure performs data communication between the serial port component (not shown in the figure), the first data transmission device 1300 and the second data transmission device 1400 through a preset serial communication technology based on the serial port component, wherein the serial port (Serial Interface) component, whose full name is serial interface component, is an extended interface using a serial communication method.
[0067] In the prior art, when encapsulating a serial port data frame, it is generally encapsulated and framed according to the serial port communication protocol shown in Table 1, wherein the data type identifier in Table 1 is used to identify the content of the data item, and the subsequent data items 1 to N are the data lengths and data meanings predefined in the serial port communication protocol, for example, data item 1 represents voltage value 1, data item 2 represents current value 2, etc. In the prior art, for different collected data items, the sender usually frames each data item and sends it to the receiver through a serial port component; after the receiver receives the data frame based on the serial port component, it needs to parse it item by item according to the serial port transmission protocol to restore the data item and store it.
[0068] The problem with this method is that, on the one hand, when encapsulating and framing based on a serial communication protocol similar to that described in Table 1, even if the data of a certain data item is not collected, it is necessary to reserve a position for the data item in the data frame, otherwise, the receiver will not be able to parse the data frame normally, which results in a problem of wasted bytes; at the same time, during the transmission process, if an error occurs in a certain data item, it may cause the receiver to parse all subsequent data items incorrectly, thereby reducing the fault tolerance of the data frame.
[0069]
[0070] Table 1
[0071] To solve this problem, in an embodiment of the present disclosure, when the first data transmission device 1300 generates a serial port data frame according to the standard energy storage data, it is used to: obtain at least one preset key value corresponding to each data item in the energy storage data, and generate at least one key-value data pair according to the corresponding preset key value and data item; generate the data part according to the at least one key-value data pair; obtain the verification data and data length of the data part; construct the control data according to the verification data and the data length, the message type corresponding to the standard energy storage data, and the data type corresponding to the standard energy storage data to generate the frame header; encapsulate the frame header and the data part to generate the serial port data frame.
[0072] In one embodiment, the at least one key-value data in the data portion generated by the first data transmission device 1300 is stored in a serial manner.
[0073] Please refer to the following Table 2, which is a schematic diagram of the communication protocol of the serial port data frame provided by the embodiment of the present disclosure:
[0074]
[0075] Table 2
[0076] In Table 2, the feature code identifies the identifier of the serial port data frame provided in this embodiment, and the data length identifies the remaining data length except the 12 bytes of the header, that is, the length of the data part; the message type is used to identify the data type corresponding to the data frame, and its value can be specifically operation data (0x01), parameter data (0x02), and command data (0x03); the data type can be, for example, battery pack data (represented by number 31), installation parameter information (represented by number 632), etc. The flag bit is used to identify the success or failure of data transmission, so that in the case of transmission failure, data retransmission processing can be performed, or data transmission processing can be terminated; the check bit stores the check data, which is used by the data receiver to determine whether the received data is consistent with the sent data; the device ID is mainly used to distinguish different energy storage devices; the upload type and time are mainly used to facilitate the cloud server to screen, parse and classify data.
[0077] It should be noted that, in the embodiment of the present disclosure, the data portion in the serial port data frame can store the standard energy storage data in the JSON protocol format, and, in order to save bytes, the preset JSON protocol format is a protocol format that does not contain line breaks.
[0078] That is to say, when the serial communication protocol provided by this embodiment is used to encapsulate the serial data frame, it is not necessary to set a line break between the fields, and they can be directly arranged in sequence.
[0079] Specifically, in an embodiment of the present disclosure, in order to ensure secure transmission of data, the second data transmission device 1400 includes an encryption chip. After the second data transmission device 1400 receives the serial port data frame sent by the first data transmission device 1300 from the serial port component, in order to ensure correct transmission of the data, the second data transmission device 1400 can first obtain verification data from the frame header length according to the frame header length, and judge whether the data in the data part is correctly received based on the verification data. If it is correctly received, there is no need to parse and then encrypt the data in the data part one by one, but the data part can be directly cut out from the serial port data frame, and then the data part can be directly encrypted and the encrypted data part can be sent to the cloud server 2000 through a preset long-distance communication technology, such as socket technology.
[0080] That is, in this embodiment, the second data transmission device 1400 can determine whether the data part meets the preset condition through the following processing: after receiving the serial port communication frame, parse and obtain the verification data from the frame header; based on the verification data, verify whether the received data part is correct, and determine that the data part meets the preset condition if the verification passes.
[0081] In addition, the energy storage system in the prior art may encrypt the data before sending it to the cloud server. However, since the existing energy storage system is usually based on a traditional serial communication protocol, for example, the communication protocol shown in Table 1 encapsulates the data frame. Therefore, when the encryption chip encrypts the data, it is often necessary to first parse the data frame to obtain each data item, and then encrypt the data item and encapsulate it into a key value format to send it to the cloud server. This requires the encryption chip to be able to process data with higher complexity, thereby increasing the hardware cost of the encryption chip used.
[0082] In an embodiment of the present disclosure, the first data transmission device 1300 directly uses the key value format when encapsulating the data frame, for example, encapsulating the standard energy storage data in the JSON format; this allows the second data transmission device 1400 based on the encryption chip to obtain the serial port data frame containing the standard energy storage data without having to parse the serial port data frame, but can directly cut out the data part for transmission when the data part is determined to be correct based on the verification data in the frame header, without the need to re-encapsulate the data items in the data part, thereby reducing the computational complexity of the encryption chip, so that the encryption chip only needs to have basic encryption capabilities.
[0083] In this embodiment, when the second data transmission device 1400 cuts the data portion from the serial port data frame according to the control data, it is used to: calculate the second starting address of the data portion according to the first starting address of the serial port data frame and the frame length of the frame header; in the serial port data frame, with the second starting address as the starting position, cut the data corresponding to the data length to obtain the data portion.
[0084] According to the above description, it can be seen that the method of generating serial port data frames based on the customized serial port communication protocol provided by the embodiment of the present disclosure can, on the one hand, play a role in data protection, so that in the absence of the serial port communication protocol, the specific meaning of the data cannot be truly parsed only by the data content intercepted during the transmission process; on the other hand, the serial port communication protocol can be customized according to actual needs, which facilitates the connection of system data to an existing cloud server and simplifies the data cleaning and parsing process after the cloud server receives the data.
[0085] In one embodiment, the first data transmission device 1300 may include a data caching sub-device 1301 and a data sending sub-device 1302 .
[0086] The data cache sub-device 1301 is used to generate a serial port data frame according to the standard energy storage data, and generate a task message corresponding to the serial port data frame, and write the task message into a target cache queue; and receive a reply message corresponding to the task message provided by the second data transmission device 1400; when the reply message indicates that the data portion in the serial port data frame is successfully sent to the cloud server 2000, remove the task message from the target cache queue; and / or, when the reply message indicates that the data portion is not successfully sent to the cloud server 2000 and the number of retransmissions corresponding to the task message is greater than a preset threshold, remove the task message from the target cache queue and generate corresponding fault log information;
[0087] The data sending sub-device 1302 is used to consume the task message from the target cache queue according to a preset mechanism, and send the serial port data frame in the task message to the second data transmission device 1400 using a preset serial port communication technology, and update the number of retransmissions in the task message.
[0088] Specifically, in order to further reduce the computational complexity of the second data transmission device and ensure that the standard energy storage data can be accurately sent to the cloud server, in an embodiment of the present disclosure, the first data transmission device may also maintain a target cache queue to cache the standard energy storage data to be sent to the cloud server; for each piece of data to be sent, the first data transmission device may first generate its corresponding task message and write the task message into the target cache queue to reduce the concurrency of data transmission; thereafter, the first data transmission device may consume a task message from the target cache queue again according to a preset mechanism, for example, according to a preset time interval, or when the previous task message is processed, and send the serial port data frame in the task message to the second data transmission device through the serial port component for transmission; after the second data transmission device sends the encrypted data portion to the cloud server, the cloud server may also transmit a reply message to the second data transmission device to indicate that the data portion has been successfully received; the second data transmission device provides the reply message to the first data transmission device so that the first data transmission device can remove the task message from the target cache queue when confirming that the cloud server has successfully received it, so as to reduce the loss during the data transmission process.
[0089] In addition, according to the above description, it can also be pointed out that in the first data transmission device, even if a serial port data frame fails to be sent, the corresponding fault log information will be written into the fault log data, so that the energy storage system 1000 can resend the serial port data frame again if the retry conditions are met.
[0090] Please continue to see Figure 3 ,like Figure 3 As shown, the energy storage system 1000 provided in the embodiment of the present disclosure not only sends the energy storage data to the cloud server 2000 so that the user can remotely monitor the energy storage system at any time through the user terminal 3000; but also maintains local storage and local data viewing capabilities so that the user can conveniently monitor the operating status of the energy storage system.
[0091] Specifically, in one embodiment, the energy storage system 100 further includes a local storage subsystem 1600 and a local display subsystem 1700 .
[0092] The local storage subsystem 1600 is used to obtain standard energy storage data from the data processing device 1200 and directly store the standard energy storage data.
[0093] The local display subsystem 1700 is used to read and display the standard energy storage data stored in the local storage subsystem 1600, and to display the standard energy storage data.
[0094] like Figure 3As shown, the local storage subsystem may include a shared memory and a local database, wherein the shared memory is used to store standard energy storage data of a first type, and the local database may be used to store standard energy storage data other than the first type.
[0095] According to the above description, the energy storage system 1000 provided by the embodiment of the present disclosure collects raw energy storage data by the data acquisition device 1100 and sends the raw energy storage data to the data processing device 1200; and after the data processing device 1200 converts the raw energy storage data into standard energy storage data, it is different from the way of encapsulating data frames in the way of continuously storing data values in the existing serial communication protocol. In the embodiment of the present disclosure, the data part of the serial data frame generated by the first data transmission device 1300 stores the standard energy storage data in a key-value format, that is, a key-value format, so that the user can easily view the standard energy storage data; at the same time, in order to ensure the safe transmission of data and To reduce the processing complexity of the second data transmission device 1400, after receiving the serial port data frame sent by the first data transmission device, the second data transmission device 1400 will directly cut out the data portion from the serial port data frame and encrypt it and send it to the cloud server after verifying that the data portion meets the preset conditions. In this way, on the one hand, the security of the data can be maintained. On the other hand, after the data portion is transmitted to the cloud server 2000, the cloud server 2000 can directly parse the data portion according to the key value method to obtain the standard energy storage data, so that the cloud server can respond to the data viewing request of the user terminal at any time and provide the standard energy storage data to the user for viewing, so as to improve the user experience.
[0096] In addition, if Figure 1 As shown, the user terminal 3000 in the embodiment of the present disclosure can be a smart phone, a portable computer, a desktop computer, a tablet computer, etc., and is not particularly limited here.
[0097] The energy storage system 1000 provided in the embodiment of the present disclosure is described above. It should be noted that in the specific implementation, the energy storage system 1000 provided in the embodiment of the present disclosure is described above. Figure 1 The energy storage data management system shown may include multiple energy storage systems 1000 and may also include multiple cloud servers 2000, which are not specifically limited here.
[0098] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0099] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0100] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0101] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0102] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0103] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0104] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0105] The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.
[0106] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The choice of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present disclosure is defined by the appended claims.
Claims
1. An energy storage system, characterized in that: include: A data acquisition device, a data processing device, a first data transmission device and a second data transmission device; The data acquisition device is used to collect raw energy storage data and send the raw energy storage data to the data processing device; The data processing device is used to receive the original energy storage data and convert the original energy storage data into standard energy storage data; and send the standard energy storage data to the first data transmission device; The first data transmission device is used to receive the standard energy storage data and generate a serial port data frame according to the standard energy storage data; And, sending the serial port data frame to the second data transmission device using a preset serial port communication technology; wherein the serial port data frame includes a frame header and a data portion, the data portion stores the standard energy storage data in a key-value format, and the frame header is used to store control data of the serial port data frame; The second data transmission device is used to receive the serial port data frame using the preset serial port communication technology; when it is determined that the data part meets the preset condition according to the control data in the frame header, the data part is obtained by cutting from the serial port data frame according to the control data, and the data part is encrypted; and the encrypted data part is sent to the cloud server using the preset long-distance communication technology; wherein, The first data transmission device includes a data caching sub-device and a data sending sub-module; The data cache sub-device is used to generate a serial port data frame according to the standard energy storage data, generate a task message corresponding to the serial port data frame, and write the task message into a target cache queue; and receive a reply message corresponding to the task message provided by the second data transmission device; when the reply message indicates that the data portion is successfully sent to the cloud server, remove the task message from the target cache queue; and / or, when the reply message indicates that the data portion is not successfully sent to the cloud server and the number of retransmissions corresponding to the task message is greater than a preset threshold, remove the task message from the target cache queue and generate corresponding fault log information; The data sending submodule is used to consume the task message from the target cache queue according to a preset mechanism, send the serial port data frame in the task message to the second data transmission device using the preset serial port communication technology, and update the number of retransmissions in the task message.
2. The energy storage system according to claim 1, characterized in that: The standard energy storage data includes at least one data item; When the first data transmission device generates a serial port data frame according to the standard energy storage data, it is used to: Acquire at least one preset key value corresponding to each data item in the energy storage data, and generate at least one key-value data pair according to the corresponding preset key value and data item; generating the data portion according to the at least one key-value data pair; Obtaining the verification data and data length of the data portion; Constructing the control data according to the verification data and the data length, the message type corresponding to the standard energy storage data, and the data type corresponding to the standard energy storage data to generate the frame header; The frame header and the data portion are encapsulated to generate the serial port data frame.
3. The energy storage system according to claim 2, characterized in that: The second data transmission device determines whether the data portion meets the preset condition by the following processing: After receiving the serial port data frame, parsing the frame header to obtain the verification data; Whether the received data portion is correct is verified according to the verification data, and if the verification passes, it is determined that the data portion meets the preset condition.
4. The energy storage system according to claim 2, characterized in that: When the second data transmission device cuts the data portion from the serial port data frame according to the control data, it is used to: Calculating a second starting address of the data portion according to the first starting address of the serial port data frame and the frame length of the frame header; In the serial port data frame, the data corresponding to the data length is cut with the second starting address as the starting position to obtain the data portion.
5. The energy storage system according to claim 1, characterized in that: The energy storage system also includes a local storage subsystem and a local display subsystem; The local storage subsystem is used to obtain the standard energy storage data from the data processing device and store the standard energy storage data; The local display subsystem is used to read and display the standard energy storage data stored in the local storage subsystem, and to display the standard energy storage data.
6. The energy storage system according to claim 5, characterized in that: The local storage subsystem includes a shared memory and a local database, wherein the shared memory is used to store the standard energy storage data of the first type, and the local database is used to store the standard energy storage data other than the first type.
7. The energy storage system according to claim 1, characterized in that: The energy storage system also includes a battery management subsystem, which includes a battery pack, a process control module and a battery boost and expansion control module; The energy storage data includes at least one item of historical operation data, real-time operation data and alarm data generated by the battery management subsystem, the process control module and the battery boost and expansion control module respectively.
8. The energy storage system according to claim 2, characterized in that: The at least one key-value data pair in the data portion is stored in a serial manner.
9. The energy storage system according to claim 1, characterized in that: The data unit stores the standard energy storage data in a preset JSON protocol format, and the preset JSON protocol format is a protocol format that does not contain line breaks.
10. A cloud server, characterized in that: include: Data receiving device and data storage device; The data receiving device is used to receive the encrypted data sent by the energy storage system according to the preset long-distance communication technology; and decrypting and parsing the data portion to obtain standard energy storage data, wherein the energy storage system is the energy storage system according to any one of claims 1 to 9; The data storage device is used to store the standard energy storage data.
11. The cloud server according to claim 10, characterized in that: The cloud server also includes a request response device for receiving a data viewing request sent by a user terminal, generating a response message corresponding to the data viewing request based on the standard energy storage data, and providing the response message to the user terminal.
12. An energy storage data management system, characterized in that: include: The energy storage system according to any one of claims 1 to 9; The cloud server as described in any one of claims 10-11.
Citation Information
Patent Citations
Frame recognition method and device for multiple types of data streams and readable storage medium
CN111314304A
Capacitor bank monitoring data secure transmission method, device and equipment
CN113259121A
