CN102110319A - Wireless code hopping system, device and method for remote control door lock - Google Patents

Wireless code hopping system, device and method for remote control door lock Download PDF

Info

Publication number
CN102110319A
CN102110319A CN2009102612514A CN200910261251A CN102110319A CN 102110319 A CN102110319 A CN 102110319A CN 2009102612514 A CN2009102612514 A CN 2009102612514A CN 200910261251 A CN200910261251 A CN 200910261251A CN 102110319 A CN102110319 A CN 102110319A
Authority
CN
China
Prior art keywords
module
remote control
remote
data
frame hopping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2009102612514A
Other languages
Chinese (zh)
Other versions
CN102110319B (en
Inventor
廖国新
康玮玮
张庆峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN 200910261251 priority Critical patent/CN102110319B/en
Publication of CN102110319A publication Critical patent/CN102110319A/en
Application granted granted Critical
Publication of CN102110319B publication Critical patent/CN102110319B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The invention discloses a wireless code hopping system and a device for a remote control door lock. The system comprises a remote control key and the remote control door lock, wherein the remote control key comprises a trigger module, a first storage module, an encryption module and a transmitting module; the remote control door lock comprises a decryption module, a second storage module and a control unit; the trigger module is used for transmitting a trigger signal after the push-down of a button is determined; the first storage module is used for storing a hopping code, namely a hopping code updated after the trigger signal is transmitted every time, and a product serial number; the encryption module provided with an encryption program is used for performing raw data encryption on the read product serial number, the read hopping code and button information; the transmitting module is used for transmitting encryption data acquired after the encryption at high frequency; the remote control door lock is used for receiving the encryption data; the decryption module provided with a decryption program is used for decrypting the received encryption data to acquire raw data; and the control unit is used for judging whether to perform the unlocking/locking action of the remote control door lock by matching the raw data with a production serial number and a hopping code which are stored in the second storage module. The system and the device have low cost, high stability and high reliability.

Description

The wireless frame hopping system, the device and method that are used for remote control gate lock
Technical field
The present invention relates to wireless frame hopping technology, relate in particular to a kind of wireless frame hopping system and method that is used for remote control gate lock.
Background technology
Remote control gate lock has been widely used in people's daily life, as automobile door lock, and safe-guard door lock etc.But remote control gate lock that puts goods on the market at first such as automobile door lock system major part all are based on the fixed code technology, promptly remote-control key send at every turn the sign indicating number all fix.Though technical so comparatively simple realization easily is easy to be resend by lawless person's intercepting and capturing again, thereby cracks and enter this type of door-locking system.In order to improve the anti-intercepting and capturing of door-locking system, better guarantee the security of door-locking system, so occurred having the frame hopping technology of higher-security at present.
But, existing frame hopping system often needs special deciphering chip, after the encryption door lock receives the unlocking signal of remote-control key transmission, need decipher by deciphering chip, sending corresponding decrypted signal again carries out in the single-chip microcomputer of frame hopping system, so not only influence the stability of system, and increased system cost.
Summary of the invention
Purpose of the present invention is intended to one of solve the aforementioned problems in the prior at least.
For this reason, embodiments of the invention propose a kind of wireless frame hopping system, device and method of being used for remote control gate lock with low cost, high stability and reliability.
According to an aspect of the present invention, the embodiment of the invention has proposed a kind of wireless frame hopping system that is used for remote control gate lock, and described wireless frame hopping system comprises: remote-control key, and described remote-control key comprises: trigger module, described trigger module sends trigger pip after judgement has button to press; First memory module is preserved in described first memory module and is sent the frame hopping that upgrades after the trigger pip and the product ID of remote control gate lock at every turn; Encrypting module is provided with encipheror in the described encrypting module, is used for reading described product ID and frame hopping and described trigger pip corresponding key information and encrypts to carry out raw data after receiving described trigger pip; And transmitter module, described transmitter module will be encrypted the enciphered data of back acquisition and carry out high-frequency emission.Also comprise remote control gate lock, described remote control gate lock is used to receive described enciphered data and comprises: deciphering module, be provided with decrypted program in the described deciphering module, and be used for described enciphered data is decrypted to obtain described raw data; Second memory module is preserved product ID and the frame hopping corresponding with described first memory module in described second memory module; Control module, described control module is by mating product ID, the frame hopping of preserving in described raw data and described second memory module, to judge whether to carry out opening/block action of described remote control gate lock.
According to a further aspect in the invention, embodiments of the invention propose a kind of remote-control key that is used for remote control gate lock, and described remote-control key comprises: trigger module, and described trigger module sends trigger pip after judgement has button to press; Memory module is preserved in the described memory module and is sent the frame hopping that upgrades after the trigger pip and the product ID of remote control gate lock at every turn; Encrypting module is provided with encipheror in the described encrypting module, is used for reading described product ID and frame hopping and described trigger pip corresponding key information and encrypts to carry out raw data after receiving described trigger pip; And transmitter module, described transmitter module will be encrypted the enciphered data of back acquisition and carry out high-frequency emission.
In accordance with a further aspect of the present invention, embodiments of the invention propose a kind of remote control gate lock, and described remote control gate lock comprises: deciphering module, be provided with decrypted program in the described deciphering module, and be used for the enciphered data that remote-control key sends is decrypted to obtain raw data; Memory module is preserved product ID corresponding with remote-control key and frame hopping in the described memory module; Control module, product ID, the frame hopping of described control module by preserving in product ID, frame hopping and the described memory module of mating described raw data correspondence is to judge whether to carry out opening/block action of described remote control gate lock.
According to another aspect of the invention, embodiments of the invention propose opening/blocking method of a kind of remote control gate lock, said method comprising the steps of: after triggering remote-control key, read product ID, frame hopping and random number in the remote-control key memory block, and upgrade described frame hopping and random number; Utilize described random number to generate the cipher mode sign indicating number with to described product ID and frame hopping and trigger the encryption of sorting of raw data that remote-control key corresponding key information forms; The enciphered data of utilizing encryption key that the back acquisition is encrypted in ordering is carried out the fixed code encryption; Data encrypted is carried out high-frequency emission to remote control gate lock; After receiving described enciphered data, remote control gate lock carries out corresponding fixed code deciphering and ordering deciphering, to obtain corresponding raw data; Read product ID, the frame hopping that preserve memory block in the remote control gate lock, and the product ID corresponding with described raw data, frame hopping mate, to judge whether to carry out opening/block action of described remote control gate lock.
The present invention is embedded into encryption and decryption in the system as a software module, can greatly reduce system cost.Can also be embedded in other products, have higher portability.And utilize form of software that remote-control key and remote control gate lock are carried out encryption and decryption, remote control gate lock does not need specific deciphering chip, just do not need the communication etc. between deciphering chip and the single-chip microcomputer yet, help improving the stability and the reliability of system like this, and system is responded quickly.
Aspect that the present invention adds and advantage part in the following description provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment below in conjunction with accompanying drawing, wherein:
Fig. 1 is the structural representation of the wireless frame hopping system that is used for remote control gate lock of the embodiment of the invention;
Fig. 2 is the general steps process flow diagram of the opening of the remote control gate lock of the embodiment of the invention/blocking method;
Fig. 3 is the remote-control key data transmission flow chart of steps of the opening of the remote control gate lock of the embodiment of the invention/blocking method;
Fig. 4 is the remote control gate lock Data Receiving flow chart of steps of the opening of the remote control gate lock of the embodiment of the invention/blocking method;
Fig. 5 is the emission data encryption flow chart of steps of the opening of the remote control gate lock of the embodiment of the invention/blocking method;
Fig. 6 is the reception data decryption flow chart of steps of the opening of the remote control gate lock of the embodiment of the invention/blocking method;
Fig. 7 and Fig. 8 are respectively opening/data encryption of blocking method and the example of deciphering of remote control gate lock of the present invention.
Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein identical from start to finish or similar label is represented identical or similar elements or the element with identical or similar functions.Below by the embodiment that is described with reference to the drawings is exemplary, only is used to explain the present invention, and can not be interpreted as limitation of the present invention.
With reference now to Fig. 1,, Fig. 1 has provided the structure of the wireless frame hopping system that is used for remote control gate lock of the embodiment of the invention.
As shown in the figure, wireless frame hopping system mainly comprises remote-control key 10 (transmitting terminal) and remote control gate lock 20 (receiving end).
Remote-control key 10 comprises trigger module 12, first memory module 14, encrypting module 16 and transmitter module 18, wherein trigger module 12 for example is arranged in the button of remote-control key, unblank or block action outside execution of judgement, be after button is pressed, send trigger pip, wherein include in the trigger pip to carry out and unblank or locking corresponding key information.First memory module 14, it for example is electricallyerasable ROM (EEROM) (EEPROM), wherein preserve the product ID of frame hopping and remote control gate lock, and after each pressing keys makes that trigger module 12 sends trigger pip, the frame hopping of preserving in first memory module 14 then can with add automatically 1 or other modes upgrade.Like this, every emission once, frame hopping changes once immediately, password can not duplicated easily.
In addition, when being in mode of learning, first memory module 14 also will be upgraded the sequence number storage that receives with frame hopping.Mode of learning is the process of remote-control key and remote control gate lock first coupling, and wherein remote-control key is transferred to the opposite end remote control gate lock with the product ID of corresponding stored, to carry out the correspondence of remote control gate lock stored product ID and frame hopping data.
Be provided with encipheror in the encrypting module 16, thereby be arranged on form of software in the single-chip microcomputer of remote-control key 10, be used for after receiving the trigger pip that trigger module 12 sends, from first memory module 14, read product ID and frame hopping, and, encrypt to carry out raw data in conjunction with the key information of the opening of trigger pip correspondence/locking.18 of transmitter modules carry out high-frequency emission with data encrypted, for example are the high-frequency emission unit.
Specifically, the course of work of the transmitting terminal of corresponding remote-control key 10 is as follows: after button was pressed, power unit was given the single-chip microcomputer power supply of remote-control key 10, and single-chip microcomputer carries out button collection and differentiation.After definite button is pressed, trigger module 12 is triggered and sends correspondence and open/trigger pip of locking, such first memory module 14 reads sequence number and frame hopping from the memory block of single-chip microcomputer, and simultaneously frame hopping is upgraded so that encryption is next time used.Then, to sequence number and frame hopping and open/raw data that the key information of locking is formed encrypts, and drives width modulation (PWM) port again, realizes the output of data, by high frequency transmission circuit, realizes the high-frequency emission of data.
About the encryption to raw data, encrypting module 16 can use encryption key that raw data is carried out fixed code and encrypt.Preferably, encrypting module 16 is about to raw data and sorts according to specific sortord also to the raw data encryption of sorting.Wherein sortord is by the decision of cipher mode sign indicating number, and the cipher mode sign indicating number is produced by certain algorithm by random number, therefore can also preserve in first memory module 14 with the random number that generates the cipher mode sign indicating number.And after each pressing keys made that trigger module 12 sends trigger pip, also corresponding renewal of random number of preserving in first memory module 14 was so that generate different cipher mode sign indicating numbers next time.
In one embodiment, the each information that transmits of transmitting terminal is 64, and enciphered data is by corresponding composition of check code of product ID, frame hopping, key information, cipher mode sign indicating number and generation thereof.For example select the transmission data of 64 or other suitable figure places, can take into account the difficulty that enciphered data is cracked and the speed of data rate.Wherein encrypting module 16 carries out fixed code again and encrypts at first to the raw data encryption of sorting, and fixed code is encrypted and is meant raw data is carried out specific computing with the encryption key of corresponding figure place.
For 64 transmission data, there are 7 bytes encrypted in the 8 corresponding bytes, all the other 1 bytes are check byte, can encrypt.
Specifically, encrypting module 16 is at first formed product ID, frame hopping and key information the raw data of 6 bytes.Then, utilize random number to generate the cipher mode sign indicating number of a byte, utilize this cipher mode sign indicating number simultaneously the encryption of sorting of the raw data of 6 bytes.For 6 byte datas after the ordering encryption and the cipher mode sign indicating number of 1 byte, utilize the fixed key of 7 bytes to encrypt again.7 bytes after utilizing fixed code to encrypt at last generate the check bit of 1 byte, so promptly obtain 8 byte datas be made up of product ID, frame hopping, key information, cipher mode sign indicating number and check code, i.e. 64 bit data.
In one embodiment, also can utilize the encryption key of 6 bytes that 6 byte datas that sort after encrypting are encrypted, and 7 byte datas of the cipher mode sign indicating number formation of 6 bytes after the last utilization encryption and 1 byte generate check bit.
Ciphering process of the present invention is divided into the ordering encryption and fixed code is encrypted, and by this double-encryption mode, realizes that the safety of data sends and reception.
As shown in Figure 1, remote control gate lock 20 comprises deciphering module 26, control module 22 and second memory module 24.Be provided with decrypted program in the deciphering module 26, be arranged on form of software in the single-chip microcomputer of remote control gate lock 20, be used for the enciphered data from remote-control key 10 that receives is decrypted to obtain corresponding raw data.Remote control gate lock 20 also comprises receiver module 28, and for example high frequency receiving demodulation unit is used for receiving the encryption emission data of remote-control key 10 to be transferred to the single-chip microcomputer and second memory module 24.
Second memory module 24, for example preserve product ID and the frame hopping corresponding in the electricallyerasable ROM (EEROM) (EEPROM) with first memory module 14, product ID, the frame hopping of control module 22 by preserving in the coupling raw data and second memory module 24 is to judge whether to carry out opening/block action of remote control gate lock 20.Further, control module 22 is unblanked or block action accordingly by judging the key information in the raw data, judge to carry out.Control module 22 can be arranged in the above-mentioned same single-chip microcomputer with deciphering module 26.
Particularly, the course of work of the receiving end of corresponding remote control gate lock 20 is as follows: behind the high-frequency signal that receives certain frequency, high frequency receiving demodulation unit carries out demodulation to signal, as the input signal of single-chip microcomputer.The control module 22 of single-chip microcomputer is at first judged signal, if signal form up to specification is then thought to have received the complete signal of a frame.Control module 22 judges further whether the signal checking that receives is correct, if verification is correct, illustrates that then the data of receiving are correct, then drives 26 pairs of receptions of deciphering module data and is decrypted.
The concrete decryption oprerations of deciphering module 26 is corresponding with the cryptographic operation of the encrypting module 16 of transmitting terminal, and even the opposite end is only carried out fixed code and encrypted, and then decoder module 26 also only utilizes fixed code to be decrypted receiving data; If the opposite end utilizes the double-encryption mode that ordering is encrypted and fixed code is encrypted to encrypt, then the deciphering of deciphering module 26 comprises fixed code deciphering and ordering deciphering; If the execution ordering encryption of opposite end elder generation is carried out fixed code again and encrypted, then the fixed code of carrying out earlier of deciphering module 26 correspondences is deciphered the deciphering of sorting again.
Fixed code deciphering is meant in the decruption key that uses 7 bytes and 64 bit data (8 bytes) that receive that all the other 7 the byte enciphered datas except that check bit carry out specific computing and be decrypted.The ordering deciphering is meant the cipher mode sign indicating number according to the data correspondence that receives, and the enciphered data after the ordering is carried out position recovering.
Therefore, the deciphering by deciphering module 26 obtains raw data, thereby obtains corresponding product ID, frame hopping and corresponding the driving unblanked or the key information of locking.
Control module 22 reads corresponding preservation data from second memory module 24, obtain product ID, the frame hopping of preservation in the raw data and second memory module 24 with coupling decryption unit 26, thereby judges whether corresponding sequence number, frame hopping be effectively legal.If it is all correct that above information is judged, then carry out corresponding operation according to key information in the raw data, promptly remote control gate lock opens/block action.If one or several authentication errors are wherein arranged, think that then these frame data are invalid, do not carry out opening/block action of remote control gate lock.If receive the data of repetition, think that also data are invalid.
If be in learning state, then the remote control gate lock 20 of receiving end receives after the complete data of a frame, judges at first whether check code is correct, if correct, then according to top described, utilizes 26 pairs of data of deciphering module to be decrypted.Otherwise, then think misdata, do not process.Then judge by control module 22 whether sequence number is legal, if sequence number also is legal, the data after then will deciphering deposit in second memory module 24.
In addition, the present invention also provides opening/blocking method of a kind of remote control gate lock, and this method step as shown in Figure 2.
At first, triggering the button of remote-control key presses, open/block signal (step 102) to send, after receiving trigger pip, read product ID, frame hopping and the random number of preserving in the remote-control key memory block, and then upgrade corresponding frame hopping and random number (step 104) to corresponding remote control gate lock.
Then, the random number that utilization is read generates the cipher mode sign indicating number, with to the product ID that reads and frame hopping and trigger the encryption of sorting of raw data that remote-control key corresponding key information forms, and utilize encryption key that the enciphered data that ordering encryption back obtains is carried out the fixed code encryption, then data encrypted is carried out high-frequency emission (step 106) to remote control gate lock.
Remote control gate lock is corresponding to be received enciphered data and carries out corresponding fixed code deciphering and ordering deciphering, to obtain corresponding raw data (step 108).
Read product ID, frame hopping and the key information preserved in the memory block in the remote control gate lock after the decoding, and corresponding product ID, the frame hopping of the raw data that obtains with deciphering mate, to judge whether to carry out opening/block action (step 110) of remote control gate lock.And,, can judge that execution is unblanked accordingly or block action by judging the key information in the raw data.
In certain embodiments, the fixed code encryption or the encryption of sorting can be only carried out in the step 106, by this double-encryption mode of encryption and the fixed code encryption of sorting, the safer transmission and the reception of data can be realized certainly.
To Fig. 8 the opening of remote control gate lock of the present invention/blocking method is provided detailed description below in conjunction with Fig. 3, wherein Fig. 3 and Fig. 4 remote-control key data transmission and remote control gate lock Data Receiving flow chart of steps of the opening of remote control gate lock of the corresponding embodiment of the invention/blocking method respectively; Fig. 5 and Fig. 6 respectively the opening of remote control gate lock of the corresponding embodiment of the invention/blocking method the emission data encryption and receive the data decryption flow chart of steps; And Fig. 7 and Fig. 8 are respectively opening/data encryption of blocking method and the example of deciphering of remote control gate lock of the present invention.
At first with reference to figure 3, as shown in the figure, the remote-control key data transmission of the opening of the remote control gate lock of the embodiment of the invention/blocking method comprises: at first carry out initialization, mainly be meant the initialization of variable and the initialization (step 202) of microprocessing unit (MCU), the button that judges whether remote-control key is then pressed (step 204), if there is not push, then carry out serial communication, mainly be meant serial communication with computer or test board, its objective is writing of sequence number, read, wipe etc. (step 222).If there is button to press, then expression need send to the opposite end remote control gate lock and open/block signal, therefore from the memory block of remote-control key, reading of data among the EEPROM for example, the for example product ID of remote control gate lock correspondence, frame hopping etc. and put into buffer memory (step 206) are so that encrypt follow-up opening/block signal.
And when pushing button the frame hopping that reads is upgraded, for example frame hopping adds 1 (step 208) at every turn.Then, with the frame hopping (step 210) in being deposited into EEPROM that upgrades, so that the opening of each emission/the block signal data are all different.
In the embodiment shown in fig. 3, cipher mode is the double-encryption that comprises that ordering is encrypted and fixed code is encrypted, therefore at first calculate the random number (step 212) in the memory block, produce the cipher mode sign indicating number by certain algorithm, thereby raw data is carried out byte ordering (step 214) according to the cipher mode sign indicating number.
Then, using encryption key that the ordering data encrypted is carried out fixed code encrypts.In the present embodiment, the each information that transmits of transmitting terminal is 64, i.e. Dui Ying 8 bytes, wherein 1 byte is the cipher mode sign indicating number, 1 byte is a check bit, therefore the ordering of the byte of the raw data of step 214 correspondence is to utilize the cipher mode sign indicating number that the raw data of 6 bytes is encrypted, and then the data encrypted that will sort (D1~D7 byte that comprises the cipher mode sign indicating number) is carried out fixed code encryption (step 216) once more.Then, according to 7 the byte data calculation check bytes (step 218) after the fixed code encryption.For 64 transmission data, in the 8 corresponding bytes 1 byte being arranged is check byte.
In one embodiment, 6 byte datas after the encryption key that also can utilize 6 bytes in the step 216 is encrypted ordering are encrypted, the last check bit that generates 1 byte in step 218 according to 6 bytes after encrypting and 7 byte datas of the cipher mode sign indicating number formation of 1 byte.
And the form that the encrypting step of above-mentioned steps 212-216 can software program is embedded in the remote-control key corresponding circuits.
At last, the enciphered data with 8 bytes sends (step 220).Like this, enciphered data is made up of 8 bytes of the check code correspondence of product ID, frame hopping, key information, cipher mode sign indicating number and generation thereof.
With reference to figure 4, as shown in the figure, the remote control gate lock Data Receiving of the opening of the remote control gate lock of the embodiment of the invention/blocking method comprises: at first carry out initialization (step 302), whether the I/O port of judging remote control gate lock then drags down (step 304), if drag down the study (step 306) of then carrying out receiving end.That is, then the I/O port of remote control gate lock receives after the data, judges at first whether check code is correct, if correct, then data is decrypted.And judge according to data decryption whether sequence number is legal, if sequence number also is legal, the data after then will deciphering deposit in the storer of remote control gate lock.
If the I/O port do not drag down, then further judge whether to receive the complete data (step 308) of 1 frame, then do not handle if not, if the then check bit of judgment data whether correct (step 312) then.Think that then misdata do not carry out processing (step 314) if check bit is incorrect; Otherwise, illustrate that the data that receive are correct, then are decrypted (step 316).Here, the step of deciphering is carried out according to the encryption order correspondence of transmitting terminal.According to the encryption embodiment of Fig. 3, then at first carry out the fixed code deciphering, carry out the ordering deciphering again.
For the data after the deciphering, judge whether after sale to code-bar spare (step 318) that according to product ID if satisfy at first with data storage (step 320) in storer, this step also belongs to the mode of learning step of remote control gate lock.If do not satisfy, then product ID, the frame hopping of having preserved in the product ID of correspondence and frame hopping and the remote control gate lock carried out matching judgment (step 322), to judge whether to carry out opening/block action of remote control gate lock.If coupling then judges further that according to the data after the deciphering key information is that correspondence is unblanked or locking (step 324), carry out then and open accordingly/block action (step 326).If do not match, the error in data that expression receives does not then process not carry out and opens/block action (step 328).
The decryption step of above-mentioned steps 316 can software program form be embedded into and be used for controlling the single chip circuit that door lock is opened or closed in the remote control gate lock.
Below in conjunction with Fig. 5 and Fig. 7, the emission data encryption step of the opening of the remote control gate lock of the embodiment of the invention/blocking method is described in detail.As shown in the figure: utilize the random number of preserving in the remote-control key, for example 55, carry out the computing (step 402) of certain way, obtain cipher mode sign indicating number 08.Then, utilize original 6 byte datas of cipher mode sign indicating number to forming by product ID, frame hopping and key information, 445566778899 sort (steps 404) for example, 7 byte datas 33665577448899 after obtaining sorting are comprising 1 byte data 33 of cipher mode sign indicating number correspondence.
Then, utilize the encryption key of 7 bytes, for example 7 byte datas after 55 pairs of orderings of 55AA 55AA 55AA are carried out fixed code cryptographic calculation (step 406) once more, 7 byte data 124532900586AB after obtaining encrypting.And, carry out check bit according to these 7 byte datas and calculate (step 408), obtain comprising 8 byte enciphered datas of the check bit data 21 of 1 byte.At last, this enciphered data 124532900586AB 21 with 8 bytes sends (step 410).
With reference to figure 6 and Fig. 8, this figure has provided the reception data decryption step idiographic flow of the opening of the remote control gate lock/blocking method of the embodiment of the invention.As shown in the figure: the enciphered data that Fig. 5 is sent receives (step 502), obtains the enciphered data 124532900586AB 21 of 8 bytes.Utilize the 7 byte static solution decryption key corresponding then with the encryption key of transmitting terminal, for example 7 the byte data 124532900586ABs of 8 byte datas except that check code that receive of 55 couples of 55AA 55AA 55AA are decrypted computing (step 504), thereby are fixed decoded 7 byte datas 33665577448899 of sign indicating number.Then, the data 33 from 7 byte datas after this fixed code deciphering are extracted and are obtained corresponding cipher mode sign indicating number 08 (step 506).The sortord that utilizes cipher mode sign indicating number 08 correspondence obtains 6 original byte datas 445566778899 of remote-control key end to the recovery (step 508) of sorting of fixed code deciphering back other data 665577448899 except that the cipher mode sign indicating number.
Because adopted above scheme, the present invention can realize following advantage: 1) greatly reduce system cost.Frame hopping system before often needs specific deciphering chip, and cost is higher.And native system only need be with encryption and decryption as a software module, is embedded in the system to get final product.2) portable strong.Native system can be embedded in other products.The software aspect can be used as module and embeds, and hardware aspect only needs respectively to send and receiving end adds the high frequency transmission and receiving circuit gets final product.3) help improving the stability and the reliability of system.Because receiving end do not need specific deciphering chip, just do not need the communication etc. between deciphering chip and the single-chip microcomputer yet, can make system more stable like this.4) can respond quickly.Receiving end does not need specific deciphering chip, has reduced communication between deciphering chip and the single-chip microcomputer etc., thereby system is responded quickly.
In addition, the ciphering process of the embodiment of the invention is divided into the ordering encryption and fixed code is encrypted, and by this double-encryption mode, realizes the transmission and the reception of data higher-security.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification that scope of the present invention is by claims and be equal to and limit to these embodiment.

Claims (15)

1. a wireless frame hopping system that is used for remote control gate lock is characterized in that, described wireless frame hopping system comprises:
Remote-control key, described remote-control key comprises:
Trigger module, described trigger module sends trigger pip after judgement has button to press;
First memory module is preserved in described first memory module and is sent the frame hopping that upgrades after the trigger pip and the product ID of remote control gate lock at every turn;
Encrypting module is provided with encipheror in the described encrypting module, is used for reading described product ID and frame hopping and described trigger pip corresponding key information and encrypts to carry out raw data after receiving described trigger pip; And
Transmitter module, described transmitter module will be encrypted the enciphered data of back acquisition and carry out high-frequency emission; And
Remote control gate lock, described remote control gate lock is used to receive described enciphered data and comprises:
Deciphering module is provided with decrypted program in the described deciphering module, is used for described enciphered data is decrypted to obtain described raw data;
Second memory module is preserved product ID and the frame hopping corresponding with described first memory module in described second memory module;
Control module, described control module is by mating product ID, the frame hopping of preserving in described raw data and described second memory module, to judge whether to carry out opening/block action of described remote control gate lock.
2. wireless frame hopping as claimed in claim 1 system is characterized in that described encrypting module uses encryption key that described raw data is carried out fixed code and encrypts.
3. wireless frame hopping as claimed in claim 1 or 2 system is characterized in that, also preserves random number in described first memory module, and described encrypting module also uses the cipher mode sign indicating number that generated by described random number to the encryption of sorting of described raw data.
4. wireless frame hopping as claimed in claim 3 system is characterized in that 64 bit data that described enciphered data is made up of the check code of described product ID, described frame hopping, described key information, described cipher mode sign indicating number and generation thereof.
5. wireless frame hopping as claimed in claim 3 system is characterized in that, described encrypting module at first to the encryption of sorting of described raw data, carries out fixed code again and encrypts.
6. a remote-control key that is used for remote control gate lock is characterized in that, described remote-control key comprises:
Trigger module, described trigger module sends trigger pip after judgement has button to press;
Memory module is preserved in the described memory module and is sent the frame hopping that upgrades after the trigger pip and the product ID of remote control gate lock at every turn;
Encrypting module is provided with encipheror in the described encrypting module, is used for reading described product ID and frame hopping and described trigger pip corresponding key information and encrypts to carry out raw data after receiving described trigger pip; And
Transmitter module, described transmitter module will be encrypted the enciphered data of back acquisition and carry out high-frequency emission.
7. remote-control key as claimed in claim 6 is characterized in that, described raw data is carried out the fixed code encryption to described encrypting module and ordering is encrypted.
8. remote-control key as claimed in claim 7 is characterized in that, also preserves random number in the described memory module, to generate the cipher mode sign indicating number that described raw data is sorted and encrypts.
9. remote-control key as claimed in claim 8 is characterized in that, 64 bit data that described enciphered data is made up of the check code of described product ID, described frame hopping, described key information, described cipher mode sign indicating number and generation thereof.
10. remote-control key as claimed in claim 7 is characterized in that, described encrypting module carries out fixed code again and encrypts at first to the encryption of sorting of described raw data.
11. a remote control gate lock is characterized in that, described remote control gate lock comprises:
Deciphering module is provided with decrypted program in the described deciphering module, is used for the enciphered data that remote-control key sends is decrypted to obtain raw data;
Memory module is preserved product ID corresponding with remote-control key and frame hopping in the described memory module;
Control module, product ID, the frame hopping of described control module by preserving in product ID, frame hopping and the described memory module of mating described raw data correspondence is to judge whether to carry out opening/block action of described remote control gate lock.
12. remote control gate lock as claimed in claim 11 is characterized in that, described deciphering module carries out fixed code deciphering and ordering deciphering to described enciphered data.
13. remote control gate lock as claimed in claim 12 is characterized in that, described deciphering module at first carries out fixed code deciphering, the deciphering of sorting again to described enciphered data.
14. opening/blocking method of a remote control gate lock is characterized in that, said method comprising the steps of:
After triggering remote-control key, read product ID, frame hopping and random number in the remote-control key memory block, and upgrade described frame hopping and random number;
Utilize described random number to generate the cipher mode sign indicating number with to described product ID and frame hopping and trigger the encryption of sorting of raw data that remote-control key corresponding key information forms;
Utilizing encryption key that the ordering data encrypted is carried out fixed code encrypts;
The enciphered data of encrypting the back acquisition is carried out high-frequency emission to remote control gate lock;
After receiving described enciphered data, remote control gate lock carries out corresponding fixed code deciphering and ordering deciphering, to obtain corresponding raw data;
Read product ID, the frame hopping that preserve memory block in the remote control gate lock, and the product ID corresponding with described raw data, frame hopping mate, to judge whether to carry out opening/block action of described remote control gate lock.
15. method as claimed in claim 14 is characterized in that, 64 bit data that described enciphered data is made up of the check code of described product ID, described frame hopping, described key information, described cipher mode sign indicating number and generation thereof.
CN 200910261251 2009-12-24 2009-12-24 Wireless code hopping system, device and method for remote control door lock Expired - Fee Related CN102110319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910261251 CN102110319B (en) 2009-12-24 2009-12-24 Wireless code hopping system, device and method for remote control door lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910261251 CN102110319B (en) 2009-12-24 2009-12-24 Wireless code hopping system, device and method for remote control door lock

Publications (2)

Publication Number Publication Date
CN102110319A true CN102110319A (en) 2011-06-29
CN102110319B CN102110319B (en) 2013-03-27

Family

ID=44174464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910261251 Expired - Fee Related CN102110319B (en) 2009-12-24 2009-12-24 Wireless code hopping system, device and method for remote control door lock

Country Status (1)

Country Link
CN (1) CN102110319B (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436686A (en) * 2011-08-09 2012-05-02 北京映翰通网络技术有限公司 Method and device for locking or unlocking wireless radio frequency (RF) electronic lockset
CN103646450A (en) * 2013-12-04 2014-03-19 青岛海尔软件有限公司 Remote control door lock system
CN103886659A (en) * 2014-02-25 2014-06-25 苏州美高立电气有限公司 Electronic security device and control method thereof
CN104504795A (en) * 2014-12-20 2015-04-08 江门市联创发展有限公司 Encryption, decryption and authentication method for intelligent door lock under open system
CN104751539A (en) * 2013-12-27 2015-07-01 中国移动通信集团公司 Keyless entry system certification method, device and keyless entry certification system
CN105006051A (en) * 2015-07-31 2015-10-28 深圳广田智能科技有限公司 Wireless communication method and system of intelligent remote control door lock
CN105262586A (en) * 2015-10-28 2016-01-20 铁将军汽车电子有限公司 Key distribution method and apparatus for automobile theftproof equipment
CN105317287A (en) * 2015-10-25 2016-02-10 朱思学 Intelligent digital lock
CN106373367A (en) * 2016-10-27 2017-02-01 武汉奥泽电子有限公司 Low-power-consumption automobile RKE remote controller and method for lowering power consumption
CN107276748A (en) * 2017-06-01 2017-10-20 贵州师范大学 A kind of keyless entry of automobile and the key derivation process of activation system
CN107835511A (en) * 2017-11-21 2018-03-23 武汉奥泽电子有限公司 A kind of automobile remote controllers and controller binding method and system
CN111508116A (en) * 2020-06-03 2020-08-07 广东科徕尼智能科技有限公司 Remote control intelligent door lock and use method thereof
CN111768529A (en) * 2020-07-15 2020-10-13 广东沅朋网络科技有限公司 Bluetooth access control communication encryption transmission method and device
CN111818377A (en) * 2020-07-09 2020-10-23 华为技术有限公司 Control method of multimedia unit, electronic equipment and remote control device
CN112106118A (en) * 2019-01-29 2020-12-18 华为技术有限公司 Intelligent lock control method and device
CN117240504A (en) * 2023-08-15 2023-12-15 广东伟高智能控制有限公司 Data transmission encryption method and system for remote control of air conditioner

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004028036A1 (en) * 2002-09-18 2004-04-01 Linkair Communications, Inc. The coding method, application method and coding device of extended frequency multiaddress
CN100449436C (en) * 2005-12-12 2009-01-07 天津卡达克汽车高新技术公司 Intelligent automobile body network control system device and control method thereof
CN101122195A (en) * 2007-09-12 2008-02-13 合肥通宇电子有限责任公司 Automobile wireless remote control door lock control method

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436686A (en) * 2011-08-09 2012-05-02 北京映翰通网络技术有限公司 Method and device for locking or unlocking wireless radio frequency (RF) electronic lockset
CN103646450A (en) * 2013-12-04 2014-03-19 青岛海尔软件有限公司 Remote control door lock system
CN104751539A (en) * 2013-12-27 2015-07-01 中国移动通信集团公司 Keyless entry system certification method, device and keyless entry certification system
CN103886659A (en) * 2014-02-25 2014-06-25 苏州美高立电气有限公司 Electronic security device and control method thereof
CN103886659B (en) * 2014-02-25 2016-06-29 苏州美高立电气有限公司 Electronic security equipment and control method thereof
CN104504795A (en) * 2014-12-20 2015-04-08 江门市联创发展有限公司 Encryption, decryption and authentication method for intelligent door lock under open system
CN105006051A (en) * 2015-07-31 2015-10-28 深圳广田智能科技有限公司 Wireless communication method and system of intelligent remote control door lock
CN105317287A (en) * 2015-10-25 2016-02-10 朱思学 Intelligent digital lock
CN105262586B (en) * 2015-10-28 2018-11-20 铁将军汽车电子股份有限公司 The method for distributing key and device of automobile burglar equipment
CN105262586A (en) * 2015-10-28 2016-01-20 铁将军汽车电子有限公司 Key distribution method and apparatus for automobile theftproof equipment
CN106373367A (en) * 2016-10-27 2017-02-01 武汉奥泽电子有限公司 Low-power-consumption automobile RKE remote controller and method for lowering power consumption
CN107276748A (en) * 2017-06-01 2017-10-20 贵州师范大学 A kind of keyless entry of automobile and the key derivation process of activation system
CN107276748B (en) * 2017-06-01 2020-04-03 贵州师范大学 Key derivation method for keyless entry and starting system of automobile
CN107835511A (en) * 2017-11-21 2018-03-23 武汉奥泽电子有限公司 A kind of automobile remote controllers and controller binding method and system
CN107835511B (en) * 2017-11-21 2023-12-12 武汉奥泽电子有限公司 Automobile remote controller and controller binding method and system
CN112106118A (en) * 2019-01-29 2020-12-18 华为技术有限公司 Intelligent lock control method and device
CN112106118B (en) * 2019-01-29 2022-03-11 华为技术有限公司 Intelligent lock control method and device
CN111508116A (en) * 2020-06-03 2020-08-07 广东科徕尼智能科技有限公司 Remote control intelligent door lock and use method thereof
CN111818377A (en) * 2020-07-09 2020-10-23 华为技术有限公司 Control method of multimedia unit, electronic equipment and remote control device
CN111768529A (en) * 2020-07-15 2020-10-13 广东沅朋网络科技有限公司 Bluetooth access control communication encryption transmission method and device
CN117240504A (en) * 2023-08-15 2023-12-15 广东伟高智能控制有限公司 Data transmission encryption method and system for remote control of air conditioner
CN117240504B (en) * 2023-08-15 2024-03-22 广东伟高智能控制有限公司 Data transmission encryption method and system for remote control of air conditioner

Also Published As

Publication number Publication date
CN102110319B (en) 2013-03-27

Similar Documents

Publication Publication Date Title
CN102110319B (en) Wireless code hopping system, device and method for remote control door lock
US8947211B2 (en) Communication data protection method based on symmetric key encryption in RFID system, and apparatus for enabling the method
US8746363B2 (en) System for conducting remote biometric operations
CN103873440B (en) Application program upgrading method and system
US20090153290A1 (en) Secure interface for access control systems
CN102568062B (en) Encryption and decryption method for remote controller
CN101872542A (en) Be used to send the transmitter and the method for radio-frequency (RF) control signal
CN106097487A (en) A kind of off-line type gate control system based on smart mobile phone and control method thereof
CN201936335U (en) RFID (radio frequency identification) electronic tag chip with encryption function
CN100461669C (en) Public key code hopping safety system and method
CN110322600B (en) Control method of electronic lock and electronic lock
CN101488179A (en) Authentication method and apparatus for wireless radio frequency recognition system
CN105337733A (en) Two-dimensional code locking control method based on combination of synchronous-asynchronous secret key verification
CN101265769B (en) Password distant control lock control system based on AES cryptographic algorithm and control method
CN106097511A (en) A kind of electronic lock keyless access system of random key
CN101923654A (en) Ultrahigh frequency reader-writer suitable for remote security control by different users
CN101281502B (en) SATA hard disc physical enciphering system based on MEMS enciphered lock and double FPGA
CN102082669A (en) Security certification method and device
CN105235642A (en) Control order safety execution method and vehicle alarm host
CN109961545A (en) Intelligent door lock and its wireless telecommunications plaintext data encryption and decryption approaches
CN100559355C (en) IDE hard disc physical enciphering system based on MEMS coded lock and double FPGA
CN101883357A (en) Method, device and system for mutual authentication between terminal and intelligent card
CN100394502C (en) Hard disk encryption system based on MEMS cipher lock
CN100552649C (en) Hard disc enciphering system based on MEMS coded lock and FPGA
CN110113153A (en) NFC secret key updating method, terminal and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130327

Termination date: 20201224