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

Access control system and control method thereof Download PDF

Info

Publication number
CN103310508B
CN103310508B CN201210068156.4A CN201210068156A CN103310508B CN 103310508 B CN103310508 B CN 103310508B CN 201210068156 A CN201210068156 A CN 201210068156A CN 103310508 B CN103310508 B CN 103310508B
Authority
CN
China
Prior art keywords
visible light
light signal
stem
port
control method
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.)
Active
Application number
CN201210068156.4A
Other languages
Chinese (zh)
Other versions
CN103310508A (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

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 technical field of visible light communication, particularly relate to a kind of control method based on gate control system and gate control system.
Background technology
Visible light communication technology, is that the high speed light and shade flash signal utilizing light emitting diode etc. to send carrys out transmission information, is connected on lighting device by the wire device of high-speed Internet, and inserting attaching plug can use.The system utilizing this technology to make can cover the scope that indoor light reaches, and computer does not need electric wire to connect, and thus has DEVELOPMENT PROSPECT widely.But visible ray technology is not also applied in gate control system at present.
Existing electronic controllable door lock mainly contains magnetic card, IC-card, TM card and electronic lock of radio frequency card.This kind of door lock is responded to by magnetic card or REID is unblanked, and is mainly used in the higher system of security requirement.But because radiofrequency signal is easily detected, and magnetic card is easily cracked, therefore there is potential safety hazard in existing electronic lock; And generally, the transmitting terminal of the corresponding identical type of same door lock, thus reduce Consumer'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 terminal, thus improve Consumer's Experience.
In order to solve the problems of the technologies described above, embodiments provide a kind of control method of gate control system, 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, receives visible light signal corresponding to stem with this serial ports;
When the visible light signal that checking receives and the Condition Matching preset, control door lock and unlock.
Another embodiment of the present invention additionally provides a kind of gate control system, comprising:
Interface, receives the stem of visible light signal and the visible light signal of mobile phone transmission with universaling I/O port, receives the visible light signal of light pen transmission with serial ports;
The central processing unit be connected with described interface, for verifying whether the visible light signal of described interface mates with the condition preset, upon a match, the door lock controlling to be connected with this central processing unit unlocks.
In the gate control system that the embodiment of the present invention provides, gate control system control end receives the stem from the visible light signal of different transmitting terminal with universaling I/O port, determine that the stem of visible light signal is from mobile phone or light pen, if source is mobile phone, adopt the receive mode of mobile phone to receive visible light signal; If 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, thus improves Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the control method process flow diagram of a kind of gate control system that the embodiment of the present invention one provides;
Fig. 2 is the control method process flow diagram of a kind of gate control system that the embodiment of the present invention two provides;
Fig. 3 is a kind of gate control system structural representation that the embodiment of the present invention three provides;
Fig. 4 is a kind of gate control system structural representation that the embodiment of the present invention four provides.
Embodiment
Below in conjunction with the accompanying drawing in embodiment of the present invention, be clearly and completely described the technical scheme in embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment one,
See Fig. 1, be the control method process flow diagram of a kind of gate control system that the embodiment of the present invention one provides, this control method comprises:
S11: visible light signal receiving port is set to general purpose I/O (input/output, input and output) mouth, i.e. universaling I/O port initialization.Such as, UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receive/dispensing device) port is set to I/O mouth.
Be understandable that, in concrete implementation process, also need to carry out initialization operation to CPU.
S12:I/O mouth receives the stem of visible light signal, determines the source of stem.Such as, default information and stem are compared, judge whether this stem unblanks to indicate, if so, determines that the source of stem is mobile phone or light pen.
S13: if know that the source of stem is mobile phone from S12, then receive visible light signal corresponding to stem with universaling I/O port.
S14: if know that the source of stem is light pen from S12, then universaling I/O port is replaced by serial ports, receives visible light signal corresponding to stem with this serial ports.
S15: verify the visible light signal that S13 or S14 receives, when the visible light signal received and the Condition Matching preset, controls door lock and unlocks.
In the present embodiment, receive the stem from the visible light signal of different transmitting terminal with universaling I/O port, determine that the stem of visible light signal is from mobile phone or light pen, if source is mobile phone, adopt the receive mode of mobile phone to receive visible light signal; If source is light pen, then receive visible light signal with the receive mode of light pen, the receiving end that therefore gate control system control end can be corresponding different, thus improve Consumer's Experience.
Embodiment two,
See Fig. 2, be the control method process flow diagram of a kind of gate control system that the embodiment of the present invention two provides, this control method comprises:
S21: visible light signal receiving port is set to general purpose I/O (input/output, input and output) mouth, i.e. I/O mouth initialization.Such as, UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receive/dispensing device) port is set to I/O mouth.
Be understandable that, in concrete implementation process, also need to carry out initialization operation to CPU.
S22:I/O mouth receives the stem of visible light signal, judges whether this stem unblanks to indicate, if so, then determines the source of stem.Such as, default information and stem are compared, determine that the source of stem is mobile phone or light pen.
S23: if know that the source of stem is mobile phone from S22, then receive visible light signal corresponding to stem with universaling I/O port.
S24: if know that the source of stem is light pen from S22, 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 that S23 or S24 receives 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; Amplifieroperation is carried out to this voltage signal; Then the voltage signal after amplification is carried out decoding and cyclic redundancy check (CRC) as numeral, obtain binary data.
S26: the binary data be converted to and the condition preset are compared, judges whether binary data mates with the condition preset, if coupling, performs step S27; Otherwise, perform step S28.
Wherein, binary data refers to the Condition Matching preset: binary data is identical with the condition preset or there is corresponding relation.
S27: control door lock and perform unlocking operation.
S28: send authentication failed prompt tone.
The present embodiment two is relative to embodiment one, the pre-conditioned checking data namely prestored is binary data, therefore the visible light signal of reception is needed to decode, be converted to binary data, then the binary data be converted to and the checking data prestored are compared, if the structure of comparison is not mated, then send authentication failed prompting, to improve Consumer's Experience further.
Embodiment three,
See Fig. 3, be a kind of gate control system structural representation that the embodiment of the present invention three provides, this gate control system comprises:
Interface 31, receives the stem of visible light signal and the visible light signal of mobile phone transmission with universaling I/O port 311, receives the visible light signal of light pen transmission with serial ports 312;
The central processing unit 32 be connected with interface 31, for verifying whether the visible light signal that interface 31 receives mates with the condition preset, upon a match, the door lock 33 controlling to be connected with this central processing unit 32 unlocks.
Wherein, central processing unit 32 comprises:
Conversion subelement 321, for converting the visible light signal of described interface to binary data;
Checking subelement 322, for verifying whether the binary data that conversion subelement 321 is converted to mates with the condition preset, and sends the result;
Control subelement 323, when the result for receiving from described authentication unit 321 being match information, controlling connected door lock 33 and performing unlocking action.
The gate control system that the present embodiment provides can receive the visible light signal that different transmitting terminal sends, and relative to the transmitting terminal of the corresponding identical type of same gate control system, improves the dirigibility that user selects transmitting terminal, thus improves Consumer's Experience.
Embodiment four,
See Fig. 4, be a kind of gate control system structural representation that the embodiment of the present invention four provides, relative to embodiment three, this gate control system central processing unit 32 also comprises:
The alarm part-unit 324 that checking subelement 322 connects, for from the result that receives of checking subelement 322 for not match information time, send authentication failed prompt tone.
Relative to embodiment three, owing to adding alarm part-unit 324, the situation avoiding malice repeatedly to unblank occurs, thus improves the security of user further.
Above disclosedly be only a kind of better embodiment of the present invention, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (7)

1. a control method for 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, receives visible light signal corresponding to stem with this serial ports;
When the visible light signal that checking receives and the Condition Matching preset, control door lock unlocks, specifically comprise: convert the visible light signal of reception to current signal, convert described current signal to voltage signal, amplifieroperation is carried out to described voltage signal, using the voltage signal after amplification as digital signal, this digital signal is decoded and cyclic redundancy check (CRC), obtain binary data, and this binary data and the condition preset are compared, when binary data and the Condition Matching preset, control door lock and unlock.
2. control method according to claim 1, is characterized in that, also comprises before described method:
Visible light signal receiving port is set to universaling I/O port.
3. control method according to claim 1, is characterized in that, described binary data comprises with described default Condition Matching: described binary data is identical with described default condition or there is corresponding relation.
4. control method according to claim 1, is characterized in that, described method also comprises:
When the visible light signal that checking receives does not mate with the condition preset, send authentication failed prompt tone.
5. control method according to claim 1, is characterized in that, described serial ports is UART port.
6. a gate control system, is characterized in that, comprising:
Interface, receives the stem of visible light signal and the visible light signal of mobile phone transmission with universaling I/O port, receives the visible light signal of light pen transmission with serial ports;
The central processing unit be connected with described interface, for verifying whether the visible light signal of described interface mates with the condition preset, upon a match, the door lock controlling to be connected with this central processing unit unlocks, and this central processing unit comprises:
Conversion subelement, for converting the visible light signal of described interface to binary data;
Checking subelement, for verifying whether described binary data mates with the condition preset, and sends the result;
Control subelement, for when the result received from described checking subelement is match information, controls connected door lock and perform unlocking action.
7. gate control system according to claim 6, is characterized in that, described central processing unit also comprises:
Alarm part-unit, for when the result received from described checking subelement is for not match information, sends 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 CN103310508A (en) 2013-09-18
CN103310508B true 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
CN103310508A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
US20160255072A1 (en) Instruction information transmission and reception methods and devices thereof
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
CN104527567A (en) Automobile intelligent key system and using method thereof on basis of bluetooth low energy (BLE)
CN104378145A (en) Pairing method and system of Bluetooth device
CN106936476B (en) Wireless charging method, wireless charging equipment and terminal
CN103295284A (en) LED (Light Emitting Diode)-based communication method and light-controlled mobile terminal
CN103944723A (en) Bluetooth device authentication method and Bluetooth devices
CN105516889A (en) Bluetooth connection method and terminal
CN107730678A (en) A kind of intelligent unlocking method and system
CN102624742A (en) Method for enhancing security of communication between mobile equipment and home intelligent terminal
CN104660307A (en) Encrypted wireless communication system based on near field magnetic relay and user soft reset
CN105022948A (en) Control method of intelligent watch, intelligent watch and terminal
CN102917357A (en) Authentication method and device
CN104794788A (en) Internet application system based on radio-frequency identification technology and realization method of internet application system
CN103310508B (en) Access control system and control method thereof
CN103078738A (en) Dynamic password generation device and adapter
CN103152464B (en) Equipment, method and system of obtaining fixed phone calling information through wireless way
CN103793979A (en) Method for upgrading photon receiving end
CN103824393A (en) Payment terminal, system for carrying out information interaction based on POS machine and correlation method
CN204010076U (en) A kind of electronic lock that utilizes mobile terminal to unblank
CN204031142U (en) A kind of and single ripple dicode launches supporting receiving system
CN102957454B (en) Method and system for utilizing magnetic bidirectional communication
CN203368667U (en) Television with children lock function and television system
CN103902496A (en) Device and method for USB KEY protocol conversion

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.