Background technology
Wireless light communication technology is also known as visible ray communication, and the flicker of its high-frequency by LED light source communicates, and have light to represent 1, unglazedly represent 0, its transfer rate is up to gigabit per second.Wireless light communication technology is because its data are not easily disturbed and catch, and optical communication equipment makes simple and should not damage or demagnetization, can be used for making wireless optical encryption key pair.Compared with microwave technology, wireless light communication has quite abundant frequency spectrum resource, and this is that general microwave communication and radio communication are incomparable; Visible light communication can be suitable for any communication protocol, be applicable to any environment simultaneously; In security, it compares traditional magnetic material, without the need to worrying demagnetization problem, more need not worry that Content of Communication is stolen by people; The equipment erection of wireless light communication is convenient flexibly, and with low cost, is applicable to extensive popularization and application.
Internet of Things be one based on information carriers such as internet, conventional telecommunications nets, allow the network that all general physics object implementatio8 that can be independently addressable interconnect.Internet of Things refers to ubiquitous end-equipment and facility, interconnected by various wireless or wired long distance or short distance communication real-time performance, controlled and even the personalized real time on-line monitoring of safety is provided, the management and service function such as location is reviewed, alarm linkage, dispatch control, program management, Long-distance Control, safety precaution, long-range repair and maintenance, online upgrading, statistical report form, decision support, leader's desktop, realize " pipe, control, battalion " integration of efficient, energy-conservation, the safety to equipment, environmental protection.
In prior art, wireless light communication technology is used in Internet of Things, is commonly called as photon Internet of Things.In the gate control system of photon Internet of Things, photon client-side sends ID signal, receives after control termination receives ID signal and forwards ID to access controller, to receipts control end transmission one feedback signal when controller judges there is enabling authority.But because Wei root interface is simplex, cannot two-way communication be realized, after receipts control end I forwards ID by Wei root interface to controller, the feedback signal of access controller cannot be received by this Wei root interface.
Summary of the invention
Embodiment of the present invention technical matters to be solved is, provides a kind of information transferring method and gate control system of gate control system, gate control system can be avoided to receive the restriction of control end by Wiegand signal simplex, and cannot transmit the situation of feedback signal.
In order to solve the problems of the technologies described above, one embodiment of the invention provides a kind of information transferring method of gate control system, comprising:
Receive control termination and receive the visible light signal characterizing identity identification information, described visible light signal is converted to digital signal, with Wei root form, described digital signal is sent to controller;
Controller receives the described digital signal of Wei root form, carries out authentication to described identity identification information, if by authentication, sends high level or low level feedback signal to described receipts control end;
Receive control end and receive described feedback signal by the mode detecting rising edge and negative edge.
Optionally, before with Wei root form described digital signal being sent to controller, also comprise:
Described digital signal is verified.
Optionally, described method also comprises:
The feedback signal receiving control termination receipts is when unblanking instruction, controls electric lock and unlocks.
Optionally, described method also comprises:
Control pilot lamp after described receipts control termination receives feedback signal and send information.
Optionally, described method also comprises:
Control hummer after described receipts control termination receives feedback signal and send information.
In order to solve the problems of the technologies described above, one embodiment of the invention provides a kind of gate control system, comprises the transmitting terminal, receipts control end and the controller that are linked in sequence;
Described transmitting terminal characterizes the visible light signal of identity identification information for sending;
The described photoelectric conversion module received control end and comprise for described visible light signal being converted to electric signal, for sending the first Wei root interface of described electric signal, the first serial of described controller feedback signal is received by the mode detecting rising edge and negative edge, and the control circuit be connected with photoelectric conversion module, the first Wei root interface and first serial respectively;
Described controller comprises the second Wei root interface be connected with described first Wei root interface, the authentication circuit be connected with this second Wei root interface, and be connected with authentication circuit and described first serial connect, for receiving to described the second serial controlled and hold and send high level or low level feedback signal.
Optionally, described receipts control end also comprises the correction verification module be connected with described control circuit, for verifying the visible light signal received.
Optionally, described receipts control end also comprises the pilot lamp be connected with described control circuit.
Optionally, described receipts control end also comprises the hummer be connected with described control circuit.
Wherein, described transmitting terminal comprises photon client-side and mobile phone terminal.
In technique scheme, receive control end with the visible light signal of Wei root form transmission and reception, controller carries out authentication to the visible light signal received, and then sends high level or low level feedback signal by serial ports, thus access controller can be realized and receive control hold between the transmission of feedback information.Avoid and receive the restriction of control end by Wiegand signal simplex, and the situation of feedback signal cannot be transmitted.
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 information transferring method process flow diagram of a kind of gate control system that the embodiment of the present invention one provides, this information transferring method comprises the steps:
S101: receive control termination and receive the visible light signal characterizing identity information.
Identity identification information is user ID information, can be encrypted message, also can be the biological informations such as fingerprint.
S102: receive control end and visible light signal is converted to digital signal.
Concrete, receive control termination and receive the visible light signal carrying identity information, convert visible light signal to current signal, convert current signal to voltage signal, using voltage signal as digital signal.
S103: receive control end, with Wei root form, digital signal is sent to controller.
S104: controller receives the digital signal of Wei root form.
S105: controller carries out authentication to the identity identification information that digital signal is carried.
S106: controller sends high level or low level feedback signal by serial ports to receipts control end.Such as, when authenticating result is that user's lack of competence is opened the door, high level feedback signal is sent; When authenticating result is that user's lack of competence is opened the door, send low level feedback signal.
S107: receive control end and receive by the mode that serial ports detects rising edge and negative edge the feedback signal that controller sends.Such as, when receipts control end detects rising edge feedback signal, then think and unblank to terminate; When receipts control end detects negative edge feedback signal, then think and can unblank.
In the present embodiment, receive control end with the visible light signal of Wei root form transmission and reception, controller carries out authentication to the visible light signal received, and then sends high level or low level feedback signal by serial ports, thus access controller can be realized and receive control hold between the transmission of feedback information.Avoid and receive the restriction of control end by Wiegand signal simplex, and the situation of feedback signal cannot be transmitted.
Embodiment two,
See Fig. 2, be the information transferring method process flow diagram of a kind of gate control system that the embodiment of the present invention two provides, this information transferring method comprises the steps:
S201: receive control termination and receive the visible light signal characterizing identity information.
Identity identification information is user ID information, can be encrypted message, also can be the biological informations such as fingerprint.
S202: receive control end and visible light signal is converted to digital signal.
Concrete, receive control termination and receive the visible light signal carrying identity information, convert visible light signal to current signal, convert current signal to voltage signal, using voltage signal as digital signal.
S203: receive control end and digital signal is verified.Such as, receive control end and parity checking is carried out to digital signal.
S204: receive control end and described digital signal is sent to controller with Wei root 34 form.
Wherein, receive the digital signal that visible light signal also can be converted to Wei root 26 form by control end, or the digital signal of other Wei root form, will not enumerate herein.
S205: controller receives the digital signal of Wei root 34 form.
S206: controller carries out authentication to the identity identification information that digital signal is carried.
S207: controller sends high level or low level feedback signal by serial ports to receipts control end.Such as, when authenticating result is that user's lack of competence is opened the door, high level feedback signal is sent; When authenticating result is that user's lack of competence is opened the door, send low level feedback signal.
S208: receive control end and receive by the mode that serial ports detects rising edge and negative edge the feedback signal that controller sends, judge that feedback signal is when unblanking instruction, control the unblock of connected electric lock.Such as, when receipts control end detects rising edge feedback signal, then think and unblank to terminate; When receipts control end detects negative edge feedback signal, then think and can unblank.
S209: receive control end control control pilot lamp send information and/or control control hummer send information.
The present embodiment is relative to embodiment one, and receiver module verifies digital signal before the digital signal of Wei root form being sent, to improve the accuracy of data transmission.
Embodiment three,
See Fig. 3, be the structural representation of a kind of gate control system that the embodiment of the present invention three provides, this gate control system comprises:
The transmitting terminal 301 be linked in sequence, receipts control end 302 and controller 303;
Described transmitting terminal 301 characterizes the visible light signal of identity identification information (as user ID) for sending.Transmitting terminal 301 can be photon client-side, and being such as used for sending the light cipher key of visible light signal specially, also can being have to send the electronic equipment of visible light signal, can also be mobile phone.
Described control end 302 of receiving comprises the visible light signal launched for receiving transmitting terminal 301, and this visible light signal is converted to the photoelectric conversion module 302a of electric signal.For sending the first Wei root interface 302b of described electric signal, this first Wei root interface 302b can be Wei root 26 interface, also can be Wei root 34 interface, in concrete implementation process, selects the interface be applicable to.The first serial 302c of controller 303 feedback signal is received by the mode detecting rising edge and negative edge.And the control circuit 302d be connected with photoelectric conversion module 302a, the first Wei root interface 302b and first serial 302c respectively.Such as, when this control circuit 302d receives rising edge feedback signal, then think and unblank to terminate; When receiving negative edge feedback signal, then think and can unblank.If feedback signal is the indication information of unblanking, then controls connected electric lock and unlock.
Described controller 303 comprises the second Wei root interface 303a be connected with the first Wei root interface 302b.The authentication circuit 303b be connected with this second Wei root interface 303a, authentication circuit 303b carries out authentication to the electric signal that the second Wei root interface 303a receives, and judges that whether the electric signal received is legal.Be connected with authentication circuit 303b and connect, for controlling to receiving the second serial 303c that end 302 sends high level or low level feedback signal with described first serial 302c.Such as, authentication circuit 303b judges the unregistered gate control system of user, and the signal that the second Wei root interface 303a receives is illegal, then send high level feedback signal by second serial 303c; Or authentication circuit 303b judges that user has enabling authority, then send low level feedback signal by second serial 303c.
In the present embodiment, transmit identifying information owing to receiving between control end 302 and controller 303 by Wei root interface, by the feedback information of Serial Port Transmission access controller, thus avoid the restriction of receipts control end 302 by Wiegand signal simplex.
Embodiment four,
See Fig. 4, be the structural representation of a kind of gate control system that the embodiment of the present invention four provides, this embodiment, compared with embodiment three, is received control end 302 and is also comprised the correction verification module 302e be connected with control circuit 302d, for verifying the visible light signal received.Such as, correction verification module 302e carries out parity checking to the visible light signal received.
The present embodiment, owing to verifying the signal received, therefore further increases the reliability of identification data transmission.
Embodiment five,
See Fig. 5, it is the structural representation of a kind of gate control system that the embodiment of the present invention five provides, this embodiment, compared with embodiment four, is received control end 302 and is also comprised the pilot lamp 302f be connected with control circuit 302d, is used for pointing out user to receive and controls the feedback information that end 302 receives controller.Thus raising Consumer's Experience.
Embodiment six,
See Fig. 6, it is the structural representation of a kind of gate control system that the embodiment of the present invention six provides, this embodiment, compared with embodiment five, is received control end 302 and is also comprised the hummer 302g be connected with control circuit 302d, is used for pointing out user to receive and controls the feedback information that end 302 receives controller.Thus improve Consumer's Experience 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.