CN103310509A - Communication method of access control system - Google Patents
Communication method of access control system Download PDFInfo
- Publication number
- CN103310509A CN103310509A CN2012100681579A CN201210068157A CN103310509A CN 103310509 A CN103310509 A CN 103310509A CN 2012100681579 A CN2012100681579 A CN 2012100681579A CN 201210068157 A CN201210068157 A CN 201210068157A CN 103310509 A CN103310509 A CN 103310509A
- Authority
- CN
- China
- Prior art keywords
- visible light
- light signal
- stem
- information
- unblanking
- 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
Links
Images
Landscapes
- Optical Communication System (AREA)
Abstract
The invention discloses a communication method of an access control system. The communication method comprises the steps that a sending end sends a visible light signal representing a header corresponding to unlocking information, and then sends the visible light signal representing unlocking information; a receiving end receives the visible light signal representing the header 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, the visible light signal corresponding to the header is received by the universal I/O interface; if the source of the header is a photon client, the universal I/O interface is changed to a serial port, and the visible light signal corresponding to the header is received by the serial port; and the door lock is controlled to be unlocked when verifying that the received visible light signal is matched with the preset conditions. The same access control system corresponds to different kinds of sending ends by adopting the communication method, thus improving the user experience.
Description
Technical field
The present invention relates to the visible light communication technical field, relate in particular to a kind of communication means of 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 that same door lock is corresponding identical, thus reduced user's experience.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of communication means of gate control system is provided, and can improve the security of gate control system, and same gate control system can corresponding different transmitting terminal, experiences thereby improve the user.
In order to solve the problems of the technologies described above, one embodiment of the invention provides a kind of communication means of gate control system, and this communication means comprises:
Transmitting terminal sends the visible light signal that characterizes the corresponding stem of the information of unblanking, and then sends the visible light signal that characterizes the information of unblanking;
Receiving end receives the visible light signal that characterizes described stem 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 the photon client, 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.
The gate control system communication means that the embodiment of the invention provides, gate control system transmitting terminal at first send the stem of visible light signal with default interface, and then send the visible light signal that characterizes the information of unblanking with the visible light signal send mode; Receiving end is with the stem of universaling I/O port reception from the visible light signal of different transmitting terminals, and the stem of determining visible light signal is from mobile phone or photon client, if the source is mobile phone, adopts the receive mode of mobile phone to receive visible light signal; If the source is the photon client, then receive visible light signal with the receive mode of photon client, therefore gate control system control end can corresponding different receiving ends, experience 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 communication means process flow diagram of a kind of gate control system of providing of the embodiment of the invention one;
Fig. 2 is the communication means process flow diagram of a kind of gate control system of providing of the embodiment of the invention two;
Fig. 3 is the communication means process flow diagram of a kind of gate control system of providing of the embodiment of the invention three.
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.
In embodiment of the present invention, different transmitting terminals is by the information of unblanking with optical signal transmission, because the strong security of light signal, thereby the security that improves gate control system.
Embodiment one,
Referring to Fig. 1, the communication means process flow diagram of a kind of gate control system that provides for the embodiment of the invention one, this communication means comprises:
S101: transmitting terminal sends the visible light signal that characterizes the corresponding stem of the information of unblanking.
Wherein, the information of unblanking can be encrypted message, can be biological information also, such as finger print information.
S102: send the visible light signal that characterizes the information of unblanking.
S103: receiving end 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 S104: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 photon client.
S105: if know that from S104 the source of stem is mobile phone, then receive visible light signal corresponding to stem with universaling I/O port.
S106: if know that from S104 the source of stem is the photon client, then universaling I/O port is replaced by serial ports, receives visible light signal corresponding to stem with this serial ports.
S107: the visible light signal that S105 or S106 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, transmitting terminal sends first the stem of the information of unblanking, and then sends the information of unblanking; Receiving end is with the stem of universaling I/O port reception from the visible light signal of different transmitting terminals, and the stem of determining visible light signal is from mobile phone or photon client, if the source is mobile phone, adopts the receive mode of mobile phone to receive visible light signal; If the source is the photon client, then receive visible light signal with the receive mode of photon client, therefore gate control system control end can corresponding different receiving ends, experience thereby improve the user.
Embodiment two,
Referring to Fig. 2, the communication means process flow diagram of a kind of gate control system that provides for the embodiment of the invention two, this communication means comprises:
S201: transmitting terminal obtains the information of unblanking and the corresponding stem of the information of unblanking.
Concrete, can adopt USB interface to obtain the information of unblanking and the corresponding stem of the information of unblanking from external equipment; Perhaps, directly internally storer obtain the information of unblanking and the corresponding stem of the information of unblanking.
Wherein, the information of unblanking is encrypted message or finger print information.
Wherein, transmitting terminal can be the portable mobile termianls such as photon client or MP3.
S202: dual lock information and stem corresponding to information of unblanking are encoded and cyclic redundancy check (CRC), are converted to binary data, by the Manchester's cde mode described binary data are converted to up and down along trigger pip.
Particularly, within a time cycle, binary data " 1 " is converted to the rising edge trigger pip, " 0 " is converted to the negative edge trigger pip.
In concrete implementation process, if when the information of unblanking is binary data with stem corresponding to information of unblanking, the information of then directly will unblanking and stem corresponding to information of unblanking are converted to up and down along trigger pip.
S203: be general purpose I/O (input/output, input and output) mouthful with serial port setting.
For example, UART (Universal Asynchronous Receiver/Transmitter, Universal Asynchronous Receiver ﹠ dispensing device) port is set to universaling I/O port.
S204: with corresponding the exporting by universaling I/O port along trigger pip up and down of stem, and be loaded on light emitting diode.
S205: send the light signal that characterizes stem by driving light emitting diode along trigger pip up and down.
Concrete, luminous when light emitting diode receives the rising edge trigger pip, not luminous when receiving the negative edge trigger pip.
S206: universaling I/O port is replaced by serial ports.
For example, universaling I/O port is replaced by the UART port.
S207: what the information of will unblanking was corresponding exports by serial ports along trigger pip up and down, and is loaded on light emitting diode.
Concrete, can adopt the mode of RS232 send the information of unblanking corresponding up and down along trigger pip.
S208: send the light signal that characterizes the information of unblanking by driving light emitting diode along trigger pip up and down.
S209: receiving end 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 S210: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 photon client.
S211: if know that from S210 the source of stem is mobile phone, then receive visible light signal corresponding to stem with universaling I/O port.
S212: if know that from S210 the source of stem is the photon client, then universaling I/O port is replaced by serial ports, receives visible light signal corresponding to stem with this serial ports.
S213: the visible light signal of S211 or S212 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.
S214: 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 S215; Otherwise, execution in step S216.
Wherein, binary data refers to default Condition Matching: binary data is identical or have a corresponding relation with default condition.
S215: the control door lock is carried out unlocking operation.
S216: send the authentication failed prompt tone.
The present embodiment two is with respect to embodiment one, the checking data that default condition 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, the communication means process flow diagram of a kind of gate control system that provides for the embodiment of the invention three, this communication means replaces with following steps with respect to embodiment two with S201 to S208:
S301: transmitting terminal obtains the information of unblanking and the corresponding stem of the information of unblanking.
Concrete, can adopt USB interface to obtain the information of unblanking and the corresponding stem of the information of unblanking from external equipment; Perhaps, directly internally storer obtain the information of unblanking and the corresponding stem of the information of unblanking; Perhaps adopt the mode of wireless receiving to obtain the information of unblanking and the corresponding stem of the information of unblanking.
Wherein, the information of unblanking is encrypted message or finger print information.
Wherein, transmitting terminal can be mobile phone.
S302: dual lock information and stem corresponding to information of unblanking are encoded and cyclic redundancy check (CRC), are converted to binary data, by the Manchester's cde mode described binary data are converted to up and down along trigger pip.
Particularly, within a time cycle, binary data " 1 " is converted to the rising edge trigger pip, " 0 " is converted to the negative edge trigger pip.
In concrete implementation process, if when the information of unblanking is binary data with stem corresponding to information of unblanking, the information of then directly will unblanking and stem corresponding to information of unblanking are converted to up and down along trigger pip.
S303: with stem corresponding up and down along trigger pip output and be loaded on signal lamp.
S304: send the visible light signal that characterizes stem by driving signal lamp along trigger pip up and down.
Concrete, luminous when signal lamp receives the rising edge trigger pip, not luminous when receiving the negative edge trigger pip.
S305: what the information of will unblanking was corresponding exports and is loaded on signal lamp along trigger pip up and down.
S306: send the light signal that characterizes the information of unblanking by driving light emitting diode along trigger pip up and down.
In the present embodiment, transmitting terminal adopts first the stem of signal lamp transmission visible light signal, but so that receiving end according to the source of stem with regard to discernible signal, then according to the difference in source, is taked corresponding receive mode; Then adopt signal lamp to send visible light signal.
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 communication means of a gate control system is characterized in that, comprising:
Transmitting terminal sends the visible light signal that characterizes the corresponding stem of the information of unblanking, and then sends the visible light signal that characterizes the information of unblanking;
Receiving end receives the visible light signal that characterizes described stem 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 the photon client, 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. communication means according to claim 1 is characterized in that, also comprises before the described method:
Transmitting terminal obtains the information of unblanking and stem corresponding to this information of unblanking.
3. communication means according to claim 2 is characterized in that, described transmitting terminal obtains after stem corresponding to the information of unblanking and this information of unblanking, and also comprises:
Transmitting terminal dual lock information and stem corresponding to information of unblanking are encoded and cyclic redundancy check (CRC), are converted to binary data;
By the Manchester's cde mode described binary data is converted to up and down along trigger pip.
4. communication means according to claim 1 is characterized in that, described transmitting terminal is the photon client, and described transmitting terminal sends the visible light signal that characterizes the corresponding stem of the information of unblanking, and then sends the visible light signal that characterizes the information of unblanking, and specifically comprises:
The photon client will be unblanked stem corresponding to information by universaling I/O port output and will be loaded on light emitting diode, drive light emitting diode and send the visible light signal that characterizes described stem;
Described universaling I/O port is replaced by serial ports;
The described information exchange of unblanking is crossed described serial ports output and is loaded on light emitting diode, drive light emitting diode and send the visible light signal that characterizes the described information of unblanking.
5. communication means according to claim 4 is characterized in that, described photon client will be unblanked stem corresponding to information by universaling I/O port output and will be loaded on before the light emitting diode, also comprise:
Be universaling I/O port with described serial port setting.
6. communication means according to claim 1 is characterized in that, described transmitting terminal is mobile phone, and described transmitting terminal sends the visible light signal that characterizes the corresponding stem of the information of unblanking, and then sends the visible light signal that characterizes the information of unblanking, and specifically comprises:
To unblank stem corresponding to information output and be loaded on signal lamp of mobile phone drives signal lamp and sends the visible light signal that characterizes described stem;
With the described information output and be loaded on signal lamp of unblanking, drive signal lamp and send the visible light signal that characterizes the described information of unblanking.
7. communication means according to claim 1 is characterized in that, described receiving end also comprises before receiving the visible light signal that characterizes described stem with universaling I/O port:
Receiving end visible light signal receiving port is set to universaling I/O port.
8. communication means 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.
9. communication means according to claim 8 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.
10. communication means according to claim 1 is characterized in that, described method also comprises:
When the visible light signal that the receiving end checking receives and default Condition Matching, send the authentication failed prompt tone.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210068157.9A CN103310509B (en) | 2012-03-15 | 2012-03-15 | A kind of communication means of gate control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210068157.9A CN103310509B (en) | 2012-03-15 | 2012-03-15 | A kind of communication means of gate control system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103310509A true CN103310509A (en) | 2013-09-18 |
CN103310509B CN103310509B (en) | 2016-12-14 |
Family
ID=49135683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210068157.9A Active CN103310509B (en) | 2012-03-15 | 2012-03-15 | A kind of communication means of gate control system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103310509B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104143056A (en) * | 2013-12-31 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity authentication method and system |
CN111464238A (en) * | 2020-03-31 | 2020-07-28 | 京东方科技集团股份有限公司 | Visible light communication method and computer readable medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4144523A (en) * | 1977-11-23 | 1979-03-13 | General Motors Corporation | Digital key system |
CN1383639A (en) * | 2000-04-28 | 2002-12-04 | 索尼公司 | Optical communication appts. and communication method |
CN201037954Y (en) * | 2007-04-05 | 2008-03-19 | 周朝仁 | Wireless digital regulator |
CN101296053A (en) * | 2007-04-25 | 2008-10-29 | 财团法人工业技术研究院 | Method and system for calculating cyclic redundancy check code |
CN201666040U (en) * | 2010-01-25 | 2010-12-08 | 方荣光 | Key of optical coded lock |
CN201763073U (en) * | 2010-03-26 | 2011-03-16 | 梁鑫 | Optical encoding electronic lock |
CN102066675A (en) * | 2008-06-16 | 2011-05-18 | 奥斯兰姆有限公司 | Key with a key light function |
CN102202245A (en) * | 2010-03-23 | 2011-09-28 | 华为技术有限公司 | Method, device and system for processing signals |
CN202012242U (en) * | 2011-03-16 | 2011-10-19 | 顾玥亭 | Light-code lock with key |
-
2012
- 2012-03-15 CN CN201210068157.9A patent/CN103310509B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4144523A (en) * | 1977-11-23 | 1979-03-13 | General Motors Corporation | Digital key system |
CN1383639A (en) * | 2000-04-28 | 2002-12-04 | 索尼公司 | Optical communication appts. and communication method |
CN201037954Y (en) * | 2007-04-05 | 2008-03-19 | 周朝仁 | Wireless digital regulator |
CN101296053A (en) * | 2007-04-25 | 2008-10-29 | 财团法人工业技术研究院 | Method and system for calculating cyclic redundancy check code |
CN102066675A (en) * | 2008-06-16 | 2011-05-18 | 奥斯兰姆有限公司 | Key with a key light function |
CN201666040U (en) * | 2010-01-25 | 2010-12-08 | 方荣光 | Key of optical coded lock |
CN102202245A (en) * | 2010-03-23 | 2011-09-28 | 华为技术有限公司 | Method, device and system for processing signals |
CN201763073U (en) * | 2010-03-26 | 2011-03-16 | 梁鑫 | Optical encoding electronic lock |
CN202012242U (en) * | 2011-03-16 | 2011-10-19 | 顾玥亭 | Light-code lock with key |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104143056A (en) * | 2013-12-31 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity authentication method and system |
CN111464238A (en) * | 2020-03-31 | 2020-07-28 | 京东方科技集团股份有限公司 | Visible light communication method and computer readable medium |
WO2021196785A1 (en) * | 2020-03-31 | 2021-10-07 | 京东方科技集团股份有限公司 | Visible light communication method, visible light communication device, and computer-readable medium |
Also Published As
Publication number | Publication date |
---|---|
CN103310509B (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104952135B (en) | A kind of intelligent terminal Light-control door lock system and application method | |
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 | |
CN106223742A (en) | Intelligence padlock, the method for unlocking of intelligence padlock and intelligence padlock system | |
CN103295284A (en) | LED (Light Emitting Diode)-based communication method and light-controlled mobile terminal | |
CN103810017B (en) | The method of sending and receiving of command information and device thereof | |
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) | |
CN103793261A (en) | Methods and devices for sending and receiving instruction information | |
CN205281615U (en) | Portable electronic lock and electronic lock system | |
CN205080626U (en) | Intelligence lock system based on thing networking | |
CN103997566A (en) | Mobile phone-based remote door opening system and method thereof | |
WO2016146008A1 (en) | Data parsing method, apparatus and system | |
CN102624742A (en) | Method for enhancing security of communication between mobile equipment and home intelligent terminal | |
CN205644713U (en) | Fingerprint lock based on bluetooth control | |
CN103310509A (en) | Communication method of access control system | |
CN205158481U (en) | Electronic key | |
CN202600804U (en) | Door control system based on wireless communication | |
CA3024126C (en) | Device pairing using a secure zone | |
CN103152464B (en) | Equipment, method and system of obtaining fixed phone calling information through wireless way | |
CN202600809U (en) | Wireless communication-based access control system | |
CN204291001U (en) | There is the near field communication tag of encipherment protection and applicable near-field communication control system | |
CN103902496A (en) | Device and method for USB KEY protocol conversion | |
CN103310505A (en) | Control method of access control system | |
CN103310506A (en) | Communication method of access control system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20150911 Address after: 518000 Guangdong city of Shenzhen province Futian District Shennan Road and CaiTian Road intersection East Xintiandi Plaza C block 2007-27 Applicant 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 Applicant before: Shenzhen Kuang-Chi Innovation Technology Co., Ltd. |
|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |