Single-wire communication apparatus, system and method

WO2025185452A8PCT designated stage Publication Date: 2025-10-02TENDYRON CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/078217
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-03-07
Filing Date
2025-02-20
Publication Date
2025-10-02

AI Technical Summary

Technical Problem

The existing single-line communication system has low communication efficiency and consumes too much time when there are many controlled devices.

Method used

By introducing a processing chip and a switch into the single-line communication device, the self-number is determined according to the control instruction, and the single-line communication path is disconnected or maintained. The team leader's single-line communication device processes the data transmission of the team members, thereby improving communication efficiency.

Benefits of technology

The problem of a long time consumed by the main control device in receiving responses from each single-line communication device is solved, thereby improving communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025078217_02102025_PF_FP_ABST
    Figure CN2025078217_02102025_PF_FP_ABST
Patent Text Reader

Abstract

A single-wire communication apparatus, system and method. When a single-wire communication apparatus determines that its own number is one of specified numbers sent by a main control device, the single-wire communication apparatus turns off its own switch, and disconnects its own single-wire communication path.
Need to check novelty before this filing date? Find Prior Art

Description

Single-line communication device, system and method

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese patent application number 202410257514.9, filed on March 7, 2024, entitled “A Single-Line Communication Device, System and Method,” the entire contents of which are incorporated by reference into this application. Technical Field

[0003] The present disclosure relates to the field of single-line communication technology, and in particular to a single-line communication device, system, and method. Background Art

[0004] Existing single-line communication systems often include a master device, followed by multiple controlled devices connected in series on a single line. The master device can send control commands to the controlled devices over the single 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 a single line, and 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 the above-mentioned problems.

[0009] To achieve the above objectives, the technical solution of the present disclosure is specifically implemented as follows:

[0010] In one aspect, the present disclosure provides a single-line communication device for use in a single-line communication system. The single-line communication system includes: a master control device; and a plurality of single-line communication devices connected in series on a single line after the master control device. The plurality of single-line communication devices are numbered according to a preset rule, wherein:

[0011] The single-line communication device includes: a first interface, a processing chip, a second interface and a switch;

[0012] A first end of the first interface is electrically connected to a single-wire interface close to the main control device, a second end of the first interface is electrically connected to a first end of the switch, and a third end of the first interface is electrically connected to a first input / output end of the processing chip;

[0013] A first end of the second interface is electrically connected to a single-wire interface away from the main control device, a second end of the second interface is electrically connected to a second end of the switch, and a third end of the second interface is electrically connected to a second input / output end of the processing chip;

[0014] The default state of the switch is a closed state, and the control end of the switch is electrically connected to the control end of the processing chip;

[0015] The processing chip is configured to receive a control instruction via a first input / output terminal of the processing chip, the control instruction including at least one designated number; determine whether the at least one designated number includes the processing chip's own number stored therein; if so, control the switch to be disconnected to disconnect the single-line communication path between the first terminal of the first interface and the first terminal of the second interface; and if not, execute a controlled operation according to the control instruction;

[0016] The processing chip is also used to receive reporting data sent by at least one reporting device through the second input and output end of the processing chip after the switch is disconnected, and the reporting data includes the number of the reporting device, and output the data to be reported through the first input and output end of the processing chip, and the data to be reported includes its own number and the reporting data.

[0017] The processing chip outputs the data to be reported through the first input and output terminal of the processing chip in the following manner:

[0018] Packing the reported data sent by the reporting device whose number is not the designated number to generate the data to be reported, and outputting the data to be reported through the first input and output terminal of the processing chip;

[0019] or

[0020] Packing the reported data sent by the reporting device whose number is not the designated number and its own reported data to generate the data to be reported, and outputting the data to be reported through the first input and output terminal of the processing chip;

[0021] or

[0022] The data to be reported is generated from the reporting data sent by the reporting device with the designated number, and the data to be reported is forwarded through the first input and output end of the processing chip.

[0023] The processing chip is further configured to control the switch to close after the data to be reported is output through the first input and output terminals of the processing chip, thereby connecting the single-line communication path between the first terminal of the first interface and the first terminal of the second interface.

[0024] The processing chip is further configured to execute the controlled operation according to the control instruction after the switch is disconnected.

[0025] The reported data includes: device type, device status and data transmission request.

[0026] Another aspect of the present disclosure provides a single-line communication system, comprising a plurality of the above-mentioned single-line communication devices and a master control device; the single-line communication devices are sequentially connected in series on the single line after the master control device and are numbered according to a preset rule;

[0027] The main control device is used to send control instructions and receive data to be reported.

[0028] In another aspect, the present disclosure provides a single-line communication method, which is applied in the above-mentioned single-line communication system, comprising:

[0029] receiving a control instruction, wherein the control instruction includes at least one designated number;

[0030] determining whether the at least one designated number includes the processing chip's own number stored therein;

[0031] If it is included, disconnecting the single-line communication path in the single-line communication device; if it is not included, executing the controlled operation according to the control instruction;

[0032] After the single-line communication path is disconnected, receiving reporting data sent by at least one reporting device, the reporting data including the number of the reporting device;

[0033] The data to be reported is output, where the data to be reported includes the own number and the reported data.

[0034] The step of outputting the data to be reported includes:

[0035] Packing the reported data sent by the reporting device whose number is not the designated number to generate the data to be reported, and outputting the data to be reported;

[0036] or

[0037] Packing the reported data sent by the reporting device whose number is not the designated number and its own reported data to generate the data to be reported, and outputting the data to be reported;

[0038] or

[0039] The data to be reported is generated from the reporting data sent by the reporting device with the designated number, and the data to be reported is forwarded.

[0040] The method further includes:

[0041] After the data to be reported is output, the single-line communication path is connected.

[0042] The method further includes: after the single-line communication path is disconnected, executing the controlled operation according to the control instruction.

[0043] It can be seen from the technical solution provided by the above-mentioned present disclosure that the present disclosure provides a single-line communication device, system and method. When the single-line communication device determines that its own number is one of the designated numbers sent by the main control device, it turns off its own switch and disconnects its own single-line communication path, so that when the group members subordinate to the group leader transmit data on the single line, they cannot communicate through the group leader's single-line communication path, and can only complete the processing, sending or forwarding through the group leader's processing chip, which solves the problem of long time consumed by the main control device in receiving the response sent by each single-line communication device separately in the prior art, thereby improving communication efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] 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.

[0045] FIG1 is a schematic structural diagram of a single-line communication system provided by an embodiment of the present disclosure;

[0046] FIG2 is a schematic structural diagram of a single-line communication device provided in an embodiment of the present disclosure;

[0047] FIG3 is a flow chart of a single-line communication method provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0048] 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.

[0049] Figure 1 shows a structural diagram of a single-line communication system provided by an embodiment of the present disclosure. Referring to Figure 1, the single-line communication system provided by an embodiment of the present disclosure includes: a main control device, and multiple single-line communication devices connected in series on a single line behind the main control device; the multiple single-line communication devices are numbered according to preset rules.

[0050] The term "single line" in this application refers to data transmission via a single line, which includes a single bus such as RS485, a power line, or an optical fiber.

[0051] For example, the first single-line communication device connected to the main control device is numbered 1, the second single-line communication device is numbered 2, and the Nth single-line communication device is numbered N. Of course, this is only one numbering method disclosed herein, and other numbering methods should also fall within the scope of protection of this disclosure. The main control device can pre-store the correspondence between the number and MAC address of each single-line communication device. The main control device can also determine the designated number based on the user's settings, or determine the designated number based on the number of single-line communication devices. This is not specifically limited in this disclosure. As long as the main control device can obtain the designated number, it should fall within the scope of protection of this disclosure.

[0052] The single-line communication device can be a smoke alarm, camera, smart light and other equipment. It can communicate via a single line, or it can be used as an external device to connect to existing smoke alarms, cameras, smart lights and other equipment to control the existing equipment.

[0053] In a single-wire communication system, the master control device may broadcast or send instructions to single-wire communication devices with specific numbers to control all single-wire communication devices or single-wire communication devices with specific numbers in the single-wire communication system.

[0054] After receiving the corresponding instruction, each single-line communication device can perform the corresponding operation according to the control type carried in the instruction. For example: if the instruction is a patrol instruction, such as a broadcast patrol instruction, then the operation of returning the patrol response is performed, such as each single-line communication device returns the patrol response according to different time slots; if the instruction is an on operation, such as an instruction to turn on a light with a specific number, then the on operation is performed, such as an operation to light up a light with a specific number; if it is a data reporting instruction, such as an instruction to report video data, then the data reporting operation is performed, such as transmitting video data captured by the camera.

[0055] Based on the single-line communication system shown in FIG1 , FIG2 shows a schematic structural diagram of a single-line communication device. Referring to FIG2 , the single-line communication device provided by an embodiment of the present disclosure includes: a first interface, a processing chip, a second interface, and a switch;

[0056] A first end of the first interface is electrically connected to a single-wire interface close to the main control device, a second end of the first interface is electrically connected to a first end of the switch, and a third end of the first interface is electrically connected to a first input / output end of the processing chip;

[0057] A first end of the second interface is electrically connected to a single-wire interface away from the main control device, a second end of the second interface is electrically connected to a second end of the switch, and a third end of the second interface is electrically connected to a second input / output end of the processing chip;

[0058] The default state of the switch is a closed state, and the control terminal of the switch is electrically connected to the control terminal of the processing chip;

[0059] The processing chip is configured to receive a control instruction via a first input / output terminal of the processing chip, the control instruction including at least one designated number; determine whether the at least one designated number includes the processing chip's own number stored therein; if so, control the switch to be disconnected to disconnect the single-line communication path between the first terminal of the first interface and the first terminal of the second interface; and if not, execute a controlled operation according to the control instruction;

[0060] The processing chip is also used to receive reporting data sent by at least one reporting device through the second input and output end of the processing chip after the switch is disconnected, and the reporting data includes the number of the reporting device, and output the data to be reported through the first input and output end of the processing chip, and the data to be reported includes its own number and reporting data.

[0061] Specifically, the switch in the single-wire communication device provided by the present disclosure is in a closed state by default. When the switch is closed, the single-wire communication path between the first end of the first interface and the first end of the second interface in the single-wire communication device is connected. When the switch is open, the single-wire communication path between the first end of the first interface and the first end of the second interface is disconnected. Other single-wire communication devices in the single-wire communication system cannot communicate through the single-wire communication path of the single-wire communication device and can only process, send, or forward data via the processing chip of the single-wire communication device.

[0062] When the single line is a power line, in the switch-off state, the single-line communication path between the first end of the first interface and the first end of the second interface is disconnected, and the single-line power supply path between the first end of the first interface and the first end of the second interface is still connected to power the single-line communication device.

[0063] The present disclosure groups the single-line communication devices in the single-line communication system via a main control device, and uses the designated numbered single-line communication device as the group leader by carrying the designated number in the control instruction, and the other single-line communication devices without the designated number are group members. For example: the main control device uses the single-line communication devices numbered 1 / 4 / 7 as the group leader, then the single-line communication devices numbered 2 and 3 are group members numbered 1, the single-line communication devices numbered 5 and 6 are group members numbered 4, and so on.

[0064] When the single-line communication device receives a control instruction sent by the main control device, if it determines that its own number is one of the designated numbers, it determines itself as the group leader. Each single-line communication device corresponding to the designated number is a group leader. Each group leader turns off its own switch and disconnects its own single-line communication path. As a result, when the group members subordinate to the group leader transmit data on the single line, they cannot communicate through the group leader's single-line communication path and can only complete the processing, sending or forwarding through the group leader's processing chip. This allows the group members to send responses to the control instructions to the group leader, which are summarized by the group leader and sent to the main control device. This solves the problem of the long time it takes for the main control device to receive the responses sent by each single-line communication device separately in the prior art, thereby improving communication efficiency.

[0065] When the single-line communication device receives a control instruction sent by the main control device, if it determines that its own number is not one of the specified numbers, it determines itself as a group member and performs the controlled operation according to the control instruction. For example, if the control instruction is a patrol instruction, such as a broadcast patrol instruction, it performs the operation of returning the patrol response; if the instruction is an on operation, such as a light on instruction with a specific number, it performs the light lighting operation; if it is a data reporting instruction, such as a video data reporting instruction, it performs the data reporting operation.

[0066] As an optional implementation manner of the embodiment of the present disclosure, the processing chip outputs the data to be reported through the first input and output end of the processing chip in the following manner: the reporting data sent by the reporting device whose number is not the specified number is packaged to generate the data to be reported, and the data to be reported is output through the first input and output end of the processing chip; or the reporting data sent by the reporting device whose number is not the specified number and its own reporting data are packaged to generate the data to be reported, and the data to be reported is output through the first input and output end of the processing chip; or the reporting data sent by the reporting device whose number is the specified number is generated into the data to be reported, and the data to be reported is forwarded through the first input and output end of the processing chip.

[0067] Specifically, after receiving data reported by a group member, the group leader, if it also has data to report, packages the data reported by the group member and its own data together and sends them to the master device. If it has no data to report, it packages the data reported by the group member and sends it to the master device. After receiving data sent by other group leaders, it forwards the data sent by other group leaders. This allows data reporting to be performed on a group basis, improving communication efficiency.

[0068] As an optional implementation of the embodiment of the present disclosure, the processing chip is also used to control the switch to close after the data to be reported is output through the first input and output end of the processing chip, so as to connect the single-line communication path between the first end of the first interface and the first end of the second interface.

[0069] Specifically, when group communication is not required, the switch can be closed to connect the single-line communication path of the single-line communication device and restore normal single-line communication.

[0070] As an optional implementation of the embodiment of the present disclosure, the processing chip is further configured to execute the controlled operation according to the control instruction after the switch is disconnected.

[0071] Specifically, if the team leader receives a control instruction and needs to perform corresponding operations, he or she will also perform the controlled operation according to the control instruction. For example, if the control instruction is a patrol instruction, the operation of returning the patrol response will be performed; if the instruction is an opening operation, such as a light-on instruction, the light-on operation will be performed; if it is a data reporting instruction, such as a video data reporting instruction, the data reporting operation will be performed.

[0072] As an optional implementation of the disclosed embodiment, the reported data includes: device type, device status, and data transmission request. Specifically, by including the device type, device status, and data transmission request in the reported data, the master device can learn the type and status of each single-line communication device, as well as whether there is data to be transmitted, and can perform different control operations according to different situations.

[0073] It can be seen that the single-line communication device provided by the embodiment of the present disclosure, when determining that its own number is one of the designated numbers sent by the main control device, turns off its own switch and disconnects its own single-line communication path, so that when the group members subordinate to the group leader transmit data on the single line, they cannot communicate through the group leader's single-line communication path, and can only complete the processing, sending or forwarding through the group leader's processing chip, thereby solving the problem of long time consumed by the main control device in the prior art to receive the response sent by each single-line communication device separately, thereby improving communication efficiency.

[0074] The present disclosure also provides a single-line communication system, including the above-mentioned single-line communication device and a main control device; the single-line communication device is connected in series on the single line after the main control device and is numbered according to a preset rule; the main control device is used to send control instructions; and receive data to be reported.

[0075] It can be seen that the single-line communication system provided by the embodiment of the present disclosure, when it determines that its own number is one of the designated numbers sent by the main control device, turns off its own switch and disconnects its own single-line communication path, so that when the group members subordinate to the group leader transmit data on the single line, they cannot communicate through the group leader's single-line communication path, and can only complete the processing, sending or forwarding through the group leader's processing chip, thereby solving the problem of long time consumed by the main control device in the prior art to receive the response sent by each single-line communication device separately, and improving communication efficiency.

[0076] FIG3 shows a flow chart of a single-line communication method provided by an embodiment of the present disclosure. The single-line communication method is applied to the above-mentioned single-line communication device and system. The following is only a brief description of the process of the single-line communication method. For other matters not covered, please refer to the relevant description of the above-mentioned single-line communication system and device, which will not be described in detail here. Referring to FIG3, the single-line communication method provided by an embodiment of the present disclosure includes:

[0077] S1, receiving a control instruction, the control instruction including at least one designated number;

[0078] S2, determining whether at least one designated number includes the processing chip's own number stored therein;

[0079] S3, if included, disconnecting the single-line communication path in the single-line communication device; if not included, executing the controlled operation according to the control instruction;

[0080] S4, after the single-line communication path is disconnected, receiving reporting data sent by at least one reporting device, the reporting data including the number of the reporting device;

[0081] S5, outputting the data to be reported, where the data to be reported includes its own number and the reported data.

[0082] As an optional implementation manner of the embodiment of the present disclosure, outputting the data to be reported includes: packaging the reported data sent by the reporting device whose number is not the designated number to generate the data to be reported, and outputting the data to be reported; or packaging the reported data sent by the reporting device whose number is not the designated number and its own reported data to generate the data to be reported, and outputting the data to be reported; or generating the data to be reported from the reported data sent by the reporting device whose number is the designated number, and forwarding the data to be reported.

[0083] As an optional implementation of the embodiment of the present disclosure, the single-line communication method provided by the embodiment of the present disclosure further includes: after outputting the data to be reported, connecting the single-line communication path.

[0084] As an optional implementation of the embodiment of the present disclosure, the single-line communication method provided by the embodiment of the present disclosure further includes: after the single-line communication path is disconnected, executing the controlled operation according to the control instruction.

[0085] As an optional implementation of the embodiment of the present disclosure, the reported data includes: device type, device status and data transmission request.

[0086] It can be seen that through the single-line communication method provided by the embodiment of the present disclosure, when it is determined that its own number is one of the designated numbers sent by the main control device, its own switch is turned off and its own single-line communication path is disconnected, so that when the group members subordinate to the group leader transmit data on the single line, they cannot communicate through the group leader's single-line communication path, and can only complete the processing, sending or forwarding through the group leader's processing chip, which solves the problem of long time consumed by the main control device in the prior art to receive the response sent by each single-line communication device separately, and improves communication efficiency.

[0087] 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 single-line communication device, used in a single-line communication system, the single-line communication system comprising: A master control device, and a plurality of single-line communication devices connected in series on a single line behind the master control device; The multiple single-line communication devices are numbered according to a preset rule, wherein: The single-line communication device includes: a first interface, a processing chip, a second interface and a switch; The first end of the first interface is electrically connected to a single-wire interface close to the main control device, the second end of the first interface is electrically connected to the first end of the switch, and the third end of the first interface is electrically connected to the first input / output end of the processing chip; A first end of the second interface is electrically connected to a single-wire interface away from the main control device, a second end of the second interface is electrically connected to a second end of the switch, and a third end of the second interface is electrically connected to a second input / output end of the processing chip; The default state of the switch is a closed state, and the control end of the switch is electrically connected to the control end of the processing chip; The processing chip is configured to receive a control instruction via a first input / output terminal of the processing chip, the control instruction including at least one designated number; determine whether the at least one designated number includes the processing chip's own number stored therein; if so, control the switch to be disconnected to disconnect the single-line communication path between the first terminal of the first interface and the first terminal of the second interface; and if not, execute a controlled operation according to the control instruction; The processing chip is also used to receive reporting data sent by at least one reporting device through the second input and output end of the processing chip after the switch is disconnected, and the reporting data includes the number of the reporting device, and output the data to be reported through the first input and output end of the processing chip, and the data to be reported includes its own number and the reporting data.

2. The device according to claim 1, wherein The processing chip outputs the data to be reported through the first input and output terminal of the processing chip in the following manner: Packing the reported data sent by the reporting device whose number is not the designated number to generate the data to be reported, and outputting the data to be reported through the first input and output terminal of the processing chip; or Packing the reported data sent by the reporting device whose number is not the designated number and its own reported data to generate the data to be reported, and outputting the data to be reported through the first input and output terminal of the processing chip; or The data to be reported is generated from the reporting data sent by the reporting device with the designated number, and the data to be reported is forwarded through the first input and output end of the processing chip.

3. The device according to claim 1, wherein The processing chip is further configured to control the switch to close after the data to be reported is output through the first input / output terminal of the processing chip, so as to connect the single-line communication path between the first terminal of the first interface and the first terminal of the second interface.

4. The device according to claim 1, wherein The processing chip is further configured to execute the controlled operation according to the control instruction after the switch is disconnected.

5. The device according to claim 1, wherein The reported data includes: device type, device status and data transmission request.

6. A single-line communication system comprising a plurality of single-line communication devices according to any one of claims 1 to 5 and a master control device; the single-line communication devices are sequentially connected in series on the single line after the master control device and are numbered according to a preset rule; The main control device is used to send control instructions and receive data to be reported.

7. A single-line communication method, applied in the single-line communication system according to claim 6, comprising: receiving a control instruction, wherein the control instruction includes at least one designated number; determining whether the at least one designated number includes the processing chip's own number stored therein; If included, disconnect the single-wire communication path in the single-wire communication device; If not included, executing the controlled operation according to the control instruction; After the single-line communication path is disconnected, receiving reporting data sent by at least one reporting device, the reporting data including the number of the reporting device; The data to be reported is output, where the data to be reported includes the own number and the reported data.

8. The method according to claim 7, wherein: Outputting the data to be reported includes: Packing the reported data sent by the reporting device whose number is not the designated number to generate the data to be reported, and outputting the data to be reported; or Packing the reported data sent by the reporting device whose number is not the designated number and its own reported data to generate the data to be reported, and outputting the data to be reported; or The data to be reported is generated from the reporting data sent by the reporting device with the designated number, and the data to be reported is forwarded.

9. The method according to claim 7, wherein: Also includes: After the data to be reported is output, the single-line communication path is connected.

10. The method according to claim 7, wherein: Also includes: After the single-line communication path is disconnected, the controlled operation is performed according to the control instruction.