Specific embodiment
In the system architecture diagram shown in Fig. 1, including door surveys device, supervising device, key end, wherein, door surveys deviceThe on off state of monitoring door, supervising device is sent by wired or wireless way monitoring information;Supervising device includes that first is micro-Processor and the first wireless communication module, key end includes the second microprocessor and the second wireless communication module, supervising device andKey end is communicatively coupled by wireless communication module.
Door surveys device includes intelligent door lock, door sensor, or other devices, such as RFID radio-frequency units, sets on door OR gate frameRFID tag is put, RFID reader is set on doorframe OR gate, when door is closed, both press close to, and RFID reader receives RFIDTag feedback signal, when door is opened, both are away from RFID reader does not receive RFID tag signal, by RFID readerRFID tag signal whether is received, the on off state of door is judged.Door surveys device and can also be a contact switch, Dang MenguanClose, contacting(Or disconnect), when door is opened, contact disconnects(Or connect), according to the on-off of contact, judge the switch of doorState.
Key end includes Intelligent key, mobile phone, active access card, or an electric terminal arranged in pairs or groups with mechanical key.KeyA kind of wireless near field communication between spoon end and supervising device, including Wi-Fi, bluetooth, infrared ray, ultra broadband, RFID,ZigBee etc., when the spacing between supervising device and key end is in communication range, carries out wireless communication, including key automaticallySpoon end to supervising device sends encryption information, and supervising device carries out matching the processes such as checking to encryption information.
In the embodiment layout drawing shown in Fig. 2, left figure is the positive diagram of an inner face, and right figure is the side diagram of door.On a left sideIn figure, door is surveyed a part for device 1 and is arranged on door 2, and another part is arranged on doorframe 3, with opening for monitoring door 2 and doorframe 3Off status, supervising device 4 is surveyed device 1 and is set together with door, receives the enabling information that door surveys device monitoring;In right figure, prisonControl device 4 carries out radio communication with key end 5, to monitor the state of key end 5.
Supervising device 4 can be arranged on door 2, it is also possible to be arranged on doorframe 3, can be with according to the technical scheme for adoptingIn doors other positions arrange multiple supervising devices and monitor key end, such as indoor positioning technologies.
Supervising device monitors key end state and switch gate information simultaneously, in the switch monitors of opposite house, with opening timeFor node, in key end status monitoring, changed as main contents with the inertial states before enabling, in combination with enablingTime point, recognizes that the generation of key end state change is enabling key end in the key end of door opening process.
Key end inertial states start to change before door opening process includes opening the door(Such as open the door first 5,10 seconds)To openingPeriod process during door, or state when opening the door to key end after enabling after change(3,5 seconds after such as opening the door)WhenAny one during section process, or the period before opening the door to after opening the door.Centered on when door opening process is to open the door, the period before and after itLength is different because of the state change situation of key end, if the state change of key end is slow, the process before and after enabling is just long,If the state change of key end is fast, supervising device can quickly identify enabling key end, and the process before and after its enabling is just short.
In enabling key end monitoring recognition methodss flow chart shown in Fig. 3, supervising device is by the key before contrast enablingState change after end inertial states and enabling, recognizes enabling key end, and detailed process is as follows:
(1)Supervising device monitors key end state;
(2)Door surveys the switch of device monitoring door;
(3)Judge whether door is opened, if it is, into next step, if not, proceeding to step(1);
(4)Judge whether the key end before and after opening the door changes, if it is, into next step, if not, unidentified to enablingKey end, proceeds to step(1).
(5)Recognize that the key end is enabling key end, proceed to step(1).
The key end state includes the indoor location of key end, or distance of the key end away from doorway, or in doorway monitoringKey end signal strength, or at least one in key end movable information can adopt, it is also possible to which multinomial synthesis is adopted with individual eventWith.
The indoor location is to adopt wireless communication method, the position in key end indoors space is positioned, roomInterior wireless location technology method is different, and its positioning precision is each variant, and preferred RFID location technologies are carried out non-using RF-wiseContact bidirectional communication data exchange, realizes that key end is recognized and positioned, and it can obtain centimeter-level positioning essence in several millisecondsThe information of degree, and transmission range is big, cost is relatively low.
The distance can be inferred according to signal intensity and distance relation, such as using Bluetooth technology, can be according to monitoringThe bluetooth signal intensity RSSI value that device is received and the relation of distance, judge the distance of key end distance detection device.Bluetooth is believedNumber intensity is very sensitive in the change of adjusting the distance of 0 ~ 3 meter of scope.
The inertial states of key end are a kind of states for keeping before enabling or having, and can be a kind of constant shapes of standingState, such as place key end in doors, or a kind of state for persistently changing, such as the key in motion being carriedSpoon end.Key end inertial states before enabling can be a kind of state of persistence, or a kind of of short duration state, standCan mutually convert with carrier state, such as after the key end for standing is picked up by user, directly not go to open the door, but go to and doOther things, then just open the door, and now, the inertial states before enabling switch to carrier state by static condition, carrying shape laterState is probably the short time.Inertial states be to discriminate between opening the door before and after state a kind of division, be in order to contrast door opening process in shapeState changes.
For the key end being carried, the inertial states of key end are the variable conditions in motion before opening the door, and work as userStand when doorway is opened the door, the variable condition of the key end switchs to change halted state when opening the door.Supervising device is according to enablingDuring this key end state change that change suspends when changing to enabling by before opening the door, recognize enabling key end.
For the key end placed within doors, the inertial states of key end are in invariant state is stood, in enabling before opening the doorDuring picked up by user and take doorway to, the state of the key end has the constant variable condition for switching to be carried of standing.Monitoring dressPut and enabling key, to the key end state change of door opening process change, is recognized according to this standing by before opening the door in door opening processEnd.Further, during enabling, key end state change is suspended.
The state change includes that the indoor location of key end changes, or distance of the key end away from doorway becomesChange, or the key end signal strength monitored on doorway changes, or at least one during key end is moved.
The movable information that the motion can differentiate according to key end state change, or motion is arranged in key end to be passedSensor, including accelerometer or gyroscope, monitor key end movable information.
State change is the absolute value of Monitoring Data difference with two kinds of relative status that change time-out is key end, state changeMore than given threshold, it is that the poor absolute value of Monitoring Data is less than given threshold that change suspends, and change time-out can be a kind of changeThe less state of amplitude, or static condition.Key end state change is the information characteristics that key end is carried, and change is temporaryIt is the key end variation characteristic in door opening state when being parked in enabling.
The key end placed within doors, if all the time in the monitoring range of supervising device, supervising device can monitor noteBefore record is opened the door, a newest static condition data of the key end, when door is opened, with the key end Monitoring Data contrast after enablingAnalysis, by the state change of door opening process, recognizes enabling key end.
Key end within doors outside monitoring range, enters monitoring range in door opening process.Supervising device can pass throughBefore and after enabling key end monitoring signals by without judging that the key end is carried to changing, in door opening process, doorway monitorsDevice monitoring to the key end change in signal strength, i.e., by weak enhancing, when opening the door, suspend, supervising device by change in signal strengthRecognize that the key end is enabling key end.
The key end within doors being kept in motion carried to user, it can all the time in monitoring range, also can be in prisonSurvey and be continually changing inside and outside scope, or only in door opening process into monitoring range, supervising device can be with the monitoring record key endThe newest state change time, if the time and opening time difference are less than given threshold, or state change lasts till outSuspend during door, it can be determined that the key end is enabling key end.
Whether the state regardless of key end within doors, supervising device monitors key end, in door opening process, key end oneSurely in the monitoring range of supervising device, its state necessarily changes, and when user opens the door, suspending occurs in key end change.
Relatively key end within doors, is by the remote and near doorway that is carried to, that is, to progress into prison before key end is opened the door outside roomSurvey scope, supervising device can monitor state change process when lasting till enabling, the change when opening the door suspends.
Further, human body detection device is set in door, and such as infrared inductor, touch inductor, ultrasonic emitting is receivedWhether device, Laser emission receptor, video camera etc., human body signal is detected according to when opening the door in door, judges user from inward swinging door(Go out)Or from outward swinging door(Enter).If user gos out, be from opening the door within doors, during enabling, human body detection device detection in doorIt is room outward swinging door if user enters to human body signal, during enabling, human body detection device can't detect human body signal in door.PeopleBody detection means sends supervising device by wired or wireless way monitoring information.
When door open, if human body detection device detects human body signal in door, judge that user gos out, supervising device according toEnabling key end id information, recognizes the user that gos out.
When door is opened, if human body detection device is not detected by human body signal in door, judge that user enters, supervising device rootAccording to enabling key end id information, the user that enters is recognized.
Further, supervising device record is gone out user and time.
Further, supervising device record is entered user and time.
Further, if it is determined that going out, after enabling, supervising device plays setting according to the user that gos out, control voice deviceVoice messaging.
Further, if it is determined that entering, after opening the door or closing the door, supervising device is broadcast according to the user that enters, control voice devicePut setting voice messaging.
System voice information can be set by mobile phone input, or download to system by network.
When door is opened, if human body detection device detects human body signal in door, judge that user gos out, if supervising deviceUnidentified to judge that non-carrying keys bring out door to enabling key end, control alarm set sends prompting message.
Further, alarm set is set on doorway, supervising device controls alarm set, sends by wired or wireless wayPrompting message.
It is preferred that, the alarm set is speaker, plays and reminds voice.
It is preferred that, the reminiscences include voice conversion device, and Word message is converted into speech play.
In addition it is also possible to arrange alarm set in key end, supervising device sends to key end and reminds instruction, by keyAlarm set in spoon end sends prompting message.
It is preferred that, the alarm set in key end is buzzer, is sounded a buzzer, and further, LED is arranged in key endLamp, carries out light flash, is simultaneously emitted by acousto-optic prompting message.For the key end placed in doors, entered by key end itselfRow is reminded, and can simultaneously inform the position of key end, is easy to look for, and Consumer's Experience is more preferable.
When door is opened, if human body detection device is not detected by human body signal in door, judge to enter, if supervising device is notEnabling key end is recognized, judges to be entered without key end, control alarm device alert.
Further, the system includes WIFI module, and connection system to the webserver is sent out monitoring information by networkIt is sent to server or smart mobile phone.
The present invention is to be generally in closed mode based on door, that is to say, that when user passes in and out, and is just opened the door, Ran HouguanClose.
For reverse situation, i.e. door are generally in open mode, close when user leaves, reversely installation door can survey dressPut, door is surveyed a device part on door, another part such as on wall, passes through where contacting with the door of door opening stateBoth leave, and judge that user will close the door, and both press close to, and judge that user opens the door, further, it is possible to set up a monitoring on doorframePart, when the latter presses close to door, judges that door is closed, and leaves with door, judges that door is opened.Supervising device is arranged on doorframe, monitoringKey end state, according to before and after state change of closing the door, recognizes the key end that door closing procedure is carried, or according to state before and after enablingChange, recognizes the key end that door opening process is carried.