Load management system and wireless communication method
By introducing a wireless communication unit into the power load management system, the problem of poor data transmission flexibility under the traditional wired cable connection method is solved, enabling flexible control and low-cost transformation of power equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HUIZHOU POWER SUPPLY BUREAU OF GUANGDONG POWER GRID CO LTD
- Filing Date
- 2026-01-15
- Publication Date
- 2026-05-15
AI Technical Summary
In existing power load management systems, the connection between the new power load management terminal and the branch device uses traditional wired cables, which results in poor data transmission flexibility, high costs, and the need to replan the cable lines when users upgrade or expand their power equipment.
By adopting a wireless connection between the load management terminal and the main and slave communication units, control commands are determined and wirelessly transmitted through mapping relationships, enabling flexible control of power equipment.
It improves the flexibility of data transmission, reduces cable laying costs, and supports flexible modification and expansion of power equipment.
Smart Images

Figure CN122052331A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power technology, and in particular to a load management system and a wireless communication method. Background Technology
[0002] In the power load management system, the new power load management terminal is connected to branch devices and intelligent flexible control terminals. The branch devices or intelligent flexible control terminals collect data from users' power equipment and transmit it to the power load management terminal, which then processes and analyzes the data.
[0003] In existing technologies, new power load management terminals and branch devices, as well as intelligent flexible control terminals, adopt traditional wired cable connection methods, and realize the connection and data transmission of the power load management system by laying a large number of cables.
[0004] However, traditional wired cable connections suffer from poor data transmission flexibility. Summary of the Invention
[0005] This application provides a load management system and a wireless communication method to solve the technical problem of poor data transmission flexibility.
[0006] In a first aspect, embodiments of this application provide a load management system, including: a load management terminal, a main communication unit connected to the load management terminal, and at least one slave communication unit wirelessly connected to the main communication unit, wherein each slave communication unit is connected to a corresponding power equipment through a corresponding branch device;
[0007] The load management terminal determines a first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. The mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit. The first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled.
[0008] The load management terminal sends the first instruction to the main communication unit;
[0009] The main communication unit parses the identifier of the target slave communication unit from the first instruction, and sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit through the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0010] In one or more embodiments, the main communication unit includes: a first interface circuit, a first processing module, and a first wireless communication module connected to the load management terminal;
[0011] The first interface circuit acquires the first instruction sent by the load management terminal;
[0012] The first processing module parses the identifier of the target from the communication unit and the control request from the first instruction;
[0013] The first wireless communication module sends the control request to the target slave communication unit.
[0014] In one or more embodiments, the main communication unit further includes: a first buffer and a first power management module;
[0015] The first buffer caches the first instruction;
[0016] The first power management module supplies power to the first processing module, the first wireless communication module, and the first buffer.
[0017] In one or more embodiments, the target communication unit includes: a second interface circuit, a second processing module, a second wireless communication module, and a second power management module connected to the target branch device;
[0018] The second wireless communication module receives the control request sent by the main communication unit;
[0019] The second processing module sends the control request to the target branch device through the second interface circuit;
[0020] The second power management module supplies power to the second processing module and the second wireless communication module.
[0021] Secondly, embodiments of this application provide a wireless communication method for a load management system, applied to a load management terminal in the load management system, the method comprising:
[0022] Obtain the identification and control request of the electrical equipment to be controlled;
[0023] Based on the identifier of the power device to be controlled, the control request, and the mapping relationship, a first instruction is determined. The mapping relationship records the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit. The first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled.
[0024] The first instruction is sent to the main communication unit so that the main communication unit controls the power equipment to be controlled to operate based on the first instruction.
[0025] In one or more embodiments, determining the first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship includes:
[0026] In the mapping relationship, the identifier of the target communication unit corresponding to the identifier of the power equipment to be controlled is determined;
[0027] The first instruction is generated based on the identifier of the target communication unit and the control request.
[0028] In one or more embodiments, before determining the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled in the mapping relationship, the method further includes:
[0029] In response to a user's configuration operation, the identifier of the at least one communication unit and the identifier of the at least one power device are obtained;
[0030] The mapping relationship is generated based on the identifier of the at least one communication unit and the identifier of the at least one power device.
[0031] Thirdly, embodiments of this application provide a wireless communication method for a load management system, applied to the main communication unit in the load management system, the method comprising:
[0032] The first instruction sent by the load management terminal is obtained. The first instruction is determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. It carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled. The mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit.
[0033] The identifier of the target from the communication unit is parsed from the first instruction;
[0034] The target slave communication unit sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0035] In one or more embodiments, before sending the control request in the first instruction to the target branch device corresponding to the target slave communication unit via the target slave communication unit, the method further includes:
[0036] In response to a connection creation request, search for slave communication units that are in a listening and waiting state, and obtain the identifier of at least one slave communication unit;
[0037] For each slave communication unit, a first pairing request is sent, the first pairing request including the first key of the master communication unit;
[0038] In response to a second pairing request sent by the slave communication unit, a connection is established with the slave communication unit, the second pairing request including a second key of the slave communication unit.
[0039] In one or more embodiments, the method of sending the control request in the first instruction to the target branch device corresponding to the target slave communication unit via the target slave communication unit further includes:
[0040] A first heartbeat packet is sent to the target from the communication unit. The first heartbeat packet is used to detect the connection status between the master communication unit and the target from the communication unit.
[0041] If a second heartbeat packet sent by the target from the communication unit is obtained within a first preset time period, it is determined that the main communication unit and the target from the communication unit are in a normal connection state. The second heartbeat packet is determined by the target from the communication unit based on the first heartbeat packet.
[0042] If the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, a connection creation request with the target from the communication unit is triggered.
[0043] Fourthly, embodiments of this application provide a wireless communication device for a load management system, applied to a load management terminal in the load management system, comprising:
[0044] The first acquisition module is used to acquire the identifier and control request of the power equipment to be controlled;
[0045] The determining module is used to determine a first instruction based on the identifier of the power device to be controlled, the control request, and the mapping relationship, wherein the mapping relationship records the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit, and the first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled.
[0046] The first sending module is used to send the first instruction to the main communication unit so that the main communication unit controls the power equipment to be controlled to operate based on the first instruction.
[0047] In one or more embodiments, determining the first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship includes:
[0048] In the mapping relationship, the identifier of the target communication unit corresponding to the identifier of the power equipment to be controlled is determined;
[0049] The first instruction is generated based on the identifier of the target communication unit and the control request.
[0050] In one or more embodiments, before determining the identifier of the target communication unit corresponding to the identifier of the power equipment to be controlled in the mapping relationship, the first acquisition module is further configured to:
[0051] In response to a user's configuration operation, the identifier of the at least one communication unit and the identifier of the at least one power device are obtained;
[0052] The mapping relationship is generated based on the identifier of the at least one communication unit and the identifier of the at least one power device.
[0053] Fifthly, embodiments of this application provide a wireless communication device for a load management system, applied to the main communication unit in the load management system, comprising:
[0054] The second acquisition module is used to acquire a first instruction sent by the load management terminal. The first instruction is determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. It carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled. The mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit.
[0055] A parsing module is used to parse the identifier of the target from the communication unit from the first instruction;
[0056] The second sending module is used to send the control request in the first instruction to the target branch device corresponding to the target branch device through the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0057] In one or more embodiments, before sending the control request in the first instruction to the target branch device corresponding to the target slave communication unit via the target slave communication unit, the second sending module is further configured to:
[0058] In response to a connection creation request, search for slave communication units that are in a listening and waiting state, and obtain the identifier of at least one slave communication unit;
[0059] For each slave communication unit, a first pairing request is sent, the first pairing request including the first key of the master communication unit;
[0060] In response to a second pairing request sent by the slave communication unit, a connection is established with the slave communication unit, the second pairing request including a second key of the slave communication unit.
[0061] In one or more embodiments, when the control request in the first instruction is sent to the target branch device corresponding to the target slave communication unit via the target slave communication unit, the second sending module is further configured to:
[0062] A first heartbeat packet is sent to the target from the communication unit. The first heartbeat packet is used to detect the connection status between the master communication unit and the target from the communication unit.
[0063] If a second heartbeat packet sent by the target from the communication unit is obtained within a first preset time period, it is determined that the main communication unit and the target from the communication unit are in a normal connection state. The second heartbeat packet is determined by the target from the communication unit based on the first heartbeat packet.
[0064] If the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, a connection creation request with the target from the communication unit is triggered.
[0065] Sixthly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0066] The memory stores computer-executed instructions;
[0067] The processor executes computer execution instructions stored in the memory, such that the processor, when executed, is used to implement the method described in the first aspect and any of the embodiments above.
[0068] In a seventh aspect, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the methods described in the first aspect and any of the embodiments above.
[0069] Eighthly, this application provides a computer program product, including a computer program that, when executed by a processor, is used to implement a wireless communication method for a load management system as described in the first aspect and various possible implementations of the first aspect.
[0070] The load management system provided in this application includes: a load management terminal, a main communication unit connected to the load management terminal, and at least one slave communication unit wirelessly connected to the main communication unit. Each slave communication unit is connected to a corresponding power device through a corresponding branch device. In this technical solution, the load management terminal first determines a first instruction based on the identifier of the power device to be controlled, the control request, and a mapping relationship. The mapping relationship records the correspondence between the identifiers of at least one power device and the identifiers of at least one slave communication unit. The first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled. Then, the load management terminal sends the first instruction to the main communication unit. The main communication unit parses the identifier of the target slave communication unit from the first instruction and sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit through the target slave communication unit, so that the target branch device can operate the power device to be controlled according to the control request. In this technical solution, by setting up a wireless communication method between the main communication unit and the slave communication units, the flexibility of data transmission can be improved. Attached Figure Description
[0071] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0072] Figure 1 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 1 ;
[0073] Figure 2 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 2 ;
[0074] Figure 3 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 3 ;
[0075] Figure 4 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 4 ;
[0076] Figure 5 A flowchart illustrating the wireless communication method for a load management system provided in this application embodiment. Figure 1 ;
[0077] Figure 6 A flowchart illustrating the wireless communication method for a load management system provided in this application embodiment. Figure 2 ;
[0078] Figure 7Schematic diagram of the structure of the wireless communication device for the load management system provided in the embodiments of this application Figure 1 ;
[0079] Figure 8 Schematic diagram of the structure of the wireless communication device for the load management system provided in the embodiments of this application Figure 2 ;
[0080] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0081] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0082] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0083] Before introducing the embodiments of this application, the application background of the embodiments of this application will be explained first:
[0084] In the power load management system, the new power load management terminal is connected to branch devices and intelligent flexible control terminals. The branch devices or intelligent flexible control terminals collect data from user power equipment and transmit it to the power load management terminal. The power load management terminal then processes and analyzes the collected data, or it can send control commands to the branch devices or intelligent flexible control terminals to further control the user power equipment connected to these devices to perform the corresponding control operations.
[0085] In existing technologies, new power load management terminals and branch devices, as well as intelligent flexible control terminals, adopt traditional cable connection methods, and achieve the connection and data transmission of the power load management system by laying a large number of cables.
[0086] However, the connection between the new power load management terminal and branch devices, as well as the intelligent flexible control terminal, adopts the traditional cable connection method, which requires laying a large number of cables, resulting in high costs. When users' power equipment needs to be modified, expanded, or the location of branch devices needs to be adjusted, it is usually necessary to replan and lay cable lines, and there are technical problems with poor data transmission flexibility.
[0087] The load management system provided in this application aims to solve the aforementioned technical problems of the prior art. The inventive concept of this application is as follows: In a power load management system, the power load management terminal and branch devices transmit data via cable connection. When adjustments to the branch devices are required, the cable lines need to be re-planned. This application considers achieving data transmission between the power load management terminal and the branch devices without requiring extensive cable laying. By setting up a main communication unit connected to the load management terminal and a slave communication unit connected to the branch devices, and using a wireless communication method between the main and slave communication units, data transmission between the load management terminal and the branch devices can be achieved, effectively avoiding the technical problem of poor data transmission flexibility caused by cable connection.
[0088] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0089] Figure 1 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 1 .like Figure 1 As shown, the load management system includes: a load management terminal, a main communication unit connected to the load management terminal, and at least one slave communication unit wirelessly connected to the main communication unit. Each slave communication unit is connected to a corresponding power equipment through a corresponding branch device.
[0090] The following execution logic exists in this load management system:
[0091] Step 1: The load management terminal determines the first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship;
[0092] The mapping relationship records the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit, and the first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled.
[0093] For example, each power device has a unique identifier, and each communication unit also has a unique identifier. A mapping relationship is pre-recorded between the identifiers of at least one power device and the identifiers of at least one communication unit. Furthermore, the identifier of the at least one power device recorded in the mapping relationship includes the identifier of the power device to be controlled. Based on the identifier of the power device to be controlled, the control request, and the mapping relationship, the load management terminal determines the identifier of the corresponding target communication unit according to the identifier of the power device to be controlled within the mapping relationship, thereby determining a first instruction carrying the identifier of the target communication unit corresponding to the identifier of the power device to be controlled.
[0094] In one possible implementation, the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit recorded in the mapping relationship is a one-to-one correspondence. Based on the identifier of at least one slave communication unit and the mapping relationship, the identifier of the corresponding at least one power device can be uniquely determined; and based on the identifier of at least one power device and the mapping relationship, the identifier of the corresponding at least one slave communication unit can also be uniquely determined.
[0095] Step 2: The load management terminal sends the first instruction to the main communication unit.
[0096] For example, the load management terminal sends the generated first instruction to the main communication unit, wherein the first instruction includes the identifier of the power equipment to be controlled, the control request, and the mapping relationship.
[0097] In one possible implementation, the power equipment to be controlled can be a user circuit breaker or a user switch. The corresponding control request can be to collect the switching status of the user circuit breaker or user switch, as well as the current, or to perform opening or closing operations on the user circuit breaker or user switch.
[0098] The electrical equipment to be controlled can also be a transformer, in which case the corresponding control request can be to collect data such as the transformer's temperature, current, and voltage.
[0099] Step 3: The main communication unit parses the identifier of the target slave communication unit from the first instruction, and sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit through the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0100] For example, the branch device connected to the target from the communication unit is called the target branch device, and the target branch device is connected to the power equipment to be controlled.
[0101] The first instruction also includes a control request, which is used to collect the switching status of the power equipment to be controlled, or to perform the switching operation of the power equipment to be controlled.
[0102] The main communication unit parses the identifier of the target slave communication unit from the first instruction, which can identify the target slave communication unit, and then identify the target branch device connected to the target slave communication unit. Then, based on the target branch device, it identifies the power equipment to be controlled connected to the target branch device.
[0103] After identifying the target communication unit based on its identifier, the main communication unit parses the control request from the first instruction and sends the parsed control request to the target branch device connected to the target communication unit through the target communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0104] In one possible implementation, the power equipment to be controlled can be a user circuit breaker. The target branch device can operate the power equipment to be controlled by a control request to collect the switching status of the user circuit breaker. Furthermore, the collected switching status data of the user circuit breaker can be returned to the target slave communication unit through the target branch device, so that the target slave communication unit can send the switching status data to the main communication unit through a wireless connection for subsequent processing.
[0105] For example, when there is a current overload, the switching status of the user's circuit breaker can be collected according to the control request, and the switching status can be sent from the target branch device to the target slave communication unit, then from the target slave communication unit to the main communication unit, and then from the main communication unit to the load management terminal to determine whether the circuit needs to be disconnected. If the circuit needs to be disconnected, the load management terminal sends a first instruction containing the control request to disconnect the circuit, and sends the first instruction from the main communication unit to the target slave communication unit, and then from the target slave communication unit to the target branch device, and then performs a tripping operation on the user's circuit breaker according to the control request to disconnect the circuit.
[0106] The load management system provided in this application includes: a load management terminal, a main communication unit connected to the load management terminal, and at least one slave communication unit wirelessly connected to the main communication unit. Each slave communication unit is connected to a corresponding power device through a corresponding branch device. First, the load management terminal generates a first instruction based on the identifier of the power device to be controlled, the control request, and a mapping relationship. The mapping relationship records the correspondence between the identifiers of at least one power device and the identifiers of at least one slave communication unit. The first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled. Then, the load management terminal sends the first instruction to the main communication unit. The main communication unit parses the identifier of the target slave communication unit from the first instruction and sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit through the target slave communication unit, so that the target branch device can operate the power device to be controlled according to the control request. In this embodiment, the wireless connection between the main communication unit and the slave communication units improves the flexibility of data transmission.
[0107] Based on the above embodiments, Figure 2 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 2 .like Figure 2 As shown, the main communication unit includes: a first interface circuit connected to the load management terminal, a first processing module, and a first wireless communication module.
[0108] Accordingly, based on the above structure, the following operations can be performed:
[0109] Step 1: The first interface circuit acquires the first instruction sent by the load management terminal.
[0110] For example, the first interface circuit in the main communication unit is connected to the load management terminal via a wire, and the first interface circuit obtains the first instruction sent by the load management terminal.
[0111] In one possible implementation, the first interface circuit may include a protocol converter or processor for achieving transmission protocol compatibility between the load management terminal and the main communication unit. Through the first interface circuit, the main communication unit can establish a wired connection with the load management terminal to transmit first instructions and data.
[0112] On the one hand, the load management terminal can send a first instruction to the main communication unit in real time through the first interface circuit, and the main communication unit can respond quickly and obtain the first instruction sent by the load management terminal.
[0113] On the other hand, the main communication unit can send the response data obtained according to the first instruction to the load management terminal in real time through the first interface circuit. The load management terminal can monitor the response data in real time and perform subsequent processing based on the response data.
[0114] For example, if the load management terminal needs to adjust the load status of transformer A, it can send a first instruction including the adjustment control request to the main communication unit through the first interface circuit. Then, the main communication unit processes the first instruction and finally controls the transformer A to adjust its load status. After that, the main communication unit can transmit the adjusted load status of transformer A and the collected current and voltage data of transformer A back to the load management terminal through the first interface circuit.
[0115] Step 2: The first processing module parses the target's identifier and control request from the first instruction.
[0116] For example, the first instruction includes the target's identification and control request from the communication unit. After the first interface circuit in the main communication unit obtains the first instruction, the first processing module in the main communication unit parses the first instruction to obtain the target's identification and control request from the communication unit.
[0117] In one possible implementation, the first processing module may include a multi-core architecture chip that can quickly parse the first instruction sent by the load management terminal. When the first instruction is related to multiple power devices to be controlled and multiple control requests, the multi-core architecture chip can process multiple control requests in the first instruction simultaneously.
[0118] Step 3: The first wireless communication module sends a control request to the target slave communication unit.
[0119] For example, the target slave communication unit is determined based on the identifier of the target slave communication unit, and the first wireless communication module in the main communication unit sends the control request to the target slave communication unit via a wireless connection.
[0120] In one possible implementation, the first wireless communication module can use a wireless radio frequency transceiver selected with a specific frequency band (e.g., adjustable between 433MHz and 915MHz) to convert control requests into wireless radio frequency signals and send them to the target communication unit. The 433MHz radio frequency signal frequency is used for short-distance transmission and is suitable for small electrical devices to be controlled, while the 915MHz radio frequency signal frequency is used for long-distance transmission and is suitable for applications in open spaces or those not easily blocked by obstacles.
[0121] When multiple control requests require control operations on multiple electrical devices, frequency modulation spread spectrum technology and adaptive filtering technology can be used to transmit the wireless radio frequency signals of the control requests between multiple frequencies and filter out interference from the wireless radio frequency signals. This avoids interference caused by fixed frequencies and reduces overlap between different wireless radio frequency signals.
[0122] In one possible implementation, the first wireless communication module may employ wireless connection and communication technologies such as Bluetooth, Wireless Fidelity (Wi-Fi), or Zigbee wireless communication technology.
[0123] The load management system provided in this application embodiment includes a main communication unit comprising: a first interface circuit connected to a load management terminal, a first processing module, and a first wireless communication module. The first interface circuit acquires a first instruction sent by the load management terminal; the first processing module parses the identifier of the target slave communication unit and the control request from the first instruction; and the first wireless communication module sends the control request to the target slave communication unit. In this embodiment, through the first processing module, the main communication unit can quickly acquire and parse the first instruction sent by the load management terminal, and accurately send the parsed control request to the target slave communication unit based on the parsed identifier, thereby improving the reliability of data transmission.
[0124] Based on the above embodiments, Figure 3 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 3 .like Figure 3 As shown, the main communication unit also includes: a first buffer and a first power management module.
[0125] Accordingly, based on the above structure, the following operations can be performed:
[0126] Step 1: The first buffer caches the first instruction.
[0127] For example, after the first interface circuit in the main communication unit receives the first instruction sent by the load management terminal, the first buffer receives the first instruction transmitted by the first interface circuit and buffers it.
[0128] In one possible implementation, the first buffer can temporarily store the first instruction. When the first interface circuit obtains multiple first instructions, the first instructions are cached in the first buffer according to the order in which the first interface circuit obtains them.
[0129] The first cache can be configured with a large-capacity high-speed cache chip to cache at least one first instruction, thus avoiding the problems of first instruction congestion and information loss.
[0130] Step 2: The first power management module supplies power to the first processing module, the first wireless communication module, and the first buffer.
[0131] For example, the first power management module in the main communication unit can supply power to the first processing module, the first wireless communication module and the first buffer to support the normal operation of the main communication unit.
[0132] In one possible implementation, the first power management module can convert the external power supply voltage input into a stable operating voltage that meets the requirements for normal operation of the first processing module, the first wireless communication module, and the first buffer in the main communication unit.
[0133] The first power management module can provide overvoltage protection, overcurrent protection, and overload protection for the main communication unit. When the external input power voltage exceeds the tolerance range of the main communication unit, the first power management module will automatically disconnect the external power input through voltage detection and overvoltage protection.
[0134] When the current exceeds the set current value, the first power management module disconnects the external power input.
[0135] When the main communication unit is overloaded, the first power management module cuts off power or reduces the power supply voltage to the first processing module, the first wireless communication module, and the first buffer.
[0136] The load management system provided in this application embodiment further includes a main communication unit comprising a first buffer and a first power management module. The first buffer buffers first instructions; the first power management module supplies power to the first processing module, the first wireless communication module, and the first buffer. In this embodiment, by setting the first buffer to buffer the first instructions, the main communication unit can continue to receive new first instructions while processing the current first instruction, avoiding data congestion caused by excessive data volume and ensuring the continuity and smoothness of first instruction transmission; by setting the first power management module, the input power voltage can be converted into a stable operating voltage required by the internal modules and components of the main communication unit, ensuring the safe and reliable operation of the main communication unit.
[0137] Based on the above embodiments, Figure 4 A schematic diagram of the structure of the load management system provided in the embodiments of this application. Figure 4 .like Figure 4 As shown, the target communication unit includes: a second interface circuit connected to the target branch device, a second processing module, a second wireless communication module, and a second power management module.
[0138] Accordingly, based on the above structure, the following operations can be performed:
[0139] Step 1: The second wireless communication module receives the control request sent by the main communication unit.
[0140] For example, the target receives a control request sent by the first wireless communication module of the main communication unit from the second wireless communication module in the communication unit.
[0141] In one possible implementation, the target establishes a wireless connection between the communication unit and the main communication unit, that is, the second wireless communication module communicates with the first wireless communication module through a wireless connection and receives control requests sent by the first wireless communication module.
[0142] The target is to match the second wireless communication module in the communication unit with the first wireless communication module in the main communication unit, and to use a wireless radio frequency chip with the same frequency band and the same communication protocol as the first wireless communication module to ensure a stable wireless connection and data exchange between the two.
[0143] In one possible implementation, the second wireless communication module may adopt the same wireless communication technologies used by the first wireless communication module, such as Bluetooth, Wireless Fidelity (Wi-Fi), or Zigbee.
[0144] Step 2: The second processing module sends the control request to the target branch device through the second interface circuit.
[0145] For example, the second interface circuit in the target communication unit is connected to the target branch device via a wired connection. The second processing module in the target communication unit sends the control request obtained by the second wireless communication module to the target branch device that is wiredly connected to the second interface circuit through the second interface circuit.
[0146] In one possible implementation, the second processing module can employ a microcontroller unit (MCU) to send control requests to the target branch device in a timely and efficient manner through the second interface circuit.
[0147] The second interface circuit may include a protocol converter or processor to achieve transmission protocol compatibility between the target communication unit and the target branch device. Through the second interface circuit, the target communication unit can establish a wired connection with the target branch device to transmit control requests and data.
[0148] Step 3: The second power management module supplies power to the second processing module and the second wireless communication module.
[0149] For example, the second power management module provided in the target from the communication unit can supply power to the second processing module and the second wireless communication module to support the normal operation of the target from the communication unit.
[0150] In one possible implementation, the second power management module can be designed according to the power supply conditions of the target branch device, perform appropriate power management based on the power supply voltage input of the target branch device, and convert the power supply voltage input of the target branch device into a stable operating voltage that meets the normal operation requirements of the second processing module and the second wireless communication module in the target communication unit.
[0151] The load management system provided in this application embodiment includes a target-to-target communication unit comprising: a second interface circuit connected to a target branch device, a second processing module, a second wireless communication module, and a second power management module. The second wireless communication module receives control requests sent by the main communication unit; the second processing module sends the control requests to the target branch device via the second interface circuit; and the second power management module supplies power to the second processing module and the second wireless communication module. In this embodiment, the second wireless communication module receives control requests from the main communication unit and sends them to the target branch device via the second processing module, enabling rapid and accurate transmission of control requests and improving the response speed and control efficiency of the load management system.
[0152] Figure 5 A flowchart illustrating the wireless communication method for a load management system provided in this application embodiment. Figure 1 .like Figure 5 As shown, the wireless communication method of this load management system is applied to the load management terminal in the load management system, and the method includes the following steps:
[0153] S510, Obtain the identifier and control request of the power equipment to be controlled.
[0154] In this step, the identifier of the power equipment to be controlled is used to uniquely identify the power equipment to be controlled. The load management terminal obtains the identifier of the power equipment to be controlled and the control request for the power equipment to be controlled.
[0155] In one possible implementation, the load management system also includes a system master station, which can send control requests for the power equipment to be controlled to the load management terminals.
[0156] For example, the identifier of the electrical equipment to be controlled can be a numeric identifier or a string identifier, used to uniquely identify the electrical equipment to be controlled.
[0157] For example, if the power equipment to be controlled is a user circuit breaker, its identifier can be "10001"; if the power equipment to be controlled is a transformer, its identifier can be "10002".
[0158] A control request can be a request to perform control operations on the electrical equipment to be controlled.
[0159] For example, a control request 1 can be sent to user circuit breaker 1 to collect the switching status information of user circuit breaker 1, and a control request 2 can be sent to user circuit breaker 2 to trip user circuit breaker 2.
[0160] S520: Determine the first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship;
[0161] The mapping relationship records the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit, and the first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled.
[0162] In this step, the identifier of at least one power device recorded in the mapping relationship includes the identifier of the power device to be controlled. Based on the identifier of the power device to be controlled and the mapping relationship, the identifier of the target communication unit corresponding to the identifier of the power device to be controlled can be determined, and then the first instruction carrying the identifier of the target communication unit corresponding to the identifier of the power device to be controlled and the control request can be determined.
[0163] In one possible implementation, step S520 may further include:
[0164] S1. Determine the identifier of the target communication unit corresponding to the identifier of the power equipment to be controlled in the mapping relationship;
[0165] For example, a mapping relationship is obtained in advance, which records the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit. The identifier of at least one power device recorded in the mapping relationship includes the identifier of the power device to be controlled. Then, the identifier of the slave communication unit corresponding to the identifier of the power device to be controlled is determined in the mapping relationship based on the identifier of the power device to be controlled, and is used as the identifier of the target slave communication unit.
[0166] In one possible implementation, at least one power device can have a one-to-one correspondence with at least one slave communication unit. The correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit can be pre-set and recorded in the mapping relationship.
[0167] In one possible implementation, prior to step S1 above, the wireless communication method of the load management system further includes:
[0168] Step 1: In response to the user's configuration operation, obtain at least one identifier from the communication unit and at least one identifier from the power device.
[0169] For example, a user can configure power equipment based on the system master station. In response to the user's configuration operation, the load management terminal obtains the identifier of at least one power equipment and the identifier of at least one slave communication unit.
[0170] In one possible implementation, the user's configuration operation may include the identifier of at least one power device and the identifier of at least one communication unit.
[0171] Step 2: Generate a mapping relationship based on the identifier of at least one communication unit and the identifier of at least one power device.
[0172] For example, there is a correspondence between the identifier of at least one communication unit and the identifier of at least one power device, and this correspondence is one-to-one. A mapping relationship is generated based on the correspondence between the identifier of at least one communication unit and the identifier of at least one power device.
[0173] In one possible implementation, the identifier of at least one slave communication unit corresponding to at least one power device can be uniquely determined based on the identifier of at least one power device and the generated mapping relationship.
[0174] S2. Generate the first instruction based on the target's identification and control request from the communication unit.
[0175] For example, based on the identifier of the target from the communication unit and the control request, a first instruction is generated to instruct the power equipment corresponding to the target from the communication unit to perform control operations on it according to the control request.
[0176] In one possible implementation, the generated first instruction carries the target's identification and control request from the communication unit. The target's communication unit, identification, and control request can be determined based on the first instruction and then analyzed and processed.
[0177] S530. Send the first instruction to the main communication unit so that the main communication unit controls the power equipment to be controlled to operate based on the first instruction.
[0178] In this step, the load management terminal sends the determined first instruction to the main communication unit, so that the main communication unit controls the power equipment to be controlled to operate according to the control request in the first instruction.
[0179] In one possible implementation, the load management terminal sending the determined first instruction to the main communication unit can be achieved through a wired connection between the load management terminal and the first interface circuit in the main communication unit.
[0180] For example, the first interface circuit in the main communication unit includes a protocol converter, which can convert the first instruction sent by the load management terminal through protocol conversion so that the main communication unit can recognize and execute it.
[0181] The wireless communication method for a load management system provided in this application first obtains the identifier and control request of the power equipment to be controlled; then, based on the identifier of the power equipment to be controlled, the control request, and a mapping relationship, a first instruction is determined, wherein the mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit, and the first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled; finally, the first instruction is sent to the master communication unit so that the master communication unit controls the power equipment to be controlled to operate based on the first instruction. In this embodiment, by obtaining the identifier and control request of the power equipment to be controlled, and determining the first instruction based on the identifier of the power equipment to be controlled, the identifier of the target slave communication unit is determined according to the first instruction carrying the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled. This ensures that the power equipment to be controlled is accurately controlled according to the control request; by establishing a mapping relationship between the identifier of the power equipment and the identifier of the slave communication unit, the power equipment corresponding to the identifier of the power equipment can be accurately found according to the identifier of the slave communication unit, thereby improving the management efficiency of the load management system.
[0182] Based on the above embodiments, Figure 6 A flowchart illustrating the wireless communication method for a load management system provided in this application embodiment. Figure 2 .like Figure 6 As shown, the wireless communication method of this load management system is applied to the main communication unit in the load management system, and the method includes the following steps:
[0183] S610, Obtain the first instruction sent by the load management terminal;
[0184] The first instruction is determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. It carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled, and the mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit.
[0185] In this step, a mapping relationship is obtained based on the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit. The identifier of the at least one power device recorded in the mapping relationship includes the identifier of the power device to be controlled. The load management terminal obtains a first instruction carrying the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled based on the identifier of the power device to be controlled, the control request, and the mapping relationship, and then sends it. The main communication unit receives the first instruction sent by the load management terminal.
[0186] In one possible implementation, the first instruction sent by the load management terminal can be obtained through the first interface circuit in the main communication unit.
[0187] S620: Parse the identifier of the target communication unit from the first instruction.
[0188] In this step, the identifier of the target communication unit corresponding to the identifier of the power equipment to be controlled can be parsed from the first instruction determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship.
[0189] For example, the first instruction carries the identifier of the target from the communication unit corresponding to the identifier of the power equipment to be controlled.
[0190] In one possible implementation, there is a correspondence between the power equipment to be controlled and the target from the communication unit, and correspondingly, there is also a correspondence between the identifier of the power equipment to be controlled and the identifier of the target from the communication unit.
[0191] For example, the identifier of power equipment D1 is "2001", the identifier of slave communication unit T1 which corresponds to the identifier of power equipment D1 is "3001", the identifier of power equipment D2 is "2002", and the identifier of slave communication unit T2 which corresponds to the identifier of power equipment D2 is "3002".
[0192] If the identifier of the power equipment to be controlled in the first instruction is "2002", then the identifier of the corresponding target from the communication unit is "3002". Therefore, it can be obtained from the first instruction that the identifier of the power equipment to be controlled "2002" corresponds to the identifier of the target from the communication unit "3002".
[0193] In one possible implementation, the identifier of the target communication unit can be parsed from the first instruction by parsing it through the first processing module in the main communication unit.
[0194] S630: The control request in the first instruction is sent from the target slave communication unit to the target branch device corresponding to the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0195] In this step, a corresponding target branch device is connected to the target slave communication unit, and the power equipment to be controlled is connected through the target branch device. The first instruction contains a control request. After obtaining the control request according to the first instruction, the target slave communication unit sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit, so that the target branch device can operate the power equipment to be controlled according to the control request.
[0196] In one possible implementation, the first instruction includes a control request. The first processing module in the main communication unit parses the first instruction to obtain the control request. Then, the first wireless communication module in the main communication unit sends the control request to the second wireless communication module in the target slave communication unit. The second interface circuit in the target slave communication unit then sends the control request to the corresponding target branch device, so that the target branch device can operate the power equipment to be controlled through the control request.
[0197] In one possible implementation, prior to step S630 above, the method further includes:
[0198] Step 1: In response to the connection creation request, search for slave communication units that are in a listening and waiting state, and obtain the identifier of at least one slave communication unit.
[0199] For example, in response to a connection creation request, the master communication unit searches for slave communication units that are in a listening and waiting state, and obtains the identifier of at least one slave communication unit found.
[0200] In one possible implementation, the master communication unit requests to establish a connection with at least one slave communication unit that is in a listening and waiting state, based on a connection creation request, and obtains the identifier of at least one slave communication unit.
[0201] The slave communication unit is in a listening and waiting state, which indicates that the slave communication unit is waiting for the master communication unit to connect.
[0202] Step 2: Send a first pairing request for each communication unit;
[0203] The first pairing request includes the first key of the main communication unit.
[0204] For example, for each slave communication unit, a first pairing request including the first key of the master communication unit is sent.
[0205] In one possible implementation, symmetric key encryption can be used to encrypt both the master and slave communication units, or asymmetric key encryption can be used.
[0206] For example, asymmetric key encryption is used to encrypt the master communication unit and the slave communication unit. The master communication unit generates a pair of keys (public key K1, private key S1), and the slave communication unit generates a pair of keys (public key K2, private key S2).
[0207] The first key of the main communication unit can be the public key K1 of the main communication unit, which is used by the communication unit to verify the security of the first pairing request sent by the main communication unit based on the public key K1 of the main communication unit.
[0208] Once the slave communication unit successfully verifies the first key (i.e., public key K1) of the master communication unit, the slave communication unit can respond to the first pairing request sent by the master communication unit and send a second pairing request to the master communication unit.
[0209] Step 3: In response to the second pairing request sent from the communication unit, establish a connection with the communication unit;
[0210] The second pairing request includes a second key from the communication unit.
[0211] For example, in response to a second pairing request sent from the communication unit, which includes a second key of the communication unit, the master communication unit establishes a connection with the slave communication unit.
[0212] In one possible implementation, the second key of the communication unit may be the public key K2 of the communication unit, which is used by the master communication unit to verify based on the public key K2 of the communication unit.
[0213] Once the master communication unit successfully verifies the second key (i.e., public key K2) of the slave communication unit, a connection is successfully established between the master communication unit and the slave communication unit.
[0214] The connection established between the master communication unit and the slave communication unit can be a wireless connection, and communication and transmission can be carried out through the first wireless communication module in the master communication unit and the second wireless communication module in the slave communication unit.
[0215] When the master communication unit sends data to the slave communication unit, it encrypts the data using the slave communication unit's public key K2, and the slave communication unit decrypts the encrypted data using its own private key S2.
[0216] In one possible implementation, step S630 may further include:
[0217] Step 1: Send the first heartbeat packet to the target from the communication unit;
[0218] The first heartbeat packet is used to detect the connection status between the master communication unit and the target slave communication unit.
[0219] For example, the master communication unit sends a first heartbeat packet to the target slave communication unit to detect the connection status between the master communication unit and the target slave communication unit.
[0220] In one possible implementation, after the master communication unit and the target slave communication unit establish a connection, the master communication unit periodically sends a first heartbeat packet to the target communication unit. This can detect whether the connection established between the master communication unit and the target slave communication unit can achieve normal communication, and can also be used to detect whether the target slave communication unit is in an active state, thus avoiding connection loss due to communication delays.
[0221] The first heartbeat packet may include identification information used to identify the first heartbeat packet, the time the first heartbeat packet was sent, and the status that the target may return from the communication unit.
[0222] Step 2: If the second heartbeat packet sent by the target from the communication unit is obtained within the first preset time period, it is determined that the main communication unit and the target slave communication unit are in a normal connection state.
[0223] The second heartbeat packet is determined by the target from the communication unit based on the first heartbeat packet.
[0224] For example, if within a first preset time period, the target slave communication unit determines the second heartbeat packet based on the first heartbeat packet, and the main communication unit obtains the second heartbeat packet sent by the target slave communication unit, it is determined that the main communication unit and the target slave communication unit are in a normal connection state.
[0225] In one possible implementation, a first preset duration is set as the basis for determining the connection status between the master communication unit and the target slave communication unit.
[0226] Step 3: If the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, a connection creation request with the target from the communication unit is triggered.
[0227] For example, if the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, it indicates that the main communication unit and the target from the communication unit are in an abnormal connection state, triggering a connection creation request between the main communication unit and the target from the communication unit.
[0228] In one possible implementation, if no second heartbeat packet is received from the target slave communication unit within a first preset time period, the connection status between the master communication unit and the target slave communication unit is detected.
[0229] If there is a network problem between the master communication unit and the target slave communication unit, the second heartbeat packet sent by the target slave communication unit may be lost.
[0230] If the connection between the master communication unit and the target slave communication unit is interrupted, the target slave communication unit may be unable to receive the first heartbeat packet sent by the master communication unit, resulting in the inability to generate the second heartbeat packet, or the target slave communication unit may generate the second heartbeat packet, but the master communication unit may be unable to acquire it.
[0231] If the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, the master communication unit can request a connection from the target from the communication unit again through the automatic retransmission mechanism.
[0232] The wireless communication method for a load management system provided in this application first obtains a first instruction sent by a load management terminal. This first instruction is determined based on the identifier of the power equipment to be controlled, a control request, and a mapping relationship. The mapping relationship records the correspondence between the identifiers of at least one power equipment and the identifiers of at least one slave communication unit. Next, the identifier of the target slave communication unit is parsed from the first instruction. Then, the control request in the first instruction is sent from the target slave communication unit to the target branch device corresponding to the target slave communication unit, so that the target branch device can operate the power equipment to be controlled based on the control request. In this embodiment, by parsing the identifier of the target slave communication unit from the first instruction and sending the control request to the target branch device corresponding to the target slave communication unit based on that identifier, the accuracy of the transmitted control request can be ensured. By establishing a mapping relationship between the identifiers of power equipment and the identifiers of slave communication units, the configuration of different power equipment can be flexibly adjusted, and new power equipment can be easily added and controlled.
[0233] Based on the above embodiments, the following are embodiments of the apparatus involved in this application:
[0234] Figure 7 Schematic diagram of the structure of the wireless communication device for the load management system provided in the embodiments of this application Figure 1 .like Figure 7 As shown, the wireless communication device 700 of the load management system is used in the load management terminal of the load management system and includes:
[0235] The first acquisition module 710 is used to acquire the identifier and control request of the power equipment to be controlled;
[0236] The determining module 720 is used to determine a first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship, wherein the mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit, and the first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled.
[0237] The first sending module 730 is used to send a first instruction to the main communication unit so that the main communication unit controls the power equipment to be controlled to operate based on the first instruction.
[0238] In one optional embodiment, a first instruction is determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship, including:
[0239] The identifier of the target from the communication unit is determined in the mapping relationship, corresponding to the identifier of the power equipment to be controlled;
[0240] The first instruction is generated based on the target's identification and control request from the communication unit.
[0241] In an optional embodiment, before determining the identifier of the target from the communication unit corresponding to the identifier of the power equipment to be controlled in the mapping relationship, the first acquisition module 710 is further configured to:
[0242] In response to a user's configuration operation, acquire at least one identifier from a communication unit and at least one identifier from a power device;
[0243] A mapping relationship is generated based on the identifier of at least one communication unit and the identifier of at least one power device.
[0244] Figure 8 Schematic diagram of the structure of the wireless communication device for the load management system provided in the embodiments of this application Figure 2 .like Figure 8 As shown, the wireless communication device 800 of the load management system is used in the main communication unit of the load management system and includes:
[0245] The first interface circuit 810 is used to acquire a first instruction sent by the load management terminal. The first instruction is determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. It carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled. The mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit.
[0246] The first processing module 820 is used to parse the identifier of the target from the communication unit from the first instruction;
[0247] The first wireless communication module 830 is used to send the control request in the first instruction to the target branch device corresponding to the target branch device through the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
[0248] In an optional embodiment, before sending the control request in the first instruction to the target branch device corresponding to the target slave communication unit via the target slave communication unit, the first wireless communication module 830 is further configured to:
[0249] In response to a connection creation request, search for slave communication units that are in a listening and waiting state, and obtain the identifier of at least one slave communication unit;
[0250] For each slave communication unit, a first pairing request is sent, the first pairing request including the first key of the master communication unit;
[0251] In response to a second pairing request sent from the communication unit, a connection is established with the communication unit, the second pairing request including a second key from the communication unit.
[0252] In an optional embodiment, when the control request in the first instruction is sent from the target slave communication unit to the target branch device corresponding to the target slave communication unit, the first wireless communication module 830 is further configured to:
[0253] Send a first heartbeat packet to the target's slave communication unit. The first heartbeat packet is used to detect the connection status between the master communication unit and the target's slave communication unit.
[0254] If a second heartbeat packet sent by the target from the communication unit is obtained within the first preset time period, it is determined that the main communication unit and the target slave communication unit are in a normal connection state. The second heartbeat packet is determined by the target slave communication unit based on the first heartbeat packet.
[0255] If the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, a connection creation request with the target from the communication unit is triggered.
[0256] Based on the above embodiments, Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 As shown, the electronic device 900 includes: a processor 910, a memory 920, and a bus 930;
[0257] The memory 920 is used to store the computer-executed instructions of the processor 910;
[0258] The processor 910 is configured to execute the technical solutions of any of the foregoing method embodiments by executing computer execution instructions.
[0259] Optionally, the memory 920 can be either standalone or integrated with the processor 910.
[0260] Optionally, the memory 920 may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0261] Bus 930 can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, only one thick line is used to represent a bus in the accompanying drawings of this application, but this does not imply that there is only one bus or one type of bus.
[0262] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0263] The electronic device is used to execute the technical solution of any of the foregoing method embodiments. Its implementation principle and technical effect are similar, and will not be repeated here.
[0264] This application also provides a computer-readable storage medium storing computer-executable instructions thereon, which, when executed by a processor, are used to implement the technical solutions provided in any of the above method embodiments.
[0265] This application also provides a computer program product, including a computer program, which includes computer instructions stored in a computer-readable storage medium. When the computer program is executed by a processor, it is used to implement the technical solutions provided in any of the above method embodiments.
[0266] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0267] It should be further noted that although the steps in the flowchart are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowchart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0268] It should be understood that the above-described device embodiments are merely illustrative, and the device of this application can also be implemented in other ways. For example, the division of units / modules in the above embodiments is only a logical functional division, and there may be other division methods in actual implementation. For example, multiple units, modules, or components may be combined, or integrated into another system, or some features may be ignored or not executed.
[0269] Furthermore, unless otherwise specified, the functional units / modules in the various embodiments of this application can be integrated into one unit / module, or each unit / module can exist physically separately, or two or more units / modules can be integrated together. The integrated units / modules described above can be implemented in hardware or as software program modules.
[0270] When integrated units / modules are implemented in hardware, the hardware can be digital circuits, analog circuits, etc. The physical implementation of the hardware structure includes, but is not limited to, transistors, memristors, etc. Unless otherwise specified, the processor can be any suitable hardware processor, such as a CPU, GPU, FPGA, DSP, and ASIC, etc. Unless otherwise specified, the storage unit can be any suitable magnetic or magneto-optical storage medium, such as Resistive Random Access Memory (RRAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Enhanced Dynamic Random Access Memory (EDRAM), High-Bandwidth Memory (HBM), Hybrid Memory Cube (HMC), etc.
[0271] If the integrated unit / module is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard drive, magnetic disk, or optical disk.
[0272] In the above embodiments, the descriptions of each embodiment have their own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as the combination of these technical features does not contradict each other, it should be considered within the scope of this specification.
[0273] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0274] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A load management system, characterized in that, include: The load management terminal, the main communication unit connected to the load management terminal, and at least one slave communication unit wirelessly connected to the main communication unit, each slave communication unit being connected to the corresponding power equipment through a corresponding branch device; The load management terminal determines a first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. The mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit. The first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled. The load management terminal sends the first instruction to the main communication unit; The main communication unit parses the identifier of the target slave communication unit from the first instruction, and sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit through the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
2. The system according to claim 1, characterized in that, The main communication unit includes: a first interface circuit, a first processing module, and a first wireless communication module connected to the load management terminal; The first interface circuit acquires the first instruction sent by the load management terminal; The first processing module parses the identifier of the target from the communication unit and the control request from the first instruction; The first wireless communication module sends the control request to the target slave communication unit.
3. The system according to claim 2, characterized in that, The main communication unit further includes: a first buffer and a first power management module; The first buffer caches the first instruction; The first power management module supplies power to the first processing module, the first wireless communication module, and the first buffer.
4. The system according to claim 1, characterized in that, The target communication unit includes: a second interface circuit, a second processing module, a second wireless communication module, and a second power management module connected to the target branch device; The second wireless communication module receives the control request sent by the main communication unit; The second processing module sends the control request to the target branch device through the second interface circuit; The second power management module supplies power to the second processing module and the second wireless communication module.
5. A wireless communication method for a load management system, characterized in that, The method, applied to a load management terminal in any one of claims 1-4, comprises: Obtain the identification and control request of the electrical equipment to be controlled; Based on the identifier of the power device to be controlled, the control request, and the mapping relationship, a first instruction is determined. The mapping relationship records the correspondence between the identifier of at least one power device and the identifier of at least one slave communication unit. The first instruction carries the identifier of the target slave communication unit corresponding to the identifier of the power device to be controlled. The first instruction is sent to the main communication unit so that the main communication unit controls the power equipment to be controlled to operate based on the first instruction.
6. The method according to claim 5, characterized in that, The step of determining the first instruction based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship includes: In the mapping relationship, the identifier of the target communication unit corresponding to the identifier of the power equipment to be controlled is determined; The first instruction is generated based on the identifier of the target communication unit and the control request.
7. The method according to claim 6, characterized in that, Before determining the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled in the mapping relationship, the method further includes: In response to a user's configuration operation, the identifier of the at least one communication unit and the identifier of the at least one power device are obtained; The mapping relationship is generated based on the identifier of the at least one communication unit and the identifier of the at least one power device.
8. A wireless communication method for a load management system, characterized in that, The method, applied to the main communication unit in any one of the load management systems of claims 1-4, comprises: The first instruction sent by the load management terminal is obtained. The first instruction is determined based on the identifier of the power equipment to be controlled, the control request, and the mapping relationship. It carries the identifier of the target slave communication unit corresponding to the identifier of the power equipment to be controlled. The mapping relationship records the correspondence between the identifier of at least one power equipment and the identifier of at least one slave communication unit. The identifier of the target from the communication unit is parsed from the first instruction; The target slave communication unit sends the control request in the first instruction to the target branch device corresponding to the target slave communication unit, so that the target branch device can operate the power equipment to be controlled through the control request.
9. The method according to claim 8, characterized in that, Before sending the control request in the first instruction to the target branch device corresponding to the target slave communication unit via the target slave communication unit, the method further includes: In response to a connection creation request, search for slave communication units that are in a listening and waiting state, and obtain the identifier of at least one slave communication unit; For each slave communication unit, a first pairing request is sent, the first pairing request including the first key of the master communication unit; In response to a second pairing request sent by the slave communication unit, a connection is established with the slave communication unit, the second pairing request including a second key of the slave communication unit.
10. The method according to claim 9, characterized in that, The method further includes sending the control request in the first instruction to the target branch device corresponding to the target slave communication unit via the target slave communication unit: A first heartbeat packet is sent to the target from the communication unit. The first heartbeat packet is used to detect the connection status between the master communication unit and the target from the communication unit. If a second heartbeat packet sent by the target from the communication unit is obtained within a first preset time period, it is determined that the main communication unit and the target from the communication unit are in a normal connection state. The second heartbeat packet is determined by the target from the communication unit based on the first heartbeat packet. If the second heartbeat packet sent by the target from the communication unit is not received within the first preset time period, a connection creation request with the target from the communication unit is triggered.