CN106981115A - Light secret key gate control system and its verification method - Google Patents
Light secret key gate control system and its verification method Download PDFInfo
- Publication number
- CN106981115A CN106981115A CN201710213192.8A CN201710213192A CN106981115A CN 106981115 A CN106981115 A CN 106981115A CN 201710213192 A CN201710213192 A CN 201710213192A CN 106981115 A CN106981115 A CN 106981115A
- Authority
- CN
- China
- Prior art keywords
- chip microcomputer
- information
- transmitting terminal
- control system
- led
- 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
Links
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/20—Individual registration on entry or exit involving the use of a pass
- G07C9/22—Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses light secret key gate control system and its verification method, belong to technical field of electronic communication.The present invention includes transmitting terminal and receiving terminal, transmitting terminal sends signal to receiving terminal, transmitting terminal includes single-chip microcomputer one and key information transmitting terminal, single-chip microcomputer one connects pull-up resistor R1 a to VCC, the grid of the connection FET of single-chip microcomputer one is used as the key information transmitting terminal for sending data, the grid of FET is connected with single-chip microcomputer one, and LED output state is controlled by single-chip microcomputer one.Gate control system of the invention based on CPU card effectively reduces the possibility of gate inhibition's card duplication, is greatly improved in security.User and administrative staff there has also been great improvement on the convenience of operation gate control system simultaneously.
Description
Technical field
The present invention relates to light secret key gate control system and its verification method, belong to technical field of electronic communication.
Background technology
With continuing to develop for computer technology and the communication technology, gate control system have become enterprise, school, apartment go out/
Entrance manages an indispensable part.Realized and opened using common IC-card more than most radio frequency identity card gate inhibition system in the market
Door, since German Research person Heng Likepuluoci in 2008 and University of Virginia's computer science doctorial student's karr
The security algorithm that this Teng Nuoer has cracked the classical chips of Mifare of grace intelligence Pu semiconductor rises, and conventional radio frequency card access control system exists
Just huge potential safety hazard is provided with security.
The content of the invention
Above-mentioned in order to overcome the shortcomings of, the present invention devises a kind of light secret key gate control system based on visible light communication, leads to
Visible ray is crossed as data transfer carrier, the transmission of password and identity information is realized.As long as user is by small in bright hand
Light emitting module, it is possible to realize the certification of identity information, it is seen that the transmission speed of light data is fast, high input speed, it maintains secrecy
Property is good, will not be monitored and crack information, safe.
The technical scheme that the present invention takes is as follows:
The present invention includes transmitting terminal and receiving terminal, and transmitting terminal sends signal to receiving terminal, and transmitting terminal includes the He of single-chip microcomputer one
Key information transmitting terminal, single-chip microcomputer one connects pull-up resistor R1 a to VCC, and single-chip microcomputer one connects the grid conduct of FET
The key information transmitting terminal of data is sent, the grid of FET is connected with single-chip microcomputer one, control LED's defeated by single-chip microcomputer one
Do well;Single-chip microcomputer one is encoded the information of representative capacity, and the information after coding is loaded into LED by single-chip microcomputer one,
Data are sent by LED;Single-chip microcomputer one connects external crystal oscillator, the connection reset circuit of SCM of single-chip microcomputer one;
Receiving terminal includes the quick Er Ji Guan ﹑ operational amplifiers of Guang and single-chip microcomputer two;Photodiode concatenation operation amplifier, operational amplifier
Output end connection single-chip microcomputer two.
Light secret key gate control system verification method, comprises the following steps:
The first step:Start;
Second step:Initiating hardware;
3rd step:Timer is initialized;
4th step:Encoded digital information;
5th step:Judge whether LED has data transmission;
6th step:If LED has data transmission, into the 7th step;If LED no datas are sent, into the 5th step;
7th step:Light-sensitive element is received, into the 8th step;Access to information database data, into the 13rd step;
8th step:Timer starts;
9th step:Judge timing;
Tenth step:If timing, into the 11st step;If not timing, into the 9th step;
11st step:Calculate light source carrier frequency and dutycycle;
12nd step:Decoding data, into the 16th step;
13rd step:Find identity;
14th step:Compare identity information;
15th step:Judge that information is compared whether to terminate;If information is compared and is not over, into the 14th step;If
Information, which is compared, to be terminated, into the 16th step;
16th step:Judge whether information passes through;If information passes through, user's information is recorded, passes through gate inhibition;If letter
Breath does not pass through, and alarms, into the 17th step;
17th step:Terminate.
Beneficial effects of the present invention:Gate control system of the invention based on CPU card effectively reduces the duplication of gate inhibition's card
Possibility, is greatly improved in security.User and administrative staff are on the convenience of operation gate control system simultaneously
There is great improvement.
Brief description of the drawings
Fig. 1 is the transmitting terminal circuit diagram of the present invention.
Fig. 2 is the receiving terminal circuit figure of the present invention.
Fig. 3 is the control flow chart of the present invention.
Embodiment
The present invention will be further described below in conjunction with the accompanying drawings.
Light secret key gate control system, including transmitting terminal and receiving terminal, transmitting terminal send signal to receiving terminal.
As shown in figure 1, transmitting terminal includes the STC89C51 of single-chip microcomputer one and key information transmitting terminal, the STC89C51 of single-chip microcomputer one
P2.0 mouths as output end, one pull-up resistor R1 to VCC, P2.0 output of connection is also connected to the grid conduct of FET
The key information transmitting terminal of data is sent, the grid of FET is connected with the P2.0 mouths of single-chip microcomputer one, controlled by single-chip microcomputer one
LED processed output state.Single-chip microcomputer one is encoded the information of representative capacity, and the information after coding is passed through into single-chip microcomputer one
P2.0 mouthfuls are loaded into LED, are sent data by LED.The STC89C51 of single-chip microcomputer one pin 18 and pin 19 connects outer
Portion's crystal oscillator, the STC89C51 of the single-chip microcomputer one connection reset circuit of SCM of pin 9.
As shown in Fig. 2 receiving terminal includes operational amplifier LM324 and single-chip microcomputer two STC89C51, operational amplifier LM324
Output end OUT3 be connected to the pin P3.2 of single-chip microcomputer two;The photodiode concatenation operation amplifier LM324 pin of input 3
1+.Optical signal is received by photodiode, the optical signal of different duty is changed into voltage signal, passes through operation amplifier
Voltage signal is carried out voltage follow by device LM324, is compared, and the low and high level for changing into standard inputs to the P3.2 of single-chip microcomputer two
Mouthful, P3.2 mouthfuls are to interrupt port of setting out, and timing are triggered by the signal of input, so as to calculate the carrier frequency and arteries and veins of optical signal
Width is rushed, from the data for demodulating correlation.The STC89C51 of the single-chip microcomputer two connection crystal oscillator of pin 18 and 19, the present invention is adopted
11.0592M quartz oscillators are used, in order to strengthen the antijamming capability of outside oscillating circuit, function more easily as oscillating circuit
Shake, usually need to connect starting of oscillation electric capacity at crystal two ends.The STC89C51 of the single-chip microcomputer two connection reset circuit of pin 9, resets
Circuit is by the way of high level reset, when reseting pin is plus the high level signal for continuing at least two machine cycles, so that it may
To trigger the reset of single-chip microcomputer two.Program pointer will be jumped at 0000H after single-chip microcomputer two resets, and all control registers will
Default value is restored to, all user data will be eliminated.Wherein reset circuit is divided into electrification reset and hand-reset, monolithic
Electricity is typically necessary electrification reset on machine two.In order to ensure the reliability service of system and the convenience of debugging, the design is using collection
Into reset circuit, i.e., upper electricity automatically resets, it may be necessary to carry out hand-reset.
As shown in Figure 3:Light secret key gate control system verification method, comprises the following steps:
The first step:Start;
Second step:Initiating hardware;
3rd step:Timer is initialized;
4th step:Encoded digital information;
5th step:Judge whether LED has data transmission;
6th step:If LED has data transmission, into the 7th step;If LED no datas are sent, into the 5th step;
7th step:Light-sensitive element is received, into the 8th step;Access to information database data, into the 13rd step;
8th step:Timer starts;
9th step:Judge timing;
Tenth step:If timing, into the 11st step;If not timing, into the 9th step;
11st step:Calculate light source carrier frequency and dutycycle;
12nd step:Decoding data, into the 16th step;
13rd step:Find identity;
14th step:Compare identity information;
15th step:Judge that information is compared whether to terminate;If information is compared and is not over, into the 14th step;If
Information, which is compared, to be terminated, into the 16th step;
16th step:Judge whether information passes through;If information passes through, user's information is recorded, passes through gate inhibition;If letter
Breath does not pass through, and alarms, into the 17th step;
17th step:Terminate.
For the ordinary skill in the art, simply the present invention is exemplarily described for specific embodiment,
The obvious present invention, which is implemented, to be not subject to the restrictions described above, and is entered as long as employing the inventive concept and technical scheme of the present invention
The improvement of capable various unsubstantialities, or it is not improved by the present invention design and technical scheme directly apply to other occasions
, within protection scope of the present invention.
Claims (2)
1. smooth secret key gate control system, including transmitting terminal and receiving terminal, transmitting terminal send signal to receiving terminal, it is characterised in that:Hair
Sending end includes single-chip microcomputer one and key information transmitting terminal, and single-chip microcomputer one connects pull-up resistor R1 a to VCC, and single-chip microcomputer one is connected
The grid of FET is connected with single-chip microcomputer one, passed through as the key information transmitting terminal for sending data, the grid of FET
Single-chip microcomputer one controls LED output state;Single-chip microcomputer one is encoded the information of representative capacity, and the information after coding is passed through
Single-chip microcomputer one is loaded into LED, is sent data by LED;Single-chip microcomputer one connects external crystal oscillator, and single-chip microcomputer one connects
Connect reset circuit of SCM;Receiving terminal includes the quick Er Ji Guan ﹑ operational amplifiers of Guang and single-chip microcomputer two;Photodiode concatenation operation
Amplifier, the output end connection single-chip microcomputer two of operational amplifier.
2. smooth secret key gate control system verification method, it is characterised in that:Comprise the following steps:
The first step:Start;
Second step:Initiating hardware;
3rd step:Timer is initialized;
4th step:Encoded digital information;
5th step:Judge whether LED has data transmission;
6th step:If LED has data transmission, into the 7th step;If LED no datas are sent, into the 5th step;
7th step:Light-sensitive element is received, into the 8th step;Access to information database data, into the 13rd step;
8th step:Timer starts;
9th step:Judge timing;
Tenth step:If timing, into the 11st step;If not timing, into the 9th step;
11st step:Calculate light source carrier frequency and dutycycle;
12nd step:Decoding data, into the 16th step;
13rd step:Find identity;
14th step:Compare identity information;
15th step:Judge that information is compared whether to terminate;If information is compared and is not over, into the 14th step;If information
Comparison terminates, into the 16th step;
16th step:Judge whether information passes through;If information passes through, user's information is recorded, passes through gate inhibition;If information does not have
Pass through, alarm, into the 17th step;
17th step:Terminate.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710213192.8A CN106981115A (en) | 2017-04-01 | 2017-04-01 | Light secret key gate control system and its verification method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710213192.8A CN106981115A (en) | 2017-04-01 | 2017-04-01 | Light secret key gate control system and its verification method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106981115A true CN106981115A (en) | 2017-07-25 |
Family
ID=59343707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710213192.8A Pending CN106981115A (en) | 2017-04-01 | 2017-04-01 | Light secret key gate control system and its verification method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106981115A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102677969A (en) * | 2012-04-28 | 2012-09-19 | 深圳光启创新技术有限公司 | Photon key and light-operated door lock matched with same |
CN102737423A (en) * | 2012-06-05 | 2012-10-17 | 深圳光启创新技术有限公司 | Wide-receiving-angle optically controlled door lock |
CN103310505A (en) * | 2012-03-15 | 2013-09-18 | 深圳光启创新技术有限公司 | Control method of access control system |
CN205451233U (en) * | 2016-03-10 | 2016-08-10 | 文成县刀锋科技有限公司 | Access control system based on visible light communication |
US20180082577A1 (en) * | 2015-10-10 | 2018-03-22 | Videx, Inc. | Visible light communication of an access credential in an access control system |
-
2017
- 2017-04-01 CN CN201710213192.8A patent/CN106981115A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103310505A (en) * | 2012-03-15 | 2013-09-18 | 深圳光启创新技术有限公司 | Control method of access control system |
CN102677969A (en) * | 2012-04-28 | 2012-09-19 | 深圳光启创新技术有限公司 | Photon key and light-operated door lock matched with same |
CN102737423A (en) * | 2012-06-05 | 2012-10-17 | 深圳光启创新技术有限公司 | Wide-receiving-angle optically controlled door lock |
US20180082577A1 (en) * | 2015-10-10 | 2018-03-22 | Videx, Inc. | Visible light communication of an access credential in an access control system |
CN205451233U (en) * | 2016-03-10 | 2016-08-10 | 文成县刀锋科技有限公司 | Access control system based on visible light communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103927802B (en) | Door lock control method and system | |
US9780874B2 (en) | Light signal-based information processing method and device | |
US7366916B2 (en) | Method and apparatus for an encrypting keyboard | |
CN206431720U (en) | Wireless intelligent access control system | |
CN104217480A (en) | Intelligent entrance guard system based on fingerprint and finger vein joint recognition | |
CN104157063A (en) | Entrance guard system and controlling method thereof | |
Su et al. | {USB} snooping made easy: crosstalk leakage attacks on {USB} hubs | |
CN103259664A (en) | Nfc dynamic password chip and working method thereof | |
CN107038831A (en) | A kind of burglary-resisting system based on Internet of Things | |
CN104778774A (en) | Bluetooth integrated control machine and control method with Bluetooth mobile phone replacing RFID card | |
CN205068524U (en) | Intelligent gate inhibition system | |
WO2015032255A1 (en) | Intelligent key device, mobile terminal and dynamic password output method and system | |
CN208569672U (en) | Fingerprint bio identification intelligent IC card and fingerprint recognition system | |
CN203311418U (en) | Mobile terminal with encrypted radio frequency | |
CN106981115A (en) | Light secret key gate control system and its verification method | |
CN204791236U (en) | Light -operated lock system of intelligent terminal | |
CN107516215A (en) | The intelligent POS terminal and method of PIN code can be inputted safely | |
CN204731833U (en) | Mobile payment device | |
CN203206256U (en) | A mobile storage device | |
CN205862388U (en) | Password smart lock long-distance management system based on Wi Fi Yu Bluetooth technology | |
CN104464029A (en) | Single-chip microcomputer infrared remote-control code lock | |
CN201041672Y (en) | A biological control encryption storage device system | |
CN202663402U (en) | Visible light communication system based on time division multiple access | |
CN109635600B (en) | Novel encrypted USB flash disk and encryption protection mode thereof | |
CN208141428U (en) | A kind of movable storage device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170725 |
|
RJ01 | Rejection of invention patent application after publication |