Energy storage device and fault detection method
By detecting the key configuration files and internal service status of energy storage devices and using color indicator lights to provide fault alerts, the problem of fault detection in energy storage devices in photovoltaic power generation systems has been solved, ensuring the safe and stable operation of the equipment.
Patent Information
- Application Number
- CN202511949392.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-22
- Publication Date
- 2026-01-23
AI Technical Summary
In photovoltaic power generation systems, existing technologies are insufficient to effectively detect faults in energy storage devices, which can affect the safe and stable operation of the system.
By detecting whether key configuration files in energy storage devices have been tampered with and whether internal services are functioning properly, different colored indicator lights are used to provide fault alerts, including green, yellow, and red lights, each representing a different fault state, so that local maintenance personnel can promptly detect and handle faults.
It enables rapid and accurate identification and location of fault types on the local energy storage equipment, facilitating timely fault resolution by maintenance personnel and ensuring the safe and stable operation of the equipment.
Smart Images

Figure CN121387616A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of energy storage, in particular to an energy storage device and a fault detection method. BACKGROUND
[0002] In the process of popularizing new energy, the proportion of photovoltaic power generation is becoming more and more important. In a photovoltaic power generation system, an energy storage device is an important device for storing the electric energy generated by photovoltaic power generation. Ensuring the safe and stable operation of the energy storage device is an important measure to ensure the normal generation of the photovoltaic power generation system. Therefore, detecting whether the energy storage device has a fault and discovering problems existing in the energy storage device in a timely manner have become a technical problem to be solved. SUMMARY
[0003] Therefore, the present application provides an energy storage device and a fault detection method, which can perform fault reminding locally in the energy storage device and facilitate local maintenance personnel to discover faults existing in the energy storage device in a timely manner.
[0004] In a first aspect, an embodiment of the present application provides a fault detection method of an energy storage device, and the method comprises: detecting whether a key configuration file in the energy storage device is tampered with; detecting whether an internal service in the energy storage device is running normally; if the key configuration file in the energy storage device is tampered with and the internal service is running normally, performing fault reminding according to a first fault state; if the key configuration file in the energy storage device is not tampered with and the internal service is running abnormally, performing fault reminding according to a second fault state; if the key configuration file in the energy storage device is tampered with and the internal service is running abnormally, performing fault reminding according to a third fault state.
[0005] In some embodiments, the method further comprises: previously setting a key configuration file list containing a plurality of key configuration files; the key configuration file in the energy storage device being tampered with comprises at least one key configuration file in the key configuration file list being tampered with.
[0006] In some embodiments, detecting whether the key configuration file in the energy storage device is tampered with comprises: calculating a hash value of the key configuration file; if the hash value of the key configuration file is consistent with a preset initial value, determining that the key configuration file is not tampered with; If the hash value of the key configuration file is inconsistent with the preset initial value, it is determined that the key configuration file is tampered.
[0007] In some embodiments, the method further comprises: pre-setting an internal service list, the internal service list containing a plurality of internal services; The internal service running exception includes at least one internal service running exception in the internal service list.
[0008] In some embodiments, when it is determined that the key configuration file in the energy storage device is tampered, the method further comprises: determining a security configuration item associated with the key configuration file that is tampered; detecting whether the security configuration item produces a configuration change; if the security configuration item produces a configuration change, performing fault reminding according to a fourth fault state.
[0009] In some embodiments, the method further comprises: if the security configuration item has a format problem, still performing fault reminding according to the first fault state when the key configuration file in the energy storage device is tampered and the internal service runs normally.
[0010] In some embodiments, the fault reminding of the fault state comprises: different fault states are reminded by different color indicator lights.
[0011] In some embodiments, the second fault state and the third fault state are reminded by the same color indicator light.
[0012] In some embodiments, the key configuration file in the key configuration file list comprises one or more combinations of the following: an operating system kernel file, a network configuration file, an audit log, an operating system file for remote login, a PAM configuration file, a database configuration file, and a custom file containing key data.
[0013] In some embodiments, the fault reminding of the fault state further comprises: displaying the detection information of the key configuration file and / or the internal service on a display interface of the energy storage device or sending the detection information to a terminal device.
[0014] In a second aspect, an embodiment of the present application provides an energy storage device, comprising: At least one processor; and at least one memory connected with the processor in communication, wherein the memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the method of the first aspect or any one of the first aspect.
[0015] The energy storage device and the fault detection method have at least the following beneficial effects: In the embodiment of the present application, whether there is a fault in the energy storage device is determined according to whether the key configuration file in the energy storage device is tampered with and whether the internal service runs normally, and different fault states are reminded respectively. Optionally, different fault states can be reminded locally in the energy storage device, so that the local maintenance personnel can find that the energy storage device has a fault in time. Moreover, since different fault states can be reminded, the local maintenance personnel can intuitively determine the type of fault in the energy storage device according to the fault state, which facilitates the local maintenance personnel to remove the fault in the energy storage device. BRIEF DESCRIPTION OF DRAWINGS
[0016] Figure 1 A flowchart of the fault detection method of the energy storage device is provided for the embodiment of the present application. Figure 2 A flowchart of another fault detection method of the energy storage device is provided for the embodiment of the present application. Figure 3 A flowchart of still another fault detection method of the energy storage device is provided for the embodiment of the present application. Figure 4 A structural schematic diagram of the energy storage device is provided for the embodiment of the present application. DETAILED DESCRIPTION
[0017] In order to better understand the technical solutions of the present application, the embodiments of the present application will be described in detail below with reference to the drawings.
[0018] It should be clear that the described embodiments are only some of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the present application.
[0019] The terms used in the embodiments of the present application are only for the purpose of describing the specific embodiments, and are not intended to limit the present application. The singular forms "a", "an" and "the" used in the embodiments of the present application and the appended claims are also intended to include the plural forms, unless the context clearly indicates otherwise.
[0020] It should be understood that the term "and / or" as used herein merely describes an associated relationship, that is, there can be three cases, for example, A and / or B, which can represent: A alone, A and B, and B alone. In addition, the character " / " herein generally represents an "or" relationship between the front and rear associated objects.
[0021] In order to maintain the safe and stable operation of the energy storage device, the embodiment of the present application provides a fault detection method of an energy storage device. The method runs on the energy storage device side, can detect the existing faults of the energy storage device, and can remind the local maintenance personnel of the energy storage device of the faults, so as to help the local maintenance personnel of the energy storage device to find the existing faults of the energy storage device in time.
[0022] Referring to Figure 1 The flow chart of the fault detection method of the energy storage device provided by the embodiment of the present application is shown. Figure 1 The method is applied to an energy storage device, such as Figure 1 The processing steps of the method include: 101, detecting whether the key configuration file in the energy storage device is tampered with.
[0023] 102, detecting whether the internal service in the energy storage device is running normally.
[0024] 103, if the key configuration file in the energy storage device is tampered with and the internal service is running normally, a first fault state is reminded.
[0025] 104, if the key configuration file in the energy storage device is not tampered with and the internal service is abnormal, a second fault state is reminded.
[0026] 105, if the key configuration file in the energy storage device is tampered with and the internal service is abnormal, a third fault state is reminded.
[0027] In the embodiment of the present application, whether there is a fault in the energy storage device is judged according to whether the key configuration file in the energy storage device is tampered with and whether the internal service is running normally, and different fault states are reminded. Optionally, different fault states can be reminded locally in the energy storage device, so as to help the local maintenance personnel to find the existing faults of the energy storage device in time. Moreover, since different fault states can be reminded, the local maintenance personnel can intuitively judge the type of the existing faults of the energy storage device according to the fault states, so as to help the local maintenance personnel to remove the existing faults of the energy storage device.
[0028] In some embodiments, when the key configuration files in the energy storage device are tampered with but the internal services in the energy storage device are running normally, it indicates that the changes in the key configuration files in the energy storage device are not enough to affect the normal running of the internal services, and at this time, the energy storage device can perform fault reminding according to the first fault state.
[0029] In some embodiments, when the key configuration files in the energy storage device are not tampered with but the internal services in the energy storage device are running abnormally, it indicates that the internal services of the energy storage device have a serious problem, and at this time, the energy storage device can perform fault reminding according to the second fault state.
[0030] In some embodiments, when the key configuration files in the energy storage device are tampered with and the internal services are running abnormally, it indicates that the energy storage device has a serious problem, and at this time, the energy storage device can perform fault reminding according to the third fault state.
[0031] In some embodiments, when the internal services of the energy storage device are running abnormally, whether the key configuration files in the energy storage device are tampered with or not, it indicates that the energy storage device has a serious problem, and therefore the same fault state can be used for fault reminding, that is, the second fault state and the third fault state are the same fault state.
[0032] In some embodiments, after determining that the key configuration files in the energy storage device are tampered with, the security configuration items associated with the key configuration files that are tampered with can also be determined, and it is detected whether the associated security configuration items have configuration changes. If the associated security configuration items have configuration changes, it indicates that the tampering of the key configuration files is likely caused by the configuration changes of the associated security configuration items, and therefore fault reminding can be performed according to the fourth fault state. Optionally, the fourth fault state, the second fault state and the third fault state can be the same fault state or different fault states. Further, if the associated security configuration items do not have configuration changes but have format problems, it indicates that the changes in the key configuration files are likely caused by the format problems of the associated security configuration items, and therefore when the key configuration files in the energy storage device are tampered with and the internal services in the energy storage device are running normally, fault reminding is still performed according to the first fault state.
[0033] In some embodiments, detecting whether a key configuration file in the energy storage device is tampered includes: pre-configuring a key configuration file list, the key configuration file list containing a plurality of key configuration files. When at least one key configuration file in the key configuration file list is detected to be tampered, it is determined that the key configuration file in the energy storage device is tampered. Optionally, a hash value of the key configuration file can be calculated. If the hash value of the key configuration file is consistent with a preset initial value, it is determined that the key configuration file is not tampered. If the hash value of the key configuration file is not consistent with the preset initial value, it is determined that the key configuration file is tampered. That is, the embodiments of the present application can determine whether the key configuration file is tampered according to the hash value of the key configuration file.
[0034] In some embodiments, the key configuration file in the key configuration file list can include one or more combinations of the following: an operating system kernel file, a network configuration file, an audit log, an operating system file for remote login, a PAM configuration file, a database configuration file, and a custom file containing key data.
[0035] In some embodiments, detecting whether an internal service in the energy storage device is running normally can include: pre-configuring an internal service list, the internal service list containing a plurality of internal services. When at least one internal service in the internal service list is detected to be abnormal, it is determined that the internal service of the energy storage device is abnormal.
[0036] In some embodiments, the fault reminding of different fault states of the energy storage device includes that different fault states can be reminded by different color indicator lights. Different fault states can be represented by colors, flashing frequencies, numbers of lighted indicator lights, etc. of the color indicator lights. For example, when the key configuration files in the energy storage device are not tampered and the internal services of the energy storage device are running normally, a green light can be lighted to indicate that the energy storage device is running normally. When the key configuration files in the energy storage device are tampered but the internal services of the energy storage device are running normally, a yellow light can be lighted to indicate that there is a key configuration file fault in the energy storage device. Further, when the key configuration files in the energy storage device are tampered, the internal services of the energy storage device are running normally, and the tampering of the key configuration files is caused by format errors of related security configuration items, two yellow lights can be lighted to indicate that the key configuration files of the energy storage device are tampered and the tampering is caused by format errors of related security configuration items. If the tampering of the key configuration files is caused by configuration changes of related security configuration items, a red light can be lighted, or two yellow lights can be lighted with different flashing frequencies. Further, if the key configuration files in the energy storage device are not tampered but the internal services are abnormal, a red light can be lighted to indicate that the internal services of the energy storage device are abnormal. In some embodiments, if the key configuration files in the energy storage device are tampered and the internal services are abnormal, one red light or two red lights can be lighted. In the embodiments of the present application, there are many ways to remind different fault states by using different color indicator lights, which will not be illustrated one by one here.
[0037] In some embodiments, the key configuration file list is referred to as list A, and the key configuration files in list A include one or more of the operating system kernel file, the network configuration file, the audit log, the file used by the operating system for remote login, the PAM configuration file, the database configuration file, and the custom file containing key data. It should be noted that the key configuration files in the key file configuration list are usually configuration files whose configuration items will not change, and therefore the key file configuration list does not include database instance files, specific logs, and other files that will change over time.
[0038] In some embodiments, whether the key configuration files in list A are tampered can be determined by calculating hash values.
[0039] In the embodiments of the present application, the internal service list of the energy storage device is referred to as list B, and list B includes whether the processes or threads with specific names of the energy storage software application are started, whether the thread states are normal, etc.
[0040] In the embodiment of the present application, when the energy storage device is started, the key configuration files in list A can be automatically scanned, and the initial HASH of each key configuration file is recorded in list A. Then each configuration file is automatically scanned every certain period of time, for example, every 7 days. After each scanning, the HASH of each key configuration file is recalculated, and the recalculated HASH is compared with the initial HASH. If the recalculated HASH is consistent with the initial HASH, it indicates that the key configuration file is not tampered. If the recalculated HASH is inconsistent with the initial HASH, it indicates that the key configuration file is tampered. In this way, the energy storage device can automatically scan the key configuration file list according to a certain time period, and can timely find out whether the key configuration file is tampered.
[0041] In the embodiment of the present application, after the energy storage device is started, each internal service in list B is also automatically scanned to determine whether it is running normally. The running of the internal service in the energy storage device includes whether the process is started, whether the process is suspended, and whether the process is dead. According to the judgment result, it is determined whether each internal service in list B is running normally. If at least one internal service is abnormal, it is marked as abnormal.
[0042] Further, the embodiment of the present application further provides list C, which contains the security configuration items associated with the key configuration files. When it is determined that the HASH of the key configuration file in list A is inconsistent, it is determined whether there is a change in list C to determine whether the inconsistency of the current list A is a false alarm.
[0043] In some embodiments, when the HASH of at least one key configuration file in list A is changed, but the internal service in list B is running normally, the yellow light is triggered.
[0044] Through the incremental check of list C, for example, whether the security configuration item is changed line by line, if the security configuration item is changed, it indicates that the change of the key configuration file HASH is caused by the configuration change of the security configuration item. If the security configuration item is not changed, but there is a carriage return or blank line in the security configuration item, it indicates that the change of the key configuration file HASH is caused by the carriage return or blank line in the security configuration item. Then a prompt can be given on the command line to indicate that there is a false alarm in the tampering of the key configuration file. If it is confirmed that the change of the key configuration file HASH is caused by the configuration change of the security configuration item, the maintenance personnel needs to manually change the security configuration item to restore the HASH of the key configuration file to the initial HASH.
[0045] A red light is triggered when both List A and List B contain anomalies. If it is confirmed that the change in the HASH of the critical configuration file is caused by a change in the security configuration item, maintenance personnel need to manually modify the security configuration item to restore the HASH of the critical configuration file to its initial HASH. After the HASH of the critical configuration file is restored to its initial HASH, the energy storage device can re-check whether the internal services in List B are operating normally.
[0046] When both List A and List B show red warnings for abnormalities, incremental checks can be performed on List C. For example, check line by line to see if any security configuration items have changed. If a security configuration item has changed, it indicates that the change in the critical configuration file's hash was caused by that change. If no security configuration item has changed, but a carriage return or blank line exists within it, it indicates that the carriage return or blank line in the security configuration item caused the hash change in the critical configuration file. A prompt will be displayed in the command line indicating a false alarm indicating tampering with the critical configuration file. If it is confirmed that the hash change in the critical configuration file was caused by a change in the security configuration item, maintenance personnel need to manually modify the security configuration item to restore the hash of the critical configuration file to its initial hash.
[0047] See Figure 2 The flowchart below shows another method for fault detection of energy storage devices provided in an embodiment of the present invention. Figure 2 The method shown is applied in energy storage devices, such as... Figure 2 As shown, the processing steps of this method include: 201. Identify a list of critical configuration files, A. List A contains the operating system kernel file, network configuration file, audit log, operating system files used for remote login, PAM configuration file, database configuration file, and custom files containing critical data.
[0048] 202. Determine internal service list B, which contains multiple internal services of the energy storage device.
[0049] 203. When the energy storage device is initially started, calculate the initial hash value of the key configuration files in list A, and set the running status of the internal services in list B to normal.
[0050] 204. In response to the arrival of the detection time, check whether the hash values of each key configuration file in list A are consistent with the initial hash values, and also check whether each internal service in list B is running normally.
[0051] 205. If the hash values of each key configuration file in list A are consistent with the initial hash value, and each internal service in list B is running normally, then the green light of the external setting of the energy storage device will be turned on.
[0052] 206, if the hash value of at least one key configuration file in the list A is inconsistent with the initial hash value, but each internal service in the list B is running normally, then light up the yellow light outside the energy storage device.
[0053] 207, if the hash value of at least one key configuration file in the list A is inconsistent with the initial hash value, and at least one internal service in the list B is not running normally, then light up the red light outside the energy storage device.
[0054] 208, if the hash value of each key configuration file in the list A is consistent with the initial hash value, but at least one internal service in the list B is not running normally, then light up the red light outside the energy storage device.
[0055] In the embodiment of the present application, the existence of the fault of the energy storage device can be prompted according to the lighting state of the green light, the yellow light and the red light in the energy storage device, which is beneficial for the maintenance personnel to find the fault of the energy storage device in time.
[0056] Referring to Figure 3 Another flowchart of the fault detection method of the energy storage device provided by the embodiment of the present application is shown. Figure 3 The method is applied in the energy storage device, such as Figure 3 The processing steps of the method include: 301, determine a key configuration file list A, the list A contains an operating system kernel file, a network configuration file, an audit log, an operating system file for remote login, a PAM configuration file, a database configuration file and a self-defined file containing key data.
[0057] 302, determine an internal service list B, the list B contains a plurality of internal services of the energy storage device.
[0058] 303, determine a security configuration item list C, the list C contains security configuration items associated with the key configuration files in the list A.
[0059] 304, when the energy storage device is initially started, calculate the initial hash value of the key configuration files in the list A, set the running state of the internal services in the list B to normal, and set the security configuration items in the list C to the preset configuration.
[0060] 305, in response to reaching the detection time, detect whether the hash value of each key configuration file in the list A is consistent with the initial hash value, and also detect whether each internal service in the list B is running normally.
[0061] 306, if the hash value of each key configuration file in the list A is consistent with the initial hash value, and each internal service in the list B is running normally, then light up the green light set outside the energy storage device.
[0062] 307. If the hash value of at least one critical configuration file in list A is inconsistent with the initial hash value, but the internal services in list B are functioning normally, then turn on the yellow light on the outside of the energy storage device and execute step 310.
[0063] 308. If the hash value of at least one critical configuration file in list A is inconsistent with the initial hash value, and at least one internal service in list B is not functioning properly, then turn on the red light on the outside of the energy storage device and proceed to step 310.
[0064] 309. If the hash values of each critical configuration file in List A are consistent with the initial hash value, but at least one internal service in List B is not functioning properly, then the red light on the outside of the energy storage device will be turned on.
[0065] 310. Check whether the security configuration items in list C have undergone configuration changes.
[0066] 311. If the security configuration item in list C changes, then add an additional yellow light on top of the currently lit light.
[0067] 312. If the security configuration item in list C has not been changed but has a formatting problem, then add an extra yellow light on top of the current lit light, and the yellow light flashes at the set frequency.
[0068] 313. If the security configuration items in list C have not changed and there are no formatting issues, then keep the current lit state.
[0069] It can be understood that, in the embodiment of the present application, when the energy storage device lights up a green light, it indicates that the key configuration files and internal services in the energy storage device are in normal state. When the energy storage device lights up two yellow lights, it indicates that at least one key configuration file in the energy storage device has been tampered with, but the internal services are running normally, and the two yellow lights are also used to prompt that there is a change in the security configuration item in the energy storage device, that is, the tampering of the key configuration file may be caused by the change in the security configuration item. When the energy storage device lights up two yellow lights, and one of the yellow lights is in a flashing state, it indicates that at least one key configuration file in the energy storage device has been tampered with, but the internal services are running normally, and the flashing yellow light is also used to prompt that there is a format problem in the security configuration item in the list C, that is, the tampering of the key configuration file may be caused by the format problem. When the energy storage device lights up one red light and one yellow light, it indicates that at least one key configuration file in the energy storage device has been tampered with, and at least one internal service is not running normally, and the one yellow light is also used to prompt that there is a change in the security configuration item in the energy storage device, that is, the tampering of the key configuration file may be caused by the change in the security configuration item. When the energy storage device lights up one red light and one yellow light, and one of the yellow lights is in a flashing state, it indicates that at least one key configuration file in the energy storage device has been tampered with, and at least one internal service is not running normally, and the flashing yellow light is also used to prompt that there is a format problem in the security configuration item in the list C, that is, the tampering of the key configuration file may be caused by the format problem. Further, when the energy storage device lights up only one red light, there are two cases, one case is that there is no tampering of the key configuration file in the energy storage device, but at least one internal service in the list B is not running normally, and the other case is that at least one key configuration file in the energy storage device has been tampered with, and at least one internal service is not running normally, but the security configuration item in the list C has not changed and there is no format problem. Alternatively, the two cases of lighting one red light can also be distinguished in the embodiment of the present application. In the embodiment of the present application, the fault state of the energy storage device is further subdivided by the lighting state of the green light, the yellow light and the red light in the energy storage device, so as to facilitate the local maintenance personnel to find the fault of the energy storage device in time, and facilitate the maintenance personnel to accurately locate the fault of the energy storage device. In the embodiment of the present application, when the tampering of the key configuration file may be caused by the configuration change of the security configuration item or the format problem, the configuration change or the format problem of the related security configuration item can be changed, and after modification, it is determined again whether the key configuration file is tampered with and whether the internal service is running normally, if both are normal, the light color of the energy storage device is changed.
[0070] In some embodiments, when the internal service in the list B is abnormal, but the key configuration file in the list A is not abnormal, the red light is also triggered.
[0071] Table 1: Initial state table of list A, list B and list C
[0072] Referring to Table 1, an initial state table of list A, list B and list C provided for an embodiment of the present application is provided. As can be seen from Table 1, list A contains key file 1, key file 2 and key file 3, list B contains key service 1 and key service 2, and list C contains a security configuration item in key file 1, i.e., root prohibits SSH remote. List A-key file 1 is a key file for operating system to specify running remote SSH login to a server, and damage thereof will affect subsequent operation and maintenance operations, resulting in failure to log in to the device. List B-key service 1 is a corresponding process, and file modification and service state unavailability will affect subsequent operations. The file is usually also prohibited from root login for information security reinforcement requirements of a customer, and usually, the reinforcement is removed for operation during maintenance, and then the file is restored to prevent malicious access. In Table 1, the initial HASH of key file 1, key file 2 and key file 3 in list A is HASH-A1, HASH-A2 and HASH-A3, respectively. The initial state of key service 1 and key service 2 in list B is normal. The initial state of the security configuration item in key file 1 in list C is normal. In some device maintenance work, a maintenance personnel closes the prohibition of root login in / etc / ssh / sshdconfig, i.e., modifies “PermitRootLogin no” to “PermitRootLogin Yes” and restarts the SSH service, but due to input error, the SSHD cannot be normally used, and at this time, Table 1 changes to Table 2.
[0073] Table 2: Initial state table of list A, list B and list C
[0074] As shown in Table 2, due to modification of “PermitRootLogin no” in list C to “PermitRootLogin Yes”, the HASH value in list A-key file 1 changes, and list B-key service 2 runs abnormally, at which time a red light in the energy storage device is turned on to remind the maintenance personnel to open the cabinet to check the service state of the energy storage device. Alternatively, the energy storage device can also display the detection information of the key configuration file and / or internal service on the display interface of the energy storage device or send the detection information to a terminal device, so as to more accurately locate the fault existing in the energy storage device by the maintenance personnel.
[0075] After the maintenance personnel checks the SSH service state and the integrity of the / etc / ssh / sshdconfig file and repairs the related fault, the energy storage device rechecks list A and list B, and finally the red light in the energy storage device turns green.
[0076] In another example, when repairing the "root login is closed in / etc / ssh / sshdconfig", the maintenance personnel mistakenly adds a carriage return, causing the HASH to be inconsistent. At this time, list 1 changes to list 3: Table 3: Example table with format error in list C
[0077] In combination with Table 3, because "PermitRootLogin no" in list C has an extra space, the HASH of list A-key file 1 changes, and at this time the yellow light on the energy storage device is on. After the maintenance personnel removes the space in list C, the yellow light in the energy storage device finally turns green.
[0078] Table 4: List A has a device unique identifier inconsistency problem
[0079] In another example, the device unique identifier burned in the chip of the energy storage device or stored in the isolation device may change, for example, in the error device replacement scenario caused by the production line or transportation delivery error, the device unique identifier inside the energy storage device is inconsistent with the expectation, at this time the HASH of key file 3 in Table 4 changes, and the energy storage device turns on the yellow light. The maintenance personnel can open the cabinet to check whether the device unique identifier and the device delivery information are consistent, if not consistent, since the problem is not a system running problem, the energy storage device maintains the yellow light. When the maintenance personnel checks the device unique identifier according to the delivery log and the repair list, and finds no error, re-executes list A, and the yellow light finally turns green.
[0080] The embodiment of the present application introduces a safety configuration self-checking strategy in the energy storage device, maps the safety configuration state of the energy storage device through the color indicator light, can realize the rapid detection and display of the fault state of the energy storage device, and is convenient for the maintenance personnel to timely find and repair the fault of the energy storage device.
[0081] Corresponding to the above-mentioned energy storage device fault detection method, the embodiment of the present application also provides an energy storage device. As Figure 4As shown, the energy storage device 400 includes a processor 401, a memory 402 and a communication unit 403. These components communicate over one or more buses, and those skilled in the art can understand that the structure of the energy storage device 400 shown in the figure does not constitute a limitation on the embodiments of the present application, which can be a bus structure or a star structure, and can include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0082] The communication unit 403 is configured to establish a communication channel, so that the energy storage device can communicate with other devices. The communication unit 403 receives user data from other devices or sends user data to other devices.
[0083] The processor 401 is the control center of the energy storage device 400, which connects various parts of the entire device through various interfaces and lines, executes software programs, instructions and / or modules stored in the memory 402, and calls data stored in the memory, to perform various functions of the energy storage device and / or process data. The processor can be composed of an integrated circuit (IC), for example, it can be composed of a single packaged IC, or it can be composed of multiple packaged ICs with the same function or different functions connected. For example, the processor 401 can include a central processing unit (CPU), a microcontroller unit (MCU), etc.
[0084] The memory 402 is configured to store execution instructions for the processor 401. The memory 402 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. When the execution instructions in the memory 402 are executed by the processor 401, the energy storage device 400 can execute the fault detection method of the energy storage device in the embodiments of the present application.
[0085] In specific implementations, the present application also provides a computer storage medium, wherein the computer storage medium can store a program, and the program can include part or all of the steps of the fault detection method of the energy storage device provided by the present application when executed. The storage medium can be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.
[0086] In specific implementation, the application further provides a computer program product, wherein the computer program product contains executable instructions, when the executable instructions are executed on a computer, the computer executes the fault detection method of the energy storage device provided by the application.
[0087] The application further provides a non-transitory computer readable storage medium, which stores computer instructions, and the computer instructions make the computer execute the fault detection method of the energy storage device provided by the application.
[0088] The same or similar parts among various embodiments in the specification can be referred to each other. Especially, for the device embodiments and the terminal embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the related parts can be referred to the description in the method embodiments.
Claims
1. A method of fault detection of an energy storage device, characterized by, The method comprises: detecting whether a key configuration file in the energy storage device is tampered with; detecting whether an internal service in the energy storage device is running normally; if the key configuration file in the energy storage device is tampered with and the internal service is running normally, performing fault reminding according to a first fault state; if the key configuration file in the energy storage device is not tampered with and the internal service is not running normally, performing fault reminding according to a second fault state; if the key configuration file in the energy storage device is tampered with and the internal service is not running normally, performing fault reminding according to a third fault state.
2. The method of claim 1, wherein The method further comprises: pre-setting a key configuration file list containing a plurality of key configuration files; the key configuration file in the energy storage device being tampered with comprises at least one key configuration file in the key configuration file list being tampered with.
3. The fault detection method of the energy storage device according to claim 1 or 2, wherein detecting whether a key configuration file in the energy storage device is tampered with comprises: calculating a hash value of the key configuration file; if the hash value of the key configuration file is consistent with a preset initial value, it is determined that the key configuration file is not tampered with; if the hash value of the key configuration file is not consistent with the preset initial value, it is determined that the key configuration file is tampered with.
4. The method of claim 1, wherein The method further comprises: pre-setting an internal service list containing a plurality of internal services; the internal service being not running normally comprises at least one internal service in the internal service list being not running normally.
5. The fault detection method of the energy storage device according to claim 1, wherein after it is determined that the key configuration file in the energy storage device is tampered with, the method further comprises: determining a security configuration item associated with the key configuration file being tampered with; detecting whether the security configuration item is changed in configuration; if the security configuration item is changed in configuration, performing fault reminding according to a fourth fault state.
6. The method of fault detection of an energy storage device according to claim 5, wherein, The method further comprises: if the security configuration item has a format problem, when the key configuration file in the energy storage device is tampered with and the internal service is running normally, still performing fault reminding according to the first fault state.
7. The fault detection method of the energy storage device according to claim 1, wherein performing fault reminding for the fault state comprises: using different color indicator lights to perform fault reminding for different fault states.
8. The fault detection method of the energy storage device according to claim 7, wherein the second fault state and the third fault state are reminded by the same color indicator light.
9. The fault detection method of the energy storage device according to claim 2, wherein the key configuration file in the key configuration file list comprises one or more combinations of the following: an operating system kernel file, a network configuration file, an audit log, an operating system file for remote login, a PAM configuration file, a database configuration file, and a custom file containing key data.
10. The method of claim 1, further comprising: providing a fault reminder for the fault state, further comprising: displaying the detection information of the key configuration file and / or the internal service on a display interface of the energy storage device or sending the detection information to a terminal device.
11. An energy storage device, characterized by, comprising: at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores program instructions executable by the processor, and the processor invokes the program instructions to execute the method of any one of claims 1 to 10.
Citation Information
Patent Citations
Method and device for adjusting configuration file
CN105512267A
Method and system for preventing configuration document from being tampered and monitoring upper computer
CN106874777A
Monitoring configuration method, device and equipment and readable storage medium
CN109684155A
Data processing method and device, computer equipment and readable storage medium
CN112671566A