CN102110319B - 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
CN102110319B
CN102110319B CN 200910261251 CN200910261251A CN102110319B CN 102110319 B CN102110319 B CN 102110319B CN 200910261251 CN200910261251 CN 200910261251 CN 200910261251 A CN200910261251 A CN 200910261251A CN 102110319 B CN102110319 B CN 102110319B
Authority
CN
China
Prior art keywords
module
remote control
data
remote
gate lock
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.)
Expired - Fee Related
Application number
CN 200910261251
Other languages
Chinese (zh)
Other versions
CN102110319A (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

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 for remote control gate lock.
Background technology
Remote control gate lock has been widely used in people's daily life, such as automobile door lock, and safe-guard door lock etc.But the 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, namely remote-control key send at every turn the code all fix.Although technical so comparatively simply easily realize is easy to be intercepted and captured by the lawless person again and resends, 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 the frame hopping technology of higher-security occurred at present having.
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 to be deciphered by deciphering chip, sending corresponding decrypted signal carries out in the single-chip microcomputer of frame hopping system again, so not only affect Systems balanth, 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 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; The first memory module is preserved in described the 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 key information corresponding to described product ID and frame hopping and described trigger pip and encrypts to carry out raw data after receiving described trigger pip; Also preserve random number in described the first memory module, described encrypting module also uses the cipher mode code that generated by described random number to the encryption of sorting of described raw data; And transmitter module, the enciphered data that will obtain after described transmitter module will be encrypted is carried out high-frequency emission.Also comprise remote control gate lock, described remote control gate lock is used for receiving described enciphered data and comprising: 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; The second memory module is preserved product ID and the frame hopping corresponding with described the first memory module in described the second memory module; Control module, described control module is by mating product ID, the frame hopping of preserving in described raw data and described the 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 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 key information corresponding to described product ID and frame hopping and described trigger pip and encrypts to carry out raw data after receiving described trigger pip; Also preserve random number in the described memory module, described encrypting module also uses the cipher mode code that generated by described random number to the encryption of sorting of described raw data; And transmitter module, the enciphered data that will obtain after described transmitter module will be encrypted is carried 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, described remote control gate lock comprises: deciphering module, be provided with decrypted program in the described deciphering module, be used for encrypting module to remote-control key and use the cipher mode code that generated by random number that the raw data enciphered data of sending after encrypting that sorts is decrypted to obtain raw data; Memory module is preserved the product ID corresponding with remote-control key and frame hopping in the described memory module; Control module, described control module is by mating product ID, the frame hopping of preserving in product ID corresponding to described raw data, frame hopping and the described memory module, 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 code with to described product ID and frame hopping and trigger the encryption of sorting of raw data that key information corresponding to remote-control key form; The enciphered data that obtains after utilizing encryption key that ordering is encrypted is fixed code encryption; Data after encrypting are 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 software form that remote-control key and remote control gate lock are encrypted and decipher, 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, be conducive to like this improve Systems balanth and reliability, and system is responded quickly.
The aspect that the present invention adds and advantage in the following description part 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 remote control gate lock/blocking method of the embodiment of the invention;
Fig. 3 is the remote-control key data transmission flow chart of steps of the opening of remote control gate lock/blocking method of the embodiment of the invention;
Fig. 4 is the remote control gate lock data receiver flow chart of steps of the opening of remote control gate lock/blocking method of the embodiment of the invention;
Fig. 5 is the transmitting data encrypting step process flow diagram of the opening of remote control gate lock/blocking method of the embodiment of the invention;
Fig. 6 is the receive data decryption step process flow diagram of the opening of remote control gate lock/blocking method of the embodiment of the invention;
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
The below describes embodiments of the invention in detail, and the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining 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, the 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 the key information that execution is unblanked or locking is corresponding in the trigger pip.The 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 in each pressing keys so that after trigger module 12 sends trigger pip, the frame hopping of preserving in the first memory module 14 then can with automatically add 1 or other modes upgrade.Like this, every emission once, frame hopping changes once immediately, password can not copied easily.
In addition, when being in mode of learning, the first memory module 14 also will with the sequence number storage that receives, be upgraded frame hopping.Mode of learning is the process of remote-control key and remote control gate lock the 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 storing in the remote control gate lock correspondence of product ID and frame hopping data.
Be provided with encipheror in the encrypting module 16, thereby be arranged on software form in the single-chip microcomputer of remote-control key 10, be used for after receiving the trigger pip that trigger module 12 sends, from the first memory module 14, read product ID and frame hopping, and in conjunction with the key information of corresponding the opening of trigger pip/locking, encrypt to carry out raw data.Data after 18 of transmitter modules will be encrypted are carried out high-frequency emission, 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 to 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 the 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 forms is encrypted, 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 fixed code encryption.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 determined by the cipher mode code, and the cipher mode code is produced by certain algorithm by random number, therefore can also preserve to generate the random number of cipher mode code in the first memory module 14.And, in each pressing keys so that after trigger module 12 sent trigger pip, the random number of preserving in the first memory module 14 is corresponding the renewal also, in order to generate different cipher mode codes next time.
In one embodiment, the each information that transmits of transmitting terminal is 64, and enciphered data is comprised of the check code correspondence of product ID, frame hopping, key information, cipher mode code and generation thereof.For example select the transmission of data of 64 or other suitable figure places, can take into account difficulty that enciphered data is cracked and the speed of data rate.Wherein encrypting module 16 at first to the raw data encryption of sorting, is fixed code encryption again, and fixed code is encrypted and referred to 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 at first forms product ID, frame hopping and key information the raw data of 6 bytes.Then, utilize random number to generate the cipher mode code of a byte, utilize simultaneously this cipher mode code to the encryption of sorting of the raw data of 6 bytes.For 6 byte datas after the ordering encryption and the cipher mode code of 1 byte, the fixed key of 7 bytes of recycling is encrypted.7 bytes after utilizing at last fixed code to encrypt generate the check bit of 1 byte, so namely obtain 8 byte datas that are comprised of product ID, frame hopping, key information, cipher mode code 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 code 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 the safe sending and receiving of data.
As shown in Figure 1, remote control gate lock 20 comprises deciphering module 26, control module 22 and the second memory module 24.Be provided with decrypted program in the deciphering module 26, be arranged on software form 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 transmitting data of remote-control key 10 to be transferred to single-chip microcomputer and the second memory module 24.
The second memory module 24, for example preserve product ID and the frame hopping corresponding with the first memory module 14 in the electricallyerasable ROM (EEROM) (EEPROM), product ID, the frame hopping of control module 22 by preserving in coupling raw data and the 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 drive 26 pairs of receive datas of deciphering module and are 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 only is fixed code encryption, and then decoder module 26 also only utilizes fixed code that receive data is decrypted; If the opposite end utilizes the double-encryption mode that ordering is encrypted and fixed code is encrypted to be encrypted, then the deciphering of deciphering module 26 comprises fixed code deciphering and ordering deciphering; If the opposite end is carried out first the ordering encryption and carried out the fixed code encryption again, then the fixed code of carrying out first of deciphering module 26 correspondences is deciphered the deciphering of sorting again.
Fixed code deciphering refers to use in the decruption key of 7 bytes and 64 bit data that receive (8 bytes) all the other 7 the byte enciphered datas except check bit to carry out specific computing and is decrypted.The ordering deciphering refers to according to cipher mode code corresponding to the data that receive, 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 save data from the second memory module 24, obtain product ID, the frame hopping of preservation in raw data and the 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, namely 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 the second memory module 24.
In addition, the present invention also provides opening/blocking method of a kind of remote control gate lock, and the method step as shown in Figure 2.
At first, triggering the button of remote-control key presses, open/block signal (step 102) to send to corresponding remote control gate lock, 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).
Then, the random number that utilization is read generates the cipher mode code, with to the product ID that reads and frame hopping and trigger the encryption of sorting of raw data that key information corresponding to remote-control key form, and utilize encryption key that the rear enciphered data that obtains of ordering encryption is fixed code encryption, the data after then will encrypting are 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, by judging the key information in the raw data, can judge that execution is unblanked accordingly or block action.
In certain embodiments, fixed code encryption or the encryption of sorting can be only carried out in the step 106, certainly by this double-encryption mode of encryption and the fixed code encryption of sorting, the safer sending and receiving of data can be realized.
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 respectively remote-control key data transmission and the remote control gate lock data receiver flow chart of steps of the opening of remote control gate lock of the corresponding embodiment of the invention/blocking method of Fig. 3 and Fig. 4; Fig. 5 and Fig. 6 respectively transmitting data of the opening of remote control gate lock of the corresponding embodiment of the invention/blocking method encrypt and receive data decryption step process flow diagram; 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 refer to the initialization of variable and the initialization (step 202) of microprocessing unit (MCU), then the button that judges whether remote-control key is pressed (step 204), if there is not push, then carry out serial communication, mainly refer to the serial communication with computer or test board, its objective is writing of sequence number, read, wipe etc. (step 222).If button is arranged to be pressed, then expression need to send to the opposite end remote control gate lock and open/block signal, therefore from the memory block of remote-control key, reading out data among the EEPROM for example, such as product ID corresponding to remote control gate lock, frame hopping etc. also put into buffer memory (step 206), in order to follow-up opening/block signal is encrypted.
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 code by certain algorithm, thereby according to the cipher mode code raw data is carried out byte ordering (step 214).
Then, use the data after encryption key is encrypted ordering to be fixed code encryption.In the present embodiment, the each information that transmits of transmitting terminal is 64, i.e. 8 corresponding bytes, wherein 1 byte is the cipher mode code, 1 byte is check bit, therefore the ordering of the byte of the raw data of step 214 correspondence is to utilize the cipher mode code that the raw data of 6 bytes is encrypted, and then the data after the encryption of will sort (comprising the D1 of cipher mode code~D7 byte) are fixed code encryption (step 216) again.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 code 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 comprised of 8 bytes corresponding to the check code of product ID, frame hopping, key information, cipher mode code and generation thereof.
With reference to figure 4, as shown in the figure, the remote control gate lock data receiver 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 then judging remote control gate lock 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 does not drag down, then further judge whether to receive the complete data (step 308) of 1 frame, then do not process if not, if the check bit of then then judging data whether correct (step 312).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 be fixed the code deciphering, carry out again the ordering deciphering.
For the data after the deciphering, judge whether after sale code-bar spare (step 318) according to product ID, at first data are stored into (step 320) in the storer if satisfy, 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), then carry out and open accordingly/block action (step 326).If do not mate, 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 the single chip circuit that the control door lock is opened or closed in the remote control gate lock.
Below in conjunction with Fig. 5 and Fig. 7, the transmitting data encrypting 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 code 08.Then, utilize original 6 byte datas of cipher mode code to being formed by product ID, frame hopping and key information, 44 55 66 77 88 99 sort (steps 404) for example, 7 byte datas 33 66 55 77 44 88 99 after obtaining sorting are comprising 1 byte data 33 of cipher mode code correspondence.
Then, utilize the encryption key of 7 bytes, for example 7 byte datas after 55 pairs of orderings of 55AA 55AA 55AA are fixed code encryption computing (step 406) again, 7 byte datas, 12 45 32 90 05 86 AB 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 12 45 32 90 05 86 AB 21 with 8 bytes send (step 410).
With reference to figure 6 and Fig. 8, this figure has provided the receive data decryption step idiographic flow of the opening of remote control gate lock of the embodiment of the invention/blocking method.As shown in the figure: the enciphered data that Fig. 5 is sent receives (step 502), obtains enciphered data 12 45 32 90 05 86 AB 21 of 8 bytes.Then utilize the 7 byte static solution decryption key corresponding with the encryption key of transmitting terminal, for example 7 byte data 12 45 32 90 0586ABs of 8 byte datas except check code that receive of 55 couples of 55AA 55AA 55AA are decrypted computing (step 504), thereby are fixed decoded 7 byte datas 33 66 55 77 44 88 99 of code.Then, the data 33 from 7 byte datas after this fixed code deciphering are extracted and are obtained corresponding cipher mode code 08 (step 506).The sortord that utilizes cipher mode code 08 correspondence to the fixed code deciphering after the recovery (step 508) of sorting of other data 66 55 77 44 88 99 except the cipher mode code, obtain 6 original byte datas 44 55 66 77 8899 of remote-control key end.
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 to 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 a Module-embedding, and hardware aspect only needs to add the high frequency transmission and reception circuit at the sending and receiving end respectively and gets final product.3) be conducive to improve Systems balanth and reliability.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 like this system more stable.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 sending and receiving 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 to these embodiment, scope of the present invention is by claims and be equal to and limit.

Claims (10)

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;
The first memory module is preserved in described the 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 key information corresponding to described product ID and frame hopping and described trigger pip and encrypts to carry out raw data after receiving described trigger pip; Also preserve random number in described the first memory module, described encrypting module also uses the cipher mode code that generated by described random number to the encryption of sorting of described raw data; And
The enciphered data that will obtain after transmitter module, described transmitter module will be encrypted is carried out high-frequency emission; And
Remote control gate lock, described remote control gate lock are used for receiving described enciphered data and comprising:
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;
The second memory module is preserved product ID and the frame hopping corresponding with described the first memory module in described the second memory module;
Control module, described control module is by mating product ID, the frame hopping of preserving in described raw data and described the 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 fixed code encryption.
3. wireless frame hopping as claimed in claim 1 system is characterized in that, 64 bit data that described enciphered data is comprised of the check code of described product ID, described frame hopping, described key information, described cipher mode code and generation thereof.
4. 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 key information corresponding to described product ID and frame hopping and described trigger pip and encrypts to carry out raw data after receiving described trigger pip; Also preserve random number in the described memory module, described encrypting module also uses the cipher mode code that generated by described random number to the encryption of sorting of described raw data; And
The enciphered data that will obtain after transmitter module, described transmitter module will be encrypted is carried out high-frequency emission.
5. remote-control key as claimed in claim 4 is characterized in that, described encrypting module also is fixed code encryption to described raw data.
6. remote-control key as claimed in claim 4 is characterized in that, 64 bit data that described enciphered data is comprised of the check code of described product ID, described frame hopping, described key information, described cipher mode code and generation thereof.
7. 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 encrypting module to remote-control key and uses the cipher mode code that generated by random number that the raw data enciphered data of sending after encrypting that sorts is decrypted to obtain raw data;
Memory module is preserved the product ID corresponding with remote-control key and frame hopping in the described memory module;
Control module, described control module is by mating product ID, the frame hopping of preserving in product ID corresponding to described raw data, frame hopping and the described memory module, to judge whether to carry out opening/block action of described remote control gate lock.
8. remote control gate lock as claimed in claim 7 is characterized in that, described deciphering module also is fixed the code deciphering to described enciphered data.
9. 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 code with to described product ID and frame hopping and trigger the encryption of sorting of raw data that key information corresponding to remote-control key form;
Utilize the data after encryption key is encrypted ordering to be fixed code encryption;
The enciphered data that obtains after encrypting 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.
10. method as claimed in claim 9 is characterized in that, 64 bit data that described enciphered data is comprised of the check code of described product ID, described frame hopping, described key information, described cipher mode code 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 CN102110319A (en) 2011-06-29
CN102110319B true 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)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436686B (en) * 2011-08-09 2014-04-09 北京映翰通网络技术股份有限公司 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
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
CN105006051B (en) * 2015-07-31 2018-02-23 深圳广田智能科技有限公司 The wireless communications method and system of intelligent distant 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
CN106373367B (en) * 2016-10-27 2019-08-09 武汉奥泽电子有限公司 A kind of low-power consumption automobile RKE remote controler and its method for reducing power consumption
CN107276748B (en) * 2017-06-01 2020-04-03 贵州师范大学 Key derivation method for keyless entry and starting system of automobile
CN107835511B (en) * 2017-11-21 2023-12-12 武汉奥泽电子有限公司 Automobile remote controller and controller binding method and system
WO2020154922A1 (en) * 2019-01-29 2020-08-06 华为技术有限公司 Intelligent lock control method and apparatus
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
CN117240504B (en) * 2023-08-15 2024-03-22 广东伟高智能控制有限公司 Data transmission encryption method and system for remote control of air conditioner

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1613204A (en) * 2002-09-18 2005-05-04 连宇通信有限公司 Spread spectrum multiaddress coding method, its application method and coding device
CN1804741A (en) * 2005-12-12 2006-07-19 天津卡达克汽车高新技术公司 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

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1613204A (en) * 2002-09-18 2005-05-04 连宇通信有限公司 Spread spectrum multiaddress coding method, its application method and coding device
CN1804741A (en) * 2005-12-12 2006-07-19 天津卡达克汽车高新技术公司 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

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
薛永前,毛敏.基于跳码技术的无线密码锁设计.《电子技术》.2009,(第6期),31-33. *

Also Published As

Publication number Publication date
CN102110319A (en) 2011-06-29

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
US5144667A (en) Method of secure remote access
CN104978781B (en) A kind of electronic lock system based on NFC, electronic lock and method for unlocking
US20090153290A1 (en) Secure interface for access control systems
CN104680630A (en) Method and system for controlling door locks
CN106097487A (en) A kind of off-line type gate control system based on smart mobile phone and control method thereof
CN101872542A (en) Be used to send the transmitter and the method for radio-frequency (RF) control signal
CN102568062B (en) Encryption and decryption method for remote controller
CN104727658A (en) Intelligent lock, intelligent key and control method and device thereof
CN105303651A (en) Bluetooth based two-way communication automatic locking system and method
CN110322600B (en) Control method of electronic lock and electronic lock
CN106972926A (en) A kind of encrypting and decrypting method, the apparatus and system of wireless automobile key
CN104282058A (en) Unlocking method of Bluetooth-based safety intelligent lock system with video monitoring function
CN104123769A (en) Locking and unlocking control method of safe smart lock
CN106097511A (en) A kind of electronic lock keyless access system of random key
CN101281502B (en) SATA hard disc physical enciphering system based on MEMS enciphered lock and double FPGA
CN103324971B (en) A kind of smart card system and dynamic key thereof upgrade authentication method
CN102082669A (en) Security certification method and device
CN100394502C (en) Hard disk encryption system based on MEMS cipher lock
CN101281503A (en) IDE hard disc physical enciphering system based on MEMS enciphered lock and double FPGA
CN101883357A (en) Method, device and system for mutual authentication between terminal and intelligent card
CN107749795B (en) Automobile remote control method based on rolling code secondary encryption
CN101281504A (en) Hard disc enciphering system based on MEMS enciphered 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

Granted publication date: 20130327

Termination date: 20201224

CF01 Termination of patent right due to non-payment of annual fee