CN1674495A - Uncopying several-into-one identification method and apparatus - Google Patents

Uncopying several-into-one identification method and apparatus Download PDF

Info

Publication number
CN1674495A
CN1674495A CN 200510024966 CN200510024966A CN1674495A CN 1674495 A CN1674495 A CN 1674495A CN 200510024966 CN200510024966 CN 200510024966 CN 200510024966 A CN200510024966 A CN 200510024966A CN 1674495 A CN1674495 A CN 1674495A
Authority
CN
China
Prior art keywords
key
lock
password
identification
program
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.)
Pending
Application number
CN 200510024966
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 200510024966 priority Critical patent/CN1674495A/en
Publication of CN1674495A publication Critical patent/CN1674495A/en
Pending legal-status Critical Current

Links

Landscapes

  • Lock And Its Accessories (AREA)

Abstract

The present invention relates to a non-reproducible many-into-one identity identification method and its device. It is characterized by that identity identification two sides (lock side and key) have central operation unit, program memory, data memory, and data input/output interface respectively; in the process of identity identification the above-mentioned two sides can dynamically generate new cipher which can be used as basis for next identity identification. The lock side and key side can be made up by remaking hand-held telephone. When the handset can be adopted as key, one handset can integrated key function of several locks. Said invention also provides its application field.

Description

A kind of not reproducible All-in-One personal identification method and device
Technical field:
The invention belongs to electronic technology field, relate to the technology that adopts password to carry out identification, relate to cipher door lock and key especially.
Background technology
The method of usually carrying out identification can be divided into following two classes:
1. according to geostationary identification authority, for example rely on the mechanical type key of roller seating space identification, rely on electronic key or card, the reusable password etc. of the electromagnetic signal identifications such as resistance or inductance;
2. all change the mode of basis of characterization after each identification, representational is the rolling code recognition technology that is widely used in car alarm.
The major defect of first kind method is that key is easy to duplicate, and the people who holds copy key can the acquisition system trust equally, therefore has potential safety hazard.Particularly on door-locking system, in case losing, key often to change lockset.And for traditional antitheft door with the mechanical type key, the thief can open lock with skeleton key or powerful steel disc.For by pressing the antitheft door of password unlocking, be intended to person agaainst the law also can aside peep steal password.In addition, it is not identify the ability of different keys that these class methods also have a shortcoming, the operating position that therefore is difficult to trace every key.
Though the rolling code technology has increased difficulty for the eavesdropping password, as long as obtain cryptographic algorithm, and the process of unblanking of same key of continuous several times monitoring, just can break a code, calculate rolling code, thereby gain system identification by cheating.
In addition, these two class methods also have some common shortcomings, i.e. the corresponding lock of key.Usually, everyone needs out many locks, therefore, usually is being with many keys on one's body, and not only also there is potential safety hazard in inconvenience.And traditional lock---key system also can't transmit additional private information when identification, be difficult to expanded function, also is difficult to the operating position of each key of record, traces reason when being unfavorable for accident occurring.
Consider these weak points just, the present invention proposes a kind of new personal identification method and device, as key, can guarantee that identity information is not reproducible by dynamic password generating mode and the mobile phone that adopts the operation specific program, possess uniqueness, and password can not the property decoded; And many keys are concentrated on same the mobile phone, make carry, use, the keeping key is all very convenient; By locking the service data logging program, can write down the operating position of every key, both helped the real-time registration of gate control system, also be convenient to trace afterwards; The lock that adopts the antitheft door of describing method of the present invention and device not expose, so the burglar can't make a forcible entry into by modes such as picking locks; In addition, the method that adopts the present invention to describe can also be safely and is transmitted sensitive data easily, therefore can also be widely used in fields such as charge authentication.
The content of invention
In the present invention:
Identification both sides (lock side and key) have central arithmetic unit, program storage, data memory, data input/output interface; Described identification both sides rely on encrypted message identification the other side identity, dynamically generate new password in identification, and the foundation during as identification next time.
Store many password records in the data storage of above-mentioned lock side, respectively corresponding a plurality of key sides; Also store many password records in the data storage of key side, respectively corresponding a plurality of lock sides.Password is kept in both sides' the data storage can avoid user's memory cipher, not only makes things convenient for the user but also increase security of system.
Both sides adopt dynamic password as basis of characterization.According to prior art, can adopt many methods to obtain a dynamic password: for example to calculate a formula, or certain number is carried out bit manipulation.In a preference of the present invention, system adopts random number as password, can not the property decoded with what guarantee password.And, each all generate one not repeating random number as the new password of this key, therefore, any key does not have copy, guarantee the uniqueness of key, like this, even key is unfortunate stolen, if legal key was got in touch with lock before stolen key, then stolen key will cease to be in force automatically; Otherwise legal key will lose efficacy, and make the key holder discover accident immediately, take measures to avoid further loss.
When both sides carried out identification, password was the key message that both sides confirm the other side's identity, need send the other side's checking to.The mode of transmission password has multiple, and a kind of is that password is sent to the other side, and another kind is that whether the other side is correct by the decryption oprerations judgment data again with data of arranging in advance of password encryption.
In the present invention, except can adopting common password transmission mode, in a preference, also adopt so a kind of mode, with the tight security of guaranteeing that both sides' information is transmitted, that is: in the N time identification procedure, key side with one in the password of the N time and the N-1 time as another password of secret key encryption, and the information after will encrypting sends to lock side, lock side obtains password by the respective rule deciphering, and with password and lock number formulary according to the corresponding password in the memory relatively, determine the identity of key side after correct; Have at least then a side dynamically to generate a password, the password when this password is as the N+1 time identification after the other side confirms, and deposit in the data storage.Like this, all according to two passwords at random, may hidden prison hearer around learn cryptographic algorithm when carrying out identification at every turn, no matter monitor the how many times information exchanging process and still can't break a code even make.Therefore, the data of both sides' communication have tight security, can also be used to transmitting funds on account equal altitudes sensitive data.
In the device that the present invention describes, lock side also has database, is used for recording request time stamp and the recognition result of every key a period of time.Like this, just can follow the tracks of the operating position of every key, namely can be used for real-time registration and the statistics of gate control system, can also when something unexpected happened, trace reason.
In some preferences of tracing device of the present invention, key side is made up of mobile phone or PDA and control program and the data record moved on it, described control program adopts the open platform programming language to write, described programming language can but be not limited to JAVA language or C Plus Plus.The key functions of control program comprises user interface, is responsible for receiving user instruction and feedback information; Data maintenance module is used for information such as maintain cryptographic record; The encryption and decryption module is used to realize encryption and decryption functions; The data input/output module is used for and the side of lock transmits data.
Usually mobile phone has various communication interfaces, can set up data by these interfaces and lock and be connected.For example, Symbian system, Palm system, WinCE system or J2ME platform all provide abundant class libraries to be used for operating handset or PDA serial ports or infrared mouthful even blue tooth interface.Therefore, installation and operation key program on these handheld devices just can realize functions such as Password Management that the key program needs and data communication, reaches the purpose of control lock.The mobile phone that employing is carried is as key, can write interface key program good, easy to use, can also make corresponding lock of a data record of key program, many keys are concentrated in the mobile phone, can greatly make things convenient for the user to carry, use, manage key.
In the device that the present invention describes, lock side also can be made up of mobile phone or PDA and control program and the data record moved on it; And by the common all functions of locking of the peripheral action executing circuit realization of expansion on mobile phone or PDA.Mobile phone or PDA are a kind of cheap apparatus, therefore can effectively reduce the cost of lock with its core as lock.The lock program comprises data maintenance module, is used for the maintain cryptographic record or also comprises the information such as historical record; The encryption and decryption module is used for realizing encryption and decryption functions; The data input/output module is used for and lock side transmits data; Can also comprise user interface, be responsible for receiving user instruction and feedback information, can also be used to check historical record.
It is to increase neatly, to delete, revise key that describing method of the present invention and device also have an advantage, but the management for the ease of key, lock side also has a master key at least, need through operating other key after the master key mandate, content of operation can but be not limited to and comprise increase, revise or delete other key (auxiliary key), described master key can but be not limited to following form: one mechanical key, one section password or a button.
For example, can keep a lockhole and in the indoor of antitheft door mechanical master key, when master key unpluged, the key of system was managed automatically by lock, and can not increase, deletes and change various auxiliary keys; After master key inserted lockhole, the user can increase, delete, changes auxiliary key, and allows to check the operating position of each key.In a preference, in the time will distributing a new key for certain user, the key program is installed on this user's mobile phone earlier, then master key is inserted in the lockhole, restarting key program and lock connects, the connected handset identities of lock registration number then, ID can be the IMEI number of mobile phone, or the mobile phone SIM card number, or the key programming serial numbers, or a string code of user's appointment, and be that it distributes a data record, produce and preserve a random number again as password, notify the key program to preserve the foundation that this password connected as next time simultaneously, so finish the operation that increases new key.Again master key is extracted, allowed new key connect with being connected to set up several times, produce the password of completely random.Obviously, according to same principle, also can adopt the variety of ways such as password or button to replace master key, and also can delete, check with similar method auxiliary key.
According to the top description of this invention, can design many concrete composition forms, and therein in preference, lock ﹠ key side all adopts hand-hold communication appliance or PDA as core, make system not only powerful but also with low cost, be specially: identification both sides (lock side and key) rely on encrypted message identification the other side identity, in identification, dynamically generate new password, and the foundation when the identification next time, described key side is made up of a mobile phone or a PDA and control program and the data record moved on it, store encrypted message in the data record, every corresponding lock of data record; Lock side has central arithmetic unit, program storage, data storage, stores encrypted message in the data storage, every corresponding key of information.
The structure of lock side comprises: described central arithmetic unit, program storage, data storage are integrated in the hand-hold communication appliance, and described hand-hold communication appliance is a mobile phone or mobile module or PDA or PDA module; One is the connector of core with the single-chip microcomputer; One or more peripheral Executive Module; Described connector inserts described hand-held communication module by the communication port of described hand-held communication module, drives peripheral Executive Module according to the instruction of described hand-hold communication appliance.
Below further set forth structure and the operation principle of the method for the invention and device with some specific embodiments.
Embodiment
Embodiment 1:
Lock-key system that the present invention describes is applied on the family expenses antitheft door, and antitheft door has power module, and lock construction comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the parallel port of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and key side communication; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.Preserve many password records in the data storage of lock, respectively corresponding many keys.
Key is a handheld device, and its structure comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and lock side communication; Key adopts powered battery.The password coupling of corresponding record in a password record and the lock is arranged in the data storage of key side, and key number is the string number sequence, also is kept among the EPROM.Two buttons are arranged on the key, be respectively and unblank and press-button for locking, insert respectively P2.0 and the P2.1 mouth of single-chip microcomputer, the line of each button also has the INT0 mouth of one tunnel access single-chip microcomputer.
Before for the first time communication, key side and corresponding password record and the key number of lock side are mated mutually in producer.When the user need unblank, press unlock button, the control program of AT89C52 detects interrupt signal on the key, by checking that the P2 mouth is found is unlocking signal, therefore start bluetooth communication module, bluetooth communication module is searched for the bluetooth port of lock side, and connects with it; After the successful connection, the key end control program sends to lock side after with password encryption, simultaneously the unlocking action instruction is also sent to lock side.
Lock end control program is with the data deciphering that receives, obtain password and action command, and and its data record in to password record that should key relatively, if find mutual coupling then generate a string random number, random number is sent to key side, require key side to preserve this random number as the password of next time communication; Lock end control program starts d.c. motor by the P2.0 mouth then, opens door lock; Lock end control program record current time afterwards is together with the result of the action and key number together in the write into Databasce.
When the user presses when shutting instruction, system also similarly processes, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Embodiment 2:
Lock-key system that the present invention describes is applied on the family expenses antitheft door, and antitheft door has power module, and lock construction comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; One of the serial ports expansion of single-chip microcomputer meets the infrared communication module of IRDA, and the infrared communication module connects a HDSL3000 infrared receiving/transmission pipe with MCP2120, by infrared mode and key side communication; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.Preserve many password records and corresponding key number in the data storage of lock, respectively corresponding many keys.
Key is a handheld device, and its structure comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the parallel port of AT89C52; One of the serial ports expansion of single-chip microcomputer meets the infrared communication module of IRDA, and the infrared communication module connects an infrared receiving/transmission pipe with MCP2120, by infrared mode and lock side communication; Key adopts powered battery.Have bunch of keys number in the data storage of key side, also have two password records, count A and B, corresponding door lock and gate lock respectively, and and corresponding lock in corresponding password record matching.Two buttons are arranged on the key, be respectively and unblank and press-button for locking, insert respectively P2.0 and the P2.1 mouth of single-chip microcomputer, the line of each button also has the INT0 mouth of one tunnel access single-chip microcomputer.
Before for the first time communication, password corresponding to key side and lock side is recorded as the initial password of mutual coupling.When the user need to unblank, for example when needs are opened gate, press unlock button, the control program of AT89C52 detects interrupt signal on the key, by checking that the discovery of P2 mouth is unlocking signal, therefore start the infrared communication module, the infrared port of infrared communication block search lock side, and connect with it; After the successful connection, the key end control program also sends to lock side with the unlocking action instruction, and sends to lock side, the checking of wait lock side after attempting successively record the password encryption of A and B; If for example lock side detect to find to receive B record password and and its data record in the password coupling, then notify the current password that should process in key side to be recorded as the B record.
Gate just generates a string random number after locking the Data Matching success of end control program to reception, and random number is sent to key side, and require key side to preserve this and count at random in the B record, and the password of next time communication of conduct; Lock end control program starts d.c. motor by the P2.0 mouth then, opens door lock; Lock end control program record current time afterwards is together with the result of the action and key number together in the write into Databasce.
When the user presses when shutting instruction, system also similarly processes, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Embodiment 3:
Lock-key system that the present invention describes is applied on vehicle or the family expenses alarm, and anti theft host (lock side) circuit relevant with identification mainly comprises: comprise an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and key side communication.Preserve 2 password records and corresponding key number in the data storage of lock, corresponding respectively many 2 keys.
Key is a handheld device, and its structure comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and lock side communication; Key adopts powered battery.Key number is the bluetooth equipment physical address number of key, also has the password coupling of corresponding record in a password record and the lock.Two buttons are arranged on the key, be respectively the button of setting up defences and withdraw a garrison, insert the P2.0 and the P2.1 mouth of single-chip microcomputer respectively, the line of each button also has the INT0 mouth of one tunnel access single-chip microcomputer.
Before for the first time communication, password record corresponding to key side and lock side mates mutually.When the user need to set up defences, by the button of setting up defences, the control program of AT89C52 detected interrupt signal on the key, by checking that the discovery of P2 mouth is the signal of setting up defences, therefore start bluetooth communication module, bluetooth communication module is searched for the bluetooth port of lock side, and connects with it; After the successful connection, the key end control program sends to lock side after with password encryption, and the action command of will setting up defences simultaneously also sends to lock side.
Lock end control program is with the data deciphering that receives, obtain password and action command, and and its data record in to password record that should key relatively, if find mutual coupling then generate a string random number, random number is sent to key side, require key side to preserve this random number as the password of next time communication; Lock end control program enters the state of setting up defences then; Lock end control program record current time afterwards is together with the result of the action and key number together in the write into Databasce.
When the user presses when withdrawing a garrison instruction, system also similarly processes, and just lock end control program indication mechanism enters disarming state.
Embodiment 4:
Lock-key system that the present invention describes is applied on the family expenses antitheft door, and antitheft door has power module, and lock construction comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and key side communication; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.Preserve many password records in the data storage of lock, respectively corresponding many keys.
Key is a smart phone, supports the J2ME2.0 platform, the program of unblanking JAVA language compilation, and the functional module of program comprises user interface, is used for that the prompting user selection is unblanked or the instruction such as locking; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Java Bluetooth API (JSR-82); Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.The password coupling that corresponding record in a password record and the lock is arranged in the data record of described program.
Before for the first time communication, the password of the manual input of the program prompts user of key end (mobile phone) and lock side's coupling.When the user need to unblank, start-up routine selected to unblank option, so the key program start Bluetooth of mobile phone communication module on the mobile phone, bluetooth communication module is searched for the bluetooth port of lock side, and connects with it; After the successful connection, the key program sends to lock side after with password encryption, simultaneously the unlocking action instruction is also sent to lock side.
Lock end control program is with the data deciphering that receives, obtain password and action command, and and its data record in password record relatively, if the match is successful to find mutual match notifications mobile phone, key program on the mobile phone then generates a string random number, to send to lock side behind the random number encryption, require lock side to preserve this random number as the password of next time communication.Lock end control program starts d.c. motor by the P2.0 mouth of single-chip microcomputer then, opens door lock; Lock end control program record current time afterwards is together with the result of the action with together in the write into Databasce.
When user selection shut option, system also similarly processed, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Embodiment 5:
Lock-key system that the present invention describes is applied on the Domestic antitheft door, and antitheft door has power module, and the core of lock is the smart phone of a transformation, and this smart phone is supported the J2ME2.0 platform, wherein moves the lock program; The lock program adopts the JAVA language compilation, has data transmit-receive module, realizes and the data communication of key end blue tooth interface by the class of calling Java Bluetooth API (JSR-82); Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Also comprise data read-write module, be used for the records such as read-write password, preserve many password records in the data record of lock program, be used for record key number and password, respectively corresponding many keys; And comprise serial communication module, the standard serial port by mobile phone with is connected a connector and connects; As central processing unit, the serial ports of single-chip microcomputer is connected with the mobile phone serial ports connector with an AT89C51 single-chip microcomputer; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.
Key is a smart phone, supports the J2ME2.0 platform, the program of unblanking JAVA language compilation, and the functional module of program comprises user interface, is used for that the prompting user selection is unblanked or the instruction such as locking; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Java Bluetooth API (JSR-82); Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.Many password records are arranged in the data record of described program, corresponding many respectively different locks.
Before for the first time communication, password and the key number of the manual input of the program prompts user of key end (mobile phone) and lock side's coupling.When the user need unblank, start-up routine selected to unblank option, so the key program start Bluetooth of mobile phone communication module on the mobile phone, bluetooth communication module is searched for the bluetooth port of the lock side of neighboring area, and connects with it; After the successful connection, key procedure identification lock title, if there are many handles to be latched on every side simultaneously, then the key program notifies the user to select the lock title that need open, select then to send to lock side behind the corresponding password recording of encrypted, simultaneously the unlocking action instruction is also sent to lock side.
Lock end control program is with the data deciphering that receives, obtain password and action command, and and its data record in to password record that should key relatively, if find mutual coupling then notify mobile phone the match is successful, lock then program and then generate a string random number, to send to key side behind the random number encryption, require key side to preserve this random number as the password of next time communication.Lock end control program is passed to single-chip microcomputer with instruction then, and single-chip microcomputer then starts d.c. motor by the P2.0 mouth of control, opens door lock; Lock end control program record current time together writes in the log database together with the result of the action and key number afterwards.
When user selection shut option, system also similarly processed, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Embodiment 6:
Lock-key system that the present invention describes is applied on the gate control system, and the main frame of gate control system is the smart phone of a transformation, and this smart phone is supported the Symbian platform, wherein moves the lock program; The lock program adopts C Plus Plus to write, and has data transmit-receive module, realizes and the data communication of key end blue tooth interface by the class of calling the Bluetooth API in the Symbian system; Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Also comprise data read-write module, be used for the records such as read-write password, preserve many password records in the data record of lock program, respectively corresponding many keys; The lock program is also safeguarded a historical record data storehouse, is used for recording connect hours and the connection result of a period of time and every key; And comprise serial communication module, the standard serial port by mobile phone with is connected a connector and connects; As central processing unit, the serial ports of single-chip microcomputer is connected with the serial ports of smart phone connector with an AT89C51 single-chip microcomputer; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.
The P2.7 of described single-chip microcomputer and INT1 mouth connect a button, and when button was pressed, single-chip microcomputer detected interrupt signal.Gate inhibition's main frame has a master key, master key is for being above-mentioned button, purpose is in order to inform that gate inhibition's main frame enters licensing status, by prior art, also button can be made into the key of a common described mechanical lock, single-chip microcomputer detects signal when key is opened, thereby informs that main frame is licensing status at present; In addition, also can adopt one section franchise password, perhaps specify an auxilliary key conduct as master key.
When gate inhibition's main frame enters licensing status, can add new key, delete old key or revise the password of original key.Wherein a kind of method of adding new (auxiliary) key is: gate inhibition's main frame is searched for current all bluetooth equipments on every side when licensing status, and whether prompting needs to be defined as new key, as needs then gate inhibition's main frame successively the bluetooth equipment that is defined as new key is produced a random number password and distributes and preserve a data record, and notify the other side also to preserve this password as the password that connects next time.
Above-mentioned gate control system has many auxiliary key, be distributed to the people that each needs legal discrepancy, the support J2ME platform that key is carried for discrepancy person and support mobile phone and one of them password and one section program of Java BluetoothAPI, be called the key program, key program JAVA language compilation, the functional module of program comprises user interface, is used for prompting user the instruction such as to select to enter or to leave; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Java BluetoothAPI (JSR-82); Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.One to multiple password record arranged, respectively corresponding one or more different gate inhibition's main frame in the data record of described key program.
When key side near gate inhibition's main frame near the time, the key program finds gate inhibition's main frame by bluetooth module, and prompting interface inquiry user occurs and whether will be connected registration with gate inhibition's main frame, when user selection needed, key program and gate inhibition's main frame connected; Then corresponding password and registration are required to send to gate inhibition's main frame after the encryption.
The lock program of gate inhibition's main frame is with the data deciphering that receives, obtain password and action command, and and its data record in to password record that should key relatively, if the match is successful to find mutual match notifications key, lock then program and then generate a string random number, to send to key side behind the random number encryption, require key side to preserve this random number as the password of next time communication.Lock end control program is passed to single-chip microcomputer with instruction then, and single-chip microcomputer then starts d.c. motor by the P2.0 mouth of control, opens door lock; The lock program records the relevant daily record of the key of this communication afterwards.
When user selection shut option, system also similarly processed, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Embodiment 7:
What the present invention described is a kind of Fare Collection System, and charging mainframe is a microcomputer and moves charging program (lock program) on it that its effect is the registration of the each key of record, and records its corresponding expense; According to prior art, be easy to write above-mentioned lock program according to database technology; Charging mainframe has a bluetooth communication mouth, is used for and key square tube letter.
The person of chargeding (key side) is with the mobile phone carried and move key program and password and host registration on it, described mobile phone adopts the Symbian operating platform, the key program is write with C Plus Plus, can set up communication with main frame by the blue tooth interface of mobile phone self and be connected.
New user can pass through at its mobile phone the key program to be installed, and an initial password of acquisition main frame distribution is as legal key side.Main frame is by the password of safeguarding each key side and the cost status of using each key side of record management.
Uniqueness and the illegal monitoring event of stopping to exist on every side in order to ensure every key, such method is all adopted in the registration of each key and main frame: in the N time identification procedure, key side with one in the password of the N time and the N-1 time as another password of secret key encryption, and the information after will encrypting sends to lock side, lock side obtains password by the respective rule deciphering, and with password and lock number formulary according to the corresponding password in the memory relatively, determine the identity of key side after correct; Have at least then a side dynamically to generate a password, the password when this password is as the N+1 time identification after the other side confirms, and deposit in the data storage.
Like this, during each the connection between key side and the main frame contact foundation all be random number without any rule, how many data the prison hearer that may exist has on every side eavesdropped and can't break a code, and the dynamic password management method guarantees that two identical keys can not be arranged.
Embodiment 8:
Lock-key system that the present invention describes is applied on the Domestic antitheft door, and the core of safe-guard door lock is the smart phone of a transformation, and this smart phone is supported the J2ME2.0 platform, wherein moves the lock program; The lock program adopts the JAVA language compilation, has data transmit-receive module, realizes and the data communication of key end blue tooth interface by the class of calling Java Bluetooth API (JSR-82); Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Also comprise data read-write module, be used for the records such as read-write password, preserve many password records in the data record of lock program, respectively corresponding many keys; And comprise serial communication module, the standard serial port by mobile phone with is connected a connector and connects; As central processing unit, the serial ports of single-chip microcomputer is connected with the mobile phone serial ports connector with an AT89C51 single-chip microcomputer; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.
Key is a smart phone, supports the J2ME2.0 platform, the program of unblanking JAVA language compilation, and the functional module of program comprises user interface, is used for that the prompting user selection is unblanked or the instruction such as locking; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Java Bluetooth API (JSR-82); In addition, the key program also can arrive lock with form transmission data and the instruction of short message by mobile communication network; The key program also comprises encrypts and deciphering module, and be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.Many password records are arranged in the data record of described program, corresponding many respectively different locks.
Before for the first time communication, the password of the manual input of the program prompts user of key end (mobile phone) and lock side's coupling.When the user need unblank, start-up routine selected to unblank option, so the key program start Bluetooth of mobile phone communication module on the mobile phone, bluetooth communication module is searched for the bluetooth port of the lock side of neighboring area, and connects with it; After the successful connection, key procedure identification lock title, if there are many handles to be latched on every side simultaneously, then the key program simultaneously the user select the lock title that need open, select then to send to lock side behind the corresponding password recording of encrypted, simultaneously the unlocking action instruction is also sent to lock side.
Lock end control program is with the data deciphering that receives, obtain password and action command, and and its data record in to password record that should key relatively, if find mutual coupling then notify mobile phone the match is successful, lock then program and then generate a string random number, to send to key side behind the random number encryption, require key side to preserve this random number as the password of next time communication.Lock end control program is passed to single-chip microcomputer with instruction then, and single-chip microcomputer then starts d.c. motor by the P2.0 mouth of control, opens door lock; Lock end control program record current time together writes in the log database together with the result of the action and key number afterwards.
When user selection shut option, system also similarly processed, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Except by the blue tooth interface, the key program can also open/blocking order sends to lock by short message, realizes the switch of long-distance remote control lock.
Embodiment 9: lock-key system that the present invention describes is applied on the family expenses antitheft door, and antitheft door has power module, and lock construction comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and key side communication; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.Preserve many password records in the data storage of lock, respectively corresponding many keys.
Key is a smart phone, adopts the Symbian platform, and the program of unblanking is write with C Plus Plus, and the functional module of program comprises user interface, is used for that prompting user is selected to unblank or the instruction such as locking; Voice recognition module and the sound instruction of prerecording can be monitored sound and analyze the instruction that sound represents; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Symbian BluetoothAPI; Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.Three password records are arranged, respectively corresponding gate, garage door, door in the data record of described program.
The key program is in holding state at ordinary times, when the approaching lock of user, during for example near gate, take out mobile phone one " opening the door ", so key process analysis sound, judging is the instruction that lock is opened in requirement, the bluetooth equipment of key program search periphery because the bluetooth equipment communication distance is limited, therefore generally can only detect the gate lock then, key Automatic Program and gate lock connects then, send the password authentification identity, the identification back sends unlock instruction, and gate is opened in indication, lock afterwards that program can produce and new password more, and record uncaging time and situation.If the key program has a plurality of bluetooth modules around finding by search, then can be automatically or prompting user select gate to lock.
Embodiment 10: lock-key system that the present invention describes is applied on the garage antitheft door, and antitheft door has power module, and lock construction comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and key side communication; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.Preserve many password records in the data storage of lock, respectively corresponding many keys.
Key is a vehicle-mounted antitheft main frame, supports the J2ME2.0 platform, the program of unblanking JAVA language compilation, and the functional module of program comprises user interface, is used for that the prompting user selection is unblanked or the instruction such as locking; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Java BluetoothAPI (JSR-82); Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.The password coupling that corresponding record in a password record and the lock is arranged in the data record of described program.
Before for the first time communication, the password of the manual input of the program prompts user of key end (mobile phone) and lock side's coupling.When the user need to unblank, by the button start-up routine, select to unblank option, so the key program start Bluetooth of mobile phone communication module on the mobile phone, bluetooth communication module is searched for the bluetooth port of lock side, and connects with it; After the successful connection, the key program sends to lock side after with password encryption, simultaneously the unlocking action instruction is also sent to lock side.
Lock end control program is with the data deciphering that receives, obtain password and action command, and and its data record in to password record that should key relatively, if the match is successful to find mutual match notifications mobile phone, key program on the mobile phone then generates a string random number, to send to lock side behind the random number encryption, require lock side to preserve this random number as the password of next time communication.Lock end control program starts d.c. motor by the P2.0 mouth of single-chip microcomputer then, opens door lock; Lock end control program record current time afterwards is together with the result of the action and key number together in the write into Databasce.
When user selection shut option, system also similarly processed, and just lock end control program indication d.c. motor stretches out dead bolt the apolipsis door lock.
Embodiment 11:
Lock-key system that the present invention describes is applied on the family expenses antitheft door, and antitheft door has power module, and lock construction comprises an AT89C52 single-chip microcomputer as central processing unit, the operation control program; Data storage is EPROM, inserts the P0 mouth of AT89C52; Bluetooth module of the serial ports expansion of single-chip microcomputer is by bluetooth approach and key side communication; The P2.0 of single-chip microcomputer and P2.1 insert a tri-state switch, and tri-state switch connects a d.c. motor.When the P2.0 high level, when clockwise rotating, d.c. motor makes the dead bolt withdrawal, door-lock opening; And when the P2.1 high level, d.c. motor rotates counterclockwise, and dead bolt stretches out, the door lock locking.Preserve many password records and key number in the data storage of lock, respectively corresponding many keys.
Key is a smart phone, adopts the Symbian platform, and the program of unblanking is write with C Plus Plus, and the functional module of program comprises user interface, is used for that prompting user is selected to unblank or the instruction such as locking; The network signal detection module is used for detecting the mobile communication network signal; Voice recognition module and the sound instruction of prerecording can be monitored sound and analyze the instruction that sound represents; Also comprise data transmit-receive module, by the data communication that class realizes and lock is held blue tooth interface of calling Symbian Bluetooth API; Also comprise and encrypting and deciphering module, be used for and will send after password and the data encryption, and with the data deciphering that receives; Program also comprises data read-write module, is used for the records such as read-write password.Three password records are arranged, respectively corresponding gate, garage door, door in the data record of described program.The key number of key is a SIM card number.Adopting SIM number is to lose efficacy for the key that makes careless loss as key number and key program Sampling network signal.
The key program is in holding state at ordinary times, as user during near gate, take out mobile phone one " opening the door ", analyze sound, judging is the instruction that lock is opened in requirement, the bluetooth equipment of key program search periphery because the bluetooth equipment communication distance is limited, therefore generally can only detect the gate lock then, the key program detects network signal then, if detect network signal then read SIM number again as key based identity number, connect with the gate lock again, send key number and password authentification identity, the identification back sends unlock instruction, gate is opened in indication, locks afterwards that program can produce and new password more, and record uncaging time and situation.If the key program has a plurality of bluetooth modules around finding by search, then can be automatically or prompting user select gate to lock.
According to such identification mode, in case the user has lost the mobile phone of integrated key function accidentally, can report the loss to the service centre of mobile communication network operator immediately, the SIM of loss was lost efficacy, like this, lose mobile phone and can't detect network signal with original SIM, therefore can't set up contact with lock side, can not by lock identification, stop the attempt that illegally enters.

Claims (10)

1. lock-key system based on the password identification mode, it is characterized in that: identification both sides (lock side and key) have central arithmetic unit, program storage, data memory, data input/output interface; Described identification both sides rely on encrypted message identification the other side identity, dynamically generate new password in identification, and the foundation during as identification next time.
2. according to the system of claim 1, it is characterized in that storing many password records in the data storage of the side of lock, corresponding a plurality of key sides store many password records in the data storage of described key side respectively, respectively corresponding a plurality of lock sides.
3. according to the system of claim 2, it is characterized in that described identification procedure is: in the N time identification procedure, key side with one in the password of the N time and the N-1 time as another password of secret key encryption, and the information after will encrypting sends to lock side, lock side obtains password by the respective rule deciphering, and with password and lock number formulary according to the corresponding password in the memory relatively, determine the identity of key side after correct; Have at least then a side dynamically to generate a password, the password when this password is as the N+1 time identification after the other side confirms, and deposit in the data storage.
4. according to the system of claim 3, it is characterized in that using random number as new password.
5. according to the system of claim 4, described lock side has database, writes down request time stamp and the recognition result of every key a period of time.
6. according to the system of claim 1 or 2 or 3 or 4 or 5, it is characterized in that key side is mobile phone or PDA and move control program on it and data record forms, described control program adopts the open platform programming language to write, described programming language can but be not limited to JAVA language or C Plus Plus.
7. according to the system of claim 6, it is characterized in that the side of lock is made up of mobile phone or PDA and control program and the data record moved on it; And described lock side also has peripheral action executing circuit.
8. according to the system of claim 1 or 2 or 3 or 4 or 5, it is characterized in that lock side has a master key at least, need through operating other key after the master key mandate, content of operation can but be not limited to and comprise increase, revise or delete other key, described master key can but be not limited to following form: one mechanical key, one section password or a button.
9. personal identification method and device based on a password, it is characterized in that: identification both sides (lock side and key) rely on encrypted message identification the other side identity, in identification, dynamically generate new password, and the foundation when the next time identification, described key side is made up of mobile phone or a PDA and control program and the data record moved on it, store encrypted message in the data record, every corresponding lock of data record; Lock side has central arithmetic unit, program storage, data storage, stores encrypted message in the data storage, every corresponding key of information.
10. according to the personal identification method and the device of claim 9, the structure that it is characterized in that the side of lock comprises: described central arithmetic unit, program storage, data storage are integrated in the hand-hold communication appliance, and described hand-hold communication appliance is a mobile phone or mobile module or PDA or PDA module; One is the connector of core with the single-chip microcomputer; One or more peripheral Executive Module; Described connector inserts described hand-held communication module by the communication port of described hand-held communication module, drives peripheral Executive Module according to the instruction of described hand-hold communication appliance.
CN 200510024966 2005-04-07 2005-04-07 Uncopying several-into-one identification method and apparatus Pending CN1674495A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200510024966 CN1674495A (en) 2005-04-07 2005-04-07 Uncopying several-into-one identification method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200510024966 CN1674495A (en) 2005-04-07 2005-04-07 Uncopying several-into-one identification method and apparatus

Publications (1)

Publication Number Publication Date
CN1674495A true CN1674495A (en) 2005-09-28

Family

ID=35046784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200510024966 Pending CN1674495A (en) 2005-04-07 2005-04-07 Uncopying several-into-one identification method and apparatus

Country Status (1)

Country Link
CN (1) CN1674495A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101937584A (en) * 2010-06-02 2011-01-05 海尔集团公司 Method for generating passwords of access control system
CN101237597B (en) * 2007-01-30 2011-06-01 财团法人车辆研究测试中心 Gold key making method for mobile device
CN102663877A (en) * 2012-05-10 2012-09-12 上海大亚科技有限公司 Method for realizing dynamic authentication deploying and canceling defense control by using deploying and canceling defense controller and alarm host computer
CN102761871A (en) * 2012-08-02 2012-10-31 李凯 Method for preventing fake device during other party identity authentication of wireless communication devices
CN102915588A (en) * 2012-11-02 2013-02-06 深圳市普罗巴克科技股份有限公司 Bluetooth technology-based intelligent lock system and control method thereof
CN102945574A (en) * 2012-11-14 2013-02-27 李凯 Device and method for controlling locking system permission by mobile equipment
CN103136829A (en) * 2013-02-17 2013-06-05 李凯 Method and system used for identifying both side identities
CN104217318A (en) * 2014-09-15 2014-12-17 王丽丽 Method and system for encrypted logistics transportation
CN104929443A (en) * 2015-05-12 2015-09-23 北京京东尚科信息技术有限公司 Intelligent lock and opening method and device thereof
CN105261097A (en) * 2015-10-26 2016-01-20 深圳市章陈融通科技有限公司 Intelligent door lock control method and system
CN105701884A (en) * 2014-11-25 2016-06-22 镇江金软计算机科技有限责任公司 Bluetooth technology-based safety lock system
CN107846400A (en) * 2017-10-20 2018-03-27 国信嘉宁数据技术有限公司 The methods, devices and systems that a kind of data are saved from damage
CN109753837A (en) * 2018-12-27 2019-05-14 佛山市伟邦电子科技有限公司 A kind of anti-copying and tamper resistant method of IC card
US20220028199A1 (en) * 2019-10-14 2022-01-27 Dambee Technology Co., Ltd. Security-reinforced door lock, and gate security management system using same door lock

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237597B (en) * 2007-01-30 2011-06-01 财团法人车辆研究测试中心 Gold key making method for mobile device
CN101937584A (en) * 2010-06-02 2011-01-05 海尔集团公司 Method for generating passwords of access control system
CN101937584B (en) * 2010-06-02 2015-11-25 海尔集团公司 The generation method of passwords of access control system
CN102663877A (en) * 2012-05-10 2012-09-12 上海大亚科技有限公司 Method for realizing dynamic authentication deploying and canceling defense control by using deploying and canceling defense controller and alarm host computer
CN102761871A (en) * 2012-08-02 2012-10-31 李凯 Method for preventing fake device during other party identity authentication of wireless communication devices
CN102915588A (en) * 2012-11-02 2013-02-06 深圳市普罗巴克科技股份有限公司 Bluetooth technology-based intelligent lock system and control method thereof
CN102915588B (en) * 2012-11-02 2015-07-29 凯拔(中国)科技有限公司 Based on intelligent lock system and the control method thereof of Bluetooth technology
CN102945574A (en) * 2012-11-14 2013-02-27 李凯 Device and method for controlling locking system permission by mobile equipment
CN102945574B (en) * 2012-11-14 2015-04-08 李凯 Device and method for controlling locking system permission by mobile equipment
CN103136829A (en) * 2013-02-17 2013-06-05 李凯 Method and system used for identifying both side identities
CN104217318A (en) * 2014-09-15 2014-12-17 王丽丽 Method and system for encrypted logistics transportation
CN105701884A (en) * 2014-11-25 2016-06-22 镇江金软计算机科技有限责任公司 Bluetooth technology-based safety lock system
CN104929443A (en) * 2015-05-12 2015-09-23 北京京东尚科信息技术有限公司 Intelligent lock and opening method and device thereof
CN104929443B (en) * 2015-05-12 2018-03-02 北京京东尚科信息技术有限公司 Smart lock and its method for unlocking and device
CN105261097A (en) * 2015-10-26 2016-01-20 深圳市章陈融通科技有限公司 Intelligent door lock control method and system
CN105261097B (en) * 2015-10-26 2018-11-20 深圳市章陈融通科技有限公司 A kind of intelligent door lock control method and control system
CN107846400A (en) * 2017-10-20 2018-03-27 国信嘉宁数据技术有限公司 The methods, devices and systems that a kind of data are saved from damage
CN109753837A (en) * 2018-12-27 2019-05-14 佛山市伟邦电子科技有限公司 A kind of anti-copying and tamper resistant method of IC card
US20220028199A1 (en) * 2019-10-14 2022-01-27 Dambee Technology Co., Ltd. Security-reinforced door lock, and gate security management system using same door lock
US11430280B2 (en) * 2019-10-14 2022-08-30 Dambee Technology Co., Ltd. Security-reinforced door lock, and gate security management system using same door lock

Similar Documents

Publication Publication Date Title
CN1674495A (en) Uncopying several-into-one identification method and apparatus
CN108091011A (en) Method and system of the verification technique to equipment progress permission control is unified by the testimony of a witness
US20140260452A1 (en) Electronic Lock
CN104282058B (en) The method for unlocking of the safety intelligent lock system of band video monitoring based on bluetooth
CN105005862A (en) Internet dynamic password unlocking management system
CN104282061B (en) Unlocking method for safety intelligent lock system
CA2467911A1 (en) Portable device and method for accessing data key actuated devices
CN104832044A (en) Novel mechano-electronic dual-safety type safe box
TWI569230B (en) Control system with mobile devices
CN108109242B (en) Hardware encryption method and system based on fingerprint unlocking and intelligent cloud lock
CN102968835A (en) Large-capacity digital door lock management and control system for remote authorization
CN201037941Y (en) Electronic lock system by using public key system to verify digital signature
CN107864124A (en) A kind of end message method for security protection, terminal and bluetooth lock
CN112702413B (en) Intelligent escort cash box system, control method, computer equipment and storage medium
CN101141538A (en) Theftproof method and system implemented through mobile phone
CN104282060A (en) Method for unlocking safety intelligent lock system
CN114550353A (en) Intelligent lock control system of transformer substation
CN104282059A (en) Bluetooth-based safety intelligent lock system with video monitoring function and unlocking and locking methods
CN1378667A (en) Security arrangement
CN207123882U (en) A kind of antitheft cloud service door-locking system of multiple intelligent
CN101994432A (en) Code lock system and using method thereof
CN1877060A (en) Digital cipher lock with secure secondary authorization unlocking function
CN104574615A (en) Electronic door lock control method and control device
KR101218707B1 (en) Doorlock and control method of it
CN2818698Y (en) Biological key and lock

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication