CN103310508A - Access control system and control method thereof - Google Patents

Access control system and control method thereof Download PDF

Info

Publication number
CN103310508A
CN103310508A CN2012100681564A CN201210068156A CN103310508A CN 103310508 A CN103310508 A CN 103310508A CN 2012100681564 A CN2012100681564 A CN 2012100681564A CN 201210068156 A CN201210068156 A CN 201210068156A CN 103310508 A CN103310508 A CN 103310508A
Authority
CN
China
Prior art keywords
visible light
light signal
stem
control method
binary data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012100681564A
Other languages
Chinese (zh)
Other versions
CN103310508B (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.)
Kuang Chi Intelligent Photonic Technology Ltd
Original Assignee
Kuang Chi Innovative Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kuang Chi Innovative Technology Ltd filed Critical Kuang Chi Innovative Technology Ltd
Priority to CN201210068156.4A priority Critical patent/CN103310508B/en
Publication of CN103310508A publication Critical patent/CN103310508A/en
Application granted granted Critical
Publication of CN103310508B publication Critical patent/CN103310508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an access control system and a control method thereof. The control method comprises the steps of: receiving a header of a visible light signal with a universal I/O (input/output) interface to determine the source of the header; if the source of the header is a mobile phone, receiving a visible light signal corresponding to the header with the universal I/O interface; if the source of the header is a light pen, changing the universal I/O interface to a serial port, and receiving the visible light signal corresponding to the header with the serial port; and controlling a door lock to be unlocked when verifying that the received visible light signal is matched with the preset conditions. By adopting the access control system and the control method thereof, the visible light signals from different sending ends can be received, thus improving the user experience.

Description

A kind of control method of gate control system and gate control system
Technical field
The present invention relates to the visible light communication technical field, relate in particular to a kind of control method based on gate control system and gate control system.
Background technology
The visible light communication technology is that the high speed light and shade flash signal of utilizing light emitting diode etc. to send is come transmission information, and the wire device of high-speed Internet is connected on the lighting device, inserts attaching plug and can use.The system that utilizes this technology to make can cover the scope that indoor light reaches, and computer does not need electric wire to connect, thereby has widely DEVELOPMENT PROSPECT.But the visible light technology also is not applied in the gate control system at present.
Existing electronics controllable door lock mainly contains magnetic card, IC-card, TM card and electronic lock of radio frequency card.This class door lock is unblanked by magnetic card induction or REID, is mainly used in the higher system of security requirement.But because radiofrequency signal is easily detected, and magnetic card easily is cracked, and therefore there is potential safety hazard in existing electronic lock; And generally speaking, the transmitting terminal of the corresponding identical type of same door lock, thus reduced user's experience.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of control method based on gate control system and gate control system are provided, can improve the security of gate control system, and this gate control system can receive the visible light signal from different transmitting terminals, experience thereby improve the user.
In order to solve the problems of the technologies described above, the embodiment of the invention provides a kind of control method of gate control system, and described control method comprises:
Receive the stem of visible light signal with universaling I/O port, determine the source of described stem;
If the source of stem is mobile phone, then receive visible light signal corresponding to stem with described universaling I/O port;
If the source of stem is light pen, then described universaling I/O port is replaced by serial ports, receive visible light signal corresponding to stem with this serial ports;
When the visible light signal of checking reception and default Condition Matching, the release of control door lock.
Another embodiment of the present invention also provides a kind of gate control system, comprising:
Interface receives the stem of visible light signal and the visible light signal that mobile phone sends with universaling I/O port, receives the visible light signal that light pen sends with serial ports;
The central processing unit that is connected with described interface is used for verifying whether the visible light signal that described interface receives mates with default condition, when coupling, and the door lock release that control is connected with this central processing unit.
In the gate control system that the embodiment of the invention provides, the gate control system control end is with the stem of universaling I/O port reception from the visible light signal of different transmitting terminals, the stem of determining visible light signal is from mobile phone or light pen, if the source is mobile phone, adopts the receive mode of mobile phone to receive visible light signal; If the source is light pen, then receive visible light signal with the receive mode of light pen, therefore gate control system control end can corresponding different types of receiving end, experiences thereby improve the user.
Description of drawings
In order to be illustrated more clearly in embodiment of the present invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the control method process flow diagram of a kind of gate control system of providing of the embodiment of the invention one;
Fig. 2 is the control method process flow diagram of a kind of gate control system of providing of the embodiment of the invention two;
Fig. 3 is a kind of gate control system structural representation that the embodiment of the invention three provides;
Fig. 4 is a kind of gate control system structural representation that the embodiment of the invention four provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiments.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one,
Referring to Fig. 1, the control method process flow diagram of a kind of gate control system that provides for the embodiment of the invention one, this control method comprises:
S11: the visible light signal receiving port is set to general purpose I/O (input/output, input and output) mouthful, i.e. universaling I/O port initialization.For example, UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver ﹠ dispensing device) port is set to the I/O mouth.
Be understandable that, in concrete implementation process, also need CPU is carried out initialization operation.
The S12:I/O mouth receives the stem of visible light signal, determines the source of stem.For example, default information and stem are compared, judge whether this stem unblanks to indicate, if the source of determining stem is mobile phone or light pen.
S13: if know that from S12 the source of stem is mobile phone, then receive visible light signal corresponding to stem with universaling I/O port.
S14: if know that from S12 the source of stem is light pen, then universaling I/O port is replaced by serial ports, receives visible light signal corresponding to stem with this serial ports.
S15: the visible light signal that S13 or S14 receive is verified, when the visible light signal that receives during with default Condition Matching, the release of control door lock.
In the present embodiment, with the stem of universaling I/O port reception from the visible light signal of different transmitting terminals, the stem of determining visible light signal is from mobile phone or light pen, if the source is mobile phone, adopts the receive mode of mobile phone to receive visible light signal; If the source is light pen, then receive visible light signal with the receive mode of light pen, therefore gate control system control end can corresponding different receiving ends, experience thereby improve the user.
Embodiment two,
Referring to Fig. 2, the control method process flow diagram of a kind of gate control system that provides for the embodiment of the invention two, this control method comprises:
S21: the visible light signal receiving port is set to general purpose I/O (input/output, input and output) mouthful, i.e. I/O mouth initialization.For example, UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver ﹠ dispensing device) port is set to the I/O mouth.
Be understandable that, in concrete implementation process, also need CPU is carried out initialization operation.
The S22:I/O mouth receives the stem of visible light signal, judges this stem sign of whether unblanking, if then determine the source of stem.For example, default information and stem are compared, the source of determining stem is mobile phone or light pen.
S23: if know that from S22 the source of stem is mobile phone, then receive visible light signal corresponding to stem with universaling I/O port.
S24: if know that from S22 the source of stem is light pen, then universaling I/O port is replaced by serial ports, receives visible light signal corresponding to stem with this serial ports.
S25: the visible light signal of S23 or S24 reception is converted to binary data.
Wherein, to be converted to binary process as follows for visible light signal: convert visible light signal to current signal; Convert described current signal to voltage signal; This voltage signal is carried out amplifieroperation; Then the voltage signal after will amplifying is decoded and cyclic redundancy check (CRC) as numeral, obtains binary data.
S26: the binary data and the default condition that are converted to are compared, judge whether binary data and default condition mate, if coupling, execution in step S27; Otherwise, execution in step S28.
Wherein, binary data refers to default Condition Matching: binary data is identical or have a corresponding relation with default condition.
S27: the control door lock is carried out unlocking operation.
S28: send the authentication failed prompt tone.
The present embodiment two is with respect to embodiment one, the pre-conditioned checking data that namely prestores is binary data, therefore the visible light signal that receives need to be decoded, be converted to binary data, then the binary data that is converted to and the checking data that prestores are compared, if the structure of comparison is not mated, then send the authentication failed prompting, experience with further raising user.
Embodiment three,
Referring to Fig. 3, be a kind of gate control system structural representation that the embodiment of the invention three provides, this gate control system comprises:
Interface 31 receives the stem of visible light signal and the visible light signal that mobile phone sends with universaling I/O port 311, receives the visible light signal that light pen sends with serial ports 312;
Whether the central processing unit 32 that is connected with interface 31 is used for checking interface 31 visible light signal that receives and the condition of presetting and mates, when coupling, and door lock 33 releases that control is connected with this central processing unit 32.
Wherein, central processing unit 32 comprises:
Conversion subelement 321 is used for converting the visible light signal that described interface receives to binary data;
Checking subelement 322 is used for verifying whether the binary data that conversion subelement 321 is converted to mates with default condition, and sends the result;
Control subelement 323 when being match information for the result that receives from described authentication unit 321, being controlled connected door lock 33 and is carried out unlocking action.
The gate control system that the present embodiment provides can receive the visible light signal that different transmitting terminals send, and with respect to the transmitting terminal of the corresponding identical type of same gate control system, the dirigibility that has improved the user selection transmitting terminal is experienced thereby improve the user.
Embodiment four,
Referring to Fig. 4, be a kind of gate control system structural representation that the embodiment of the invention four provides, with respect to embodiment three, this gate control system central processing unit 32 also comprises:
The warning subelement 324 that checking subelement 322 connects when being used for the result that receives from checking subelement 322 for match information not, sends the authentication failed prompt tone.
With respect to embodiment three, owing to having increased warning subelement 324, the situation of avoiding repeatedly malice to unblank occurs, thereby further improves user's security.
Above disclosed is a kind of better embodiment of the present invention only, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to claim of the present invention still belongs to the scope that the present invention is contained.

Claims (10)

1. the control method of a gate control system is characterized in that, described control method comprises:
Receive the stem of visible light signal with universaling I/O port, determine the source of described stem;
If the source of stem is mobile phone, then receive visible light signal corresponding to stem with described universaling I/O port;
If the source of stem is light pen, then described universaling I/O port is replaced by serial ports, receive visible light signal corresponding to stem with this serial ports;
When the visible light signal of checking reception and default Condition Matching, the release of control door lock.
2. control method according to claim 1 is characterized in that, also comprises before the described method:
The visible light signal receiving port is set to universaling I/O port.
3. control method according to claim 1 is characterized in that, when the visible light signal of described checking reception and default Condition Matching, the release of control door lock specifically comprises:
The visible light signal that receives is converted to binary data, and this binary data and default condition are compared, when binary data and described default Condition Matching, the release of control door lock.
4. control method according to claim 3 is characterized in that, described visible light signal with reception is converted to binary data, specifically comprises:
Convert the visible light signal that receives to current signal;
Convert described current signal to voltage signal;
Described voltage signal is carried out amplifieroperation;
Voltage signal after amplifying as digital signal, is decoded and cyclic redundancy check (CRC) to this digital signal, obtain binary data.
5. control method according to claim 3 is characterized in that, described binary data comprises with described default Condition Matching: described binary data is identical with described default condition or have a corresponding relation.
6. control method according to claim 1 is characterized in that, described method also comprises:
When the visible light signal of checking reception and default Condition Matching, send the authentication failed prompt tone.
7. control method according to claim 1 is characterized in that, described serial ports is the UART port.
8. a gate control system is characterized in that, comprising:
Interface receives the stem of visible light signal and the visible light signal that mobile phone sends with universaling I/O port, receives the visible light signal that light pen sends with serial ports;
The central processing unit that is connected with described interface is used for verifying whether the visible light signal that described interface receives mates with default condition, when coupling, and the door lock release that control is connected with this central processing unit.
9. gate control system according to claim 8 is characterized in that, described central processing unit comprises:
The conversion subelement is used for converting the visible light signal that described interface receives to binary data;
The checking subelement is used for verifying whether described binary data and default condition mate, and sends the result;
The control subelement when being match information for the result that receives from described authentication unit, being controlled connected door lock and is carried out unlocking action.
10. gate control system according to claim 9 is characterized in that, described central processing unit also comprises:
The warning subelement when being used for the result that receives from described checking subelement for match information not, sends the authentication failed prompt tone.
CN201210068156.4A 2012-03-15 2012-03-15 Access control system and control method thereof Active CN103310508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210068156.4A CN103310508B (en) 2012-03-15 2012-03-15 Access control system and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210068156.4A CN103310508B (en) 2012-03-15 2012-03-15 Access control system and control method thereof

Publications (2)

Publication Number Publication Date
CN103310508A true CN103310508A (en) 2013-09-18
CN103310508B CN103310508B (en) 2015-02-04

Family

ID=49135682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210068156.4A Active CN103310508B (en) 2012-03-15 2012-03-15 Access control system and control method thereof

Country Status (1)

Country Link
CN (1) CN103310508B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1405426A (en) * 2002-10-30 2003-03-26 上海奥达光电子科技有限公司 Photoelectric intelligent door safety system
WO2004089011A1 (en) * 2003-03-28 2004-10-14 Wildseed, Ltd. A wireless mobile phone with authenticated mode of operation including finger print based authentication
CN1561123A (en) * 2004-02-24 2005-01-05 胡宴宾 Key combined with mobile phone and mobile phone chip inserted type strick door lock
CN201539152U (en) * 2009-10-26 2010-08-04 范根喜 Photoelectric code lock system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1405426A (en) * 2002-10-30 2003-03-26 上海奥达光电子科技有限公司 Photoelectric intelligent door safety system
WO2004089011A1 (en) * 2003-03-28 2004-10-14 Wildseed, Ltd. A wireless mobile phone with authenticated mode of operation including finger print based authentication
CN1561123A (en) * 2004-02-24 2005-01-05 胡宴宾 Key combined with mobile phone and mobile phone chip inserted type strick door lock
CN201539152U (en) * 2009-10-26 2010-08-04 范根喜 Photoelectric code lock system

Also Published As

Publication number Publication date
CN103310508B (en) 2015-02-04

Similar Documents

Publication Publication Date Title
CN102750760B (en) Information transmission method of entrance guard system, and entrance guard system
CN102693567B (en) Coding-decoding method based on communication of access control system
US20140295761A1 (en) System and method for secure pairing of bluetooth devices
JP2016505967A (en) Robust cable type detection for USB power transfer
TWI606332B (en) Debug control system and method thereof
CN104527567A (en) Automobile intelligent key system and using method thereof on basis of bluetooth low energy (BLE)
CN103295284A (en) LED (Light Emitting Diode)-based communication method and light-controlled mobile terminal
CN105516889A (en) Bluetooth connection method and terminal
CN106450650B (en) Electronic device, communication device and wireless communication module antenna gain strengthening method
CN104660307A (en) Encrypted wireless communication system based on near field magnetic relay and user soft reset
CN102104749B (en) System and method for upgrading television
CN103152464B (en) Equipment, method and system of obtaining fixed phone calling information through wireless way
CN103310509A (en) Communication method of access control system
CN103078738A (en) Dynamic password generation device and adapter
CN103310508B (en) Access control system and control method thereof
CN103310505A (en) Control method of access control system
CN204010076U (en) A kind of electronic lock that utilizes mobile terminal to unblank
AU2018200864B2 (en) Multi-use near field communication front end on a point of sale system
CN103902496A (en) Device and method for USB KEY protocol conversion
CN102957454B (en) Method and system for utilizing magnetic bidirectional communication
CN100356359C (en) Connector between processor and user recognition card
CN103310506A (en) Communication method of access control system
CN112068893A (en) USB device and method for distinguishing mobile device operating systems
CA3024126A1 (en) Device pairing using a secure zone
CN102710328A (en) Method and system for modifying fingerprint information

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
ASS Succession or assignment of patent right

Owner name: SHENZHEN GUANGQI INTELLIGENT PHOTONICS TECHNOLOGY

Free format text: FORMER OWNER: SHENZHEN KUANG-CHI INNOVATION TECHNOLOGY CO., LTD.

Effective date: 20150717

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150717

Address after: 518000 Guangdong city of Shenzhen province Futian District Shennan Road and CaiTian Road intersection East Xintiandi Plaza C block 2007-27

Patentee after: Shenzhen Guang Qi intelligent photonic Technology Co., Ltd.

Address before: 518034 A international business center, No. 1061, Xiang Mei Road, Guangdong, Shenzhen, Futian District, China 18B

Patentee before: Shenzhen Kuang-Chi Innovation Technology Co., Ltd.