Crosstalk preventing method for similar remote control equipment
Technical Field
The invention relates to a crosstalk prevention method for remote control equipment of the same type.
Background
The wireless remote controller is commonly used in two modes, one mode is an infrared remote control mode (IRRemoteControl) commonly used by household appliances and industrial sensors, and the other mode is a radio remote control mode (RFRemoteControl) commonly used by anti-theft alarm equipment, door and window remote control, industrial control, wireless intelligent household remote control and the like.
However, a large number of similar devices controlled by the same remote controller exist in a working site and a production debugging workshop, and the problem that the remote control operation often causes misoperation due to crosstalk of a plurality of devices is often caused. At present, two sets of remote control protocols are adopted in an infrared remote control mode, crosstalk influence of similar equipment is avoided by converting the remote control protocols after pairing signals are added to controlled equipment for confirmation, real-time state parameters of the remote controller are sent by adding sensing devices such as an acceleration sensor on the remote controller in a radio remote control mode, and the controlled device judges whether the remote controller is in a preset safety range to prevent misoperation.
Disclosure of Invention
The invention aims to provide a crosstalk prevention method for similar remote control equipment, which solves the problem that misoperation is caused by crosstalk of a plurality of pieces of equipment when the similar equipment is remotely controlled by using the same remote controller at present.
In order to solve the technical problem, the invention provides a crosstalk prevention method for remote control equipment of the same type, which comprises the following steps:
s1: generating a remote control function verification code, and solidifying the remote control function verification code to controlled equipment, wherein each controlled equipment corresponds to a unique remote control function verification code;
s2: when each controlled device receives a remote control signal, displaying all remote control function verification codes, and transmitting input codes matched with the remote control function verification codes to each controlled device by using a remote controller;
s3: each controlled device receives the input code, compares the input code with a remote control function verification code of the controlled device, and enables the remote control function of the controlled device if the comparison result is consistent; otherwise, the remote control function is forbidden to be enabled, and the remote control function is stopped in a remote control function verification state.
Further, if a certain digit or digits of the remote control function verification code of the target operation device are different from the corresponding digits of the remote control function verification codes of other controlled devices, marking the digits of the corresponding digits of the remote control function verification code of the target operation device as distinguishing codes, and replacing all the digits of other digits with non-verification codes; at this time, the input code transmitted through the remote controller is a code consisting of a discrimination code and a non-authentication code.
Furthermore, when the input codes received by the controlled devices contain non-verification codes, the digit numbers are not compared, and only the distinguishing codes are compared.
Further, the remote control function verification code adopts 8-bit digital coding, the non-verification code is other non-digital characters, and the coding mode adopted by the remote control function verification code is as follows:
the 1 st digit of the remote control function verification code is a major class classified number of the controlled equipment, the 2 nd to 6 th digits of the remote control function verification code are self-increasing sequences of the controlled equipment, and the 7 th to 8 th digits of the remote control function verification code are minor class classified numbers of the controlled equipment.
Furthermore, a plurality of similar controlled devices generate unique remote control function verification codes according to the global unique identification codes of the processors or the memory chips of the devices, and the non-verification codes are characters which are different from the characters in the remote control function verification codes.
Further, when the controlled equipment prohibits the enabling of the remote control function and the time of staying in the remote control function verification state exceeds a threshold value, the controlled equipment automatically returns to a normal operation interface.
The invention has the beneficial effects that: according to the crosstalk prevention method, the remote control function verification code is set, the remote control function can be enabled only after the correct remote control function verification code input by the remote controller is received through the controlled equipment, otherwise, the remote control function is only prohibited to be enabled, and therefore the function of effectively preventing misoperation caused by crosstalk is achieved; in addition, the method only adds a software verification function without changing the remote controller and the hardware of the controlled equipment.
Detailed Description
A method for preventing crosstalk of remote control equipment of the same type comprises the following steps:
s1: generating a remote control function verification code, and solidifying the remote control function verification code to controlled equipment, wherein each controlled equipment corresponds to a unique remote control function verification code;
s2: when each controlled device receives a remote control signal, displaying all remote control function verification codes, and transmitting input codes matched with the remote control function verification codes to each controlled device by using a remote controller;
s3: each controlled device receives the input code, compares the input code with a remote control function verification code of the controlled device, and enables the remote control function of the controlled device if the comparison result is consistent; otherwise, the remote control function is forbidden to be enabled, and the remote control function is stopped in a remote control function verification state.
According to the crosstalk prevention method, the remote control function verification code is set, the remote control function can be enabled only after the correct remote control function verification code input by the remote controller is received through the controlled equipment, otherwise, the remote control function is only prohibited to be enabled, and therefore the function of effectively preventing misoperation caused by crosstalk is achieved; in addition, the method only adds a software verification function without changing the remote controller and the hardware of the controlled equipment.
According to one embodiment of the application, if one or more digits of the remote control function verification code of the target operation device are different from the corresponding digits of the remote control function verification codes of other controlled devices, the digit of the corresponding digit of the remote control function verification code of the target operation device is marked as a distinguishing code, and the other digits are replaced by non-verification codes; at this time, the input code transmitted through the remote controller is a code consisting of a discrimination code and a non-authentication code.
According to an embodiment of the application, when the input code received by each controlled device contains a non-verification code, the digit is not compared, and only the distinguishing code is compared.
By selecting the distinguishing code and automatically replacing other digits of the non-distinguishing code with the non-verification code with a function of not being verified, a user only needs to input the distinguishing code at the corresponding digit of the distinguishing code and then presses a remote control confirmation key to verify in the using process, so that the operation is simple, and the comparison calculation amount is simplified.
According to one embodiment of the present application, the remote control function verification code is encoded by 8-bit digital code, and the encoding method adopted by the remote control function verification code is shown in table 1:
table 1: remote control function verification code coding mode
| 1 st position
|
2 nd to 6 th positions
|
7 th to 8 th position
|
| Class classification numbering
|
Self-increment sequence (factory number)
|
Subclass classification numbering |
The 1 st digit of the remote control function verification code is a major class classification number of the controlled equipment, the 2 nd to 6 th digits of the remote control function verification code are a self-increment sequence (or a factory serial number) of the controlled equipment, and the 7 th to 8 th digits of the remote control function verification code are minor class classification numbers of the controlled equipment. Each digit of the remote control function verification code can be 0-9, and the non-verification code is other non-numeric characters (such as a letter X).
According to one embodiment of the application, a plurality of similar controlled devices generate unique remote control function verification codes according to their own globally unique identification codes of processors or memory chips, and the non-verification codes are characters different from characters in the remote control function verification codes. The unique remote control function verification code is generated by the unique identification code of the specific chip of each controlled device, so that the verification codes of a plurality of devices can be different, remote control crosstalk is avoided, and misoperation with zero probability is avoided.
According to one embodiment of the application, when the controlled equipment prohibits the enabling of the remote control function and the time of staying in the remote control function verification state exceeds a threshold value, the controlled equipment automatically returns to a normal operation interface. Subsequent remote control operation instructions are not responded, remote control crosstalk is avoided, and zero-probability misoperation is achieved.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.