Coding method and identifying method of remote control code
A coding method and remote control code technology, which is applied in the field of wireless remote control, can solve the problems of poor security of remote control codes, and achieve the effects of difficult cracking and imitation, good security, and low repetition rate
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] The present embodiment provides a coding method of a remote control code, which includes the following steps:
[0044] Update the cycle code stored in the remote control device according to the preset mask code;
[0045] The address code in the remote control code is obtained through calculation according to the updated cycle code and the address data stored in the remote control device.
[0046] In the coding method of the remote control code of this embodiment, the address code in the remote control code changes according to the difference of the cyclic code, and the cyclic code changes according to the mask code every time the remote control code is sent, and the mask code is stored in advance In the remote control device and the corresponding controlled device, it is difficult to be stolen, so the change rule of the remote control code is complicated, the code repetition rate is low, it is difficult to crack and imitate, and the security is very good.
Embodiment 2
[0048] The present embodiment provides a coding method of a remote control code, which includes the following steps:
[0049] S01. The user presses a button of the remote control device (such as the start button on the electronic key of the car), and the encoding process starts.
[0050] Wherein, the remote control device obtains corresponding data codes according to different keys and generates data inverse codes. Both data codes and data inverse codes can be 6 bits, and the values of the same bits are opposite.
[0051]S02. Update the cycle code stored in the remote control device according to the preset mask code. Among them, the mask code is pre-stored in the remote control device at the factory, which can be 10 digits; the mask code is also preset in the remote control device, which is 10 digits like the mask code, and the cycle code will be updated at least once every time the remote control is performed , so its value keeps changing (a total of 2 10 = 1024 possibili...
Embodiment 3
[0080] This embodiment provides a method for identifying a remote control code, which includes the following steps:
[0081] S11. Receive a remote control code.
[0082] That is, the controlled device receives the remote control code sent by the remote control device.
[0083] S12. Update the cycle code stored in the controlled device according to the preset mask code.
[0084] That is, the mask code and the cycle code are also stored in the controlled device (obviously, the mask code and the initial cycle code should be the same as the corresponding remote control device); each time the remote control code is received, the controlled device also follows the method of the above-mentioned embodiment Update its own cycle code (obviously, the specific operation process should be the same as that of the corresponding remote control device).
[0085] S13. Calculate and obtain the reference address code according to the updated cycle code and the address data stored in the control...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 