Control method of energy storage system, energy storage system and computer readable storage medium
By introducing resource pools to manage and forwarding resource information of functional modules in the energy storage system, the problem of excessive storage space caused by resource information acquisition in the energy storage system is solved, reducing the operating burden and improving security.
Patent Information
- Application Number
- CN202411352130.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-25
- Publication Date
- 2025-01-14
AI Technical Summary
Due to the lack of an adapted database in the energy storage system, each module obtains resource information through timed query, and requires a large storage space to be reserved, which increases the operating burden of the system.
By introducing a resource pool in the energy storage system, the resource information and resource encoding of the functional module are obtained, stored and registered in the resource pool, and the size and content of the target information are determined from the resource pool according to the resource information acquisition instructions of the target module, and sent to Target module, reducing storage space reservation.
It solves the problem of excessive storage space caused by the target module's inability to predict the size of resource information, reduces the operating burden of the energy storage system, and improves the security of the system.
Smart Images

Figure CN119311410A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and more specifically, to a control method for an energy storage system, an energy storage system, and a computer-readable storage medium. Background Art
[0002] At present, in order to reduce costs, relevant personnel usually use relatively low-end micro-control units as the central processor of energy storage systems when establishing energy storage systems, which makes the energy storage systems lack an adapted database. Therefore, each module in the system obtains the resource information it needs through regular queries. However, since each module in the system is usually produced by different manufacturers, this method of obtaining resource information requires an estimated storage space required for resource information. Each module needs to reserve a large storage space, which increases the operating burden of the energy storage system. Summary of the invention
[0003] Embodiments of the present application provide a control method for an energy storage system, an energy storage system, and a computer-readable storage medium.
[0004] The control method of the energy storage system of the implementation mode of the present application includes: obtaining the resource information of the functional module and the resource code corresponding to the resource information; storing and registering the resource information and the resource code to the resource pool; determining the first target information from the resource information stored in the resource pool according to the first resource information acquisition instruction sent by the target module; sending the size of the first target information to the target module; and sending the first target information to the target module and storing it.
[0005] The energy storage system of the embodiment of the present application includes a resource pool and a functional module, wherein the resource pool is used to: obtain resource information of the functional module and a resource code corresponding to the resource information; store and register the resource information and the resource code to the resource pool; determine first target information from the resource information stored in the resource pool according to a first resource information acquisition instruction sent by a target module; send the size of the first target information to the target module; and send the first target information to the target module and store it.
[0006] The computer-readable storage medium of the embodiment of the present application stores a computer program thereon, and when the program is executed by a processor, it implements the following energy storage system control method: obtaining resource information of the functional module and resource coding corresponding to the resource information; storing and registering the resource information and the resource coding to the resource pool; determining first target information from the resource information stored in the resource pool according to a first resource information acquisition instruction sent by a target module; sending the size of the first target information to the target module; and sending the first target information to the target module and storing it.
[0007] In the control method of the energy storage system, the energy storage system and the computer-readable storage medium provided by the present application, the resource information of the functional module and the resource code corresponding to the resource information are read to store and register the resource information of the functional module and the resource code corresponding to the resource information in the resource pool, and then according to the first resource information acquisition instruction, the first target information is determined from the resource information stored in the resource pool, and the resource pool is controlled to send the size of the space occupied by the first target information and the first target information to the target module in sequence. In the present application, when the target module in the energy storage system needs to obtain the target resource information, the resource pool sends the size of the space occupied by the target information and the target information to the target module according to the first resource information acquisition instruction sent by the module that needs to obtain the target resource information, thereby solving the problem that the target module must reserve a large storage space because it cannot predict the size of the target information, and reducing the operating burden of the energy storage system.
[0008] Additional aspects and advantages of the embodiments of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the embodiments of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0010] Figure 1 is a flow chart of a control method of an energy storage system in some embodiments of the present application;
[0011] Figure 2 is a schematic diagram of the structure of an energy storage system in some embodiments of the present application;
[0012] Figure 3 It is a schematic diagram of the structure of the energy storage system of other embodiments of the present application;
[0013] Figure 4 is a schematic diagram of the structure of an energy storage system according to some other embodiments of the present application;
[0014] Figure 5 is a flow chart of a control method for an energy storage system according to other embodiments of the present application;
[0015] Figure 6 It is a schematic diagram of the structure of the resource pool of some implementation modes of the present application;
[0016] Figure 7 It is a flow chart of storing and registering resource information and resource coding into a resource pool in a control method of an energy storage system in certain embodiments of the present application;
[0017] Figure 8 It is a flow chart of determining first target information from resource information stored in a resource pool according to a first resource information acquisition instruction sent by a target module in a control method of an energy storage system in certain embodiments of the present application;
[0018] Fig. 9 is a flow chart of a control method of an energy storage system according to some other embodiments of the present application;
[0019] Fig.10 It is a schematic diagram of a subscription and publishing process of a resource pool in certain implementation modes of the present application;
[0020] Fig.11 It is a schematic diagram of the connection status of a computer-readable storage medium and a processor in certain embodiments of the present application.
[0021] Description of main component symbols:
[0022] Energy storage system 10;
[0023] Resource pool 11; Function module 12;
[0024] The first type of module 121; the second type of module 122; the third type of module 123;
[0025] Analysis module 13; Data collection module 14;
[0026] Server 21; Terminal 22;
[0027] Processor 30;
[0028] Computer readable storage medium 200 ; computer program 202 . DETAILED DESCRIPTION
[0029] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the embodiments of the present application, and cannot be understood as limiting the embodiments of the present application.
[0030] At present, the requirements of the energy storage system for the central processing unit and system configuration are not high. In order to reduce costs, relevant personnel usually use relatively low-end micro control units as the central processing unit of the energy storage system when establishing the energy storage system, which makes the energy storage system unable to support the operation of the database. Since the energy storage system lacks an adaptive database, each module in the energy storage system obtains the resource information it needs through timed queries. However, since the modules in the system are usually produced by different manufacturers, this method of obtaining resource information requires an estimate of the storage space required for the resource information. Each module needs to reserve a large storage space, which increases the operating burden of the energy storage system. How to solve the problem of excessive operating burden of the energy storage system due to the need to reserve a large storage space has become a difficult problem that technicians in this field urgently need to solve. To solve this problem, the present application provides a control method for an energy storage system (such as Figure 1 , Figure 4 and Figure 8 As shown), energy storage system (such as Figure 2 and Figure 3 ) and computer readable storage medium 200 (as shown Fig. 9 shown).
[0031] See also Figure 1 and Figure 2 The energy storage system 10 includes a resource pool 11 and a functional module 12. The control method of the energy storage system according to the embodiment of the present application includes:
[0032] 02: Obtain resource information of the functional module 12 and the resource code corresponding to the resource information;
[0033] 03: store and register resource information and resource codes in resource pool 11;
[0034] 041: determining first target information from resource information stored in the resource pool 11 according to a first resource information acquisition instruction sent by the target module;
[0035] 05: Send the size of the first target information to the target module; and
[0036] 06: Send the first target information to the target module and store it.
[0037] The control method of the energy storage system described above can be applied to the energy storage system 10. The energy storage system 10 of the embodiment of the present application includes a resource pool 11 and a functional module 12. The resource pool 11 is used to obtain resource information of the functional module 12 and a resource code corresponding to the resource information; it is also used to store and register the resource information and the resource code to the resource pool 11; it is also used to determine the first target information from the resource information stored in the resource pool 11 according to the first resource information acquisition instruction sent by the target module; it is also used to send the size of the first target information to the target module; and it is also used to send the first target information to the target module and store it.
[0038] Steps 02, 03, 041, 05, and 06 are all executed by the resource pool 11. In various systems, resources include data, hardware parameters, hardware status, and control methods. In the present application, resources include data of the functional module 12 of the energy storage system, hardware parameters of the functional module 12, hardware status of the functional module 12, and operation methods of the functional module 12. For example, the functional module 12 is a module used to support the normal operation of the energy storage system 10, including but not limited to an energy management module (EMS), a battery management module (BMS), an energy storage system protocol processing module (protocol), a battery module (BAT), an Internet of Things module (IOT), a charging pile module, an intelligent metering module, and an energy storage converter module (PCS). For details, please refer to the resource type schematic table, that is, Table 1 below:
[0039] Table 1 Resource type diagram
[0040]
[0041] As can be seen from Table 1, except for the energy storage system protocol processing module and the intelligent metering module, the other functional modules 12 all store the above four types of resources, namely data, hardware parameters, hardware status and control methods. Since different functional modules 12 are usually produced by different manufacturers, the interaction performance between the functional modules 12 is poor. If resource information interaction is required between the functional modules 12, for example, when the battery management module needs to send part of the data to the energy management module, the energy management module needs to reserve a larger storage space first to prevent the inability to receive the resource information sent by the battery management module due to insufficient storage space. However, this "larger storage space" is usually much larger than the space actually occupied by the "partial data" transmitted by the battery management module, which will increase the operating burden of the energy storage system 10. For this reason, the present application adds a resource pool 11 to the energy storage system 10.
[0042] On the one hand, the resource pool 11 is used as a transfer station for resource information interaction of the functional modules 12 in the energy storage system 10. For example, if the battery management module needs to send part of the data to the energy management module, the resource pool 11 will serve as a transfer station for the above-mentioned "partial data", receive the resources sent by the battery management module and store them, and then send the size of the space occupied by the resource information and the resources themselves to the energy management module, thereby solving the problem that the energy management module must reserve a large storage space because it cannot predict the size of the "partial data", and reducing the operating burden of the energy storage system 10. On the other hand, if there is no resource pool 11 in the energy storage system 10, in order to enable resource information interaction between the functional modules 12, each functional module 12 has the authority to access and modify the resource information of other functional modules 12, and the risk of the resource information in the functional module 12 being maliciously tampered with is high. In this application, after the resource pool 11 is added to the energy storage system 10, each functional module 12 no longer has the authority to access or modify the resource information in other functional modules 12, which increases the security of the energy storage system 10.
[0043] More specifically, in step 02, the resource code is a string of codes obtained after processing the resource information to be sent according to a preset resource information labeling method. The role of the resource code is similar to that of an ID card number and is used to represent the resource information. In the present application, the resource code includes the module type to which the resource information belongs, the resource information value type, the resource information operation authority, the resource information category, and the same resource information serial number, wherein the resource information value type includes natural numbers, strings, and English letters, etc., the resource information operation authority includes read-only, write-only, and read-write, etc., the resource information category includes current, voltage, and temperature, etc., and regarding the same resource information serial number, for example, the type of three-phase voltage is voltage. In order to distinguish the three-phase voltage from each other, each phase voltage should be marked with a different serial number. This serial number is the same resource information serial number of the three-phase voltage. In step 03, the resource pool 11 stores and registers the resource information and resource code into the resource pool 11, so that other functional modules 12 can use the resource information stored in the resource pool 11. In the subsequent steps, the target module refers to a module in the functional module 12 that needs to obtain resource information from the resource pool 11. When the target module needs to obtain resource information, it will send a first resource information acquisition instruction to the resource pool 11. The resource pool 11 determines the first target information from the resource information stored in the resource pool 11 according to the first resource information acquisition instruction, and sends the size of the first target information and the first target information to the target module in turn.
[0044] In certain embodiments, see Figure 2 , Figure 3 and Figure 5, the resource code includes a first resource code, the function module 12 includes a first type module 121, and the control method of the energy storage system further includes:
[0045] 011: using the parsing module 13 to read the resource information of the first type module 121;
[0046] 012: parsing resource information of the first type module 121;
[0047] 013: labeling the parsed resource information of the first type module 121 to obtain a first resource code corresponding to the resource information of the first type module 121;
[0048] 02: Obtain resource information of the functional module 12 and the resource code corresponding to the resource information, including: 021: Obtain the parsed resource information and the first resource code of the first type functional module 121.
[0049] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: use the parsing module 13 to read the resource information of the first-category module 121; parse the resource information of the first-category module 121; label the parsed resource information of the first-category module 121 to obtain a first resource code corresponding to the resource information of the first-category module 121; and obtain the parsed resource information and the first resource code of the first-category module 121.
[0050] For details, please refer to Figure 3 and Figure 4 ,The resource producer refers to a module that provides resource information to the resource pool 11, for example Figure 3 The parsing module 13 and the data acquisition module 14 in the energy storage system 10 enable resource producers to "register" resource information with the resource pool 11 and send the updated resource information to the resource pool 11 when the resource information in the modules in the energy storage system 10 is updated, i.e., the resource information is stored. Resource consumers refer to the actual users of resource information, such as Figure 3 The resource server refers to the module that provides actual resource information for the resource pool 11, such as Figure 3 The first type of modules 121 and the second type of modules 122 are different from resource producers in that the resource service provider itself needs to be able to provide resource information for the resource pool 11, while the resource producer can obtain resource information from the resource service provider and send the resource information obtained from the resource service provider to the resource pool 11.
[0051] Specifically, the first type of module 121 is a functional module that needs to use a preset communication protocol to interact with resource information. In the present application, the first type of module 121 includes an Internet of Things module, an inverter module, and a charging pile module, etc. The preset communication protocols include I2C, SPI, UART, CAN, and network communication protocols, etc. In steps 011 and 012, the resource pool 11 uses the parsing module 13 to use the preset communication protocol to read the resource information in the first type of module 121, and parses the resource information in the first type of module 121 based on the preset communication protocol. In step 013, the resource pool 11 will label the resource information in the parsed first-class module 121. More specifically, labeling refers to the process of obtaining resource codes according to resource information through a preset resource information labeling table. In this application, the resource code includes the module type, the resource information value type, the resource information operation authority, the resource information type, and the same type of resource information serial number, wherein the resource information value type includes natural numbers, strings, and English letters, etc., the resource information operation authority includes read-only, write-only, and read-write, etc., the resource information type includes current, voltage, and temperature, etc. Regarding the same type of resource information serial number, taking three-phase voltage as an example, if the resource information is the value of the three-phase voltage, the resource information type is voltage, because in order to distinguish each phase voltage from each other, each phase voltage must be marked with a different serial number. The module type can represent the hardware parameters of the functional module 12, and the resource information value type, resource information type, and the same type of resource information serial number are all used to represent the data in the resources of the functional module 12.
[0052] In certain embodiments, see Figure 2 , Figure 3 and Figure 5 , the functional module 12 includes a second type module 122, and the control method of the energy storage system further includes:
[0053] 015: Using the data acquisition module 14 to read the resource information of the second type module 122;
[0054] 016: labeling the resource information of the second type module 122 to obtain a second resource code corresponding to the resource information of the second type module 122;
[0055] 02: Obtain resource information of the functional module 12 and the resource code corresponding to the resource information, including: 022: Obtain resource information of the second type module 122 and the second resource code.
[0056] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: use the data acquisition module 14 to read the resource information of the second type module 122; label the resource information of the second type module 122 to obtain a second resource code corresponding to the resource information of the second type module 122; and obtain the resource information and the second resource code of the second type module 122.
[0057] Specifically, the second type module 122 is a functional module 12 that does not need to use a preset communication protocol to interact with resource information. In the present application, the second type module 122 includes a battery module and an intelligent metering module, etc. Since the data in the second type module 122 can be directly read without parsing according to the communication protocol, in step 015 and step 016, the resource pool 11 uses the data acquisition module 14 to collect resource information in the second type module 122, for example, collecting data such as current, voltage, and temperature of the battery module and the intelligent metering module or software and hardware version information. After the data acquisition module 14 completes resource acquisition, the resource pool 11 will label the collected resource information of the second type module 122. More specifically, the principle of labeling is the same as the previous text and will not be repeated here.
[0058] In certain embodiments, see Figure 2 , Figure 3 and Figure 5 , the functional module 12 includes a third type module 123, and the control method of the energy storage system further includes:
[0059] 018: The third type module 123 performs labeling processing on its own resource information to obtain a third resource code corresponding to the resource information of the third type module 123;
[0060] 02: Obtain resource information of the functional module 12 and the resource code corresponding to the resource information, including: 023: Read the resource information and the third resource code of the third type module 123.
[0061] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: use the third type module 123 to label the resource information of the third type module 123 to obtain a third resource code corresponding to the resource information of the third type module 123; and read the resource information and the third resource code of the third type module 123.
[0062] Specifically, the third type module 123 is a functional module inside the energy storage system 10 and can directly interact with the resource pool 11 for resource information. In the present application, the third type module 123 includes EMS, BMS, and protocol, etc. It can be understood that EMS, BMS, and protocol are all essential core functional modules 12 in the energy storage system 10. The first type module 121 and the second type module 122 are usually external modules of the energy storage system 10. Therefore, the third type module 123 is different from the first type module 121 and the second type module 122. The third type module 123 can directly interact with the resource pool 11 for resource information. The resource pool 11 obtains the resource information in the third type module 123 and performs label processing on the resource information in the third type module 123. More specifically, the principle of label processing is the same as the previous text and will not be repeated here.
[0063] See also Figure 2 , Figure 3 , Figure 6 and Figure 7 In some implementations, 03: storing and registering resource information and resource encoding in resource pool 11, including:
[0064] 031: storing resource information and resource codes in resource pool 11; and
[0065] 033: Associate resource codes with resource information to obtain a resource information query table.
[0066] The above energy storage system control method can be applied to the energy storage system 10, and the resource pool 11 is further used to: store resource information and resource codes; and associate resource codes with resource information to obtain a resource information query table.
[0067] Specifically, Figure 6 The upper middle part is the component information column inside the resource pool 11, which is mainly composed of the identification codes of the functional modules 12 of the energy storage system 10. Each functional module 12 corresponds to its own resource information query table, and the resource information query table contains at least one resource code. In the storage process of resource information and resource codes, the resource pool 11 first stores the resource information and resource codes, and then "registers" the resource information, that is, generates a resource information query table based on the correspondence between the resource code and the resource information.
[0068] See also Figure 2 , Figure 3 and Figure 8 In some implementations, the first resource information acquisition instruction includes a target code. 041: determining the first target information from the resource information stored in the resource pool 11 according to the first resource information acquisition instruction sent by the target module, including:
[0069] 0411: Determine whether the target code sent by the target module is valid according to the preset code range; and
[0070] 0413: When the target code sent by the target module is valid, according to the first resource information acquisition instruction of the target code, the resource information query table is traversed and searched to determine the target information.
[0071] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: determine whether the target code sent by the target module is valid according to a preset coding range; and when the target code sent by the target module is valid, obtain the first resource information instruction according to the target code, traverse and retrieve the resource information query table to determine the target information.
[0072] Specifically, the resource code has a preset coding range. The resource pool 11 needs to first determine whether the target code sent by the target module is valid based on the preset coding range. Then, when the target code sent by the target module is valid, the target code in the first resource information acquisition instruction of the target code is obtained, and a traversal retrieval algorithm is used to traverse and search the resource information query table, and the resource code consistent with the target code is retrieved from the resource information query table, thereby determining that the resource information corresponding to the resource code is the target information.
[0073] Please combine Figure 2 , Figure 3 and Figure 8 In some implementations, 0411: determining whether the target code sent by the target module is valid according to a preset code range includes:
[0074] 04111: when the target code is within a preset code range, determining that the target code sent by the target module is valid; and
[0075] 04113: When the target code is outside the preset code range, it is determined that the target code sent by the target module is invalid.
[0076] The control method of the above energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: when the target code is within the preset coding range, determine that the target code sent by the target module is valid; and when the target code is outside the preset coding range, determine that the target code sent by the target module is invalid.
[0077] More specifically, the resource code has a preset coding range. The resource pool 11 needs to first determine whether the target code sent by the target module is valid based on the preset coding range. Taking the resource information operation permission in the resource code as an example, the resource information operation permission includes read-only, write-only, and read-write. In this application, 0 is used to indicate that the resource information operation permission is read-only, 1 is used to indicate that the resource information operation permission is write-only, and 2 is used to indicate that the resource information operation permission is read-write. If other numbers appear in the position representing the resource information operation permission in the target code, it is determined that the target code sent by the target module is invalid. Otherwise, it is determined that the target code sent by the target module is valid.
[0078] See also Figure 2 , Figure 3 , Figure 5 and Fig.10 In some embodiments, the functional module 12 includes a subscription module and a publishing module, and the control method of the energy storage system further includes:
[0079] 071: receiving a publishing instruction sent by a publishing module, wherein the publishing instruction includes a publishing code and resource information to be published by the publishing module, and the publishing code corresponds to the resource information to be published by the publishing module;
[0080] 073: Create a resource publishing table according to the publishing code, and update the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module;
[0081] 075: Receive the subscription instruction sent by the subscription module, which contains the subscription code;
[0082] 077: When the subscription code is the same as the publishing code, the resource information corresponding to the publishing code is sent to the subscription module.
[0083] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: receive a publishing instruction sent by a publishing module, the publishing instruction includes a publishing code and resource information to be published by the publishing module, and the publishing code corresponds to the resource information to be published by the publishing module; establish a resource publishing table according to the publishing code, and update the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module; receive a subscription instruction sent by a subscription module, the subscription instruction includes a subscription code; when the subscription code is the same as the publishing code, send the resource information corresponding to the publishing code to the subscription module.
[0084] It can be understood that the publishing module refers to a module that sends its updated resource information to the resource pool 11 from time to time, and the publishing instruction refers to an instruction sent by the publishing module to the resource pool 11 when the resource information needs to be updated. The subscription module refers to a module that reserves certain resource information from the resource pool 11. When the reserved resource information is updated, it will be sent to the subscription module by the resource pool 11. If a real-time push mechanism when resources change is not added to the energy storage system 10, that is, a subscription function, the changes in resource information cannot be pushed to the functional module 12 that needs to obtain resource information in a timely manner. Specifically, in step 071 and step 073, the resource pool 11 receives a publishing instruction containing a publishing code and resource information to be published by the publishing module, and establishes a resource publishing table according to the corresponding relationship between the publishing code and the resource information to be published by the publishing module, and updates the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module. More specifically, on the one hand, the module type in the resource code can represent the hardware parameters of the functional module 12, and the resource information value type, resource information type, and resource information sequence number of the same type are all used to represent the data in the resources of the functional module 12. On the other hand, when the resource information of the publishing module changes, the changed resource information will be sent to the resource pool 11. However, compared with the resource information after the change, the module type, resource information value type, resource information operation authority, resource information type, and the serial number of the same type of resource information will not change. The change of resource information is usually the change of the data value, hardware status and operation method. Therefore, the change of resource information will not affect the resource code, which ensures that the resource pool 11 can update the resource information corresponding to the publishing code in the resource pool 11 according to the publishing code, and there will be no situation where the publishing code changes due to the change of resource information. In step 075 and step 077, when the resource information to be published by the publishing module is subscribed by the subscription module, the resource pool 11 receives the subscription instruction sent by the subscription module, and traverses and searches the resource publishing table according to the subscription code in the subscription instruction, determines the publishing code consistent with the subscription code, and sends the resource information corresponding to the publishing code to the subscription module.
[0085] Please combine Figure 3 In some embodiments, after the subscription module sends a subscription instruction, the subscription module enters a blocking mode, in which the subscription module is dormant. When the publishing module sends a publishing instruction and the subscription code is the same as the publishing code, the subscription module exits the blocking mode.
[0086] It is understandable that, for the sake of energy-saving operation of the energy storage system 10, if the publishing module does not send a publishing instruction, or the subscription code is different from the publishing code, it means that there is currently no resource information that needs to be obtained by the subscription module. The subscription module can enter a blocking mode, that is, maintain a dormant state and operate at low energy consumption to reduce the operating energy consumption of the energy storage system 10.
[0087] See also Figure 2 , Figure 3 , Figure 5 and Fig.10 In some embodiments, the control method of the energy storage system further includes:
[0088] 076: Control the resource pool 11 to send the size of the resource information corresponding to the publishing code to the subscription module.
[0089] The above-mentioned energy storage system control method can be applied to the energy storage system 10, and the resource pool 11 is further used to: control the resource pool 11 to send the size of resource information corresponding to the publishing code to the subscription module.
[0090] It is understandable that before sending the resource information corresponding to the publishing code to the subscription module, the resource pool 11 also needs to send the size of the resource information corresponding to the publishing code to the subscription module, thereby ensuring that the subscription module does not need to reserve too much storage space, thereby ensuring the efficient operation of the energy storage system 10.
[0091] See also Figure 2 , Figure 3 and Fig. 9 In some embodiments, the energy storage system 10 includes a server 21 and / or a terminal 22, and the control method of the energy storage system further includes:
[0092] 042: determining first target information from resource information stored in the resource pool 11 according to a first resource information acquisition instruction sent by the server 21 and / or the terminal 22;
[0093] 08: Control the resource pool 11 to send the size of the first target information to the server 21 and / or the terminal 22; and
[0094] 09: Control the resource pool 11 to send the first target information to the server 21 and / or the terminal 22 and store it.
[0095] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is used to: determine the first target information from the resource information stored in the resource pool 11 according to the first resource information acquisition instruction sent by the server 21 and / or the terminal 22; control the resource pool 11 to send the size of the first target information to the server 21 and / or the terminal 22; and control the resource pool 11 to send the first target information to the server 21 and / or the terminal 22 and store it.
[0096] Specifically, the server 21 and the terminal 22 both refer to devices that need to obtain resource information from the resource pool 11, usually a cloud platform and an APP on a user's handheld terminal, etc. The user can query and subscribe to the energy storage system resource information through the server 21, the terminal 22, or the server 21 and the terminal 22. When the server 21, the terminal 22, or the server 21 and the terminal 22 need to obtain resource information, they will send a first resource information acquisition instruction to the resource pool 11. The resource pool 11 determines the first target information from the resource information stored in the resource pool 11 according to the first resource information acquisition instruction, and sends the size of the first target information and the first target information to the server 21, the terminal 22, or the server 21 and the terminal 22 in turn.
[0097] See also Figure 2 , Figure 3 and Fig. 9 In some embodiments, the energy storage system 10 further interacts with the server 21 and / or the terminal 22, the server 21 and / or the terminal 22 includes a subscription device, the functional module includes a publishing module, and the control method of the energy storage system further includes:
[0098] 081: receiving a publishing instruction sent by a publishing module, wherein the publishing instruction includes a publishing code and resource information to be published by the publishing module, and the publishing code corresponds to the resource information to be published by the publishing module;
[0099] 083: Create a resource publishing table according to the publishing code, and update the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module;
[0100] 085: Receive the subscription instruction sent by the subscription device, which contains the subscription code;
[0101] 087: When the subscription code is the same as the publishing code, the resource information corresponding to the publishing code is sent to the subscribing device.
[0102] The control method of the above-mentioned energy storage system can be applied to the energy storage system 10, and the resource pool 11 is also used to: receive a publishing instruction sent by a publishing module, the publishing instruction includes a publishing code and resource information to be published by the publishing module, and the publishing code corresponds to the resource information to be published by the publishing module; establish a resource publishing table according to the publishing code, and update the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module; receive a subscription instruction sent by a subscription device, the subscription instruction includes a subscription code; when the subscription code is the same as the publishing code, send the resource information corresponding to the publishing code to the subscription device.
[0103] It is understandable that if a real-time push mechanism for resource changes, i.e., a subscription function, is not added to the energy storage system 10, changes in resource information cannot be pushed to the server 21, terminal 22, or server 21 and terminal 22 that need to obtain resource information in a timely manner. Specifically, in step 081 and step 083, the resource pool 11 receives a release instruction containing a release code and resource information to be released by the release module, and establishes a resource release table based on the correspondence between the release code and the resource information to be released by the release module, and updates the resource information corresponding to the release code in the resource pool based on the resource information to be released by the release module. More specifically, on the one hand, the module type in the resource code can represent the hardware parameters of the functional module 12, and the resource information value type, resource information type, and resource information serial number of the same type are all used to represent the data in the resources of the functional module 12. On the other hand, when the resource information of the publishing module changes, the changed resource information will be sent to the resource pool 11. However, compared with the resource information after the change, the module type, resource information value type, resource information operation authority, resource information type, and the serial number of the same type of resource information will not change. The change of resource information is usually the change of the data value, hardware status and operation method. Therefore, the change of resource information will not affect the resource code, which ensures that the resource pool 11 can update the resource information corresponding to the publishing code in the resource pool 11 according to the publishing code, and the situation that the publishing code changes due to the change of resource information will not occur. In step 085 and step 087, when the resource information to be published by the publishing module is subscribed by the subscribing device, the resource pool 11 receives the subscription instruction sent by the subscribing device, and traverses and searches the resource publishing table according to the subscription code in the subscription instruction, determines the publishing code consistent with the subscription code, and sends the resource information corresponding to the publishing code to the subscribing device.
[0104] See also Figure 3 In some embodiments, the functional module 12 includes: any one or any combination of energy management module, battery management module, energy storage system protocol processing module, battery module, Internet of Things module, charging pile module, smart metering module and energy storage conversion module; the target module includes: any one or any combination of energy management module, battery management module, energy storage system protocol processing module, battery module, Internet of Things module, charging pile module, smart metering module and energy storage conversion module. The server 21 includes a cloud platform, and the terminal 22 includes an application and a communication stick.
[0105] In some embodiments, the energy storage system 10 can be a household energy storage system or a balcony photovoltaic energy storage system. Among them, the household energy storage power supply system is usually relatively large, its position after installation is relatively fixed and cannot be moved, the power capacity is relatively large, and the power provided is relatively large. The balcony photovoltaic energy storage system is relatively small, easy to carry and move, and can be moved according to the user's power demand, such as from the balcony to the garage or even outdoors. At the same time, the capacity of the balcony photovoltaic energy storage system is relatively small, and the power provided is also relatively small.
[0106] In summary, in the control method of the energy storage system of the present application, the resource information of the functional module 12 and the resource code corresponding to the resource information are read to store and register the resource information of the functional module 12 and the resource code corresponding to the resource information in the resource pool 11, and then according to the first resource information acquisition instruction, the first target information is determined from the resource information stored in the resource pool 11, and the resource pool 11 is controlled to send the size of the space occupied by the first target information and the first target information to the target module in sequence. In the present application, when the target module in the energy storage system 10 needs to obtain the target resource information, the resource pool 11 sends the size of the space occupied by the target information and the target information to the target module according to the first resource information acquisition instruction sent by the module that needs to obtain the target resource information, thereby solving the problem that the target module must reserve a large storage space because it cannot predict the size of the target information, and reducing the operating burden of the energy storage system 10.
[0107] See also Figure 2 and Fig.11 In some embodiments, the present application further provides a computer-readable storage medium 200 on which a computer program 202 is stored, and when the program is executed by a processor, the method in any of the above embodiments is implemented.
[0108] For example, when the computer program 202 is executed by the processor 30, the following method is implemented:
[0109] 02: Obtain resource information of the functional module 12 and the resource code corresponding to the resource information;
[0110] 03: store and register resource information and resource codes in resource pool 11;
[0111] 041: determining first target information from resource information stored in the resource pool 11 according to a first resource information acquisition instruction sent by the target module;
[0112] 05: Send the size of the first target information to the target module; and
[0113] 06: Send the first target information to the target module and store it.
[0114] For another example, when the computer program 202 is executed by the processor 30, the following method is implemented:
[0115] 011: Use the parsing module to read the resource information of the first type of module;
[0116] 012: Parse the resource information of the first type of module;
[0117] 013: labeling the parsed resource information of the first type of module to obtain a first resource code corresponding to the resource information of the first type of module;
[0118] 02: Obtain resource information of the functional module and the resource code corresponding to the resource information, including: 021: Obtain the parsed resource information of the first type of functional module and the first resource code.
[0119] For another example, when computer program 202 is executed by processor 30, it can also implement the methods in 015, 016, 018, 022, 023, 031, 033, 0411, 04111, 04113, 0413, 042, 071, 073, 075, 076, 077, 081, 083, 085, 086 and 087.
[0120] In the computer-readable storage medium 200 in the present application, the resource information of the functional module 12 and the resource code corresponding to the resource information are read to store and register the resource information of the functional module 12 and the resource code corresponding to the resource information to the resource pool 11, and then according to the first resource information acquisition instruction, the first target information is determined from the resource information stored in the resource pool 11, and the resource pool 11 is controlled to send the size of the space occupied by the first target information and the first target information to the target module in sequence. In the present application, when the target module in the energy storage system 10 needs to obtain the target resource information, the resource pool 11 sends the size of the space occupied by the target information and the target information to the target module according to the first resource information acquisition instruction sent by the module that needs to obtain the target resource information, thereby solving the problem that the target module must reserve a large storage space because it cannot predict the size of the target information, and reducing the operating burden of the energy storage system 10.
[0121] In the description of this specification, the descriptions with reference to the terms "certain embodiments", "in an example", "exemplarily", etc., mean that the specific features, structures, materials or characteristics described in conjunction with the embodiments or examples are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0122] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0123] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A control method for an energy storage system, characterized in that: The energy storage system includes a resource pool and a functional module, and the control method includes: Acquire resource information of the functional module and resource code corresponding to the resource information; The resource information and the resource code are stored and registered in the resource pool; Determine first target information from the resource information stored in the resource pool according to the first resource information acquisition instruction sent by the target module; Sending the size of the first target information to the target module; and The first target information is sent to the target module and stored.
2. The control method according to claim 1, characterized in that: The resource code includes a first resource code, and the functional module includes a first type module; before obtaining the resource information of the functional module and the resource code corresponding to the resource information, the method further includes: Using the parsing module to read the resource information of the first type of modules; Parsing resource information of the first type of modules; performing labeling processing on the parsed resource information of the first type of modules to obtain a first resource code corresponding to the resource information of the first type of modules; and The acquiring of the resource information of the functional module and the resource code corresponding to the resource information includes: acquiring the parsed resource information of the first type of module and the first resource code.
3. The control method according to claim 1, characterized in that: The functional module includes a second type of module; before obtaining the resource information of the functional module and the resource code corresponding to the resource information, it also includes: Using the data acquisition module to read the resource information of the second type of modules; labeling the resource information of the second type of modules to obtain a second resource code corresponding to the resource information of the second type of modules; and The acquiring of the resource information of the functional module and the resource code corresponding to the resource information includes: acquiring the resource information of the second type module and the second resource code.
4. The control method according to claim 1, characterized in that: The functional module includes a third type of module; before obtaining the resource information of the functional module and the resource code corresponding to the resource information, it also includes: The third type module performs labeling processing on its own resource information to obtain a third resource code corresponding to the resource information of the third type module; and The acquiring of the resource information of the functional module and the resource code corresponding to the resource information includes: reading the resource information of the third type module and the third resource code.
5. The control method according to claim 1, characterized in that: The storing and registering the resource information and the resource code in the resource pool includes: storing the resource information and the resource code in the resource pool; and The resource code is associated with the resource information to obtain a resource information query table.
6. The control method according to claim 5, characterized in that: The first resource information acquisition instruction includes a target code, and the determining target resource information from the resource information stored in the resource pool according to the first resource information acquisition instruction sent by the target module includes: Determining whether the target code sent by the target module is valid according to a preset code range; and In the case that the target code sent by the target module is valid, the resource information query table is traversed and retrieved according to the first resource information acquisition instruction of the target code to determine the target information.
7. The control method according to claim 6, characterized in that: The step of determining whether the target code sent by the target module is valid according to the preset code range includes: In the case where the target code is within the preset code range, determining that the target code sent by the target module is valid; and In the case that the target code is outside the preset code range, it is determined that the target code sent by the target module is invalid.
8. The control method according to claim 1, characterized in that: The functional module includes a subscription module and a publishing module, and the control method further includes: Receiving a publishing instruction sent by the publishing module, wherein the publishing instruction includes a publishing code and resource information to be published by the publishing module, and the publishing code corresponds to the resource information to be published by the publishing module; Establishing a resource publishing table according to the publishing code, and updating the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module; receiving a subscription instruction sent by the subscription module, wherein the subscription instruction includes a subscription code; and In the case where the subscription code is the same as the publishing code, the resource information corresponding to the publishing code is sent to the subscription module.
9. The control method according to claim 8, characterized in that: After the subscription module sends the subscription instruction, the subscription module enters a blocking mode, in which the subscription module is dormant; When the publishing module sends the publishing instruction and the subscription code is the same as the publishing code, the subscription module exits the blocking mode.
10. The control method according to claim 8, characterized in that: Before sending the resource information corresponding to the publishing code to the subscription module, the method further includes: The resource pool is controlled to send the size of the resource information corresponding to the publishing code to the subscription module.
11. The control method according to claim 1, characterized in that: The energy storage system includes a server and / or a terminal, and the control method further includes: Determine first target information from the resource information stored in the resource pool according to a first resource information acquisition instruction sent by the server and / or the terminal; controlling the resource pool to send the size of the first target information to the server and / or the terminal; and The resource pool is controlled to send the first target information to the server and / or the terminal and store it.
12. The control method according to claim 1, characterized in that: The energy storage system further interacts with a server and / or a terminal, the server and / or the terminal includes a subscription device, the functional module includes a publishing module, and the control method further includes: Receiving a publishing instruction sent by the publishing module, wherein the publishing instruction includes a publishing code and resource information to be published by the publishing module, and the publishing code corresponds to the resource information to be published by the publishing module; Establishing a resource publishing table according to the publishing code, and updating the resource information corresponding to the publishing code in the resource pool according to the resource information to be published by the publishing module; receiving a subscription instruction sent by the subscription device, wherein the subscription instruction includes a subscription code; and In the case where the subscription code is the same as the publishing code, the resource information corresponding to the publishing code is sent to the subscription device.
13. The control method according to claim 1, characterized in that: The functional modules include: any one or any combination of energy management module, battery management module, energy storage system protocol processing module, battery module, Internet of Things module, charging pile module, intelligent metering module and energy storage conversion module; The target module includes: any one or any combination of the energy management module, the battery management module, the energy storage system protocol processing module, the battery module, the Internet of Things module, the charging pile module, the smart metering module and the energy storage conversion module.
14. An energy storage system, characterized in that: The system includes a resource pool and a functional module, wherein the resource pool is used to obtain resource information of the functional module and a resource code corresponding to the resource information; Also used for storing and registering the resource information and the resource code in the resource pool; Also used for determining first target information from the resource information stored in the resource pool according to the first resource information acquisition instruction sent by the target module; Also used for sending the size of the first target information to the target module; and It is also used to send the first target information to the target module and store it.
15. The energy storage system according to claim 14, characterized in that: The resource code includes a first resource code, the functional module includes a first type of module; and the resource pool is further used for: Using the parsing module to read the resource information of the first type of modules; Parsing resource information of the first type of modules; Performing labeling processing on the parsed resource information of the first-category module to obtain a first resource code corresponding to the resource information of the first-category module; and Obtain the parsed resource information of the first type of module and the first resource code.
16. The energy storage system according to claim 14, characterized in that: The resource pool is also used for: storing the resource information and the resource code; and The resource code is associated with the resource information to obtain a resource information query table.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the control method described in any one of claims 1 to 13 is implemented.