Method for realizing reliable message transmission and energy storage coordination control system

By using the device's native feature code to generate and verify verification codes in the energy storage coordination control system, the reliability and security problems existing in the transmission of digital messages on the network are solved, and the stable and secure and reliable transmission of the system is achieved.

CN119603288APending Publication Date: 2025-03-11SHANGHAI ROBESTEC ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411623374.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The reliable transmission of digital messages in energy storage coordination control systems is crucial, but the existing technology is difficult to effectively resist network shocks and malicious attacks and ensure the stability and security of the system.

Method used

By determining the sending and receiving device ends in the energy storage cooperative control system, the sending device end uses the device native feature code and real-time data of the receiving device end to generate a verification code, and fills it in the message. The receiving device end analyzes the message and uses the local feature code to verify the verification code to ensure the secure transmission of the message.

Benefits of technology

It realizes reliable transmission and response of packets in the energy storage cooperative control system, resists possible abnormalities and malicious attacks in the network, and ensures the stability and security of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119603288A_ABST
    Figure CN119603288A_ABST
Patent Text Reader

Abstract

The invention provides a method for realizing reliable message transmission and an energy storage cooperative control system, and relates to the technical field of power batteries, and the method comprises the steps: determining a transmitting device end and a receiving device end when message transmission needs to be carried out between a plurality of cooperative control devices and a plurality of PCS devices in the energy storage cooperative control system; performing combined processing on the device local feature code of the receiving device end and the real-time data acquired by the sending device end to obtain a check code; the sending equipment end performs data filling on the real-time data and the check code to obtain a current transmission message, and sends the current transmission message to the receiving equipment end; the receiving equipment end analyzes, extracts the real-time data and the check code, and combines and processes a pre-stored equipment local feature code and the real-time data to obtain a current check code; and performing secure transmission verification on the current transmission message by using the current check code and the extracted check code so as to realize reliable transmission and response of the energy storage coordination control system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power batteries, and in particular to a method for realizing reliable message transmission and an energy storage cooperative control system. Background Art

[0002] The energy storage coordination controller is a device used to collect, manage and control energy storage systems. It collects and analyzes real-time analog or digital data of the power system to achieve intelligent coordinated control of the energy storage system. Its stable and reliable operation is the key to safe operation and economic benefits within the station.

[0003] With the digitization of energy storage coordinated control systems, the reliable transmission of digital messages in the entire coordinated control system is crucial. The requirements for the transmission and processing of digital message data are increasing accordingly. In addition, each device may receive abnormal messages, and there may even be malicious control or destruction of the coordinated control system. The energy storage coordinated control system needs strategies and means to effectively resist network attacks. Summary of the invention

[0004] In view of this, the embodiments of this specification provide a method for implementing reliable message transmission and an energy storage cooperative control system. One or more embodiments of this specification also relate to a method for implementing reliable message transmission, an energy storage cooperative control system for implementing reliable message transmission, a computing device, a computer-readable storage medium, and a computer program to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a method for implementing reliable message transmission is provided, including:

[0006] When message transmission is required between multiple co-control devices and multiple PCS (Power Conversion System) devices in the energy storage co-control system, determine a sending device end for sending messages and a receiving device end for receiving messages among the multiple co-control devices and multiple PCS devices in the energy storage co-control system;

[0007] The sending device acquires the real-time data to be transmitted to the receiving device, and combines the local device feature code of the receiving device and the real-time data to obtain a verification code;

[0008] The sending device end fills the real-time data and the check code according to the message format to obtain a current transmission message with the real-time data and the check code, and sends the current transmission message with the real-time data and the check code to the receiving device end;

[0009] The receiving device extracts real-time data and a check code from the current transmission message by parsing the current transmission message, and combines the extracted real-time data with the pre-stored device local feature code to obtain a current check code;

[0010] The receiving device uses the current check code and the extracted check code to perform secure transmission verification on the current transmission message to achieve reliable transmission and response of the energy storage cooperative control system.

[0011] Preferably, it also includes:

[0012] The receiving device uses its device's local unique code to calculate and save the device's local feature code for reliable message transmission, and publishes the device's local feature code to each sending device, so that each sending device saves the receiving device's local feature code into a device's local feature code table.

[0013] Preferably, the receiving device uses the local unique code of the device to calculate and save the local feature code of the device for reliable message transmission, including:

[0014] The receiving device generates a local key of the receiving device by using the local unique code of the receiving device and the pre-established basic key in the energy storage cooperative control system;

[0015] The receiving device uses the local key and a pre-defined feature code polynomial to calculate and save the local feature code of the device for reliable message transmission.

[0016] Preferably, the sending device acquires the real-time data to be transmitted to the receiving device, and combines the device local feature code of the receiving device with the real-time data to obtain the verification code, which includes:

[0017] The sending device acquires the real-time data to be transmitted to the receiving device, and searches for the local device feature code of the receiving device from a pre-stored local device feature code table;

[0018] The sending device uses the local device feature code of the receiving device and the real-time data to perform combined processing to obtain a verification code.

[0019] Preferably, the sending device end fills the real-time data and the check code according to the message format to obtain the current transmission message with the real-time data and the check code, including:

[0020] The sending device side obtains a current transmission message with real-time data by filling the real-time data according to the message format;

[0021] The sending device end obtains the current transmission message with real-time data and the check code by filling the check code into the current transmission message with real-time data according to the predetermined position of the message.

[0022] Preferably, the receiving device end uses the current verification code and the extracted verification code to perform secure transmission verification on the current transmission message, including:

[0023] The receiving device compares the current verification code with the extracted verification code;

[0024] If the comparison results are consistent, the receiving device determines that the real-time data in the current transmission message is reliable and valid, and performs further processing on the real-time data in the current transmission message;

[0025] If the comparison result is inconsistent, the receiving device determines that the real-time data in the current transmission message is invalid, and discards the real-time data in the current transmission message.

[0026] According to a second aspect of an embodiment of this specification, there is provided an energy storage cooperative control system for implementing reliable message transmission, including:

[0027] A determination module, used for determining a sending device end for sending messages and a receiving device end for receiving messages among the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system when messages need to be transmitted between the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system;

[0028] The sending device end is used to obtain the real-time data to be transmitted to the receiving device end, and use the local device feature code of the receiving device end and the real-time data for combined processing to obtain a check code; and fill the real-time data and the check code with data according to the message format to obtain a current transmission message with real-time data and the check code, and send the current transmission message with real-time data and the check code to the receiving device end;

[0029] The receiving device end is used to parse the current transmission message, extract the real-time data and the check code from the current transmission message, and combine the pre-stored device local feature code and the extracted real-time data to obtain the current check code; and use the current check code and the extracted check code to verify the safe transmission of the current transmission message, so as to realize the reliable transmission and response of the energy storage cooperative control system.

[0030] Preferably, the receiving device end is also used to use the local unique code of its device to calculate and save the device local feature code used for reliable message transmission, and publish the device local feature code to each sending device end respectively, so that each sending device end can save the device local feature code of the receiving device end into the device local feature code table.

[0031] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0032] Memory and processor;

[0033] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the method for realizing reliable transmission of messages are implemented.

[0034] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the steps of the method for realizing reliable transmission of messages are implemented.

[0035] According to a fifth aspect of the embodiments of this specification, a computer program is provided, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned method for realizing reliable transmission of messages.

[0036] The method and system for realizing reliable message transmission provided by the present invention, when message transmission is required between multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system, a sending device end as a message sender and a receiving device end as a message receiver are determined among the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system; the sending device end obtains real-time data to be transmitted to the receiving device end, and combines and processes the real-time data using the local device feature code of the receiving device end to obtain a check code; the sending device end combines the real-time data and the check code according to the message format The data is filled in the row to obtain the current transmission message with real-time data and a check code, and the current transmission message with real-time data and a check code is sent to the receiving device end; the receiving device end parses the current transmission message, extracts the real-time data and the check code from the current transmission message, and combines and processes the pre-stored device local feature code and the extracted real-time data to obtain the current check code; the receiving device end uses the current check code and the extracted check code to verify the safe transmission of the current transmission message, so as to realize the reliable transmission and response of the energy storage cooperative control system. This method can resist possible anomalies in the network by adding feature codes to the sent messages and real-time parsing and verifying the feature codes of the received messages, so as to realize the reliable transmission and response of the coordinated control system messages. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 This is a flow chart of a method for implementing reliable message transmission provided by an embodiment of this specification;

[0038] Figure 2 It is a schematic diagram of an energy storage cooperative control system for realizing reliable message transmission provided by an embodiment of this specification;

[0039] Figure 3 This is a schematic diagram of verification code generation provided by an embodiment of this specification;

[0040] Figure 4 is a schematic diagram of an energy storage cooperative control system provided by an embodiment of this specification;

[0041] Figure 5 This is a flowchart of filling a check code and sending a data message on a sending device side provided by an embodiment of this specification;

[0042] Figure 6 This is a flow chart of receiving and checking data messages at a receiving device end provided by an embodiment of this specification;

[0043] Figure 7 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0044] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0045] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0046] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0047] The embodiment of this specification provides a flow chart of a method for realizing reliable transmission of messages, which can effectively solve the above problems. By using the method of big data and models, combined with historical data, after data cleaning, feature extraction, and model training, after obtaining the model, it can be combined with subsequent collected data to automatically and accurately predict the abnormal charging power of the battery during the charging process.

[0048] In this specification, a method and system for implementing reliable transmission of messages are provided. This specification also relates to a computing device, a computer-readable storage medium, and a computer program, which are described in detail one by one in the following embodiments.

[0049] Figure 1 A flow chart of a method for implementing reliable message transmission according to an embodiment of this specification is shown, including:

[0050] Step S1: when message transmission is required between multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system, determining a sending device end for sending messages and a receiving device end for receiving messages among the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system;

[0051] Furthermore, any co-control device and any PCS device can be used as both a transmitting device and a receiving device.

[0052] In the embodiment of this specification, after step S1, the method further includes:

[0053] The receiving device uses its device's local unique code to calculate and save the device's local feature code for reliable message transmission, and publishes the device's local feature code to each sending device, so that each sending device saves the receiving device's local feature code into a device's local feature code table.

[0054] In the embodiment of this specification, the receiving device uses the local unique code of its device to calculate and save the local feature code of the device for reliable message transmission, including:

[0055] The receiving device generates a local key of the receiving device by using the local unique code of the receiving device and the pre-established basic key in the energy storage cooperative control system;

[0056] The receiving device uses the local key and a pre-defined feature code polynomial to calculate and save the local feature code of the device for reliable message transmission.

[0057] In the embodiment of this specification, the cooperative control device and the PCS device in the energy storage cooperative control system communicate and control each other through messages. The system diagram is shown in FIG. Figure 4 As shown. Co-control 1 needs to receive messages from PCS1, PCS2, PCS3, Co-control 2, and Co-control m, and Co-control 1 needs to publish messages to PCS1, PCS3, Co-control 2, and Co-control m. Then Co-control 1 needs to publish the local feature code to PCS1, PCS2, PCS3, Co-control 2, and Co-control m to realize the check code processing in the message parsing and packet assembly process.

[0058] Step S2: the sending device acquires the real-time data to be transmitted to the receiving device, and combines the local device feature code of the receiving device with the real-time data to obtain a verification code;

[0059] In the embodiment of this specification, the step S2 includes:

[0060] The sending device acquires the real-time data to be transmitted to the receiving device, and searches for the local device feature code of the receiving device from a pre-stored local device feature code table;

[0061] The sending device uses the local device feature code of the receiving device and the real-time data to perform combined processing to obtain a verification code.

[0062] Furthermore, if Figure 3 As shown, the embodiment of this specification generates a local key based on the local unique code and the basic key, and the local key generates a local feature code through the feature code polynomial, and the local feature code has independent uniqueness. Among them, the example of the feature code polynomial (only as an example) is X16+X13+X12+X11+X10+X8+X6+X5+X2+1, and the local feature code and the message data are operated to generate a check code, which is used as a check code for sending and receiving messages, see the check code generation process diagram. The CRC32 polynomial x32+x26+x23+x22+x16+x12+x11+x10+x8+x7+x5+x4+x2+x+1 can be used to operate and generate a check code. The local unique code can use the local MAC address, or the DNA code of the SOC chip used by the co-control system, such as the local MAC address DC-65-73-A1-25-87, or other unique features of the local machine or their combination, such as the DNA code of the SOC chip (0x200C340680010A13). The DNA code of each SOC chip is unique. The basic key is a key formulated by a certain co-control system. This key must be stored securely and secretly. It can be a 256-bit or 128-bit agreed key string agreed by the co-control, that is, the basic password. Due to the independent uniqueness of the local unique code, the local key is also unique at the same time, and it is combined with the feature code polynomial to generate the local feature code. The message data sent or received in each frame is combined with the local feature code in real time to obtain the check code to realize the encrypted transmission of the message.

[0063] Step S3: the sending device side fills the real-time data and the check code according to the message format to obtain a current transmission message with the real-time data and the check code, and sends the current transmission message with the real-time data and the check code to the receiving device side;

[0064] In the embodiment of the present specification, the sending device end fills the real-time data and the check code according to the message format to obtain the current transmission message with the real-time data and the check code, including:

[0065] The sending device side obtains a current transmission message with real-time data by filling the real-time data according to the message format;

[0066] The sending device end obtains the current transmission message with real-time data and the check code by filling the check code into the current transmission message with real-time data according to the predetermined position of the message.

[0067] Step S4: the receiving device extracts real-time data and a check code from the current transmission message by parsing the current transmission message, and combines the extracted real-time data with its pre-stored device local feature code to obtain a current check code;

[0068] Step S5: The receiving device uses the current verification code and the extracted verification code to perform security transmission verification on the current transmission message to achieve reliable transmission and response of the energy storage cooperative control system.

[0069] In an embodiment of the present specification, the receiving device end uses the current verification code and the extracted verification code to perform secure transmission verification on the current transmission message, including:

[0070] The receiving device compares the current verification code with the extracted verification code;

[0071] If the comparison results are consistent, the receiving device determines that the real-time data in the current transmission message is reliable and valid, and performs further processing on the real-time data in the current transmission message;

[0072] If the comparison result is inconsistent, the receiving device determines that the real-time data in the current transmission message is invalid, and discards the real-time data in the current transmission message.

[0073] like Figure 5 As shown, the steps of adding a check code to the sent message by the sending device include:

[0074] Step S100: The logic processing unit of the energy storage coordination controller obtains the data to be sent and the local feature code.

[0075] Step S102: Following step S100, the logic processing unit of the energy storage coordination controller fills the data to be sent according to the message format.

[0076] Step S104: Following step S102, the logic processing unit of the energy storage coordination controller combines the data to be sent with the local feature code to calculate the current check code.

[0077] Step S106: Following step S104, the logic processing unit of the energy storage coordination controller fills the current verification code into the agreed position of the sent message.

[0078] Step S108: Following step S106, the logic processing unit of the energy storage coordination controller sends the message filled with the current verification code.

[0079] like Figure 6 As shown, the steps for the receiving device to determine whether the check codes in the received message are consistent include:

[0080] Step S200: The logic processing unit of the energy storage coordination controller parses the received message and synchronously reads the local feature code.

[0081] Step S202: Following step S200, the logic processing unit of the energy storage coordination controller extracts the real-time data in the parsed message.

[0082] Step S204: Following step S202, the logic processing unit of the energy storage coordination controller combines the parsed real-time data with the local feature code to calculate the current verification code.

[0083] Furthermore, the entire system will distribute the corresponding feature codes to the devices in need. For example, if device 1 wants to send a message to the local device, and both device 1 and device 2 receive the message sent by the local device, then the entire system will give the local feature code to device 1, and device 1 and device 2 will give their feature codes to the local device.

[0084] Step S206: Following step S204, the logic processing unit of the energy storage coordination controller will parse and extract the check code in the current message.

[0085] Step S208: Following step S206, the logic processing unit of the energy storage coordination controller determines whether the calculated current check code is consistent with the check code extracted from the message.

[0086] Step S210: Continuing from step S208, the logic processing unit of the energy storage coordination controller determines that if the check codes are consistent, the real-time data of the message is reliable and valid, and proceeds to the next step of processing. If the check codes are inconsistent, the current message data is discarded and the parsing process of the next frame of the message continues.

[0087] An embodiment of this specification proposes a method for realizing reliable transmission control of digital messages by an energy storage coordination controller, which realizes high-speed processing of message data based on the SOC platform, and completes the function of reliable coordination control by adding message keys and feature codes. Abnormal message impacts may occur in the coordinated control system network, and abnormal situations such as malicious message attacks may also occur. For example, messages that comply with subscription rules are maliciously published in the network, so that the receiving device will not be able to resist the attack. In response to possible abnormal message impacts or malicious message attacks in the coordinated control system, the embodiment of this specification adds feature codes to the sent messages and parses and verifies the feature codes of the received messages in real time to resist possible anomalies in the network and realize reliable transmission and response of coordinated control system messages. The embodiment of this specification uses the example of key processing of real-time data in messages to illustrate a method for realizing reliable coordination control, which is suitable for key processing of real-time data in messages but is not limited to real-time data in messages.

[0088] Corresponding to the above method embodiment, this specification also provides an energy storage cooperative control system embodiment for realizing reliable transmission of messages. Figure 2 A schematic diagram of an energy storage cooperative control system for implementing reliable message transmission according to an embodiment of this specification is shown. Figure 2 As shown, the energy storage cooperative control system includes:

[0089] The determination module 201 is used to determine a sending device end for sending messages and a receiving device end for receiving messages among the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system when messages need to be transmitted between the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system;

[0090] The sending device 202 is used to obtain the real-time data to be transmitted to the receiving device, and to combine and process the real-time data with the device local feature code of the receiving device to obtain a check code; and to fill the real-time data and the check code with data according to the message format to obtain a current transmission message with the real-time data and the check code, and to send the current transmission message with the real-time data and the check code to the receiving device;

[0091] The receiving device end 203 is used to parse the current transmission message, extract the real-time data and the check code from the current transmission message, and combine the pre-stored device local feature code and the extracted real-time data to obtain the current check code; and use the current check code and the extracted check code to verify the safe transmission of the current transmission message, so as to realize the reliable transmission and response of the energy storage cooperative control system.

[0092] In the embodiment of the present specification, the receiving device end 203 is also used to use the local unique code of its device to calculate and save the device local feature code used for reliable message transmission, and publish the device local feature code to each sending device end respectively, so that each sending device end can save the device local feature code of the receiving device end into the device local feature code table.

[0093] To summarize, the master control or sub-control device (i.e., the auxiliary control device or PCS device) transmits the check code currently calculated in real time in the message to be sent. At the same time, the master control or sub-control receives the message data and calculates the check code in real time, which is matched with the check code transmitted in the message. The data with consistent check is reliable data and is processed in the next step. The data with inconsistent check is discarded to achieve reliable control of the auxiliary control.

[0094] The above is a schematic scheme of an energy storage cooperative control system for realizing reliable message transmission of this embodiment. It should be noted that the technical scheme of the energy storage cooperative control system for realizing reliable message transmission and the technical scheme of the above-mentioned method for realizing reliable message transmission belong to the same concept, and the details of the technical scheme of the energy storage cooperative control system for realizing reliable message transmission that are not described in detail can all be referred to the description of the technical scheme of the above-mentioned method for realizing reliable message transmission.

[0095] Figure 7 The block diagram of a computing device 400 according to one embodiment of the present specification is shown. The components of the computing device 400 include but are not limited to a memory 410 and a processor 420. The processor 420 is connected to the memory 410 via a bus 430, and the database 450 is used to store data.

[0096] The computing device 400 also includes an access device 440 that enables the computing device 400 to communicate via one or more networks 460. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 440 may include one or more of any type of network interface (e.g., a network interface card (NIC)) wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0097] In one embodiment of the present specification, the above components of the computing device 400 and Figure 7 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 7 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0098] Computing device 400 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or PC. Computing device 400 may also be a mobile or stationary server.

[0099] The processor 420 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned method for realizing reliable transmission of messages.

[0100] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned method for realizing reliable transmission of messages belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned method for realizing reliable transmission of messages.

[0101] An embodiment of the present specification further provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned method for realizing reliable message transmission.

[0102] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned method for realizing reliable transmission of messages belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned method for realizing reliable transmission of messages.

[0103] An embodiment of the present specification further provides a computer program, wherein when the computer program is executed in a computer, the computer is caused to execute the steps of the above-mentioned method for realizing reliable transmission of messages.

[0104] The above is a schematic scheme of a computer program of this embodiment. It should be noted that the technical scheme of the computer program and the technical scheme of the method for realizing reliable transmission of messages are of the same concept, and the details not described in detail in the technical scheme of the computer program can be referred to the description of the technical scheme of the method for realizing reliable transmission of messages.

[0105] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0106] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0107] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0108] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0109] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can understand and use this specification well. This specification is limited only by the claims and their full scope and equivalents.

Claims

1. A method for realizing reliable message transmission, characterized in that: include: When message transmission is required between multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system, determine a sending device end for sending messages and a receiving device end for receiving messages among the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system; The sending device acquires the real-time data to be transmitted to the receiving device, and combines the local device feature code of the receiving device and the real-time data to obtain a verification code; The sending device end fills the real-time data and the check code according to the message format to obtain a current transmission message with the real-time data and the check code, and sends the current transmission message with the real-time data and the check code to the receiving device end; The receiving device extracts real-time data and a check code from the current transmission message by parsing the current transmission message, and combines the extracted real-time data with the pre-stored device local feature code to obtain a current check code; The receiving device uses the current check code and the extracted check code to perform secure transmission verification on the current transmission message to achieve reliable transmission and response of the energy storage cooperative control system.

2. The method according to claim 1, characterized in that Also includes: The receiving device uses its device's local unique code to calculate and save the device's local feature code for reliable message transmission, and publishes the device's local feature code to each sending device, so that each sending device saves the receiving device's local feature code into a device's local feature code table.

3. The method according to claim 2, characterized in that The receiving device uses the local unique code of the device to calculate and save the local feature code of the device for reliable message transmission, including: The receiving device generates a local key of the receiving device by using the local unique code of the receiving device and the pre-established basic key in the energy storage cooperative control system; The receiving device uses the local key and a pre-defined feature code polynomial to calculate and save the local feature code of the device for reliable message transmission.

4. The method according to claim 2, characterized in that: The sending device obtains the real-time data to be transmitted to the receiving device, and combines the local feature code of the receiving device with the real-time data to obtain a verification code including: The sending device acquires the real-time data to be transmitted to the receiving device, and searches for the local device feature code of the receiving device from a pre-stored local device feature code table; The sending device uses the local device feature code of the receiving device and the real-time data to perform combined processing to obtain a verification code.

5. The method according to claim 1, characterized in that The sending device end fills the real-time data and the check code with data according to the message format to obtain a current transmission message with real-time data and the check code, including: The sending device side obtains a current transmission message with real-time data by filling the real-time data according to the message format; The sending device end obtains the current transmission message with real-time data and the check code by filling the check code into the current transmission message with real-time data according to the predetermined position of the message.

6. The method according to claim 5, characterized in that The receiving device end performs secure transmission verification on the current transmission message by using the current verification code and the extracted verification code, including: The receiving device compares the current verification code with the extracted verification code; If the comparison results are consistent, the receiving device determines that the real-time data in the current transmission message is reliable and valid, and performs further processing on the real-time data in the current transmission message; If the comparison result is inconsistent, the receiving device determines that the real-time data in the current transmission message is invalid, and discards the real-time data in the current transmission message.

7. An energy storage cooperative control system for realizing reliable message transmission, characterized in that: include: A determination module, used for determining a sending device end for sending messages and a receiving device end for receiving messages among the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system when messages need to be transmitted between the multiple cooperative control devices and multiple PCS devices in the energy storage cooperative control system; The sending device is used to obtain the real-time data to be transmitted to the receiving device, and to combine and process the real-time data with the device local feature code of the receiving device to obtain a verification code; And by filling the real-time data and the check code according to the message format, a current transmission message with the real-time data and the check code is obtained, and the current transmission message with the real-time data and the check code is sent to the receiving device end; The receiving device end is used to parse the current transmission message, extract the real-time data and the check code from the current transmission message, and combine the pre-stored device local feature code and the extracted real-time data to obtain the current check code; and use the current check code and the extracted check code to verify the safe transmission of the current transmission message, so as to realize the reliable transmission and response of the energy storage cooperative control system.

8. The energy storage cooperative control system according to claim 7, characterized in that: The receiving device end is also used to use the local unique code of its device to calculate and save the device local feature code used for reliable message transmission, and publish the device local feature code to each sending device end respectively, so that each sending device end can save the device local feature code of the receiving device end into the device local feature code table.

9. A computing device comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of a method for realizing reliable transmission of messages as described in any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of a method for realizing reliable message transmission as described in any one of claims 1 to 6.