SIGNAL TRANSMISSION METHOD FOR LIGHTWEIGHT REMOTE CONTROL COMMUNICATION PROTOCOL
20200322458 ยท 2020-10-08
Inventors
- Shih-Ming Hwang (Irvine, CA, US)
- James Chien-Jong Hwang (Irvine, CA, US)
- Lawrence Liang-Lun Hwang (Irvine, CA, US)
Cpc classification
H04L63/0428
ELECTRICITY
G08C2201/42
PHYSICS
H04L9/3242
ELECTRICITY
Y02D30/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H04L9/12
ELECTRICITY
H04L2209/805
ELECTRICITY
H04L63/0485
ELECTRICITY
International classification
H04L9/12
ELECTRICITY
H04L9/32
ELECTRICITY
Abstract
A signal transmission method for lightweight remote control communication protocol is provided. According to the method, a signal-controlled-end transceiver executes a communication transmission process according to a communication protocol to receive a communication signal. The communication transmission process includes determining whether the payload column of the communication signal is encrypted and determining whether the communication signal is a single-direction or a dual-direction communication signal. Besides, the communication signal further includes a control data and an information data. In this way, when a controlled device receives the communication signal, the control element of the controlled device controls the controlled device according to the control data and the information data. The method can identify signal-direction signals or dual-direction signals, encrypted signals or non-encrypted signals, and transmit the control data and the information data to the controlled device on a lightweight data basis, and so can achieve accurate control and other technical effects.
Claims
1. A signal transmission method for lightweight remote control communication protocol, applicable to a data transmission between a signal-control-end transceiver and at least one signal-controlled-end transceiver corresponding thereto, wherein the method comprises: transmitting a communication signal according to a communication protocol by the signal-control-end transceiver, in order to identify the signal-controlled-end transceiver, within an effective range of the communication signal, corresponding to a source identification of the communication signal; executing a communication transmission process to receive the communication signal according to the communication protocol by the signal-controlled-end transceiver, wherein the communication transmission process comprises: checking a determination flag of a command frame of the communication signal by the signal-controlled-end transceiver, in order to confirm whether the communication signal is a single-direction communication signal or a dual-direction communication signal; checking an encryption flag of the command frame by the signal-controlled-end transceiver, so as to confirm whether a payload column of the communication signal is encrypted; and executing a decryption process and an encryption authentication process by the signal-controlled-end transceiver, when the signal-controlled-end transceiver confirms the payload column is authenticated, in order to confirm whether the communication signal is a real communication signal;
2. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein the encryption identification process comprises: checking whether the encrypted payload conforms to an message authentication code of the signal-controlled-end transceiver by the signal-controlled-end transceiver; and confirming the communication signal is the real communication signal by the signal-controlled-end transceiver, when the signal-controlled-end transceiver determines encrypted payload conforms to the message authentication code.
3. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein the payload column comprises a control frame and a message frame; the control frame comprises a control data and the message frame comprises an information data.
4. The signal transmission method for lightweight remote control communication protocol of claim 3, wherein when the signal-controlled-end transceiver finishes the communication transmission process, the signal-controlled-end transceiver transmits the communication signal to a controlled device, wherein a control element of the controlled device controls the controlled device according to the control data of the communication signal, and a processing element of the controlled device regulates a control method of the control element, to control the controlled device according to the information data of the communication signal.
5. The signal transmission method for lightweight remote control communication protocol of claim 3, wherein the payload column further comprises a sequence frame for recording a transmission sequence of the communication signal.
6. The signal transmission method for lightweight remote control communication protocol of claim 5, wherein the encryption identification process comprises: checking the transmission sequence of the communication signal of the sequence frame by the signal-controlled-end transceiver in order to determine timing order of the real communication signal.
7. The signal transmission method for lightweight remote control communication protocol of claim 2, wherein when the signal-controlled-end transceiver finishes the communication transmission process and the signal-controlled-end transceiver confirms the communication signal is the real communication signal, the signal-controlled-end transceiver transmits the communication signal to a controlled device.
8. The signal transmission method for lightweight remote control communication protocol of claim 3, wherein when the signal-controlled-end transceiver finishes the communication transmission process and the signal-controlled-end transceiver confirms the communication signal is the real communication signal, the signal-controlled-end transceiver transmits the communication signal to a controlled device.
9. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein the communication transmission process comprises: checking whether an error identification of the communication signal conforms to an error code of the signal-controlled-end transceiver by the signal-controlled-end transceiver; and abandoning the communication signal by the signal-controlled-end transceiver, when the signal-controlled-end transceiver determines the error identification fails to conform to the error code.
10. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein the communication signal comprises a destination identification for recording an identification code transmitting to the signal-controlled-end transceiver or a target device.
11. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein the communication signal comprises a packet type frame for setting a packet type of the communication signal.
12. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein when the signal-controlled-end transceiver confirms the communication signal is the dual-direction communication signal, the signal-controlled-end transceiver generates a feedback signal and transmits the feedback signal to the signal-control-end transceiver or a target device.
13. The signal transmission method for lightweight remote control communication protocol of claim 1, wherein the communication signal comprises a pre-amble, a sync frame and a length frame; the pre-amble records a start timing sync information; the sync frame records a sync connection information; the signal-controlled-end transceiver establishes a sync connection with the signal-control-end transceiver according to the start timing sync information and the sync connection information; and the length frame records a total length of the communication signal.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0030] For a better understanding of the aforementioned embodiments of the invention as well as additional embodiments thereof, reference should be made to the Description of Embodiments below, in conjunction with the following drawings in which like reference numerals refer to corresponding parts throughout the figures.
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
[0041] The following description is about embodiments of the present invention; however it is not intended to limit the scope of the present invention.
[0042] Please refer to
[0043] However, when the signal-controlled-end transceiver 20 receives the communication signal 11, the signal-controlled-end transceiver 20 executes a communication transmission process according to the communication protocol in order to receive the communication signal 11 (S102); more specifically, the communication transmission process includes:
[0044] The signal-controlled-end transceiver 20 checks whether the error identification of the communication signal 11 conforms to the error code of the signal-controlled-end transceiver 20. More specifically, the CRC frame 132 of the communication signal 11 includes the error code. When receiving the error code, the signal-controlled-end transceiver 20 checks whether the error code conforms to the error identification (S103). If the signal-controlled-end transceiver 20 determines that the error identification fails to conform to the error code, the signal-controlled-end transceiver 20 abandons the communication signal 11 (S104).
[0045] The signal-controlled-end transceiver 20 checks the determination flag of the command frame 124 of the communication signal 11. The determination flag is primarily used to determine whether the communication signal 11 is a single-direction signal or a dual-direction signal. Therefore, the signal-controlled-end transceiver 20 cam determine whether the communication signal 11 is a single-direction signal or a dual-direction signal according to the determination flag (S105). When the signal-controlled-end transceiver 20 confirms that the communication signal 11 is a dual-direction signal, the signal-controlled-end transceiver 20 generates a feedback signal 21 and transmits the feedback signal 21 to the signal-control-end transceiver 10 or a target device (S106).
[0046] When the communication signal 11 is a dual-direction signal, the destination identification 127 of the communication signal 11 is an identification code used to record the device where the signal is returned (e.g. the signal-control-end transceiver 10 or the target device). In this way, after generating the feedback signal 21, the signal-controlled-end transceiver 20 can transmit the feedback signal 21 to the signal-control-end transceiver 10 or the target device according to the destination identification 127.
[0047] The communication signal 11 includes a payload column 12 and the payload column 12 includes the control frame 128, the message frame 129 and the sequence frame 130. The control frame 128 further includes a control data and the message frame 129 includes an information data; further, the sequence frame 130 is used to record the transmission sequence of the communication signal 11. In this way, when the communication signal 11 is a dual-direction signal, the sequence frame 130 keeps recording the transmission sequence of the communication signal 11 in order to identify the sequence of the transmitted and received signals.
[0048] When finishing the communication transmission process, the signal-controlled-end transceiver 20 transmits the communication signal 11 to a controlled device 30 (S107). More specifically, the control element of the controlled device can control the controlled device 30 according to the control data of the communication signal 11; the processing element of the controlled device 30 can regulate how the control element controls the controlled device 30 according to the information data of the communication signal 11. For example, the information data could be used to turn the TV channel to the 64th channel and the control data to turn on the TV. In this case, when the TV receives the control data and the information data, the TV is turned on and the TV channel is turned to 64th channel. In another example, the information data could be used to set the activation time to 17:50 and the control data to turn on the air conditioner. In this case, when the air conditioner receives the control data and the information data, the air conditioner will be turned on at 17:50.
[0049] Moreover, the pre-amble 121 of the communication signal 11 is used to record a timing sync information and the sync information sequence frame 122 is used to record a sync connection information. In this way, the signal-controlled-end transceiver 20 can establish a sync connection to the signal-control-end transceiver 10 according to the timing sync information and the sync connection information. The length frame 123 is used to record the total length of the communication signal 11 and the PKT-Type frame 125 is used to set the packet type of the communication signal 11.
[0050] Please refer to
[0051] The signal-controlled-end transceiver 20 checks the encryption flag of the command frame 124 so as to confirm whether the payload column 12 of the communication signal 11 is encrypted (S108). When confirming that the payload column 12 of the communication signal 11 is encrypted, the signal-controlled-end transceiver 20 executes a decryption process and an encryption identification process via the MAC frame 131 and the sequence frame 130 so as to confirm whether the communication signal 11 is a real communication signal.
[0052] More specifically, the encryption identification process includes the following steps:
[0053] The signal-controlled-end transceiver 20 checks whether the encrypted payload information (column 12) conforms to the message authentication code of the signal-controlled-end transceiver 20 (S110).
[0054] When confirming that the encryption information conforms to the message authentication code, the signal-controlled-end transceiver 20 confirms that the communication signal 11 is a real communication signal.
[0055] The signal-controlled-end transceiver 20 checks the transmission sequence (S111) of the sequence frame 130 in order to confirm the timing order.
[0056] More specifically, regarding the aforementioned identification methods by the encryption information and the message authentication code, and the transmission sequence confirmation method via the record in the sequence frame 130, if the identification result of one of the above methods is incorrect, the communication signal 11 is determined to be an incorrect communication signal. Then, the communication transmission process can be elected to be stopped (S112).
[0057] When the signal-controlled-end transceiver 20 finishes the communication transmission process and confirms that the communication signal 11 is a real communication signal 11, the signal-controlled-end transceiver 20 transmits the communication signal 11 to the controlled device 30 (S107) so as to drive the control element to control the controlled device 30 according to the control data of the communication signal 11. Meanwhile, the processing element regulates the control method of the control element controlling the controlled device 30 according to the information data of the communication signal 11.
[0058] Please refer to
[0059] The above disclosure is related to the detailed technical contents and inventive features thereof Those skilled in the art may proceed with a variety of modifications and replacements based on the disclosures and suggestions of the invention as described without departing from the characteristics thereof. Nevertheless, although such modifications and replacements are not fully disclosed in the above descriptions, they have substantially been covered in the following claims as appended.