Method for detecting changes in equipment and related devices

By configuring the heartbeat cycle of the equipment and monitoring current and voltage fluctuations in the energy management system, the problem of difficulty in sensing equipment changes is solved, and the ability to quickly respond to changes in equipment status is realized.

CN117544539BActive Publication Date: 2026-05-12XIAMEN HITHIUM ENERGY STORAGE TECHNOLOGY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
XIAMEN HITHIUM ENERGY STORAGE TECHNOLOGY CO LTD
Filing Date
2023-12-22
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In energy management systems, it is difficult to quickly detect changes in equipment, including the connection of new equipment, equipment failure, or removal, resulting in an inability to respond to changes in equipment status in a timely manner.

Method used

By configuring the heartbeat cycle of the target access device, monitoring the heartbeat signal and obtaining current parameter data, analyzing current and voltage fluctuation values, and generating device access response information to establish a communication connection.

Benefits of technology

It enables rapid detection of equipment failures and new equipment connections, timely response to equipment change events, and improves the responsiveness of the energy management system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117544539B_ABST
    Figure CN117544539B_ABST
Patent Text Reader

Abstract

The application provides a method for detecting device change and related devices, comprising: configuring a heartbeat period of a target access device; determining whether a heartbeat signal of the target access device is received when a time corresponding to the heartbeat period of the target access device arrives; if the heartbeat signal is received, obtaining current parameter data of the target access device through an energy management device; analyzing whether the target access device is faulty according to the current parameter data; if the target access device is not faulty, obtaining a first current fluctuation value and a first voltage fluctuation value; determining whether there is a to-be-access device according to the first current fluctuation value and the first voltage fluctuation value; and if there is, generating device access response information. The application can quickly respond to device change events and timely establish a communication connection with a newly-accessed device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of communication technology, and in particular to a method and related apparatus for detecting changes in equipment. Background Technology

[0002] Energy management systems connect to a massive number of devices, making it difficult to understand the working status of all connected devices and to detect the connection of new devices. For existing devices, it is also difficult to determine whether they have been removed or have malfunctioned, resulting in an inability to perceive changes in the devices within the energy management system. Summary of the Invention

[0003] This application provides a method and related apparatus for detecting changes in equipment, so as to respond quickly to changes in equipment.

[0004] In a first aspect, embodiments of this application provide a method for detecting device changes, applied to a server of an energy management system. The energy management system includes the server, an energy management device, and at least one connected device. The server, the at least one connected device, and the energy management device are communicatively connected. The method includes:

[0005] Configure the heartbeat cycle of the target access device, wherein the target access device is an access device among the at least one already connected devices;

[0006] When the time corresponding to the heartbeat cycle of the target access device arrives, determine whether the heartbeat signal of the target access device has been received;

[0007] If the heartbeat signal is received, the current parameter data of the target access device is obtained through the energy management device. The current parameter data includes the current first current value and first voltage value of the target access device.

[0008] Analyze whether the target access device is faulty based on the current parameter data;

[0009] If the target access device is not faulty, a first current fluctuation value is obtained based on the first current value and the standard current value; and a first voltage fluctuation value is obtained based on the first voltage value and the standard voltage value;

[0010] Determine whether there is a device to be connected based on the first current fluctuation value and the first voltage fluctuation value;

[0011] If it exists, a device access response information is generated, which is used to guide the establishment of a communication connection with the device to be accessed.

[0012] Secondly, embodiments of this application provide an apparatus for detecting changes in a device, comprising:

[0013] A configuration unit is used to configure the heartbeat cycle of a target access device, wherein the target access device is an access device among the at least one already connected devices;

[0014] The first determining unit is configured to determine whether a heartbeat signal from the target access device has been received when the time corresponding to the heartbeat cycle of the target access device arrives.

[0015] The first acquisition unit is configured to, if the heartbeat signal is received, acquire the current parameter data of the target access device through the energy management device, wherein the current parameter data includes the current first current value and first voltage value of the target access device;

[0016] The analysis unit is used to analyze whether the target access device is faulty based on the current parameter data;

[0017] The second acquisition unit is configured to acquire a first current fluctuation value based on the first current value and a standard current value when the target access device is not faulty; and to acquire a first voltage fluctuation value based on the first voltage value and a standard voltage value.

[0018] The second determining unit is used to determine whether there is a device to be connected based on the first current fluctuation value and the first voltage fluctuation value.

[0019] The generation unit is used to generate device access response information if it exists, and the device access response information is used to guide the establishment of a communication connection with the device to be accessed.

[0020] Thirdly, embodiments of this application provide a server, including:

[0021] One or more processors;

[0022] A memory on which one or more programs are stored;

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to the first aspect above.

[0024] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method described in the first aspect.

[0025] As can be seen, in this embodiment, the heartbeat cycle of the target access device is first configured, where the target access device is one of the at least one already accessed devices; and when the time corresponding to the heartbeat cycle of the target access device arrives, it is determined whether the heartbeat signal of the target access device is received; if the heartbeat signal is received, the current parameter data of the target access device is obtained through the energy management device, the current parameter data including the current first current value and first voltage value of the target access device; the target access device is analyzed for fault based on the current parameter data; if the target access device is not faulty, a first current fluctuation value is obtained based on the first current value and a standard current value; and a first voltage fluctuation value is obtained based on the first voltage value and a standard voltage value; finally, it is determined whether there is a device to be accessed based on the first current fluctuation value and the first voltage fluctuation value; if there is, device access response information is generated, which is used to guide the establishment of a communication connection with the device to be accessed.

[0026] In this way, for the already connected devices, heartbeat signals are used to monitor whether these connected devices are faulty, so that faults can be quickly detected for different connected devices; for potentially new connected devices, if the already connected devices are not faulty, the fluctuation value of the devices is obtained, and the fluctuation value is used to actively detect whether new devices are connected, so as to quickly respond to device change events and establish communication connections with the new connected devices in a timely manner. Attached Figure Description

[0027] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0028] Figure 1 This is a schematic diagram of the structure of a residential energy storage system provided in an embodiment of this application;

[0029] Figure 2 This is a system architecture diagram of an energy management system provided in an embodiment of this application;

[0030] Figure 3 This is a schematic diagram of the structure of a server provided in an embodiment of this application;

[0031] Figure 4 This is a flowchart illustrating a method for detecting changes in a device according to an embodiment of this application;

[0032] Figure 5This is a functional unit block diagram of a device for detecting changes in equipment provided in an embodiment of this application;

[0033] Figure 6 This is a block diagram of the functional units of another device for detecting changes in equipment provided in an embodiment of this application. Detailed Implementation

[0034] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

[0035] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0036] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0037] Because the energy we need is highly time- and space-dependent, in order to utilize energy rationally and improve energy efficiency, it is necessary to store one form of energy in the same way or by converting it into another, and then release it in a specific energy form for future applications. Currently, the main way to generate green electricity is to develop green energy sources such as photovoltaics and wind power to replace fossil fuels.

[0038] Currently, the generation of green electricity generally relies on solar, wind, and hydropower. However, wind and solar power are generally characterized by strong intermittency and large fluctuations, which can cause grid instability, insufficient power during peak demand periods, and excessive power during off-peak periods. Unstable voltage can also damage the power grid. Therefore, insufficient electricity demand or insufficient grid capacity may lead to the problem of "wind and solar curtailment." Solving these problems requires energy storage. This involves converting electrical energy into other forms of energy through physical or chemical means and storing it. When needed, this energy can be converted back into electrical energy and released. Simply put, energy storage is like a large "power bank," storing electrical energy when solar and wind power are abundant and releasing the stored electricity when needed.

[0039] Taking electrochemical energy storage as an example, this solution provides an energy storage device 100. The energy storage device 100 is equipped with a set of chemical batteries. It mainly uses the chemical elements in the batteries as energy storage medium. The charging and discharging process is accompanied by the chemical reaction or change of the energy storage medium. Simply put, the electrical energy generated by wind and solar energy is stored in the chemical batteries. When the use of external electrical energy reaches its peak, the stored electricity is released for use, or transferred to places with a shortage of electricity for use.

[0040] Current energy storage applications are quite widespread, including generation-side energy storage, grid-side energy storage, and consumption-side energy storage. The corresponding types of energy storage devices 100 include:

[0041] (1) Large-scale energy storage power stations applied to wind power and photovoltaic power stations can assist renewable energy power generation in meeting grid connection requirements and improve the utilization rate of renewable energy. As a high-quality active / reactive power regulation power source on the power supply side, energy storage power stations can achieve load matching of power in time and space, enhance the absorption capacity of renewable energy, reduce instantaneous power changes, reduce the impact on the power grid, improve the absorption of new energy power generation, and are of great significance in power grid system backup, alleviating peak load power supply pressure and peak regulation and frequency regulation.

[0042] (2) Energy storage containers applied on the grid side mainly function as peak shaving, frequency regulation and grid congestion relief. In terms of peak shaving, they can realize peak shaving and valley filling of electricity load, that is, charging the energy storage battery when the electricity load is low and releasing the stored electricity during the peak electricity load period, thereby achieving a balance between power production and consumption.

[0043] (3) Small energy storage cabinets applied to the electricity consumption side mainly function as self-consumption of electricity, peak-valley price arbitrage, capacity cost management, and improvement of power supply reliability. Depending on the application scenario, electricity consumption side energy storage can be divided into industrial and commercial energy storage cabinets, household energy storage devices, energy storage charging piles, etc., which are generally used in conjunction with distributed photovoltaics. Industrial and commercial users can use energy storage for peak-valley price arbitrage and capacity cost management. In the electricity market implementing peak-valley pricing, by charging the energy storage system when the electricity price is low and discharging the energy storage system when the electricity price is high, peak-valley price arbitrage can be achieved, reducing electricity costs. In addition, industrial enterprises subject to two-part tariffs can use energy storage systems to store energy during off-peak hours and discharge during peak loads, thereby reducing peak power and the maximum demand declared, achieving the goal of reducing capacity charges. Household photovoltaics with energy storage can improve the level of self-consumption of electricity. Due to high electricity prices and poor power supply stability, the demand for household photovoltaic installations is driven. Given that photovoltaic power generation occurs during the day, while user load is generally higher at night, configuring energy storage can better utilize photovoltaic power, improve self-consumption levels, and reduce electricity costs. Furthermore, energy storage is needed in areas such as communication base stations and data centers for backup power.

[0044] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a residential energy storage system provided in an embodiment of this application, as shown below. Figure 1 As shown, this embodiment uses a residential energy storage scenario in user-side energy storage as an example for illustration, but the energy storage device in this application is not limited to residential energy storage scenarios. This application provides a residential energy storage system, which includes a power conversion device 2 (photovoltaic panel), a first user load 3 (streetlight), a second user load 4 (e.g., household appliances such as air conditioners), and an energy storage device 1. The energy storage device 1 can be a small energy storage box, which can be wall-mounted on an outdoor wall. Specifically, the power conversion device 2 (photovoltaic panel) can convert solar energy into electrical energy during periods of low electricity prices. The energy storage device 1 is used to store this electrical energy and supply it to the first user load 3 (streetlight) and the second user load 4 (e.g., household appliances such as air conditioners) during periods of high electricity prices, or to supply power when the power grid is interrupted / out of service.

[0045] Currently, it is difficult to understand the working status of all connected devices, and it is also difficult to detect the connection of new devices. For devices that have already been connected, it is also difficult to determine whether the devices have been removed or have malfunctioned, resulting in an inability to detect changes in the devices in the energy management system.

[0046] Please see Figure 2 , Figure 2 This is a system architecture diagram of an energy management system provided in an embodiment of this application. For example... Figure 2As shown, the energy management system 10 includes an energy management device 101, a server 102, and at least one connected device. The at least one connected device may include multiple connected devices such as connected device 103 and connected device 104, but the number of connected devices is not limited. When a connected device connects, the energy management device 101 acquires and stores the parameter data of the connected device. The server 102 configures a heartbeat cycle and detects whether a heartbeat signal is received from the device when the corresponding time of the heartbeat cycle arrives. Based on the heartbeat signal, it determines whether the device is faulty or removed, and analyzes the operating status of the energy management system 10. In other words, the energy management device 101 acquires and analyzes the parameter data of at least one connected device to actively detect whether a new device is connected.

[0047] Please see Figure 3 , Figure 3 This is a schematic diagram of the structure of a server provided in an embodiment of this application. For example... Figure 3 As shown, the server 102 includes a processor 120, a memory 130, a communication interface 140, and one or more programs 131. The one or more programs 131 are stored in the memory 130 and configured to be executed by the processor 120. The one or more programs 131 include instructions for performing any step in any of the methods described in the following embodiments. Specifically, the processor 120 is used to perform any step executed by an electronic device as described in the following methods embodiments, and when performing data transmission such as sending, the communication interface 140 may be selectively invoked to complete the corresponding operation.

[0048] Please see Figure 4 , Figure 4 This is a flowchart illustrating a method for detecting changes in a device according to an embodiment of this application. The method includes the following steps.

[0049] S410, Configure the heartbeat cycle of the target access device, wherein the target access device is the access device among the at least one already accessed devices.

[0050] Specifically, when a device is connected, its device type and identification code can be obtained. The device type can be an energy storage converter, photovoltaic inverter, wind turbine inverter, charging pile, load distribution cabinet, etc. Different lifecycles are configured for different device types, and a heartbeat cycle is configured based on the device type and the lifecycle. Different devices have different heartbeat cycles, which could be 30 minutes or 2 hours. The target connected device can be any of the already connected devices.

[0051] S420, when the time corresponding to the heartbeat cycle of the target access device arrives, determine whether the heartbeat signal of the target access device has been received.

[0052] The heartbeat signal is a method of confirming whether the communication link between the connected parties has been broken by sending a small data packet to the other party at regular intervals and checking whether the data packet is received. Based on the time of the last heartbeat signal received from the connected device and the heartbeat cycle time, the next heartbeat time point is determined. For example, if the connected device sends a heartbeat signal every 30 minutes (i.e., the heartbeat cycle is 30 minutes), and the last heartbeat signal received was at 8:00, then the next heartbeat time point should be 8:30.

[0053] S430, if the heartbeat signal is received, the current parameter data of the target access device is obtained through the energy management device, the current parameter data including the current first current value and first voltage value of the target access device.

[0054] Specifically, upon receiving a heartbeat signal, if the current value of the heartbeat signal received at the next heartbeat time point is different from the previously received value, it indicates that the heartbeat signal is normal and the device is operating normally; if the two are the same, the device may be malfunctioning. Therefore, the device's current value, voltage value, charge / discharge response time, charge / discharge conversion time, and line communication function are acquired and analyzed to determine the cause. If the heartbeat signal is not received, the target access device is determined to be faulty. The target access device's identification code is determined based on its heartbeat cycle, and the target access device is located based on the identification code. Then, the target access device's current value, voltage value, charge / discharge response time, charge / discharge conversion time, and line communication function information are acquired. This information is then analyzed to identify the cause of the fault, and the target access device is repaired accordingly.

[0055] S440, Analyze whether the target access device is faulty based on the current parameter data.

[0056] Specifically, the energy management device can acquire information such as the current value, voltage value, charging and discharging response time, charging and discharging conversion time, and line communication function of the target access device under normal communication conditions; compare the current parameter data with the above-mentioned multiple parameter data respectively, determine the parameter data whose numerical difference is greater than the threshold range, and then analyze whether the target access device is faulty by combining the interruption reason diagnosis record of the target access device when communication was interrupted in the past.

[0057] S450, if the target access device is not faulty, obtain a first current fluctuation value based on the first current value and the standard current value; and obtain a first voltage fluctuation value based on the first voltage value and the standard voltage value.

[0058] The system continuously monitors the operating status of the access device to determine fluctuation values. The standard current value and standard voltage value are the current and voltage values ​​of the target access device under normal operating conditions. If the target access device malfunctions, its identification code is determined based on its heartbeat cycle. Information such as the target access device's current value, voltage value, charge / discharge response time, charge / discharge conversion time, and line communication function are retrieved from the energy management device based on this identification code. This information is then analyzed to identify the cause of the malfunction, and the target access device is repaired accordingly.

[0059] S460, determine whether there is a device to be connected based on the first current fluctuation value and the first voltage fluctuation value.

[0060] The process involves obtaining a first current characteristic parameter from the first current fluctuation value and a first voltage characteristic parameter from the first voltage fluctuation value. The first current characteristic parameter may include the current amplitude, steepness, and sampling time, and the first voltage characteristic parameter may include the voltage amplitude, steepness, and sampling time. Then, the working time of the target access device at the end of this heartbeat signal is obtained. The first current characteristic parameter, the first voltage characteristic parameter, and the working time are converted into strings, and then assembled in the order of current parameter, voltage parameter, and working time to generate a first checksum. Next, the second current fluctuation value and the second voltage fluctuation value of the accessed device are obtained when the energy management device establishes a communication connection with the accessed device. A second current characteristic parameter is obtained from the second current fluctuation value, and a second voltage characteristic parameter is obtained from the second voltage fluctuation value. The average of multiple working times of the accessed device under normal operating conditions is calculated to obtain a standard working time. A second checksum is generated based on the second current characteristic parameter, the second voltage characteristic parameter, and the standard working time. Finally, the similarity between the first checksum and the second checksum is calculated to obtain a similarity result. If the similarity is higher than 85%, it is determined that a device to be accessed exists.

[0061] S470, if present, generate device access response information, which is used to guide the establishment of a communication connection with the device to be accessed.

[0062] As can be seen, in this embodiment, for the already connected devices, the heartbeat signal is used to monitor whether these connected devices are faulty, so that it is possible to quickly detect whether a fault is being sent for different connected devices; for potentially new connected devices, if the already connected devices are not faulty, the fluctuation value of the device is obtained, and the device is actively detected based on the fluctuation value to detect whether a new device is connected, so as to quickly respond to device change events and establish communication connections with the new connected devices in a timely manner.

[0063] In one possible embodiment, determining whether a device to be accessed exists based on the first current fluctuation value and the first voltage fluctuation value includes: generating a first verification code based on the first current fluctuation value and the first voltage fluctuation value; obtaining a second verification code from the energy management device, wherein the second verification code is a verification code generated when the energy management device establishes a communication connection with a reference access device, and the reference access device is an access device other than the target access device among the at least one already accessed device; determining the similarity between the first verification code and the second verification code to obtain a similarity result; and determining whether a device to be accessed exists based on the similarity result.

[0064] Based on multiple fluctuation values ​​from previous new device connections, a fluctuation value feature extraction function is constructed. Current and voltage feature parameters are extracted using this function. The current, voltage, and operating duration are hashed together to generate a fixed string. This fixed string is then assembled in the order of current, voltage, and operating duration to generate a first checksum. Next, the second current and voltage fluctuation values ​​of the connected devices are obtained when the energy management device establishes a communication connection with them. The second current and voltage feature parameters are extracted from the second current fluctuation value using the fluctuation value feature extraction function, and the second voltage feature parameter is extracted from the second voltage fluctuation value. The average of multiple operating durations of the connected devices under normal operating conditions is calculated to obtain the standard operating duration. The fixed string is then generated and assembled in the order of the second current, second voltage, and standard operating duration to generate a second checksum. The first and second checksums are compared, and the percentage of identical digits in the total number of digits is checked. If this percentage is higher than 85%, a device to be connected is confirmed. If the difference is between 75% and 85%, you can check whether the difference between the values ​​of different bits is within the preset difference range. If it is within the preset difference range, it is considered to be the same as its corresponding check bit, and the similarity value is recalculated. If it is not, then there is no device to be connected.

[0065] As can be seen, in this embodiment, a check code is generated based on the fluctuation value and working time, and the similarity of the check code is calculated to determine whether there is a device to be connected. This improves the accuracy of determining whether there is a device to be connected and can actively sense the device to be connected and establish a communication connection with it.

[0066] In one possible embodiment, generating a first checksum based on the first current fluctuation value and the first voltage fluctuation value includes: obtaining a first current characteristic parameter from the first current fluctuation value and obtaining a first voltage characteristic parameter from the first voltage fluctuation value; obtaining the operating duration of the target access device; and generating a first checksum based on the first current characteristic parameter, the first voltage characteristic parameter, and the operating duration.

[0067] Specifically, a first current feature parameter and a first voltage feature parameter are extracted based on the fluctuation value feature extraction function. The first current feature parameter, the first voltage feature parameter, and the operating duration are then used to generate a fixed string through a hash operation. This fixed string is then assembled in the order of the first current feature parameter, the first voltage feature parameter, and the operating duration to generate a first checksum. The first current feature parameter may include the current amplitude, steepness, and sampling time; the first voltage feature parameter may include the voltage amplitude, steepness, and sampling time.

[0068] As can be seen, in this embodiment, feature parameters are obtained through fluctuation values, and then strings are generated and assembled to generate a unique check code.

[0069] In one possible embodiment, obtaining the second verification code from the energy management device includes: obtaining a second current fluctuation value and a second voltage fluctuation value of the reference access device when the energy management device establishes a communication connection with the reference access device; obtaining a second current characteristic parameter based on the second current fluctuation value, and obtaining a second voltage characteristic parameter based on the second voltage fluctuation value; obtaining at least one operating duration of the reference access device under normal operating conditions; calculating the average value of the at least one operating duration to obtain a standard operating duration; and generating a second verification code based on the second current characteristic parameter, the second voltage characteristic parameter, and the standard operating duration.

[0070] The process involves obtaining the second current fluctuation value and the second voltage fluctuation value of the connected device when the energy management device establishes a communication connection with the connected device; extracting the second current feature parameter from the second current fluctuation value and the second voltage feature parameter from the second voltage fluctuation value using a fluctuation value feature extraction function; calculating the average of multiple operating durations of the connected device under normal operating conditions to obtain the standard operating duration; and then generating and assembling the fixed string to generate the second checksum using hash operations in the order of the second current feature parameter, the second voltage feature parameter, and the standard operating duration. The second current feature parameter may include the current amplitude, steepness, and sampling time, and the second voltage feature parameter may include the voltage amplitude, steepness, and sampling time.

[0071] As can be seen, in this embodiment, by calculating the average working time under multiple normal operating conditions and then generating a string to assemble it, the standard working time of the device can be better adapted and the deviation can be reduced.

[0072] In one possible embodiment, configuring the heartbeat cycle of the target access device includes: obtaining the device type and identification information of the target access device, the identification information including an identification code for indicating the target access device; configuring the lifecycle of the target access device according to the device type and the identification information; and configuring the heartbeat cycle according to the device type and the lifecycle of the target access device.

[0073] The equipment types can include energy storage converters, photovoltaic inverters, wind turbine inverters, charging piles, load distribution cabinets, etc. Different lifecycles are configured for different equipment types and service lives, and then heartbeat cycles are configured according to the equipment type and the lifecycle. That is, different equipment has different heartbeat cycles, which may be 30 minutes or 2 hours.

[0074] As can be seen, in this embodiment, different devices are configured with different heartbeat cycles, which enables the target device to be located quickly using the identification code.

[0075] In one possible embodiment, obtaining the current parameter data of the target access device through the energy management device includes: determining the identification code of the target access device based on the heartbeat cycle of the target access device; and obtaining the current parameter data of the target access device from the energy management device based on the identification code.

[0076] The identification code uniquely identifies each device. When a device is connected to the energy management system, the energy management device needs to collect the device's initial operating parameters, such as size, color, weight, voltage, current, power, frequency, motor speed, operating mode, and braking method, and store these parameters in a database for the server to query. During operation, the device continuously monitors its operating data and uploads it to the energy management device.

[0077] As can be seen, in this embodiment, the device identification code is located by the heartbeat cycle, and then the device parameter data is obtained based on the identification code, which reduces the time for querying device data.

[0078] In one possible embodiment, the current parameter data further includes a first charge / discharge response time, a first charge / discharge conversion time, and a first line communication function. The step of analyzing whether the target access device is faulty based on the current parameter data includes: acquiring multiple target parameter data of the target access device corresponding to the current parameter data, the multiple target parameter data including a second current value, a second voltage value, a second charge / discharge response time, a second charge / discharge conversion time, and a second line communication function of the target access device under normal communication conditions; comparing the current parameter data with the multiple target parameter data to obtain multiple comparison results corresponding to the multiple target parameter data; determining difference items based on the multiple comparison results, the difference items indicating target parameter data whose numerical differences in the comparison results are greater than a threshold range; acquiring interruption cause diagnosis records of the target access device during historical communication interruptions; and determining whether the target access device is faulty based on the difference items and the interruption cause diagnosis records.

[0079] The system can acquire information such as current, voltage, charge / discharge response time, charge / discharge conversion time, and line communication function of the target access device under normal operating conditions through an energy management device. The current parameter data is then compared with the aforementioned parameter data under multiple normal operating conditions to identify parameter data whose numerical differences exceed a threshold range. This threshold range can be the range comprised of the maximum and minimum values ​​among the acquired data under multiple normal operating conditions. The system then analyzes whether the target access device is faulty by combining historical communication interruption cause diagnosis records. These records include the differences at the time of the interruption, the cause of the fault, the parameter data, and the time of the fault. It can be determined whether the differences in the interruption cause diagnosis records and the currently compared differences are identical. If identical differences exist, the cause of the fault can be analyzed by referring to the differences in the interruption cause diagnosis records and the currently compared differences. If no identical differences exist, the cause of the fault can be analyzed by referring to the parameter data in the interruption cause diagnosis records and the specific data in the currently compared differences.

[0080] As can be seen, in this embodiment, by analyzing whether the target access device is faulty based on the comparison results and historical fault diagnosis records, the analysis time can be reduced, the accuracy can be improved, and the cause of the fault can be quickly identified.

[0081] In one possible embodiment, the standard current value is the current value of the target access device under normal operating conditions, and the standard voltage value is the voltage value of the target access device under normal operating conditions.

[0082] Specifically, the normal operation is characterized by receiving the heartbeat signal from the target access device when the time corresponding to the heartbeat cycle arrives, the receiving heartbeat signal being inconsistent with the heartbeat signal received in the previous heartbeat cycle, and the current voltage and current values ​​being stable.

[0083] For examples consistent with the above embodiments, please refer to... Figure 5 , Figure 5 This is a block diagram of the functional units of a device for detecting changes in equipment, provided in an embodiment of this application. The device 50 for detecting changes in equipment includes: a configuration unit 51, configured to configure the heartbeat cycle of a target access device, wherein the target access device is an access device among the at least one already accessed devices; a first determination unit 52, configured to determine whether a heartbeat signal of the target access device is received when the time corresponding to the heartbeat cycle of the target access device arrives; a first acquisition unit 53, configured to acquire current parameter data of the target access device through the energy management device if the heartbeat signal is received, wherein the current parameter data includes a current first current value and a current first voltage value of the target access device; an analysis unit 54, configured to analyze whether the target access device is faulty based on the current parameter data; a second acquisition unit 55, configured to acquire a first current fluctuation value based on the first current value and a standard current value, and acquire a first voltage fluctuation value based on the first voltage value and a standard voltage value, provided that the target access device is not faulty; a second determination unit 56, configured to determine whether a device to be accessed exists based on the first current fluctuation value and the first voltage fluctuation value; and a generation unit 57, configured to generate device access response information if such a device exists, wherein the device access response information is used to guide the establishment of a communication connection with the device to be accessed.

[0084] In one possible embodiment, regarding the configuration of the heartbeat cycle, the configuration unit 51 is specifically used to: obtain the device type and device identification code of the target access device when the device is accessed, wherein the device type may be an energy storage converter, photovoltaic inverter, wind turbine inverter, charging pile, load distribution cabinet, etc. Different lifecycles are configured for different device types, and then the heartbeat cycle is configured according to the device type and the lifecycle; that is, different devices have different heartbeat cycles, which may be 30 minutes per heartbeat cycle or 2 hours per heartbeat cycle.

[0085] In one possible embodiment, in determining the heartbeat signal, the first determining unit 52 is specifically configured to: determine the next heartbeat time point for receiving the next heartbeat signal from the connected device based on the time of the last received heartbeat signal from the connected device and the heartbeat cycle time. Assuming the connected device sends a heartbeat signal every 30 minutes (i.e., the heartbeat cycle is 30 minutes), and the last received heartbeat signal from the connected device was at 8:00, then the next received heartbeat signal from the connected device should be at 8:30, and this time point is the next heartbeat time point.

[0086] In one possible embodiment, regarding data acquisition, the first acquisition unit 53 is specifically configured to: upon receiving a heartbeat signal, if the current value of the heartbeat signal received at the next heartbeat time point is different from the previously received value, it indicates that the heartbeat signal is normal and the device is operating normally; if the two are the same, the device may be malfunctioning. Therefore, it acquires the device's current value, voltage value, charge / discharge response time, charge / discharge conversion time, and line communication function, and analyzes the reasons for these malfunctions.

[0087] In one possible embodiment, regarding data analysis, the analysis unit 54 is specifically used to: obtain information such as current value, voltage value, charge / discharge response time, charge / discharge conversion time, and line communication function of the target access device under normal communication conditions through the energy management device; compare the current parameter data with the above-mentioned multiple parameter data respectively, determine the parameter data whose numerical difference is greater than a threshold range, and then analyze whether the target access device is faulty by combining the interruption cause diagnosis record of the target access device when communication was interrupted in the past.

[0088] In one possible embodiment, regarding data acquisition, the second acquisition unit 55 is specifically configured to: continuously monitor the operating status of the access device to determine fluctuation values. The standard current value is the current value of the target access device under normal operating conditions, and the standard voltage value is the voltage value of the target access device under normal operating conditions.

[0089] In one possible embodiment, in determining device access, the second determining unit 56 is specifically configured to: extract a first current characteristic parameter from the first current fluctuation value and extract a first voltage characteristic parameter from the first voltage fluctuation value; then obtain the current working time of the target access device at the end of this heartbeat signal; convert the first current characteristic parameter, the first voltage characteristic parameter, and the working time into strings, and then assemble them in the order of current parameter, voltage parameter, and working time to generate a first check code; then obtain the second current fluctuation value and the second voltage fluctuation value of the accessed device when the energy management device establishes a communication connection with the accessed device; obtain the second current characteristic parameter based on the second current fluctuation value and the second voltage characteristic parameter based on the second voltage fluctuation value; calculate the average of multiple working times of the accessed device under normal operating conditions to obtain a standard working time; generate a second check code based on the second current characteristic parameter, the second voltage characteristic parameter, and the standard working time. Next, calculate the similarity between the first check code and the second check code to obtain a similarity result. If the similarity is higher than 85%, it is determined that a device to be accessed exists.

[0090] In one possible embodiment, in terms of generating response information, the generating unit 57 is specifically used to: generate device access response information to guide the establishment of a communication connection with the device to be accessed.

[0091] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section in a synchronous manner, and will not be repeated here.

[0092] In the case of using integrated units, please refer to Figure 6 , Figure 6 This is a functional unit block diagram of another device for detecting changes in equipment provided in an embodiment of this application. Figure 6 The device 50 for detecting changes in equipment includes a processing module 602 and a communication module 601. The processing module 602 controls and manages the actions of the device 50 for detecting changes in equipment, for example, executing the steps of the configuration unit 51, the first determination unit 52, the first acquisition unit 53, the analysis unit 54, the second acquisition unit 55, the second determination unit 56, the generation unit 57, and / or other processes for performing the techniques described herein. The communication module 601 is used for interaction between the device 50 for detecting changes in equipment and other devices. Figure 6 As shown, the device 50 for detecting changes in the equipment may further include a storage module 603, which is used to store the program code and data of the device 50 for detecting changes in the equipment.

[0093] The processing module 602 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 601 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 603 can be a memory.

[0094] All relevant content in each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The above-mentioned device 50 for detecting changes in equipment can perform the above-mentioned... Figure 4 The method for changing the detection equipment shown.

[0095] The above mainly describes the solutions of the embodiments of this application from the perspective of the method execution process. It is understood that, in order to achieve the above functions, the electronic device includes the corresponding hardware structure and software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments provided herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0096] This application embodiment can divide the electronic device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0097] This application also provides a chip, wherein the chip includes a processor for calling and running a computer program from a memory, causing a device on which the chip is installed to perform some or all of the steps described in the above method embodiments of the electronic device.

Claims

1. A method for detecting changes in equipment, characterized in that, A server for an energy management system, the energy management system including the server, an energy management device, and at least one connected device, wherein the server, the at least one connected device, and the energy management device are communicatively connected, the method comprising: Configure the heartbeat cycle of the target access device, wherein the target access device is an access device among the at least one already connected devices; When the time corresponding to the heartbeat cycle of the target access device arrives, determine whether the heartbeat signal of the target access device has been received; If the heartbeat signal is received, the current parameter data of the target access device is obtained through the energy management device. The current parameter data includes the current first current value and first voltage value of the target access device. Analyze whether the target access device is faulty based on the current parameter data; If the target access device is not faulty, a first current fluctuation value is obtained based on the first current value and the standard current value; and a first voltage fluctuation value is obtained based on the first voltage value and the standard voltage value; Determine whether there is a device to be connected based on the first current fluctuation value and the first voltage fluctuation value; If it exists, a device access response information is generated, which is used to guide the establishment of a communication connection with the device to be accessed.

2. The method according to claim 1, characterized in that, The step of determining whether there is a device to be connected based on the first current fluctuation value and the first voltage fluctuation value includes: A first check code is generated based on the first current fluctuation value and the first voltage fluctuation value; Obtain a second verification code from the energy management device. The second verification code is a verification code generated when the energy management device establishes a communication connection with the reference access device. The reference access device is an access device other than the target access device among the at least one accessed device. Determine the similarity between the first check code and the second check code to obtain the similarity result; The similarity results are used to determine whether there are any devices to be connected.

3. The method according to claim 2, characterized in that, The step of generating a first checksum based on the first current fluctuation value and the first voltage fluctuation value includes: Obtain a first current characteristic parameter from the first current fluctuation value, and obtain a first voltage characteristic parameter from the first voltage fluctuation value; Obtain the operating time of the target access device; A first check code is generated based on the first current characteristic parameter, the first voltage characteristic parameter, and the working duration.

4. The method according to claim 2, characterized in that, The step of obtaining the second verification code from the energy management device includes: When the energy management device establishes a communication connection with the reference access device, the second current fluctuation value and the second voltage fluctuation value of the reference access device are obtained. The second current characteristic parameter is obtained based on the second current fluctuation value, and the second voltage characteristic parameter is obtained based on the second voltage fluctuation value; Obtain at least one operating duration of the reference access device under normal operating conditions; Calculate the average of the at least one working time to obtain the standard working time; A second check code is generated based on the second current characteristic parameter, the second voltage characteristic parameter, and the standard operating duration.

5. The method according to claim 1, characterized in that, The heartbeat cycle of the target access device configured includes: Obtain the device type and identification information of the target access device, wherein the identification information includes an identification code used to indicate the target access device; Configure the lifecycle of the target access device according to the device type and the identification information; The heartbeat cycle is configured according to the device type of the target access device and the lifecycle.

6. The method according to claim 5, characterized in that, The step of obtaining the current parameter data of the target access device through the energy management device includes: The identification code of the target access device is determined based on the heartbeat cycle of the target access device; Based on the identification code, the current parameter data of the target access device is obtained from the energy management device.

7. The method according to claim 1, characterized in that, The current parameter data also includes a first charge / discharge response time, a first charge / discharge conversion time, and a first line communication function. The step of analyzing whether the target access device is faulty based on the current parameter data includes: Acquire multiple target parameter data of the target access device corresponding to the current parameter data. The multiple target parameter data include the second current value, second voltage value, second charge / discharge response time, second charge / discharge conversion time, and second line communication function of the target access device under normal communication conditions. The current parameter data is compared with the multiple target parameter data respectively to obtain multiple comparison results corresponding to the multiple target parameter data; Based on the multiple comparison results, a difference item is determined, which is used to indicate the target parameter data in the comparison results whose numerical difference is greater than a threshold range; Obtain the interruption cause diagnosis records of the target access device during historical communication interruptions; The target access device is determined to be faulty based on the difference items and the interruption cause diagnosis record.

8. A device for detecting changes in equipment, characterized in that, include: A configuration unit is used to configure the heartbeat cycle of a target access device, wherein the target access device is an access device among the at least one already connected devices; The first determining unit is configured to determine whether a heartbeat signal from the target access device has been received when the time corresponding to the heartbeat cycle of the target access device arrives. The first acquisition unit is configured to, if the heartbeat signal is received, acquire the current parameter data of the target access device through the energy management device, wherein the current parameter data includes the current first current value and first voltage value of the target access device; The analysis unit is used to analyze whether the target access device is faulty based on the current parameter data; The second acquisition unit is used to acquire a first current fluctuation value based on the first current value and the standard current value when the target access device is not faulty. And obtain the first voltage fluctuation value based on the first voltage value and the standard voltage value; The second determining unit is used to determine whether there is a device to be connected based on the first current fluctuation value and the first voltage fluctuation value. The generation unit is used to generate device access response information if it exists, and the device access response information is used to guide the establishment of a communication connection with the device to be accessed.

9. A server, characterized in that, include: One or more processors; A memory on which one or more programs are stored; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1-7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.