A method for allocating and managing device communication addresses and a smart micro-interrupt system
By remotely controlling the device through smart terminal devices and performing on-site dialing actions, the problem of cumbersome address allocation for smart micro-disruptors has been solved, achieving efficient, unique, and accurate communication address management.
Patent Information
- Application Number
- CN202411485058.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2044-10-23
AI Technical Summary
The existing method of assigning slave device addresses to smart micro-power circuit breakers usually involves manual configuration, which is cumbersome and inefficient, especially when there are many slave devices.
Remote control via smart terminal devices, combined with on-site dialing actions, enables automatic allocation and management of communication addresses for slave devices. By utilizing the communication mechanism between master and slave devices, address uniqueness and high accuracy are ensured.
It enables efficient and automatic allocation and management of communication addresses for multiple slave devices, simplifies the operation process, improves efficiency, ensures address uniqueness and low error rate, and has a high matching degree.
Smart Images

Figure CN119316396B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial communication technology, and in particular to a method for allocating and managing device communication addresses and a smart micro-circuit system. Background Technology
[0002] Smart Miniature Circuit Breakers (SMCBs) are an important component of the smart grid. They utilize built-in intelligent monitoring systems to collect key electrical parameters such as current, voltage, and power factor in real time, and then rapidly process and analyze this data using built-in algorithms. This capability enables SMCBs to accurately identify abnormal states in the power system, such as harmonic pollution and load imbalances, providing system managers with detailed energy consumption reports that reveal the details and trends of energy use, thus providing a scientific basis for developing energy-saving strategies. Based on the data analysis results from intelligent monitoring, SMCBs can implement precise control strategies, dynamically adjusting and optimizing the scheduling of equipment in the power system to reduce energy losses.
[0003] Existing smart micro-circuit devices typically include one master device and multiple slave devices. The address allocation method for existing slave devices usually requires manual configuration by the user, which is cumbersome if there are many slave devices. Summary of the Invention
[0004] The purpose of this invention is to provide a method for allocating and managing device communication addresses, and a smart micro-circuit system capable of running the method, which can at least solve one of the above-mentioned problems.
[0005] According to one aspect of the present invention, a method for allocating and managing device communication addresses is provided, applied to a smart miniature circuit breaker system. The smart miniature circuit breaker system includes a cloud server, a circuit breaker communicating with the cloud server, and a smart terminal device communicating with the cloud server. The smart terminal device controls the circuit breaker via a built-in APP. The circuit breaker includes a master device communicating with the cloud server and multiple slave devices connected to the master device. The method includes at least the following steps:
[0006] S1. The user sends a command to the main device to enter the configuration mode through the APP on the smart terminal device.
[0007] S2. After receiving the command to enter configuration mode from step S1, the master device enters configuration mode.
[0008] S3. Detect the DIP switch signal from the device itself and determine whether the DIP switch high / low level signal switching has reached the specified number of times within a certain time period:
[0009] If so, enter configuration mode from the device;
[0010] If not, then no action will be taken;
[0011] S4. After entering configuration mode from the device, send a broadcast request for configuration address to the master device;
[0012] S5. If the master device receives the broadcast from step S4 within the preset configuration time, it parses the broadcast content, confirms that it meets the requirements for requesting a configuration address, and checks whether the slave device already exists in its slave device management list:
[0013] If so, continue to wait for the device to broadcast a request for a configuration address within the preset configuration time.
[0014] If not, the detailed information of the slave device is added to its own slave device management list, a unique identification communication address is assigned, and a configuration permission and address assignment broadcast is sent to the slave device, as well as the configuration result is sent to the smart terminal device.
[0015] S6. After receiving the broadcast from step S5, the slave device parses the broadcast, records the current configuration information and master device information, and then exits the configuration mode.
[0016] S7. After successfully configuring a slave device, the master device exits the configuration mode.
[0017] In some implementations, if the master device does not receive the request for configuration address broadcast from step S4 within a preset configuration time in step S5, the master device exits the configuration state.
[0018] In some implementations, in step S6, if the slave device does not receive the configuration permission and address allocation broadcast from step S5 within a certain period of time, the slave device exits the configuration state.
[0019] In some implementations, in step S5, the configuration result sent by the master device to the smart terminal device includes at least the detailed information of the slave device and the unique identification communication address assigned to the slave device.
[0020] In some implementations, after step S5, upon receiving the configuration result, the smart terminal device displays the unique identification communication address assigned to the slave device through its built-in display interface and prompts the user to confirm the assignment of the unique identification communication address. If yes, the smart terminal device issues an address assignment command, and the master device, upon receiving the command, assigns the unique identification communication address to the slave device. If no, the unique identification communication address is not assigned. In this step, the user can modify the unique identification communication address and assign it to the slave device. Specifically, the smart terminal device sends a modify address command, and the master device, upon receiving the command, modifies the unique identification communication address of the slave device.
[0021] In some implementations, the method further includes the following after step S7:
[0022] S8. After the master device and slave device exit the configuration mode, the user can modify the unique identification communication address of the slave device through the smart terminal device.
[0023] The specific steps of step S8 are as follows:
[0024] S81. The smart terminal device sends a command to the master device to modify the unique identification communication address of the slave device.
[0025] S82. After receiving the command to modify the unique identification communication address of the slave device, the master device sends a broadcast command to modify the address to the slave device.
[0026] S83. After receiving the address modification command broadcast from the device, modify its own configuration information;
[0027] S84. The slave device sends a confirmation broadcast of the address modification command to the master device.
[0028] S85. Within the specified time, does the master device receive a confirmation broadcast of the address modification command sent by the slave device? If so, it confirms whether the modification was successful or failed and sends the modification result to the smart terminal device.
[0029] If not, the modification is confirmed as failed, and the modification result is sent to the smart terminal device.
[0030] In some implementations, the request for configuration address broadcast sent by the slave device in step S4 also includes the slave device's unique hardware serial number and processor unique code.
[0031] In some implementations, the one-to-one commands sent from the master device to the slave device all include the slave device's unique identification communication address, unique hardware serial number, and unique processor code.
[0032] According to another aspect of the present invention, a smart micro-circuit system is also provided, including a cloud server, a smart terminal device, and a circuit breaker. The circuit breaker includes a master device and multiple slave devices. The master device includes a first memory, a first processor, and a first device address allocation program stored in the first memory and executable on the first processor. The slave devices include a second memory, a second processor, and a second device address allocation program stored in the second memory and executable on the second processor. When the first device address allocation program is executed by the first processor and when the second device address allocation program is executed by the second processor, the steps in the above-described method for allocating and managing device communication addresses are implemented.
[0033] In some implementations, the master device and multiple slave devices are connected via flexible connecting cables and arranged in physical order, and communicate using a differential signal bus. The master device has communication functions and can communicate with a cloud server to upload data from each slave device to the cloud server. The slave devices are used to control the on / off state of the power circuit, collect power data, and analyze the power consumption of the power circuit.
[0034] Different slave devices control different power circuits.
[0035] The beneficial effects of this invention are as follows:
[0036] This invention provides a novel method for allocating and managing device communication addresses. This method is based on a smart micro-circuit breaker system. Users can remotely control the system via smartphones or other smart terminal devices. With simple on-site dialing actions, the automatic allocation and management of device communication addresses can be achieved even with multiple slave devices. This eliminates the need for manual operation at the circuit breaker location, resulting in high efficiency and ease of use. Furthermore, this method ensures that the allocated addresses are unique and non-repeatable, with an extremely low error rate, high matching degree, and high accuracy. Attached Figure Description
[0037] Figure 1 This is a simplified structural diagram of the intelligent micro-fracture system of the present invention;
[0038] Figure 2 This is one of the logic diagrams for the method of allocating and managing device communication addresses according to the present invention;
[0039] Figure 3 This is the second logic diagram of the method for allocating and managing device communication addresses according to the present invention.
[0040] Figure 1 The attached diagrams are labeled as follows: 100 - Smart terminal device; 200 - Cloud server; 300 - Circuit breaker. Detailed Implementation
[0041] The present invention will now be described in further detail with reference to the accompanying drawings.
[0042] Figures 2-3 The diagram schematically illustrates a method for allocating and managing device communication addresses according to an embodiment of the present invention.
[0043] like Figures 2-3As shown, this method is applied to a smart micro-circuit breaker system, which includes a cloud server, a circuit breaker communicating with the cloud server, and a smart terminal device communicating with the cloud server. The smart terminal device controls the circuit breaker through a built-in APP. The circuit breaker includes a master device communicating with the cloud server and multiple slave devices connected to the master device. The method includes at least the following steps:
[0044] S1. The user sends a command to the main device to enter the configuration mode through the APP on the smart terminal device.
[0045] S2. After receiving the command to enter configuration mode from step S1, the master device enters configuration mode.
[0046] S3. Detect the DIP switch signal from the device itself and determine whether the DIP switch high / low level signal switching has reached the specified number of times within a certain time period:
[0047] If so, enter configuration mode from the device;
[0048] If not, then no action will be taken;
[0049] S4. After entering configuration mode from the device, send a broadcast request for configuration address to the master device;
[0050] S5. If the master device receives the broadcast from step S4 within the preset configuration time, it parses the broadcast content, confirms that it meets the requirements for requesting a configuration address, and checks whether the slave device already exists in its slave device management list:
[0051] If so, continue to wait for the device to broadcast a request for a configuration address within the preset configuration time.
[0052] If not, the detailed information of the slave device is added to its own slave device management list, a unique identification communication address is assigned, and a configuration permission and address assignment broadcast is sent to the slave device, as well as the configuration result is sent to the smart terminal device.
[0053] S6. After receiving the broadcast from step S5, the slave device parses the broadcast, records the current configuration information and master device information, and then exits the configuration mode.
[0054] S7. After successfully configuring a slave device, the master device exits the configuration mode.
[0055] In step S5, if the master device does not receive the request for configuration address broadcast in step S4 within the preset configuration time, the master device exits the configuration state.
[0056] In step S6, if the slave device does not receive the configuration permission and address allocation broadcast from step S5 within a certain period of time, the slave device exits the configuration state.
[0057] In step S5, the configuration result sent by the master device to the smart terminal device includes at least the detailed information of the slave device and the unique identification communication address assigned to the slave device.
[0058] After step S5, upon receiving the configuration result, the smart terminal device displays the unique identification communication address assigned to the slave device through its built-in display interface and prompts the user to confirm the assignment of the unique identification communication address. If yes, the smart terminal device issues an address assignment command, and the master device, upon receiving the command, assigns the unique identification communication address to the slave device. If no, the unique identification communication address is not assigned. In this step, the user can modify the unique identification communication address and assign it to the slave device. Specifically, the smart terminal device sends a modify address command, and the master device, upon receiving the command, modifies the unique identification communication address of the slave device.
[0059] The process after step S7 also includes:
[0060] S8. After the master device and slave device exit the configuration mode, the user can modify the unique identification communication address of the slave device through the smart terminal device.
[0061] The specific steps of step S8 are as follows:
[0062] S81. The smart terminal device sends a command to the master device to modify the unique identification communication address of the slave device.
[0063] S82. After receiving the command to modify the unique identification communication address of the slave device, the master device sends a broadcast command to modify the address to the slave device.
[0064] S83. After receiving the address modification command broadcast from the device, modify its own configuration information;
[0065] S84. The slave device sends a confirmation broadcast of the address modification command to the master device.
[0066] S85. Within the specified time, does the master device receive a confirmation broadcast of the address modification command sent by the slave device? If so, it confirms whether the modification was successful or failed and sends the modification result to the smart terminal device.
[0067] If not, the modification is confirmed as failed, and the modification result is sent to the smart terminal device.
[0068] In step S4, the request for configuration address broadcast sent by the slave device also includes the slave device's unique hardware SN and processor unique code.
[0069] The one-to-one commands sent from the master device to the slave device all contain the slave device's unique identification communication address, unique hardware serial number, and unique processor code.
[0070] This invention provides a novel method for allocating and managing device communication addresses. This method is based on a smart micro-circuit breaker system. Users can remotely control the system via smartphones or other smart terminal devices. With simple on-site dialing actions, the automatic allocation and management of device communication addresses can be achieved even with multiple slave devices. This eliminates the need for manual operation at the circuit breaker location, resulting in high efficiency and ease of use. Furthermore, this method ensures that the allocated addresses are unique and non-repeatable, with an extremely low error rate, high matching degree, and high accuracy.
[0071] Figure 1 A smart micro-break system according to one embodiment of the present invention is illustrated schematically.
[0072] like Figure 1 As shown, the intelligent micro-circuit system includes a cloud server, an intelligent terminal device, and a circuit breaker. The circuit breaker includes a master device and multiple slave devices. The master device includes a first memory, a first processor, and a first device address allocation program stored in the first memory and executable on the first processor. The slave devices include a second memory, a second processor, and a second device address allocation program stored in the second memory and executable on the second processor. When the first device address allocation program is executed by the first processor and when the second device address allocation program is executed by the second processor, the steps in the above-described method for allocating and managing device communication addresses are implemented.
[0073] The master device is connected to multiple slave devices via flexible connecting cables and arranged in physical order, using a differential signal bus for communication. The master device has communication capabilities and can communicate with a cloud server to upload data from each slave device to the cloud server. The slave devices are used to control the on / off state of the power circuit and collect power data, and analyze the power consumption of the power circuit (such as collecting current, voltage, power, etc. in the power circuit, and then analyzing whether there are overcurrent faults, overvoltage faults, short circuit faults, etc.).
[0074] Different slave devices control different power circuits.
[0075] Preferably, the smart terminal device can be a smartphone, iPad, laptop, desktop computer, etc., and the communication method or protocol between the main device and the cloud server can include: WIFI, GSM / GPRS, NB-IoT, Zigbee, LoRa, etc.
[0076] The above descriptions are merely some embodiments of the present invention. Those skilled in the art can make various modifications and improvements without departing from the inventive concept of the present invention, and these all fall within the scope of protection of the present invention.
Claims
1. A method for allocating and managing device communication addresses, applied to a smart miniature circuit breaker system, the smart miniature circuit breaker system comprising a cloud server, circuit breakers communicating and cooperating with the cloud server, and a smart terminal device communicating and cooperating with the cloud server, the smart terminal device controlling the circuit breaker via a built-in APP, characterized in that, The circuit breaker includes a master device that communicates with a cloud server and multiple slave devices connected to the master device. The method includes at least the following steps: S1. The user sends a command to the main device to enter the configuration mode through the APP on the smart terminal device. S2. After receiving the command to enter configuration mode from step S1, the master device enters configuration mode. S3. Detect the DIP switch signal from the device itself and determine whether the DIP switch high / low level signal switching has reached the specified number of times within a certain time period: If so, enter configuration mode from the device; If not, then no action will be taken; S4. After entering configuration mode from the device, send a broadcast request for configuration address to the master device; S5. If the master device receives the broadcast from step S4 within the preset configuration time, it parses the broadcast content, confirms that it meets the requirements for requesting a configuration address, and checks whether the slave device already exists in its slave device management list: If so, continue to wait for the device to broadcast a request for a configuration address within the preset configuration time. If not, the detailed information of the slave device is added to its own slave device management list, a unique identification communication address is assigned, and a configuration permission and address assignment broadcast is sent to the slave device, as well as the configuration result is sent to the smart terminal device. S6. After receiving the broadcast from step S5, the slave device parses the broadcast, records the current configuration information and master device information, and then exits the configuration mode. S7. After successfully configuring a slave device, the master device exits the configuration mode.
2. The method for allocating and managing device communication addresses according to claim 1, characterized in that, In step S5, if the master device does not receive the request for configuration address broadcast in step S4 within the preset configuration time, the master device exits the configuration state.
3. The method for allocating and managing device communication addresses according to claim 1, characterized in that, In step S6, if the slave device does not receive the configuration permission and address allocation broadcast from step S5 within a certain period of time, the slave device exits the configuration state.
4. The method for allocating and managing device communication addresses according to claim 1, characterized in that, In step S5, the configuration result sent by the master device to the smart terminal device includes at least the detailed information of the slave device and the unique identification communication address assigned to the slave device.
5. The method for allocating and managing device communication addresses according to claim 1, characterized in that, After step S5, upon receiving the configuration result, the smart terminal device displays the unique identification communication address assigned to the slave device through its built-in display interface and prompts the user to confirm the assignment of the unique identification communication address. If yes, the smart terminal device issues an address assignment command, and the master device, upon receiving the command, assigns the unique identification communication address to the slave device. If no, the unique identification communication address is not assigned. In this step, the user can modify the unique identification communication address and assign it to the slave device. Specifically, the smart terminal device sends a modify address command, and the master device, upon receiving the command, modifies the unique identification communication address of the slave device.
6. The method for allocating and managing device communication addresses according to claim 1, characterized in that, The process after step S7 also includes: S8. After the master device and slave device exit the configuration mode, the user can modify the unique identification communication address of the slave device through the smart terminal device. The specific steps of step S8 are as follows: S81. The smart terminal device sends a command to the master device to modify the unique identification communication address of the slave device. S82. After receiving the command to modify the unique identification communication address of the slave device, the master device sends a broadcast command to modify the address to the slave device. S83. After receiving the address modification command broadcast from the device, modify its own configuration information; S84. The slave device sends a confirmation broadcast of the address modification command to the master device. S85. Within the specified time, does the master device receive a confirmation broadcast of the address modification command sent by the slave device? If so, it confirms whether the modification was successful or failed and sends the modification result to the smart terminal device. If not, the modification is confirmed as failed, and the modification result is sent to the smart terminal device.
7. The method for allocating and managing device communication addresses according to any one of claims 1-6, characterized in that, In step S4, the request for configuration address broadcast sent by the slave device also includes the slave device's unique hardware SN and processor unique code.
8. The method for allocating and managing device communication addresses according to claim 7, characterized in that, The one-to-one commands sent from the master device to the slave device all contain the slave device's unique identification communication address, unique hardware serial number, and unique processor code.
9. A smart micro-circuit system, characterized in that, The device includes a cloud server, a smart terminal device, and a circuit breaker. The circuit breaker includes a master device and multiple slave devices. The master device includes a first memory, a first processor, and a first device address allocation program stored in the first memory and executable on the first processor. The slave devices include a second memory, a second processor, and a second device address allocation program stored in the second memory and executable on the second processor. When the first device address allocation program is executed by the first processor and the second device address allocation program is executed by the second processor, the steps in the method for allocating and managing device communication addresses as described in any one of claims 1-8 are implemented.
10. The intelligent micro-circuit system according to claim 9, characterized in that, The master device and the multiple slave devices are connected by flexible connecting cables and arranged in physical order and communicate using a differential signal bus. The master device has communication function and can communicate with the cloud server to upload data from each slave device to the cloud server. The slave devices are used to control the on / off of the power circuit, collect power data, and analyze the power consumption of the power circuit. Different slave devices control different power circuits.
Citation Information
Patent Citations
Ad-Hoc network communication manager and networking method thereof and Ad-Hoc network communication system
CN109450662A
Intelligent electric energy meter system based on Bluetooth communication and communication method thereof
CN112399394A