CN100458093C - Control method and control apparatus for infrared electronic lock of mobile phone - Google Patents

Control method and control apparatus for infrared electronic lock of mobile phone Download PDF

Info

Publication number
CN100458093C
CN100458093C CNB2005100943073A CN200510094307A CN100458093C CN 100458093 C CN100458093 C CN 100458093C CN B2005100943073 A CNB2005100943073 A CN B2005100943073A CN 200510094307 A CN200510094307 A CN 200510094307A CN 100458093 C CN100458093 C CN 100458093C
Authority
CN
China
Prior art keywords
infrared
electronic lock
key
mobile phone
pseudo
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
CNB2005100943073A
Other languages
Chinese (zh)
Other versions
CN1737317A (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.)
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 CNB2005100943073A priority Critical patent/CN100458093C/en
Publication of CN1737317A publication Critical patent/CN1737317A/en
Application granted granted Critical
Publication of CN100458093C publication Critical patent/CN100458093C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Lock And Its Accessories (AREA)

Abstract

This invention relates to a controlling method of ceil phone infrared electric lock, characterized in that it receives the code information sent from the ceil phone through the infrared interface, controlling the open and close of the electrical lock. The infrared ceil phone is the holder of the electrical key, only when the cell phone electrical key is corresponding to the key of the electrical lock it can be opened; the key coding of the electrical lock applies the pseudo-random method to code and control, and the electrical lock applies programmable component to set the key and the widow to receive the infrared key; the infrared cell phone and electrical lock will realize infrared host-host protocol, controlling the open and close of the electrical lock through the code sent by the cell phone. Through said invention, it can realize the management of the mobile communication base station.

Description

The infrared electronic lock of mobile phone control method
Technical field
The invention belongs to a kind of method and controller that utilizes the mobile phone infrared interface to control the electronic lock opening and closing.
Background technology
Utilize the electronic lock opening and closing that many advantages are easily arranged,, can accomplish arbitrary control, but magnetic card or IC-card are special carriers as widely used magnetic card in hotel or IC-card key electronic lock.Still have limitation in the use, as carrying special carrier.Mechanical lock also has similar weak point in the use.As at moving communicating field, communication base station has a very wide distribution, and quantity is many, the main at present method by traditional mechanical lock of the security protection of its facility.Because base station number is too big, the management of key and use are very inconvenient.Enter same door with lock for a specific group object in the different time for another example and also need electronic lock control method more easily.In order to solve an above-mentioned difficult problem, the present invention has been proposed.
Summary of the invention
The object of the present invention is to provide a kind of infrared control method, make and to control opening and closing by the mobile phone infrared interface as specific door locks such as mobile communication base station door locks.Simultaneously, provide a kind of controller that utilizes said method to realize,, improve the safety of protection such as specific occasion such as base station to reduce management and running cost.
The object of the present invention is achieved like this: the infrared electronic lock of mobile phone control method, infrared mobile is as the electronic key holder, the key of infrared mobile electronic key and electronic lock itself could be opened seasonable, the key coding of electronic lock itself adopts the pseudo-random method coding to control, be that electronic lock adopts programming device such as single-chip microcomputer to establish window close and the infrared key of conduct reception, realize the infrared transmission agreement by infrared mobile and electronic lock, control the opening and closing of electronic lock by receiving password that mobile phone sends.When controller receives the information that mobile phone is sent, it is right to carry out cryptographic core, in case success, the unlatching that promptly produces corresponding signal controlling electronic lock.
Improvement of the present invention is to set effective unlocking times of unlocking cipher and unblank the period by the mobile phone infrared interface, and when the number of times that uses valid password to unblank exceeds setting value or exceed when unblanking the period, password lost efficacy.After inferior password lost efficacy, controller will produce next pseudorandom new password according to password last time.
According to the controller that said method is realized, the effective unlocking times of password that its microprocessor program is set is for once, and the period of effectively unblanking is 24 hours, and promptly password is promptly destroyed after using once, inefficacy in password produces one day after.In addition, be no more than 10 seconds the time delay of unblanking that the microprocessor program of controller is set, and be provided with unblank button and the Reset of system button.In case outage, controller is in closed condition.Connecting for convenience, controller provides+12V ,-two kinds of power interfaces of 48V, can utilize the base station back-up source to power.In addition, when taking place that special circumstances are indoor can't power, controller also can carry out powered operation by outdoor interface.
The beneficial effect of the invention: adopt this invention, can realize that not only the management of mobile communication base station and running cost reduce greatly, also can improve safety greatly.
Description of drawings
Fig. 1 is a hardware block diagram of the present invention
Fig. 2 is an electronic lock controller program work flow chart of the present invention
Fig. 3 is electronic lock circuit figure of the present invention (block diagram)
Fig. 4 is the circuit block diagram that pseudo noise code of the present invention produces
The specific embodiment
As shown in the figure, the flow chart of Fig. 2 is understood one embodiment of the present of invention.
Password of the present invention generally adopts pseudo noise code, can be produced by the software of little processing.
Another kind method is: the sequence pseudo-random code sequence can utilize the shift register network to produce, and this network is made up of R level series connection two-state device shift pulse generator and modular two addition device.By a simple level Four shift register network diagram, it is 15 pseudo noise code that this network can produce code length.
Utilize FPGA can realize that the shift register network is to produce functions such as pseudo noise code signal, and realization logic control and clock distribution.For the TTL signal of FPGA output, its processing method has two kinds: a kind of is directly to deliver to amplifier to carry out signal condition output; Another is with output again behind D/A conversion of TTL process and the signal condition.With the reality test, the author finds because the signal phase shake of FPGA output is comparatively serious, even can cause signal edge shakiness, and exists serious parasitic signal, thereby the pseudo-code of output is second-rate by analysis; And if process D/A nurses one's health output after changing again, this influence can obtain weakening, signal quality can be improved, therefore second method is more desirable, in actual applications, the author just selects this method to carry out circuit design, and selects difference current output type D/A to amplify directly output of back through MAX 4145.
Pseudo noise code based on MAX 4145 produces schematic block circuit diagram as shown in Figure 4.This pseudo noise code produces circuit when working, and system can give FPGA with the pseudo-code data allocations by the parallel port, also can independently produce pseudo-code signal by FP-GA, finishes signal processing, clock distribution, sign indicating number function such as generation and waveform storage synchronously by FPGA simultaneously.The effect of MAX 4145 mainly is to finish the conversion of differential-to-single-ended output and amplification.
MAX 4145 is except having the big characteristics of input impedance, and the error that imbalance of the common-mode gain of its prime and drift produce can be cancelled out each other, and can suppress back level common-mode signal, double-end signal can be become single-ended output simultaneously, to adapt to the needs of ground connection load.Except three amplifiers, MAX 4145 also comprises output short-circuit self-protection circuit and input protection circuit, thereby has increased the survivability of chip.By outer meeting resistance RG can to gain+1V/V~+ be provided with in the 10V/V scope.
Embodiment the present invention mainly utilizes chip microcontroller infrared transmission agreement, can receive the password that various different mobile phones are sent, and finally controls the opening and closing of electronic lock.Single-chip microcomputer adopts TI MSP430 chip, and the infrared transmission agreement adopts the assembler language design to realize.7 pseudo noise code, 15 pseudo noise code, 31 pseudo noise code, 63 pseudo noise code all can, as move register by linear feedback, the certain feedback factor of design produces.
Infrared electronic lock of mobile phone controller characteristic parameter according to the inventive method enforcement:
1, power interface :-48V/+12V; Password figure place: 288bit
2, unblank time delay: be no more than 10 seconds
3, power consumption: when lock cuts out, 12mW; When lock leaves, 7W
4, volume: 200cm 3
Test shows by experiment, the present invention has reached intended purposes, stable performance, practicality is very strong.

Claims (4)

1, a kind of infrared electronic lock of mobile phone control method is characterized in that: utilize infrared interface to receive the encrypted message that mobile phone sends, control the unlatching of electronic lock; The infrared mobile of holding key is as the electronic key holder, the key of infrared mobile electronic key and electronic lock itself could be opened seasonable, the key coding of electronic lock itself adopts the control of pseudo-random method coding, promptly adopt microprocessor to establish window close and the infrared key of conduct reception, realize the infrared transmission agreement by infrared mobile and electronic lock, control the opening and closing of electronic lock by receiving password that mobile phone sends, pseudo-random code sequence produces like this: realize that with FPGA the shift register network is to produce the pseudo noise code signal, by FPGA output TTL signal, with the pseudo-random code sequence of output formation again behind D/A conversion of TTL process and the signal condition.
2, according to the described infrared electronic lock of mobile phone control method of claim 1, it is characterized in that: unlocking cipher length is 288 bits, sets on microprocessor program and unblanks to be no more than 10 seconds time delay.
3, according to the described infrared electronic lock of mobile phone control method of claim 1, it is characterized in that: number of times that setting code is unblanked and the period of unblanking.
4, according to the described infrared electronic lock of mobile phone control method of claim 1, it is characterized in that: in case unblank successfully, when inferior password lost efficacy immediately, controller generates new password.
CNB2005100943073A 2005-09-09 2005-09-09 Control method and control apparatus for infrared electronic lock of mobile phone Expired - Fee Related CN100458093C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100943073A CN100458093C (en) 2005-09-09 2005-09-09 Control method and control apparatus for infrared electronic lock of mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100943073A CN100458093C (en) 2005-09-09 2005-09-09 Control method and control apparatus for infrared electronic lock of mobile phone

Publications (2)

Publication Number Publication Date
CN1737317A CN1737317A (en) 2006-02-22
CN100458093C true CN100458093C (en) 2009-02-04

Family

ID=36080240

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100943073A Expired - Fee Related CN100458093C (en) 2005-09-09 2005-09-09 Control method and control apparatus for infrared electronic lock of mobile phone

Country Status (1)

Country Link
CN (1) CN100458093C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102535986A (en) * 2012-03-09 2012-07-04 许晓聪 Device for controlling door lock of automobile by using mobile phone
CN103914893A (en) * 2012-12-30 2014-07-09 章玺 Electronic lock system adopting barcode
CN104123768B (en) * 2014-06-13 2018-03-23 厦门华数电力科技有限公司 A kind of safe and intelligent lock system and unlocking, shut control method
CN107301697A (en) * 2017-05-09 2017-10-27 南昌大学 The dynamic encryption and localization method of a kind of electronic lock

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2274591Y (en) * 1996-05-22 1998-02-18 郭华山 Infrared multifunctional omnibearing automobile anti-theft safety device
DE10134262A1 (en) * 2000-07-21 2002-03-07 Yong Duk Park Electronic radio terminal for remotely controlled door locking system has receiver which analyzes signals transmitted from portable radio terminal, such as mobile telephone
CN1561123A (en) * 2004-02-24 2005-01-05 胡宴宾 Key combined with mobile phone and mobile phone chip inserted type strick door lock
CN2687985Y (en) * 2004-02-24 2005-03-23 福建省天通电讯科技有限公司 Anti-theft alarming multifunctional fixed wireless telephone set
JP2005207157A (en) * 2004-01-23 2005-08-04 Ntt Docomo Hokkaido Inc Electronic lock control system and electronic lock control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2274591Y (en) * 1996-05-22 1998-02-18 郭华山 Infrared multifunctional omnibearing automobile anti-theft safety device
DE10134262A1 (en) * 2000-07-21 2002-03-07 Yong Duk Park Electronic radio terminal for remotely controlled door locking system has receiver which analyzes signals transmitted from portable radio terminal, such as mobile telephone
JP2005207157A (en) * 2004-01-23 2005-08-04 Ntt Docomo Hokkaido Inc Electronic lock control system and electronic lock control method
CN1561123A (en) * 2004-02-24 2005-01-05 胡宴宾 Key combined with mobile phone and mobile phone chip inserted type strick door lock
CN2687985Y (en) * 2004-02-24 2005-03-23 福建省天通电讯科技有限公司 Anti-theft alarming multifunctional fixed wireless telephone set

Also Published As

Publication number Publication date
CN1737317A (en) 2006-02-22

Similar Documents

Publication Publication Date Title
CN204833406U (en) Electronic lock based on user identity characteristic recognition
CN204406513U (en) A kind of dynamic puzzle-lock system
CN101888597A (en) Mobile OA system of mobile phone terminal
CN204375043U (en) Smart bluetooth is locked
CN104916022A (en) Intelligent lock control method, mobile terminal and intelligent lock system
CN107833315A (en) Cell automates access control system
CN100458093C (en) Control method and control apparatus for infrared electronic lock of mobile phone
CN204990454U (en) Intelligence lock based on control of cell -phone APP
CN207966006U (en) Binding system between a kind of electronic lock and user
CN105336022A (en) Novel cipher lock
CN201398200Y (en) Distributed one-way transmission system for network information security
CN205787791U (en) Network relay and network system
CN106193818B (en) A kind of intelligent lock system and its remote alarm method
CN103195301B (en) Electronic lock control device
CN104952130A (en) Intelligent lock control method and device as well as system
CN204965562U (en) Cell -phone access control system of long -range electron of accessible end operation
CN107977333A (en) A kind of cipher card and the method for communication
CN204708844U (en) A kind of intelligent wireless electrocardiogram equipment and electrocardiogram equipment wireless communication system
CN104881912A (en) Door opening system and door opening method
CN1044630C (en) Electronic lock and electronic key thereof
CN204614058U (en) A kind of door lock control device
CN204291131U (en) Based on the smart lock equipment of mobile phone terminal
CN202305625U (en) Electricity anti-stealing system based on mobile phone short message verification
CN201860375U (en) SMS alarm for using short messages to preset alarm placename and target cell-phone number
CN204669427U (en) Gate circuit type mobile phone signal amplifier

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20090204