Summary of the invention
Embodiment of the present invention technical matters to be solved is, a kind of door control method and system are provided, the light signal that sends by for example LED optical signal transmitter carries out opening and closing control of door, and unblank inconvenience and the door of avoiding insufficient light to bring to the user is not easy found problem when illegally being opened.
In order to solve the problems of the technologies described above, the embodiment of the present invention provides a kind of door control method, comprising:
Optical signal transmitter sends light signal according to the trigger message that receives to controlling device for doors;
Controlling device for doors extracts the encrypted message in described light signal when receiving light signal, described light signal comprises the LED light signal;
The described encrypted message of controlling device for doors checking, if legal, described controlling device for doors is controlled and is opened door;
Disappear if controlling device for doors detects the described described light signal that receives, control and close described door.
Wherein, the described trigger message that receives comprises the encrypted message that receives user's input, perhaps finger print information;
Described optical signal transmitter sends light signal to controlling device for doors and comprises according to the trigger message that receives:
Described optical signal transmitter is modulated into light signal with described trigger message, and sends described light signal to described control device.
Wherein, described controlling device for doors is when receiving light signal, and the encrypted message that extracts in described light signal comprises:
Described controlling device for doors is converted to electric signal with the light signal that receives;
Described controlling device for doors is decoded to the described electric signal that is converted to, and obtains the encrypted message that carries in described light signal.
Wherein, if the described encrypted message of described controlling device for doors checking is legal, control is opened door and comprised: described controlling device for doors judge whether the encrypted message that described extraction obtains is identical with the password of presetting, if identical, the encrypted message of described extraction is legal, and described controlling device for doors is controlled and opened door.
Wherein, also comprise: if the encrypted message that the described extraction of described controlling device for doors judgement obtains is not identical with default password, determine that the encrypted message of described extraction is illegal, carry out alarm operation.
Correspondingly, the embodiment of the present invention also provides a kind of accelerator control system, comprising: optical signal transmitter and controlling device for doors, wherein,
Described optical signal transmitter is used for sending light signal according to the trigger message that receives to described controlling device for doors, and described optical signal transmitter comprises the LED optical signal transmitter;
Described controlling device for doors is used for extracting the encrypted message in described light signal when receiving light signal, and verify described encrypted message, if described encrypted message is legal, controls and open door, and, when the described described light signal disappearance that receives being detected, control and close described door.
Wherein, described optical signal transmitter comprises:
Receiver module is used for receiving trigger message, and described trigger message comprises encrypted message or the finger print information that the user inputs by key board;
Light emitting module, the trigger message that is used for receiving according to described receiver module is modulated into light signal, and launches described light signal;
Described controlling device for doors comprises:
Photo-detector is used for receiving optical signals;
Demoder is for the encrypted message of the light signal that extracts described photo-detector reception;
Judge module is used for judging whether the encrypted message of described demoder extraction is legal;
Control module is used for controlling and opening door when judgment result is that of described judge module is legal, and is used for controlling and closing described door when described photo-detector detects the described light signal disappearance that receives.
Wherein, the described demoder of described controlling device for doors specifically comprises:
Photoelectric conversion unit, the light signal that is used for described photo-detector is received is converted to electric signal;
Decoding unit is used for the electric signal that described photoelectric conversion unit is converted to is decoded, and obtains the encrypted message that carries in described light signal.
Wherein, the described judge module of described controlling device for doors judges specifically whether the encrypted message that described extraction obtains is identical with default password, if identical, the encrypted message of described extraction is legal, notifies described control module to carry out and controls the operation of opening door.
Wherein, described controlling device for doors also comprises: alarm module, when not identical with the password of presetting for the encrypted message that obtains in the described extraction of described judge module judgement, carry out alarm operation.
Implement the embodiment of the present invention, have following beneficial effect:
The user that need to open the door must open optical signal transmitter in front of the door, and after inputting legal password, carry this legal encrypted message and send to door controller in light signal, could realize opening of controlled door, realized simply the control of door, be user-friendly to, and the security of information is better.And the cost that adopts door lock that the cheap optical signal transmitters such as LED, photoelectric commutator and demoder are realized to control is also lower.Can also report to the police when optical signal transmitter is illegally used, guarantee further for example safety in the place of bank, supermarket, office space or the safe and secret facility of other needs.
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 is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in 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.
Seeing also Fig. 1, is that the structure of the accelerator control system of the embodiment of the present invention forms schematic diagram, and in the present embodiment, described accelerator control system comprises: optical signal transmitter 1 and controlling device for doors 2.Described optical signal transmitter 1 can be LED optical signal transmitter etc., can send illuminating ray also can be to described controlling device for doors 2 utilizing emitted light signals, described controlling device for doors 2 is arranged on the controlled door of needs, for example the gate in the place of bank, supermarket, office space or the safe and secret facility of other needs.
Described optical signal transmitter 1 is used according to the trigger message that receives, and sends light signal to described controlling device for doors, and described optical signal transmitter comprises the LED optical signal transmitter.
Described controlling device for doors 2 is used for extracting the encrypted message in described light signal when receiving light signal, and verify described encrypted message, if described encrypted message is legal, controls and open door, and, when the light signal disappearance that receives being detected, control and close described door.
When the user need to open controlled door, at first open described optical signal transmitter 1, described optical signal transmitter 1 can send light signal with described controlled door and illuminate on every side, at this moment, this controlled door can't be opened, described user also needs on described optical signal transmitter 1 input encrypted message or this user's finger print information, password by 1 pair of described input of described optical signal transmitter is modulated, and generates the light signal that carries described encrypted message or finger print information and sends to described controlling device for doors 2.2 of described controlling device for doors are processed the light signal that receives, and extract and recover the described encrypted message that carries in described light signal, and verify described encrypted message, when described encrypted message is legal, controls described door and open.Certainly, also can be when the user being detected and push or pull, controlled by force direction to open described controlled door according to door.
When light signal disappears, be that described optical signal transmitter 1 is closed or according to the time that arranges during autoshutdown, when described controlling device for doors 2 can not collect light signal by photo-detector etc., be the described light signal that receives and disappear, described controlling device for doors 2 is carried out door-closing operation immediately.
Concrete, as shown in Figure 1, described optical signal transmitter 1 comprises: key board 11, receiver module 12 and light emitting module 13.
Described receiver module 12 is used for receiving trigger message, and described trigger message comprises that the user passes through encrypted message or the finger print information of described key board 11 inputs;
Described light emitting module 13, the trigger message that is used for described receiver module 12 is received is modulated into light signal, and launches described light signal.
Described key board 11 can be the keyboard that comprises numeral and/or letter, the user by 11 inputs of this key board in advance with the password of described controlling device for doors 2 agreements, described key board 11 can also comprise that a finger scan module is used for scanning user's fingerprint.12 of described receiver modules are connected with described key board, pass to described light emitting module 13 after receiving the password of user input or fingerprint, described light emitting module 13 sends to described controlling device for doors 2 after described encrypted message or finger print information are modulated into light signal.
Further alternative, described optical signal transmitter 1 can also be carried out the operation of turning off the light according to a time threshold that arranges, be that described optical signal transmitter 1 is after it is unlocked, when timer reaches the time threshold of described setting, it is autoshutdown LED lamp, timer is unlocked or lamp when being closed at described optical signal transmitter 1, automatically carries out the timing initialization.Certainly, described optical signal transmitter 1 also can be forced closed when needed.
Described controlling device for doors can comprise: photo-detector 21, demoder 22, judge module 23 and control module 24.
Described photo-detector 21 is used for receiving optical signals;
Described demoder 22 is for the encrypted message of the light signal that extracts described photo-detector 21 receptions;
Described judge module 23 is used for judging whether the encrypted message of described demoder 22 extractions is legal;
Described control module 24 is used for controlling and opening door when judgment result is that of described judge module 23 is legal, and is used for controlling and closing described door when described photo-detector 21 detects the described light signal disappearance that receives.
after described photo-detector 21 receives light signal, described light signal can be sent to described demoder 22, at first described demoder 22 resolves the information of carrying in described light signal, the information that decoding obtains carrying in described light signal sends to described judge module 23, described judge module 23 can be by judging whether identical mode judges whether it is legal for this information and default password or fingerprint etc., if legal, send announcement information to described control module 24, notify described control module 24 to open the door, optionally, described control module 24 is after receiving announcement information, after receiving about the information of opening the door that pushes or pull that is used for, control again and open the door.Wherein, can store the information such as the password of a plurality of different authorized users or fingerprint in described controlling device for doors 2, so that described judge module 23 will judge checking to password or the fingerprint of different user.
Further, the described demoder 22 of described controlling device for doors 2 specifically can comprise:
Photoelectric conversion unit, the light signal that is used for described photo-detector 21 is received is converted to electric signal;
Decoding unit is used for the electric signal that described photoelectric conversion unit is converted to is decoded, and obtains the encrypted message that carries in described light signal.
Further, described controlling device for doors 2 also comprises:
Alarm module 25 when not identical with the password of presetting for the encrypted message that obtains in the described judge module 23 described extractions of judgement, is carried out alarm operation.
When the encrypted message that obtains in the 23 described extractions of judgement of described judge module is not identical with the password of presetting, can determine that the user that current plan is opened the door is the disabled user, carry out alarm by described alarm module 25, described alarm module 25 can directly send alarm sound, also can directly connect the modes such as phone of safety management place and report to the police.That is to say, after photo-detector 1 detected light signal, the encrypted message of input message or input error, all may not trigger described alarm module 25 and report to the police, and ensured better safety.
Description by above-described embodiment as can be known, the present invention has the following advantages:
The user that need to open the door must open optical signal transmitter in front of the door, and after inputting legal password, carry this legal encrypted message and send to door controller in light signal, could realize opening of controlled door, realized simply the control of door, be user-friendly to, and the security of information is relatively good.And the cost that adopts door lock that the cheap optical signal transmitters such as LED, photoelectric commutator and demoder are realized to control is also lower.Can also report to the police when optical signal transmitter is illegally used, guarantee further for example gate safety in the place of bank, supermarket, office space or the safe and secret facility of other needs.
The below is described in detail door control method of the present invention.
Seeing also Fig. 2, is the first embodiment schematic flow sheet of door control method of the present invention, and the described door control method of the present embodiment comprises:
S101: optical signal transmitter sends light signal according to the trigger message that receives to controlling device for doors;
when the user need to open controlled door, at first the outer optical signal transmitter of door capable of being opened, described optical signal transmitter can send light signal with described controlled door and illuminate on every side, at this moment, this controlled door can't be opened, described user also needs to input on described optical signal transmitter for the encrypted message that opens the door or user's the information such as finger print information, by described optical signal transmitter, the password of described input or fingerprint etc. are modulated, the light signal that generation carries the information such as described encrypted message or finger print information sends to described controlling device for doors.The information such as the encrypted message of described user's input or finger print information can be used as trigger message.
S102: controlling device for doors extracts the encrypted message in described light signal when receiving light signal, described light signal comprises the LED light signal;
Described controlling device for doors can pass through the photo-detector receiving optical signals, and the light signal that receives is processed, and extracts the encrypted message that carries in described light signal.
S103: the described encrypted message of controlling device for doors checking, if legal, control and open door;
Described controlling device for doors is verified the encrypted message that carries in the described light signal that extracts, and when described encrypted message is legal, controls described door and automatically opens.Certainly, also can be when the user being detected and push or pull, controlled by force direction to open described controlled door according to door.
S104: controlling device for doors is controlled and is closed described door when the described light signal disappearance that receives being detected.
When light signal disappears, be that described optical signal transmitter is closed or during autoshutdown, when described controlling device for doors can not collect light signal by photo-detector, be the described light signal that receives and disappear, described controlling device for doors is carried out door-closing operation by described S104 immediately.
Description by above-described embodiment as can be known, the present invention has the following advantages:
The user that need to open the door must open optical signal transmitter in front of the door, and after inputting legal password, carry this legal encrypted message and send to door controller in light signal, could realize opening of controlled door, realized simply the control of door, be user-friendly to, security is relatively good.And the cost that adopts door lock that the cheap optical signal transmitters such as LED, photoelectric commutator and demoder are realized to control is also lower.Can also report to the police when optical signal transmitter is illegally used, guarantee further for example gate safety in the place of bank, supermarket, office space or the safe and secret facility of other needs.
Seeing also Fig. 3, is the second embodiment schematic flow sheet of door control method of the present invention, and the described door control method of the present embodiment comprises:
S201: optical signal transmitter sends light signal according to the trigger message that receives to controlling device for doors.
S202: controlling device for doors extracts the encrypted message in described light signal when receiving light signal, described light signal comprises the LED light signal.
Specifically can get in the following manner the encrypted message in described light signal:
Described controlling device for doors is converted to electric signal with the light signal that receives;
Described controlling device for doors is decoded to the described electric signal that is converted to, and obtains the encrypted message that carries in described light signal.
S203: controlling device for doors judges whether the encrypted message that described extraction obtains is identical with default password, if identical, the encrypted message of described extraction is legal, carries out S204, if illegal, carries out S205.
S204: controlling device for doors is controlled and is opened door.
S205: controlling device for doors is carried out alarm operation.
Description by above-described embodiment as can be known, the present invention has the following advantages:
The user that need to open the door must open optical signal transmitter in front of the door, and after inputting legal password, carry this legal encrypted message and send to door controller in light signal, could realize opening of controlled door, realized simply the control of door, be user-friendly to, and the security of information is relatively good.And the cost that adopts door lock that the cheap optical signal transmitters such as LED, photoelectric commutator and demoder are realized to control is also lower.Can also report to the police when optical signal transmitter is illegally used, guarantee further for example gate safety in the place of bank, supermarket, office space or the safe and secret facility of other needs.
One of ordinary skill in the art will appreciate that all or part of flow process that realizes in above-described embodiment method, to come the relevant hardware of instruction to complete by computer program, described program can be stored in a computer read/write memory medium, this program can comprise the flow process as the embodiment of above-mentioned each side method when carrying out.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
Above disclosed is only preferred embodiment of the present invention, 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.