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 sent by such as LED light signal dispensing device carries out opening of door and closing control, is not easy the problem be found when avoiding insufficient light illegally to be opened to unblank inconvenience and door that user brings.
In order to solve the problems of the technologies described above, embodiments provide a kind of door control method, comprising:
Optical signal transmitter, according to the trigger message received, sends light signal to controlling device for doors;
Controlling device for doors, when receiving light signal, extracts the encrypted message in described light signal, and described light signal comprises LED light signal;
Controlling device for doors verifies described encrypted message, if legal, described controlling device for doors controls to open door;
If the described light signal received described in controlling device for doors detects disappears, control to close described door.
Wherein, described in, the trigger message that receives comprises the encrypted message receiving user's input, or finger print information;
Described optical signal transmitter, according to the trigger message received, sends light signal to controlling device for doors and comprises:
Described trigger message is modulated into light signal by described optical signal transmitter, and sends described light signal to described control device.
Wherein, described controlling device for doors is when receiving light signal, and the encrypted message extracted in described light signal comprises:
The light signal of reception is converted to electric signal by described controlling device for doors;
Described controlling device for doors is decoded to the described electric signal be converted to, and obtains the encrypted message carried in described light signal.
Wherein, described controlling device for doors verifies described encrypted message, if legal, control is opened door and is comprised: described controlling device for doors judges that whether the encrypted message that described extraction obtains is identical with the password preset, if identical, then the encrypted message of described extraction is legal, and described controlling device for doors controls to open door.
Wherein, also comprise: if described controlling device for doors judges that the encrypted message that described extraction obtains is not identical with the password preset, then determine that the encrypted message of described extraction is illegal, perform alarm operation.
Correspondingly, the embodiment of the present invention additionally provides a kind of accelerator control system, comprising: optical signal transmitter and controlling device for doors, wherein,
Described optical signal transmitter, for the trigger message according to reception, send light signal to described controlling device for doors, described optical signal transmitter comprises LED light signal dispensing device;
Described controlling device for doors, for when receiving light signal, extracts the encrypted message in described light signal, and verify described encrypted message, if described encrypted message is legal, control to open door, further, when the described light signal received described in detecting disappears, control to close described door.
Wherein, described optical signal transmitter comprises:
Receiver module, for receiving trigger message, described trigger message comprises the encrypted message or finger print information that user inputted by key board;
Light emitting module, is modulated into light signal for the trigger message received according to described receiver module, and launches described light signal;
Described controlling device for doors comprises:
Photo-detector, for receiving optical signals;
Demoder, for extracting the encrypted message in the light signal of described photo-detector reception;
Judge module, whether legal for judging the encrypted message that described demoder extracts;
Control module, for when the judged result of described judge module is legal, controls to open door, and during for detecting that at described photo-detector the described light signal received disappears, controls to close described door.
Wherein, the described demoder of described controlling device for doors specifically comprises:
Photoelectric conversion unit, is converted to electric signal for the light signal received by described photo-detector;
Decoding unit, decodes for the electric signal be converted to described photoelectric conversion unit, obtains the encrypted message carried in described light signal.
Wherein, the described judge module of described controlling device for doors specifically judges that whether the encrypted message that described extraction obtains is identical with the password preset, if identical, then the encrypted message of described extraction is legal, notifies that described control module performs the operation controlling to open door.
Wherein, described controlling device for doors also comprises: alarm module, during for judging that at described judge module the encrypted message that described extraction obtains is not identical with the password preset, performs alarm operation.
Implement the embodiment of the present invention, there is following beneficial effect:
The user that needs open the door must open optical signal transmitter in front of the door, and after inputting legal password, in light signal, carry this legal encrypted message send to door controller, opening of controlled door could be realized, achieve the control of door simply, be user-friendly to, and the security of information is better.Further, the cost that the door lock adopting optical signal transmitter, photoelectric commutator and the demoders such as cheap LED to realize controls is also lower.Can also report to the police when optical signal transmitter is illegally used, ensure that further such as bank, supermarket, office space or other need the safety in the place of safe and secret facility.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the 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.
Refer to Fig. 1, be the structure composition schematic diagram of the accelerator control system of the embodiment of the present invention, 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 light signal dispensing device etc., can send illuminating ray also can to described controlling device for doors 2 utilizing emitted light signal, described controlling device for doors 2 is arranged on to be needed on controlled door, such as bank, supermarket, office space or other need the gate in the place of safe and secret facility.
Described optical signal transmitter 1, with the trigger message according to reception, send light signal to described controlling device for doors, described optical signal transmitter comprises LED light signal dispensing device.
Described controlling device for doors 2, for when receiving light signal, extracts the encrypted message in described light signal, and verify described encrypted message, if described encrypted message is legal, control to open door, further, when detecting that the light signal received disappears, control to close described door.
When user needs to open controlled door, first described optical signal transmitter 1 is opened, described optical signal transmitter 1 can send light signal and described controlled door and surrounding thereof be illuminated, now, this controlled door can't be opened, described user also need on described optical signal transmitter 1 input encrypted message or the finger print information of this user, modulated by the password of described optical signal transmitter 1 to described input, generate the light signal carrying described encrypted message or finger print information and send to described controlling device for doors 2.Described controlling device for doors 2 processes the light signal received, and extracts and recovers in described light signal the described encrypted message carried, and verify described encrypted message, when described encrypted message is legal, then controls described door and open.Certainly, when also can push detecting user or pull, control to open described controlled door according to the Impact direction of door.
When light signal disappears, namely when described optical signal transmitter 1 is closed or automatically closes according to the time arranged, when described controlling device for doors 2 does not collect light signal by photo-detector etc., the light signal received described in being disappears, and described controlling device for doors 2 performs 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, for receiving trigger message, described trigger message comprises the encrypted message or finger print information that user inputted by described key board 11;
Described light emitting module 13, is modulated into light signal for the trigger message received by described receiver module 12, and launches described light signal.
Described key board 11 can be the keyboard comprising numeral and/or letter, and user inputs the password of arranging with described controlling device for doors 2 in advance by this key board 11, and described key board 11 can also comprise the fingerprint that a finger scan module is used for scanning user.Described receiver module 12 is connected with described key board, receive user input password or fingerprint after pass to described light emitting module 13, 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 perform according to the time threshold arranged operation of turning off the light, namely described optical signal transmitter 1 after it is turned, when timer reaches the time threshold of described setting, namely automatically LED is closed, timer, when described optical signal transmitter 1 is unlocked or lamp is closed, carries out timing initialization automatically.Certainly, described optical signal transmitter 1 also can be forced closed when needed.
Described controlling device for doors then can comprise: photo-detector 21, demoder 22, judge module 23 and control module 24.
Described photo-detector 21, for receiving optical signals;
Described demoder 22, for extracting the encrypted message in the light signal of described photo-detector 21 reception;
Described judge module 23, whether legal for judging the encrypted message that described demoder 22 extracts;
Described control module 24, for when the judged result of described judge module 23 is legal, controls to open door, and during for detecting that at described photo-detector 21 the described light signal received disappears, controls to close described door.
After described photo-detector 21 receives light signal, described light signal can be sent to described demoder 22, first described demoder 22 resolves the information of carrying in described light signal, the information obtaining carrying in described light signal of decoding sends to described judge module 23, whether described judge module 23 is legal to judge it by judging the mode whether this information is identical with the password preset or fingerprint etc., if legal, then send announcement information to described control module 24, notify that described control module 24 is opened the door, optionally, described control module 24 is after receiving announcement information, receive about for the enabling information pushing or pull after, control again to open the door.Wherein, the information such as the password of multiple different authorized user or fingerprint in described controlling device for doors 2, can be stored, so that described judge module 23 carries out judgement checking by the password of different user or fingerprint.
Further, the described demoder 22 of described controlling device for doors 2 specifically can comprise:
Photoelectric conversion unit, is converted to electric signal for the light signal received by described photo-detector 21;
Decoding unit, decodes for the electric signal be converted to described photoelectric conversion unit, obtains the encrypted message carried in described light signal.
Further, described controlling device for doors 2 also comprises:
Alarm module 25, during for judging that at described judge module 23 encrypted message that described extraction obtains is not identical with the password preset, performs alarm operation.
When described judge module 23 judges that the encrypted message that described extraction obtains is not identical with the password preset, can determine that the current user intending to open the door is disabled user, alarm is carried out by described alarm module 25, described alarm module 25 directly can send alarm sound, also directly can connect the modes such as the phone of safety management place and report to the police.That is to say, after photo-detector 1 detects light signal, do not input the encrypted message of information or input error, all may trigger described alarm module 25 and report to the police, ensure safety better.
Known by the description of above-described embodiment, the present invention has the following advantages:
The user that needs open the door must open optical signal transmitter in front of the door, and after inputting legal password, in light signal, carry this legal encrypted message send to door controller, opening of controlled door could be realized, achieve the control of door simply, be user-friendly to, and the security of information is relatively good.Further, the cost that the door lock adopting optical signal transmitter, photoelectric commutator and the demoders such as cheap LED to realize controls is also lower.Can also report to the police when optical signal transmitter is illegally used, ensure that further such as bank, supermarket, office space or other need the gate safety in the place of safe and secret facility.
Below door control method of the present invention is described in detail.
Refer to Fig. 2, be the first embodiment schematic flow sheet of door control method of the present invention, the described door control method of the present embodiment comprises:
S101: optical signal transmitter, according to the trigger message received, sends light signal to controlling device for doors;
When user needs to open controlled door, first the optical signal transmitter outside door capable of being opened, described optical signal transmitter can send light signal and described controlled door and surrounding thereof be illuminated, now, this controlled door can't be opened, described user also need input the information such as the finger print information of encrypted message for opening the door or user on described optical signal transmitter, by described optical signal transmitter, the password of described input or fingerprint etc. are modulated, generate the light signal carrying the information such as described encrypted message or finger print information and send to described controlling device for doors.The information such as the encrypted message of described user's input or finger print information can as trigger message.
S102: controlling device for doors, when receiving light signal, extracts the encrypted message in described light signal, and described light signal comprises LED light signal;
Described controlling device for doors by photo-detector receiving optical signals, and processes the light signal received, and extracts the encrypted message carried in described light signal.
S103: controlling device for doors verifies described encrypted message, if legal, controls to open door;
Described controlling device for doors is verified the encrypted message carried in the described light signal extracted, and when described encrypted message is legal, then controls described door and automatically opens.Certainly, when also can push detecting user or pull, control to open described controlled door according to the Impact direction of door.
S104: controlling device for doors, when the light signal received described in detecting disappears, controls to close described door.
When light signal disappears, namely when described optical signal transmitter is closed or automatically closes, when described controlling device for doors does not collect light signal by photo-detector, the light signal received described in being disappears, and described controlling device for doors performs door-closing operation by described S104 immediately.
Known by the description of above-described embodiment, the present invention has the following advantages:
The user that needs open the door must open optical signal transmitter in front of the door, and after inputting legal password, in light signal, carry this legal encrypted message send to door controller, opening of controlled door could be realized, achieve the control of door simply, be user-friendly to, security is relatively good.Further, the cost that the door lock adopting optical signal transmitter, photoelectric commutator and the demoders such as cheap LED to realize controls is also lower.Can also report to the police when optical signal transmitter is illegally used, ensure that further such as bank, supermarket, office space or other need the gate safety in the place of safe and secret facility.
Refer to Fig. 3, be the second embodiment schematic flow sheet of door control method of the present invention, the described door control method of the present embodiment comprises:
S201: optical signal transmitter, according to the trigger message received, sends light signal to controlling device for doors.
S202: controlling device for doors, when receiving light signal, extracts the encrypted message in described light signal, and described light signal comprises LED light signal.
Specifically by getting the encrypted message in described light signal with under type:
The light signal of reception is converted to electric signal by described controlling device for doors;
Described controlling device for doors is decoded to the described electric signal be converted to, and obtains the encrypted message carried in described light signal.
S203: controlling device for doors judges that whether the encrypted message that described extraction obtains is identical with the password preset, if identical, then the encrypted message of described extraction is legal, performs S204, if illegal, performs S205.
S204: controlling device for doors controls to open door.
S205: controlling device for doors performs alarm operation.
Known by the description of above-described embodiment, the present invention has the following advantages:
The user that needs open the door must open optical signal transmitter in front of the door, and after inputting legal password, in light signal, carry this legal encrypted message send to door controller, opening of controlled door could be realized, achieve the control of door simply, be user-friendly to, and the security of information is relatively good.Further, the cost that the door lock adopting optical signal transmitter, photoelectric commutator and the demoders such as cheap LED to realize controls is also lower.Can also report to the police when optical signal transmitter is illegally used, ensure that further such as bank, supermarket, office space or other need the gate safety in the place of safe and secret facility.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, 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.