Signal strength-based power line communication method, apparatus and system
By using signal strength to obtain and cut instructions in the power line communication system, the slave control equipment number is determined, and the control instructions are sent and received separately through two lines, the problem of low efficiency of existing power line communication is solved, and efficient and accurate data transmission is achieved.
Patent Information
- Application Number
- PCT/CN2025/075184
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-02-04
- Filing Date
- 2025-01-26
- Publication Date
- 2025-08-07
AI Technical Summary
The existing power line communication system has low communication efficiency and excessive time-consuming when there are many controlled devices.
The master control device uses signal strength to obtain instructions and cut-off instructions, determine the slave control device number with the smallest signal strength, and send and receive control instructions respectively through two lines, and control the communication and power supply paths of the power line are controlled by switches, so as to realize efficient data communication between the master control device and the slave control device.
Improve communication efficiency, avoid transmission errors caused by signal aliasing, and ensure the accuracy and efficiency of data transmission.
Smart Images

Figure CN2025075184_07082025_PF_FP_ABST
Abstract
Description
Power line communication method, device and system based on signal strength
[0001] Cross-references to related publications
[0002] This application claims priority to Chinese patent application number 202410157237.4, filed on February 24, 2024, entitled “A power line communication method, device and system based on signal strength”, the entire contents of which are incorporated by reference into this application. Technical Field
[0003] The present disclosure relates to the technical field of power line communication, and in particular to a power line communication method, device, and system based on signal strength. Background Art
[0004] Existing power line communication systems often include a master device, followed by multiple controlled devices connected in series on the power line. The master device can send control commands to the controlled devices via the power line, requesting the controlled devices to return control responses. In existing solutions, the master device can receive control responses in the following two ways:
[0005] 1. The master device sends a control command to a specific controlled device. After receiving the control command, the specific controlled device returns a control response to the master device. Only one controlled device responds to a control command at a time.
[0006] Second, the master device broadcasts a control command on the power line. Each controlled device that receives the control command returns a control response in turn according to the agreed method. For example, each controlled device returns a control response to the master device at different time points.
[0007] The above two methods take too much time and have low communication efficiency when there are many controlled devices. Summary of the Invention
[0008] The present disclosure aims to solve one or more of the above problems.
[0009] The main purpose of the present disclosure is to provide a power line communication system based on signal strength.
[0010] Another object of the present disclosure is to provide a power line communication device based on signal strength.
[0011] Yet another object of the present disclosure is to provide a power line communication method based on signal strength.
[0012] To achieve the above objectives, the technical solution of the present disclosure is specifically implemented as follows:
[0013] In one aspect, the present disclosure provides a power line communication system based on signal strength, comprising a master control device and S slave control devices connected in series on a power line; wherein:
[0014] The master control device includes a first master control interface and a second master control interface; S slave control devices are sequentially connected in series between the first master control interface and the second master control interface, and the device numbers of the S slave control devices are numbered in ascending order or descending order, where S is a preset value, which is an integer;
[0015] The slave control device includes: a first slave control interface, a second slave control interface, and a switch; a first end of the first slave control interface is electrically connected to a first master control interface of a master control device, and a second end of the first slave control interface is electrically connected to a first end of the switch; a first end of the second slave control interface is electrically connected to a second master control interface of the master control device, and a second end of the second slave control interface is electrically connected to a second end of the switch; the switch is in a closed state by default;
[0016] The master device is configured to send a first signal strength acquisition instruction on the power line through the master first interface; receive first signal strength acquisition responses sent by 1-M slave devices through the master first interface, the first signal strength acquisition responses including: a first device number and a first signal strength, and determine a device number P of the slave device having the smallest first signal strength;
[0017] The master control device is further configured to send a second signal strength acquisition instruction on the power line through the master control second interface; receive a second signal strength acquisition response sent by an SN-th slave control device through the master control second interface, where the second signal strength acquisition response includes: a second device number and a second signal strength, and determine a device number Q of the slave control device with the smallest second signal strength, where 1≤N≤M≤S, and M and N are integers;
[0018] The master control device is further configured to determine the device number X of the disconnected device according to a preset rule based on the device number P and the device number Q; and send a disconnection instruction on the power line through the master control first interface or the master control second interface, wherein the disconnection instruction includes: the device number X of the disconnected device;
[0019] The master control device is further configured to, after sending the cut-off instruction, send a first control instruction on the power line through the master control first interface, and receive a first control response to the first control instruction through the master control first interface; send a second control instruction on the power line through the master control second interface, and receive a second control response to the second control instruction through the master control second interface;
[0020] The slave control device is configured to receive the first signal strength acquisition instruction through the slave control first interface, calculate the first signal strength according to the first signal strength acquisition instruction, generate the first signal strength acquisition response, and send the first signal strength acquisition response through the slave control first interface; receive the second signal strength acquisition instruction through the slave control second interface, calculate the second signal strength according to the signal strength of the second signal strength acquisition instruction, generate the second signal strength acquisition response, and send the second signal strength acquisition response through the slave control second interface;
[0021] The slave control device is further configured to receive the disconnection instruction through the first slave control interface or the second slave control interface, determine whether its own device number is the device number X, and if it is the device number X, control the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave control interface and the second slave control interface, without disconnecting the power supply path of the power line between the first slave control interface and the second slave control interface;
[0022] The slave control device is also used to receive the first control instruction through the slave control first interface, determine whether it is necessary to respond to the first control instruction, and if so, generate the first control response, and send the first control response through the slave control first interface; receive the second control instruction through the slave control second interface, determine whether it is necessary to respond to the second control instruction, and if so, generate the second control response, and send the second control response through the slave control second interface.
[0023] Optionally, the slave control device is also used to determine whether it is necessary to perform a first controlled operation according to the first control instruction after receiving the first control instruction, and if so, perform the first controlled operation; after receiving the second control instruction, determine whether it is necessary to perform a second controlled operation according to the second control instruction, and if so, perform the second controlled operation.
[0024] Optionally, the master control device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule in the following manner:
[0025] If PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2;
[0026] If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
[0027] Another aspect of the present disclosure provides a power line communication device based on signal strength, which is applied to the above-mentioned power line communication system based on signal strength, comprising: a processing module, a main control first interface and a main control second interface;
[0028] The processing module is configured to send a first signal strength acquisition instruction on the power line through the master control first interface; receive first signal strength acquisition responses sent by 1-M slave control devices through the master control first interface, the first signal strength acquisition responses including: a first device number and a first signal strength, and determine a device number P of the slave control device having the smallest first signal strength;
[0029] The processing module is further configured to send a second signal strength acquisition instruction on the power line through the second master interface; receive a second signal strength acquisition response sent by an SN-th slave device through the second master interface, the second signal strength acquisition response including: a second device number and a second signal strength, and determine a device number Q of the slave device having the smallest second signal strength;
[0030] The processing module is further configured to determine the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule; and send a disconnection instruction on the power line through the master control first interface or the master control second interface, wherein the disconnection instruction includes: the device number X of the disconnected device;
[0031] The processing module is further configured to, after sending the cut-off instruction, send a first control instruction on the power line through the first master control interface, and receive a first control response to the first control instruction through the first master control interface; send a second control instruction on the power line through the second master control interface, and receive a second control response to the second control instruction through the second master control interface;
[0032] The processing module is further used to receive the first signal strength acquisition instruction through the first interface of the slave control, calculate the first signal strength according to the first signal strength acquisition instruction, generate the first signal strength acquisition response, and send the first signal strength acquisition response through the first interface of the slave control; receive the second signal strength acquisition instruction through the second interface of the slave control, calculate the second signal strength according to the signal strength of the second signal strength acquisition instruction, generate the second signal strength acquisition response, and send the second signal strength acquisition response through the second interface of the slave control.
[0033] Optionally, the processing module determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule in the following manner:
[0034] If PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2;
[0035] If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
[0036] In another aspect, the present disclosure provides a signal strength-based power line communication device, which is applied to the above-mentioned signal strength-based power line communication system, comprising: a processor, a switch, a first slave control interface, and a second slave control interface;
[0037] The first end of the slave control first interface is electrically connected to the master control first interface of the master control device, the second end of the slave control first interface is electrically connected to the first end of the switch, and the third end of the slave control first interface is electrically connected to the first end of the processor; the first end of the slave control second interface is electrically connected to the master control second interface of the master control device, the second end of the slave control second interface is electrically connected to the second end of the switch, and the third end of the slave control second interface is electrically connected to the second end of the processor; the control end of the switch is electrically connected to the third end of the processor, and the switch is in a closed state by default;
[0038] The processor is configured to receive a first signal strength acquisition instruction through the first slave control interface, calculate a first signal strength according to the first signal strength acquisition instruction, generate a first signal strength acquisition response, and send the first signal strength acquisition response through the first slave control interface; receive a second signal strength acquisition instruction through the second slave control interface, calculate a second signal strength according to the signal strength of the second signal strength acquisition instruction, generate a second signal strength acquisition response, and send the second signal strength acquisition response through the second slave control interface;
[0039] The processor is further configured to receive a disconnection instruction through the first slave control interface or the second slave control interface, determine whether its own device number is device number X, and if it is device number X, control the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave control interface and the second slave control interface, without disconnecting the power supply path of the power line between the first slave control interface and the second slave control interface;
[0040] The processor is further configured to receive the first control instruction through the first slave control interface, determine whether a response to the first control instruction is required, and if so, generate a first control response, and send the first control response through the first slave control interface; receive the second control instruction through the second slave control interface, determine whether a response to the second control instruction is required, and if so, generate a second control response, and send the second control response through the second slave control interface.
[0041] Optionally, the processor is further used to determine whether it is necessary to perform a first controlled operation according to the first control instruction after receiving the first control instruction, and if so, perform the first controlled operation; after receiving the second control instruction, determine whether it is necessary to perform a second controlled operation according to the second control instruction, and if so, perform the second controlled operation.
[0042] In another aspect, the present disclosure provides a signal strength-based power line communication method, which is applied to the above-mentioned signal strength-based power line communication system, comprising:
[0043] The main control device sends a first signal strength acquisition instruction on the power line through the main control first interface;
[0044] Each of the 1st to Mth slave control devices performs the following operations: receiving the first signal strength acquisition instruction through the first slave control interface, calculating a first signal strength according to the first signal strength acquisition instruction, generating a first signal strength acquisition response, and sending the first signal strength acquisition response through the first slave control interface, where the first signal strength acquisition response includes: a first device number and a first signal strength;
[0045] The master device receives, through the master first interface, first signal strength acquisition responses sent by the 1st to Mth slave devices, and determines a device number P of the slave device having the smallest first signal strength;
[0046] The main control device sends a second signal strength acquisition instruction on the power line through the main control second interface;
[0047] Each SN slave control device performs the following operations: receiving the second signal strength acquisition instruction through the slave control second interface, calculating the second signal strength according to the signal strength of the second signal strength acquisition instruction, generating a second signal strength acquisition response, and sending the second signal strength acquisition response through the slave control second interface, where the second signal strength acquisition response includes: a second device number and a second signal strength;
[0048] The master device receives, through the master second interface, a second signal strength acquisition response sent by the SN-th slave device, and determines a device number Q of the slave device with the smallest second signal strength;
[0049] The master device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule; and sends a disconnection instruction on the power line through the master first interface or the master second interface, the disconnection instruction including: the device number X of the disconnected device;
[0050] Each of the first to S slave-controlled devices performs the following operations: receiving the disconnection instruction through the first slave-controlled interface or the second slave-controlled interface, determining whether its own device number is the device number X, and if it is the device number X, controlling the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave-controlled interface and the second slave-controlled interface, without disconnecting the power supply path of the power line between the first slave-controlled interface and the second slave-controlled interface;
[0051] After sending the cut-off instruction, the master control device sends a first control instruction on the power line through the master control first interface and sends a second control instruction on the power line through the master control second interface;
[0052] Each of the slave control devices numbered from the first to the device numbered X performs the following operations: receiving the first control instruction through the first slave control interface, determining whether a response to the first control instruction is required, and if so, generating a first control response, and sending the first control response through the first slave control interface;
[0053] Each of the Sth slave control devices with a device number of X performs the following operations: receiving the second control instruction through the second slave control interface, determining whether a response to the second control instruction is required, and if so, generating a second control response, and sending the second control response through the second slave control interface;
[0054] The master control device receives the first control response through the master control first interface; and receives a second control response to the second control instruction through the master control second interface.
[0055] Optionally, the method further includes:
[0056] Each of the slave control devices numbered from the first to the device numbered X performs the following operations: after receiving the first control instruction through the first slave control interface, determining whether it is necessary to perform a first controlled operation according to the first control instruction, and if so, performing the first controlled operation;
[0057] The Sth slave control device with device number X all performs the following operation: after receiving the second control instruction through the second slave control interface, determines whether it is necessary to perform the second controlled operation according to the second control instruction, and if necessary, performs the second controlled operation.
[0058] Optionally, the master device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule, including:
[0059] If PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2;
[0060] If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
[0061] It can be seen from the technical solution provided by the present disclosure above that the present disclosure provides a power line communication method, device and system based on signal strength. The master control device sends and receives data simultaneously on two lines through the master control first interface and the master control second interface respectively. The slave control device between the master control first interface and the slave control first interface of the cutting device and the slave control device between the master control second interface and the slave control second interface of the cutting device can communicate data with the master control device at the same time, which greatly improves the communication efficiency. At the same time, the slave control devices of the two lines return response data to the master control device through different slave control interfaces respectively, which can avoid signal aliasing and signal transmission errors. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0063] FIG1 is a schematic structural diagram of a power line communication system based on signal strength according to an embodiment of the present disclosure;
[0064] FIG2 is a schematic structural diagram of a power line communication device based on signal strength according to an embodiment of the present disclosure;
[0065] FIG3 is a flow chart of a power line communication method based on signal strength provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0066] The following is a clear and complete description of the technical solutions in the embodiments of the present disclosure, in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts are within the scope of protection of the present disclosure.
[0067] The embodiments of the present disclosure will be described in further detail below with reference to the accompanying drawings.
[0068] Example
[0069] Figure 1 is a schematic diagram of the structure of a power line communication system based on signal strength provided by this embodiment. Figure 2 is a schematic diagram of the structure of a power line communication device based on signal strength provided by this embodiment.
[0070] The structure of the power line communication system based on signal strength provided by this embodiment is explained below with reference to FIG1 and FIG2 .
[0071] As shown in Figure 1, the power line communication system includes a master control device and S slave control devices connected in series on the power line; the master control device can be set up in a remote monitoring center, and the slave control devices can be smart devices such as smoke detectors, cameras, smart lights, etc. that can be connected to the power line and can be set up in the location the user wants to install, such as buildings, basements, etc.
[0072] Referring to Figure 1, the master control device includes a processing module, a master control first interface, and a master control second interface. Both the master control first interface and the master control second interface can transmit and receive data signals. This structure can improve the communication efficiency of the power line system. S slave control devices are connected in series between the master control first interface and the master control second interface. The device numbers of the S slave control devices are numbered in order from small to large or from large to small, where S is a preset value and an integer. For the convenience of description, it can be understood that the slave control device connected after the master control first interface is the first slave control device, and the slave control device connected to the master control second interface is the Sth slave control device. Of course, the first to Sth slave control devices are only positional expressions, and their device numbers can of course be numbered from small to large or from large to small starting from 0 or 100. For example, if S is 20, the first slave device is numbered 0000, the second slave device is numbered 0001, ... and the Sth slave device is numbered 00019. This is only an example and does not limit the numbering method of the slave devices disclosed in this disclosure.
[0073] Referring to Figure 2, each slave control device includes: a slave control first interface, a slave control second interface, a processor and a switch; the first end of the slave control first interface is electrically connected to the master control first interface of the master control device (directly or indirectly), and the second end of the slave control first interface is electrically connected to the first end of the switch; the third end of the slave control first interface is electrically connected to the first end of the processor; the first end of the slave control second interface is electrically connected to the master control second interface of the master control device, and the second end of the slave control second interface is electrically connected to the second end of the switch; the third end of the slave control second interface is electrically connected to the second end of the processor; the control end of the switch is electrically connected to the third end of the processor, and the default state of the switch is a closed state. Specifically, when the switch is in a closed state, the transmission signal can be transmitted through the communication equivalent path of the power line between the second end of the slave control first interface and the second end of the slave control second interface. When the switch is in an open state, the transmission signal cannot be transmitted through the communication equivalent path of the power line between the second end of the slave control first interface and the second end of the slave control second interface, so that the data received by the slave control device with the switch disconnected from the slave control first interface cannot continue to be transmitted to the subsequent slave control device connected in series through the slave control second interface, and the reported data of the slave control device can only be returned from the first end of the slave control first interface to the first interface of the master control device; and the data received by the slave control device with the switch disconnected from the slave control second interface cannot continue to be transmitted to the subsequent slave control device connected in series through the slave control first interface, and the reported data of the slave control device can only be returned from the first end of the slave control second interface to the master control second interface of the master control device.
[0074] The functions of the power line communication system based on signal strength provided by this embodiment will be explained below with reference to FIG. 1 and FIG. 2 .
[0075] A master control device, configured to send a first signal strength acquisition instruction on a power line through a first master control interface; receive first signal strength acquisition responses sent by 1-M slave control devices through the first master control interface, the first signal strength acquisition responses including: a first device number and a first signal strength, and determine the device number P of the slave control device with the smallest first signal strength; send a second signal strength acquisition instruction on the power line through a second master control interface; receive a second signal strength acquisition response sent by an SN-th slave control device through the second master control interface, the second signal strength acquisition response including: a second device number and a second signal strength, and determine the device number Q of the slave control device with the smallest second signal strength, where 1≤N≤M≤S, and M and N are integers;
[0076] The slave control device is used to receive a first signal strength acquisition instruction through the first slave control interface, calculate the first signal strength according to the first signal strength acquisition instruction, generate a first signal strength acquisition response, and send the first signal strength acquisition response through the first slave control interface; receive a second signal strength acquisition instruction through the second slave control interface, calculate the second signal strength according to the signal strength of the second signal strength acquisition instruction, generate a second signal strength acquisition response, and send the second signal strength acquisition response through the second slave control interface.
[0077] During specific implementation, the master device broadcasts the signal strength acquisition instruction on the power line through two interfaces respectively. If signal attenuation is not considered, all slave devices connected in series on the power line can receive the signal strength acquisition instruction. When the signal strength acquisition instruction is sent through the master first interface, the signal strength received by the first slave device connected after the master first interface of the master device must be the strongest, and the signal strength received by the Mth slave device connected after the master first interface of the master device must be the weakest; similarly, when the signal strength acquisition instruction is sent through the master second interface, the signal strength received by the Sth slave device connected after the master second interface of the master device must be the strongest, and the signal strength received by the Nth slave device connected after the master second interface of the master device must be the weakest; setting 1≤N≤M≤S, that is, some slave devices may receive both the first signal strength acquisition instruction and the second signal strength acquisition instruction. For example, if S is 10, M is 6, and N is 5, it means that the 1st to 6th slave control devices received the first signal strength acquisition instruction, while the 10th to 5th slave control devices received the second signal strength acquisition instruction. The 5th and 6th slave control devices both received the first signal strength acquisition instruction and the second signal strength acquisition instruction. Therefore, according to the preset rules, a device can be selected from these slave control devices as a disconnection device, so that the signals sent by the master control device from the master control first interface or the master control second interface can only be transmitted to the disconnection device. It should be noted that before the disconnection device is set, the master control device cannot send and receive data through the master control first interface and the master control second interface at the same time, which will cause signal aliasing and lead to signal transmission errors.
[0078] In addition, since the two interfaces of each slave control device can transmit and receive data, in this embodiment, if the slave control device receives a signal sent by the master control through the first slave control interface, it will still return a response to the master control through the first slave control interface; if it receives a signal sent by the master control through the second slave control interface, it will still return a response to the master control through the second slave control interface. In this embodiment, the signal strength (including the first signal strength and the second signal strength) refers to the strength of the signal sent by the master control device received by the slave control device. Optionally, when factors such as interference and line loss are not considered, the calculation formula for the received signal strength is: received signal strength = RF transmission power of the master control device + transmitting antenna gain of the master control device - path loss - obstacle attenuation + receiving antenna gain of the slave control device. Only one implementation method for calculating the signal strength is given here, but the present disclosure is not limited to this method.
[0079] The master control device is further configured to determine, based on device number P and device number Q, according to a preset rule, the device number X to be disconnected; and transmit a disconnection instruction on the power line via the master control first interface or the master control second interface, the disconnection instruction including: the device number X of the disconnected device. The slave control device is further configured to receive the disconnection instruction via the slave control first interface or the slave control second interface, determine whether its own device number is device number X, and if so, control the switch to open, thereby disconnecting the communication equivalent path of the power line between the slave control first interface and the slave control second interface, without disconnecting the power supply path of the power line between the slave control first interface and the slave control second interface.
[0080] As an optional implementation in this embodiment, the master device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule in the following manner: if PQ is an even number, then X = Q + (PQ) / 2; if PQ is an odd number, then X = Q + (P-Q + 1) / 2; or, X = Q + (PQ-1) / 2. Similarly, if PQ is an even number, then X = P - (PQ) / 2; if PQ is an odd number, then X = P - (P-Q + 1) / 2; or, X = P - (PQ-1) / 2. For example, if device number P is 11 and device number Q is 8, then PQ = 3. If it is an odd number, then X = Q + (P-Q + 1) / 2 = 8 + 2 = 10, or, X = Q + (PQ-1) / 2 = 8 + 1 = 11. The slave device numbered 10 or 11 can be selected as the disconnected device. In this manner, the slave device corresponding to device number X, which is located midway between device numbers P and Q, is used as the disconnection device. Thus, the master device can send a disconnection command to set the disconnection device, thereby accurately finding the midway between the master first interface and the master second interface of the master device. This ensures that the command sent from the master device can be transmitted to the slave device with sufficiently strong signal transmission strength, thereby avoiding situations where the signal cannot be received or is incorrectly received due to interference.
[0081] In a specific implementation, if the slave device determines that its own device number is device number X, the control switch is disconnected, disconnecting the communication equivalent path of the power line between the first slave interface and the second slave interface, and not disconnecting the power supply path of the power line between the first slave interface and the second slave interface. Specifically, when the switch is in the disconnected state, the transmission signal cannot be transmitted through the communication equivalent path of the power line between the second end of the first slave interface and the second end of the second slave interface, so that the data received by the cut-off device from the first slave interface cannot continue to be transmitted through the second slave interface to the slave device connected in series thereafter, and the reported data of the slave device can only be returned from the first end of the first slave interface to the first interface of the master device; and the data received by the cut-off device from the second slave interface cannot continue to be transmitted through the first slave interface to the slave device connected in series thereafter, and the reported data of the slave device can only be returned from the first end of the second slave interface to the master device's second interface. Therefore, after the master device sets the disconnect device, the master device can simultaneously send and receive data through the master first interface and the master second interface, which can improve communication efficiency and avoid signal aliasing and signal transmission errors.
[0082] The master control device is further configured to, after sending the cut-off instruction, send a first control instruction on the power line via the master control first interface, and receive a first control response to the first control instruction via the master control first interface; send a second control instruction on the power line via the master control second interface, and receive a second control response to the second control instruction via the master control second interface. The slave control device is further configured to receive the first control instruction via the slave control first interface, determine whether a response to the first control instruction is required, and if so, generate a first control response and send the first control response via the slave control first interface; receive the second control instruction via the slave control second interface, determine whether a response to the second control instruction is required, and if so, generate a second control response and send the second control response via the slave control second interface.
[0083] In a specific implementation, after the master device completes the setting of the disconnection device by sending a disconnection instruction, when sending a control instruction on the power line, for a first control instruction sent from the master first interface of the master device, the disconnection device will not forward the first control instruction backward through the slave second interface after receiving the first control instruction, and the slave devices (including the disconnection devices, i.e., the 1st to Xth brothers) located between the master first interface of the master device and the disconnection device all return a first control response to the master first interface through the slave first interface, and the master device transmits and receives data signals with the above-mentioned slave devices through the slave first interface via the master first interface; for a second control instruction sent from the master second interface of the master device, the disconnection device will not forward the second control instruction backward through the slave first interface after receiving the second control instruction, and the slave devices (including the disconnection devices) located between the master second interface of the master device and the disconnection device all return a second control response to the master second interface through the slave second interface, and the master device transmits and receives data signals with the above-mentioned slave devices through the slave second interface via the master second interface. In this way, the master device can transmit and receive data on two lines at the same time, greatly improving communication efficiency.
[0084] In addition, the first control instruction and the second control instruction carry device numbers. The slave device determines whether it needs to respond to the control instruction by: determining whether the device number carried in the first control instruction is consistent with its own number. If so, the slave device generates a first control response and sends the first control response through the first slave interface. The slave device determines whether the device number carried in the second control instruction is consistent with its own number. If so, the slave device generates a second control response and sends the second control response through the second slave interface. In this way, the master device can control a specific device to respond.
[0085] As an optional implementation in this embodiment, the slave control device is also used to determine whether it is necessary to perform the first controlled operation according to the first control instruction after receiving the first control instruction, and if so, perform the first controlled operation; after receiving the second control instruction, determine whether it is necessary to perform the second controlled operation according to the second control instruction, and if so, perform the second controlled operation. In specific implementation, in addition to carrying the device number, the control instruction may also carry instruction information for controlling the corresponding slave control device to perform the controlled operation. For example, when the first control instruction carries information instructing the camera to transmit the current data back, the slave control device sends the recorded audio and video data to the master control device on the power line after determining that the carried device number is consistent with its own number. For another example, when the second control instruction carries information instructing the smart light to turn on, the slave control device performs the light turning operation after determining that the carried device number is consistent with its own number.
[0086] Through the signal strength-based power line communication system provided by the embodiment of the present disclosure, the main control device can simultaneously send and receive data on two lines through the main control first interface and the main control second interface, thereby greatly improving the communication efficiency. At the same time, it can avoid signal aliasing and the occurrence of signal transmission errors.
[0087] This embodiment also provides a signal strength-based power line communication device, which is applied to the master control device of the signal strength-based power line communication system described above. As shown in FIG1 , the device includes a processing module, a first master control interface, and a second master control interface. This description briefly describes the functions of the signal strength-based power line communication device. For other matters not covered, please refer to the description of the signal strength-based power line communication system described above.
[0088] a processing module, configured to send a first signal strength acquisition instruction on the power line through the first master interface; receive first signal strength acquisition responses sent by the first to M slave devices through the first master interface, the first signal strength acquisition responses including: a first device number and a first signal strength; and determine a device number P of the slave device having the smallest first signal strength;
[0089] The processing module is further configured to send a second signal strength acquisition instruction on the power line through the second master interface; receive a second signal strength acquisition response sent by the SN slave device through the second master interface, the second signal strength acquisition response including: the second device number and the second signal strength, and determine the device number Q of the slave device with the smallest second signal strength;
[0090] The processing module is further configured to determine the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule; and send a disconnection instruction on the power line through the main control first interface or the main control second interface, the disconnection instruction including: the device number X of the disconnected device;
[0091] The processing module is further configured to, after sending the cut-off instruction, send a first control instruction on the power line through the first main control interface, and receive a first control response to the first control instruction through the first main control interface; send a second control instruction on the power line through the second main control interface, and receive a second control response to the second control instruction through the second main control interface;
[0092] The processing module is also used to receive a first signal strength acquisition instruction from the first control interface, calculate the first signal strength according to the first signal strength acquisition instruction, generate a first signal strength acquisition response, and send the first signal strength acquisition response from the first control interface; receive a second signal strength acquisition instruction from the second control interface, calculate the second signal strength according to the signal strength of the second signal strength acquisition instruction, generate a second signal strength acquisition response, and send the second signal strength acquisition response from the second control interface.
[0093] As an optional implementation in this embodiment, the processing module determines the device number X of the cut-off device according to the device number P and the device number Q according to a preset rule in the following manner: if PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2; if PQ is an odd number, then X = Q + (P - Q + 1) / 2, or P - (P - Q + 1) / 2; or, X = Q + (PQ - 1) / 2, or P - (PQ - 1) / 2.
[0094] The signal strength-based power line communication device provided by the embodiment of the present disclosure is applied to the main control device of the signal strength-based power line communication system. Data can be sent and received simultaneously on two lines through the main control first interface and the main control second interface, which greatly improves the communication efficiency. At the same time, it can avoid signal aliasing and signal transmission errors.
[0095] This embodiment also provides a power line communication device based on signal strength, which is applied to the slave control device of the above-mentioned power line communication system based on signal strength, as shown in Figure 2, including: a processor, a switch, a slave control first interface and a slave control second interface; the first end of the slave control first interface is electrically connected to the master control first interface of the master control device (directly or indirectly), the second end of the slave control first interface is electrically connected to the first end of the switch, and the third end of the slave control first interface is electrically connected to the first end of the processor; the first end of the slave control second interface is electrically connected to the master control second interface of the master control device, the second end of the slave control second interface is electrically connected to the second end of the switch, and the third end of the slave control second interface is electrically connected to the second end of the processor; the control end of the switch is electrically connected to the third end of the processor, and the default state of the switch is a closed state; only a brief description of the functions of the power line communication device based on signal strength is given here. For other matters not covered, please refer to the description of the slave control device in the power line communication system based on signal strength above.
[0096] The processor is configured to receive a first signal strength acquisition instruction from the first control interface, calculate a first signal strength according to the first signal strength acquisition instruction, generate a first signal strength acquisition response, and send the first signal strength acquisition response from the first control interface; receive a second signal strength acquisition instruction from the second control interface, calculate a second signal strength according to the signal strength of the second signal strength acquisition instruction, generate a second signal strength acquisition response, and send the second signal strength acquisition response from the second control interface;
[0097] The processor is further configured to receive a disconnection instruction via the first slave control interface or the second slave control interface, determine whether its own device number is device number X, and if it is device number X, control the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave control interface and the second slave control interface, while not disconnecting the power supply path of the power line between the first slave control interface and the second slave control interface;
[0098] The processor is also used to receive a first control instruction from the first control interface, determine whether it is necessary to respond to the first control instruction, and if so, generate a first control response, and send the first control response from the first control interface; receive a second control instruction from the second control interface, determine whether it is necessary to respond to the second control instruction, and if so, generate a second control response, and send the second control response from the second control interface.
[0099] As an optional implementation in this embodiment, the processor is also used to determine whether it is necessary to perform a first controlled operation according to the first control instruction after receiving the first control instruction, and if so, perform the first controlled operation; after receiving the second control instruction, determine whether it is necessary to perform a second controlled operation according to the second control instruction, and if so, perform the second controlled operation.
[0100] The power line communication device based on signal strength provided by the embodiment of the present disclosure is applied to the slave control device of the power line communication system based on signal strength. After the cutting device is set, the slave control device between the first interface of the master control and the first interface of the slave control of the cutting device and the slave control device between the second interface of the master control and the second interface of the slave control of the cutting device can simultaneously communicate data with the master control device, which greatly improves the communication efficiency. At the same time, the slave control devices of the two lines return response data to the master control device through different slave control interfaces respectively, which can avoid signal aliasing and signal transmission errors.
[0101] This embodiment also provides a power line communication method based on signal strength, which is applied to the above-mentioned power line communication system based on signal strength. Figure 3 shows a flow chart of the power line communication method based on signal strength provided by this embodiment. Here, only a brief description of the process of the power line communication method based on signal strength is given. For other matters not covered, please refer to the description of the power line communication system based on signal strength above. As shown in Figure 3, a power line communication method based on signal strength provided by this embodiment includes the following steps (S1-S11):
[0102] S1. The main control device sends a first signal strength acquisition instruction on the power line through the main control first interface;
[0103] S2. Each of the 1st to Mth slave control devices performs the following operations: receiving a first signal strength acquisition instruction through the first slave control interface, calculating a first signal strength according to the first signal strength acquisition instruction, generating a first signal strength acquisition response, and sending the first signal strength acquisition response through the first slave control interface, where the first signal strength acquisition response includes: a first device number and a first signal strength;
[0104] S3. The master device receives, through the master first interface, first signal strength acquisition responses sent by the 1st to Mth slave devices, and determines the device number P of the slave device with the smallest first signal strength.
[0105] S4. The master control device sends a second signal strength acquisition instruction on the power line through the master control second interface;
[0106] S5. Each SN-th slave control device performs the following operations: receiving a second signal strength acquisition instruction through the second slave control interface, calculating a second signal strength according to the signal strength of the second signal strength acquisition instruction, generating a second signal strength acquisition response, and sending the second signal strength acquisition response through the second slave control interface, where the second signal strength acquisition response includes: the second device number and the second signal strength;
[0107] S6. The master device receives, through the master second interface, a second signal strength acquisition response sent by the SN-th slave device, and determines a device number Q of the slave device with the smallest second signal strength.
[0108] S7. The master control device determines the device number X of the device to be disconnected according to the device number P and the device number Q according to a preset rule; and sends a disconnection instruction on the power line through the master control first interface or the master control second interface, where the disconnection instruction includes: the device number X of the device to be disconnected;
[0109] As an optional manner in this embodiment, the master device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule, including: if PQ is an even number, then X=Q+(PQ) / 2, or P-(PQ) / 2;
[0110] If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
[0111] S8. Each of the first to S slave-controlled devices performs the following operations: receiving a disconnection instruction through the first slave-controlled interface or the second slave-controlled interface, determining whether its own device number is device number X; if it is device number X, controlling the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave-controlled interface and the second slave-controlled interface, without disconnecting the power supply path of the power line between the first slave-controlled interface and the second slave-controlled interface;
[0112] S9. After sending the cut-off instruction, the master control device sends a first control instruction on the power line through the master control first interface and sends a second control instruction on the power line through the master control second interface;
[0113] S10. The first slave control device with the device number X performs the following operations: receives a first control instruction through the first slave control interface, determines whether a response to the first control instruction is required, and if so, generates a first control response, and sends the first control response through the first slave control interface; the Sth slave control device with the device number X performs the following operations: receives a second control instruction through the second slave control interface, determines whether a response to the second control instruction is required, and if so, generates a second control response, and sends the second control response through the second slave control interface;
[0114] S11. The master control device receives a first control response through a first master control interface; and receives a second control response to a second control instruction through a second master control interface.
[0115] As an optional implementation manner of this embodiment, the power line communication method based on signal strength provided in this embodiment further includes:
[0116] Each slave control device numbered from the first to the device numbered X performs the following operations: after receiving the first control instruction through the first slave control interface, determines whether it is necessary to perform a first controlled operation according to the first control instruction, and if so, performs the first controlled operation;
[0117] The slave control devices from S to X each perform the following operations: after receiving the second control instruction through the slave control second interface, determine whether it is necessary to perform the second controlled operation according to the second control instruction, and if necessary, perform the second controlled operation.
[0118] The power line communication method based on signal strength provided by the embodiment of the present disclosure is applied to a power line communication system based on signal strength. The master control device sends and receives data simultaneously on two lines through the master control first interface and the master control second interface respectively. The slave control devices between the master control first interface and the slave control first interface of the cutting device and the slave control devices between the master control second interface and the slave control second interface of the cutting device can communicate data with the master control device at the same time, which greatly improves the communication efficiency. At the same time, the slave control devices of the two lines return response data to the master control device through different slave control interfaces respectively, which can avoid signal aliasing and signal transmission errors.
[0119] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present disclosure includes additional implementations in which functions may be performed out of the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present disclosure belong.
[0120] It should be understood that various parts of the present disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented using hardware, as in another embodiment, any one of the following technologies known in the art or a combination thereof can be used to implement: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application-specific integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0121] Those skilled in the art will understand that all or part of the steps in the method of the above embodiment can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiment.
[0122] In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing module, or each unit may exist physically separately, or two or more units may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.
[0123] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.
[0124] Throughout this specification, reference to terms such as "one embodiment," "some embodiments," "examples," "specific examples," or "some examples" means that a specific feature, structure, material, or characteristic described in conjunction with that embodiment or example is included in at least one embodiment or example of the present disclosure. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
[0125] Although the embodiments of the present disclosure have been shown and described above, it is understood that the above embodiments are illustrative and are not to be construed as limiting the present disclosure. Those skilled in the art may make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure without departing from the principles and purpose of the present disclosure. The scope of the present disclosure is defined by the appended claims and their equivalents.
Claims
1. A power line communication system based on signal strength, comprising a master device and S slave devices connected in series on a power line; wherein: The master control device includes a first master control interface and a second master control interface; S slave control devices are sequentially connected in series between the first master control interface and the second master control interface, and the device numbers of the S slave control devices are numbered in ascending order or descending order, where S is a preset value, which is an integer; The slave control device includes: a first slave control interface, a second slave control interface, and a switch; a first end of the first slave control interface is electrically connected to a first master control interface of a master control device, and a second end of the first slave control interface is electrically connected to a first end of the switch; a first end of the second slave control interface is electrically connected to a second master control interface of the master control device, and a second end of the second slave control interface is electrically connected to a second end of the switch; the switch is in a closed state by default; The master device is configured to send a first signal strength acquisition instruction on the power line through the master first interface; receive first signal strength acquisition responses sent by 1-M slave devices through the master first interface, the first signal strength acquisition responses including: a first device number and a first signal strength, and determine a device number P of the slave device having the smallest first signal strength; The master control device is further configured to send a second signal strength acquisition instruction on the power line through the master control second interface; receive a second signal strength acquisition response sent by an SN-th slave control device through the master control second interface, where the second signal strength acquisition response includes: a second device number and a second signal strength, and determine a device number Q of the slave control device with the smallest second signal strength, where 1≤N≤M≤S, and M and N are integers; The master control device is further configured to determine the device number X of the disconnected device according to a preset rule based on the device number P and the device number Q; and send a disconnection instruction on the power line through the master control first interface or the master control second interface, wherein the disconnection instruction includes: the device number X of the disconnected device; The master control device is further configured to, after sending the cut-off instruction, send a first control instruction on the power line through the master control first interface, and receive a first control response to the first control instruction through the master control first interface; send a second control instruction on the power line through the master control second interface, and receive a second control response to the second control instruction through the master control second interface; The slave control device is configured to receive the first signal strength acquisition instruction through the slave control first interface, calculate the first signal strength according to the first signal strength acquisition instruction, generate the first signal strength acquisition response, and send the first signal strength acquisition response through the slave control first interface; receive the second signal strength acquisition instruction through the slave control second interface, calculate the second signal strength according to the signal strength of the second signal strength acquisition instruction, generate the second signal strength acquisition response, and send the second signal strength acquisition response through the slave control second interface; The slave control device is further configured to receive the disconnection instruction through the first slave control interface or the second slave control interface, determine whether its own device number is the device number X, and if it is the device number X, control the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave control interface and the second slave control interface, without disconnecting the power supply path of the power line between the first slave control interface and the second slave control interface; The slave control device is also used to receive the first control instruction through the slave control first interface, determine whether it is necessary to respond to the first control instruction, and if so, generate the first control response, and send the first control response through the slave control first interface; receive the second control instruction through the slave control second interface, determine whether it is necessary to respond to the second control instruction, and if so, generate the second control response, and send the second control response through the slave control second interface.
2. The system according to claim 1, wherein: The slave control device is also used to determine whether it is necessary to perform a first controlled operation according to the first control instruction after receiving the first control instruction, and if so, perform the first controlled operation; after receiving the second control instruction, determine whether it is necessary to perform a second controlled operation according to the second control instruction, and if so, perform the second controlled operation.
3. The system according to claim 1, wherein: The master device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule in the following manner: If PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2; If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
4. A signal strength-based power line communication device, applied to the signal strength-based power line communication system according to claim 1, comprising: Processing module, main control first interface and main control second interface; The processing module is configured to send a first signal strength acquisition instruction on the power line through the main control first interface; receiving, through the first interface of the master control, first signal strength acquisition responses sent by the 1st to Mth slave control devices, the first signal strength acquisition responses including: a first device number and a first signal strength, and determining a device number P of the slave control device having the smallest first signal strength; The processing module is further configured to send a second signal strength acquisition instruction on the power line through the second master interface; receive a second signal strength acquisition response sent by an SN-th slave device through the second master interface, the second signal strength acquisition response including: a second device number and a second signal strength, and determine a device number Q of the slave device having the smallest second signal strength; The processing module is further configured to determine the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule; and send a disconnection instruction on the power line through the master control first interface or the master control second interface, wherein the disconnection instruction includes: the device number X of the disconnected device; The processing module is further configured to, after sending the cut-off instruction, send a first control instruction on the power line through the first master control interface, and receive a first control response to the first control instruction through the first master control interface; send a second control instruction on the power line through the second master control interface, and receive a second control response to the second control instruction through the second master control interface; The processing module is further used to receive the first signal strength acquisition instruction through the first interface of the slave control, calculate the first signal strength according to the first signal strength acquisition instruction, generate the first signal strength acquisition response, and send the first signal strength acquisition response through the first interface of the slave control; receive the second signal strength acquisition instruction through the second interface of the slave control, calculate the second signal strength according to the signal strength of the second signal strength acquisition instruction, generate the second signal strength acquisition response, and send the second signal strength acquisition response through the second interface of the slave control.
5. The device according to claim 4, wherein The processing module determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule in the following manner: If PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2; If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
6. A signal strength-based power line communication device, applied to the signal strength-based power line communication system according to claim 1, comprising: A processor, a switch, a first slave control interface, and a second slave control interface; The first end of the slave control first interface is electrically connected to the master control first interface of the master control device, the second end of the slave control first interface is electrically connected to the first end of the switch, and the third end of the slave control first interface is electrically connected to the first end of the processor; the first end of the slave control second interface is electrically connected to the master control second interface of the master control device, the second end of the slave control second interface is electrically connected to the second end of the switch, and the third end of the slave control second interface is electrically connected to the second end of the processor; the control end of the switch is electrically connected to the third end of the processor, and the switch is in a closed state by default; The processor is configured to receive a first signal strength acquisition instruction through the first slave control interface, calculate a first signal strength according to the first signal strength acquisition instruction, generate a first signal strength acquisition response, and send the first signal strength acquisition response through the first slave control interface; receive a second signal strength acquisition instruction through the second slave control interface, calculate a second signal strength according to the signal strength of the second signal strength acquisition instruction, generate a second signal strength acquisition response, and send the second signal strength acquisition response through the second slave control interface; The processor is further configured to receive a disconnection instruction through the first slave control interface or the second slave control interface, determine whether its own device number is device number X, and if it is device number X, control the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave control interface and the second slave control interface, without disconnecting the power supply path of the power line between the first slave control interface and the second slave control interface; The processor is further configured to receive the first control instruction through the first slave control interface, determine whether a response to the first control instruction is required, and if so, generate a first control response, and send the first control response through the first slave control interface; receive the second control instruction through the second slave control interface, determine whether a response to the second control instruction is required, and if so, generate a second control response, and send the second control response through the second slave control interface.
7. The device according to claim 6, wherein The processor is further configured to, after receiving the first control instruction, determine whether it is necessary to execute a first controlled operation according to the first control instruction, and if so, execute the first controlled operation; and, after receiving the second control instruction, determine whether it is necessary to execute a second controlled operation according to the second control instruction, and if so, execute the second controlled operation.
8. A signal strength-based power line communication method, applied to the signal strength-based power line communication system according to claim 1, comprising: The main control device sends a first signal strength acquisition instruction on the power line through the main control first interface; Each of the 1st to Mth slave control devices performs the following operations: receiving the first signal strength acquisition instruction through the first slave control interface, calculating a first signal strength according to the first signal strength acquisition instruction, generating a first signal strength acquisition response, and sending the first signal strength acquisition response through the first slave control interface, where the first signal strength acquisition response includes: a first device number and a first signal strength; The master device receives, through the master first interface, first signal strength acquisition responses sent by the 1st to Mth slave devices, and determines a device number P of the slave device having the smallest first signal strength; The main control device sends a second signal strength acquisition instruction on the power line through the main control second interface; Each SN slave control device performs the following operations: receiving the second signal strength acquisition instruction through the slave control second interface, calculating the second signal strength according to the signal strength of the second signal strength acquisition instruction, generating a second signal strength acquisition response, and sending the second signal strength acquisition response through the slave control second interface, where the second signal strength acquisition response includes: a second device number and a second signal strength; The master device receives, through the master second interface, a second signal strength acquisition response sent by the SN-th slave device, and determines a device number Q of the slave device with the smallest second signal strength; The master control device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule; and sends a disconnection instruction on the power line through the master control first interface or the master control second interface, the disconnection instruction including: the device number X of the disconnected device; Each of the first to S slave-controlled devices performs the following operations: receiving the disconnection instruction through the first slave-controlled interface or the second slave-controlled interface, determining whether its own device number is the device number X, and if it is the device number X, controlling the switch to disconnect, thereby disconnecting the communication equivalent path of the power line between the first slave-controlled interface and the second slave-controlled interface, without disconnecting the power supply path of the power line between the first slave-controlled interface and the second slave-controlled interface; After sending the cut-off instruction, the master control device sends a first control instruction on the power line through the master control first interface and sends a second control instruction on the power line through the master control second interface; Each of the slave control devices numbered from the first to the device numbered X performs the following operations: receiving the first control instruction through the first slave control interface, determining whether a response to the first control instruction is required, and if so, generating a first control response, and sending the first control response through the first slave control interface; Each of the Sth slave control devices with a device number of X performs the following operations: receiving the second control instruction through the second slave control interface, determining whether a response to the second control instruction is required, and if so, generating a second control response, and sending the second control response through the second slave control interface; The master control device receives the first control response through the master control first interface; and receives a second control response to the second control instruction through the master control second interface.
9. The method according to claim 8, wherein The method further comprises: Each of the slave control devices numbered from the first to the device numbered X performs the following operations: after receiving the first control instruction through the first slave control interface, determining whether it is necessary to perform a first controlled operation according to the first control instruction, and if so, performing the first controlled operation; The Sth slave control device with device number X all performs the following operation: after receiving the second control instruction through the second slave control interface, determines whether it is necessary to perform the second controlled operation according to the second control instruction, and if necessary, performs the second controlled operation.
10. The method according to claim 8, wherein The master device determines the device number X of the disconnected device according to the device number P and the device number Q according to a preset rule, including: If PQ is an even number, then X = Q + (PQ) / 2, or P - (PQ) / 2; If PQ is an odd number, then X=Q+(P-Q+1) / 2, or P-(P-Q+1) / 2; alternatively, X=Q+(PQ-1) / 2, or P-(PQ-1) / 2.
Citation Information
Patent Citations
Remote control method and device for data remote transmission equipment
CN105449858A
Wireless power transmission method, wireless power reception method, and apparatus therefor
CN107636929A
Photovoltaic module turn-off module and turn-off method
CN114094934A
Power line communication method, device and system based on signal intensity
CN118249845A
Method and apparatus for identifying wireless power receiver
WO2017018668A1