CN108038946A - Control method for door lock, apparatus and system - Google Patents

Control method for door lock, apparatus and system Download PDF

Info

Publication number
CN108038946A
CN108038946A CN201711399822.1A CN201711399822A CN108038946A CN 108038946 A CN108038946 A CN 108038946A CN 201711399822 A CN201711399822 A CN 201711399822A CN 108038946 A CN108038946 A CN 108038946A
Authority
CN
China
Prior art keywords
door lock
state
user
lock
data
Prior art date
Application number
CN201711399822.1A
Other languages
Chinese (zh)
Inventor
李强
王雄辉
Original Assignee
深圳市欧瑞博科技有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 深圳市欧瑞博科技有限公司 filed Critical 深圳市欧瑞博科技有限公司
Priority to CN201711399822.1A priority Critical patent/CN108038946A/en
Publication of CN108038946A publication Critical patent/CN108038946A/en

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual entry or exit registers
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit

Abstract

The embodiment of the invention discloses a kind of control method for door lock, apparatus and system, it is related to Smart Home technical field.This method includes:Obtain the status data of information collecting device collection;The state of mind of user is judged according to the status data;If the state of mind is sleep state, judge whether the door lock is in non-and locks state;If the door lock is in non-and locks state, the door lock is controlled to lock.The embodiment of the present invention automatically can lock door lock when judging that user is in sleep state, avoid because user forgets the security risk brought locking.

Description

Control method for door lock, apparatus and system

Technical field

The present invention relates to Smart Home technical field, more particularly, to a kind of control method for door lock, apparatus and system.

Background technology

Door lock of the prior art usually can all set to better ensure that the personal and property safety of user and lock work( Can, but the back locking function of door lock on the market is typically mechanical lock at present, is to need artificially actively to go to control, if user occurs Forget situation about being locked, then security risk occurs.

The content of the invention

The present invention proposes a kind of control method for door lock, apparatus and system, to improve drawbacks described above.

In a first aspect, an embodiment of the present invention provides a kind of control method for door lock, the control applied to door lock control system Terminal, the door lock control system further include information collecting device, the described method includes:Obtain the shape of information collecting device collection State data;The state of mind of user is judged according to the status data;If the state of mind is sleep state, institute is judged State whether door lock locks state in non-;If the door lock is in non-and locks state, the door lock is controlled to lock.

Second aspect, the embodiment of the present invention additionally provide door-lock controller, and the control applied to door lock control system is whole End, the door lock control system further include information collecting device, and described device includes:Data capture unit, the first judging unit, Second judging unit and control unit.Data capture unit, for obtaining the status data of information collecting device collection.First sentences Disconnected unit, for judging the state of mind of user according to the status data.Second judging unit, if for the spiritual shape State is sleep state, then judges whether the door lock is in non-and locks state.Control unit, if being in non-anti- for the door lock Lock status, then control the door lock to lock.

The third aspect, the embodiment of the present invention additionally provide a kind of door lock control system, including information collecting device and control Terminal, described information harvester are connected with the control terminal.Described information harvester is used for acquisition state data, by institute Status data is stated to send to the control terminal.The control terminal is used for the status data for obtaining information collecting device collection, The state of mind of user is judged according to the status data, if the state of mind is sleep state, judges the door lock Whether it is in non-and locks state, if the door lock, which is in non-, locks state, controls the door lock to lock.

Control method for door lock provided in an embodiment of the present invention, apparatus and system, obtain the state of information collecting device collection Data, judge whether user is in sleep state according to status data, if so, and judge door lock do not lock, then control door lock Lock.Compared with prior art, the embodiment of the present invention automatically can lock door lock when judging that user is in sleep state, keep away Exempt from because user forgets the security risk brought locking.

Other feature and advantage of the embodiment of the present invention will illustrate in subsequent specification, also, partly from specification In become apparent, or understood by implementing the embodiment of the present invention.The purpose of the embodiment of the present invention and other advantages can Realize and obtain by specifically noted structure in the specification, claims and attached drawing write.

Brief description of the drawings

To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.

Fig. 1 shows the schematic diagram for the door lock control system that one embodiment of the invention provides;

Fig. 2 shows the module frame chart of the control circuit of door lock provided in an embodiment of the present invention;

Fig. 3 shows the usage state diagram of information collecting device provided in an embodiment of the present invention;

Fig. 4 shows the schematic diagram for the door lock control system that another embodiment of the present invention provides;

Fig. 5 shows the method flow diagram for the control method for door lock that one embodiment of the invention provides;

Fig. 6 shows the method flow diagram for the control method for door lock that another embodiment of the present invention provides;

Fig. 7 shows the interaction sequence diagram between each device for the door lock control system that another embodiment of the present invention provides;

Fig. 8 shows the module frame chart of door-lock controller provided in an embodiment of the present invention.

Embodiment

Below in conjunction with attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Ground describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing Go out all other embodiments obtained on the premise of creative work, belong to the scope of protection of the invention.

It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, and it is not intended that instruction or hint relative importance.

Referring to Fig. 1, show a kind of door lock control system 10A provided in an embodiment of the present invention.The door lock control system 10A includes door lock 100, information collecting device 200, server 400, gateway 300 and user terminal 500.Door lock 100, information are adopted Acquisition means 200 and server 400 are connected with gateway 300, and user terminal 500 is connected with server 400.

Door lock 100 is installed at door, for closing or opening door.Specifically, as shown in Fig. 2, the control of door lock 100 Circuit processed includes communicator 101, door lock controller 102, driving device 103 and power supply 104.

Communicator 101 is used for realization the wirelessly or non-wirelessly communication connection between door lock 100 and other electronic equipments, as A kind of embodiment, communicator 101 are RF modules, which is used to receiving and sending electromagnetic wave, realize electromagnetic wave with The mutual conversion of electric signal, so as to be communicated with communication network or other equipment.RF modules may include various existing use In the circuit element for performing these functions, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, use Family identity module (SIM) card, memory etc..Module can be carried out with various networks such as internet, intranet, wireless network Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless LAN or Metropolitan Area Network (MAN).Above-mentioned wireless network can use various communication standards, agreement and technology, including but not limited to Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division Multiple access technology (timedivisionmultiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/ Or IEEE802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses (Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger The agreement of news and short message, and any other suitable communications protocol, or even may include that those are not developed currently yet Agreement.

Door lock controller 102 is connected with communicator 101 and driving device 103 respectively, is sent out for receiving communicator 101 The instruction sent or data, according to instruction or data sending driving instruction to driving device, which is used to indicate driving dress Put the corresponding action of execution.Specifically, door lock controller 102 can include processor, processor and communicator 101 and driving Device 103 connects.Wherein, processor can be a kind of IC chip, have the disposal ability of signal.Above-mentioned processor Can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.

In addition, the door lock controller 102 can include memory, memory is connected with processor.Wherein, memory can To be, but it is not limited to, random access memory (Random Access Memory, RAM), read-only storage (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM) is erasable read-only to deposit Reservoir (Erasable Programmable Read-Only Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc..Wherein, memory is used to deposit Program is stored up, processor performs described program after execute instruction is received.For example, the program controls work(to be used for realization door lock Can instruction set, then processor can realize opposite door lock control function when performing the program.In addition, memory 113 is made For the storage medium of coded lock, for storing the data such as unlocking cipher, the term of validity and door lock state, certainly, these data It can be stored in server, and the memory of door lock can only store the relevant data of some door locks within a certain period of time, or A certain size data of person, specifically, can set according to practical application scene.

Executing agency (not shown) of the driving device 103 respectively with door lock controller 102 and door lock is connected.Driving device 103 can drive for controlling the executing agency that door opens and closes to perform corresponding action, to control corresponding door Opening and closing.Wherein, executing agency can be the lock core of door lock, and driving device 103 can be driving motor, for controlling The action of lock core.

Power supply 104 is connected with communicator 101, door lock controller 102 and driving device 103 respectively, for being filled for communication Put 101, door lock controller 102 and driving device 103 provides working power, specifically, the power supply 104 may include power management System, one or more power supplys (such as battery or alternating current), charging circuit, power-fail detection circuit, inverter, power supply shape Generation, management and the relevant component of distribution of electric power in state indicator light and any other and door lock 100.

It should be noted that the control that the door lock controller 102 in door lock 100 is also used as door lock control system is whole End, as the executive agent of control method for door lock in the embodiment of the present invention, to control the opening of door lock 100, close and lock Deng operation, specifically, described in subsequent processes embodiment.

Information collecting device 200 is used for acquisition state data, and whether status data user judges user in sleep shape State.Specifically, status data can be the biological information of human pulse, heartbeat or shell temperature, corresponding information gathering dress It can be the biological information acquisition devices such as pulse transducer or temperature sensor to put 200.Status data can also be the fortune of human body Dynamic data, then correspondingly, information collecting device 200 can be intelligent wearable device, as another embodiment, status data Can be sleep monitor data, then correspondingly, information collecting device 200 can be sleep monitoring device.

As a kind of embodiment, information collecting device 200 is sleep monitoring device, can collect the sleep prison of user Data are surveyed, it is arranged in bedding.Wherein, which includes at least one of pillow or mattress, in this present embodiment, sleep prison Survey device is pressure sensor, it is arranged in mattress.As shown in figure 3, sleep monitoring device 201 is arranged in mattress 30, sleep Dormancy monitoring device 201 is connected with gateway 300.As a kind of embodiment, sleep monitoring device 201 is arranged on when user sleeps Body contacting regions, sleep prison from the user can be just collected when user lies in the region with regard to sleep monitoring device 201 Survey data, i.e., the pressure value that pressure sensor is gathered.

As another embodiment, information collecting device 200 is intelligent wearable device, and is equipped with intelligent wearable device Motion sensor, after intelligent wearable device is worn on human body, motion sensor can gather the exercise data of human body.Example Such as, which is bracelet, is worn on the hand of human body, when human hands act, the fortune in intelligent wearable device Dynamic sensor can collect the exercise data of the hand of user.Wherein, which can be acceleration, displacement or speed Deng then motion sensor can be acceleration transducer.

Gateway 300 is used for realization the communication connection between information collecting device 200 and door lock 100.As a kind of embodiment party Formula, can be based on ZigBee, z-wave network between gateway 300 and door lock 100 and information collecting device 200 or LAN carries out Communication, illustrates by taking ZigBee technology as an example below.Information collecting device 200 and door lock 100 are completed between gateway 300 Pairing, can establish ZigBee encrypted communication channels, pass through encryption between gateway 300 and information collecting device 200 and door lock 100 Communication channel carries out data transmission.Then information collecting device 200 is sent the status data of collection to server by gateway 300 400。

In addition, gateway 300 is logical not only as information collecting device 200 and door lock 100 and between server 400 Believe bridge, in certain embodiments, the control terminal of door lock control system is also used as, as door lock in the embodiment of the present invention The executive agent of control method, controlling the opening of door lock 100, closing and the operation such as locking.

It should be noted that information collecting device 200 can not send data to server 400 by gateway 300, and It is first to send the status data gathered to door lock 100, then server is sent data to by gateway 300 by door lock 100 400.Specifically, the door lock control system 10B shown in Fig. 4 is referred to, information collecting device 200 is connected with door lock 100, specifically Ground, information collecting device 200 can be connected by bluetooth or Wi-Fi Direct with door lock 100.As a kind of embodiment, Bluetooth pairing is completed between information collecting device 200 and door lock 100, to establish bluetooth connection, information collecting device 200 will gather Status data sent by bluetooth to door lock 100.

Server 400 is used for the status data for obtaining the collection of information collecting device 200, stores the door lock state of door lock 100 And door lock 100 is managed, also, have memory space in server 400, for managing, storing user data and provide user service, Specifically, server can be single server or server cluster, can be home server or Cloud server.In certain embodiments, server 400 is also used as the control terminal of door lock control system, is used as this hair The executive agent of control method for door lock in bright embodiment, controlling the opening of door lock 100, closing and the operation such as locking, specifically Ground, described in subsequent processes embodiment.

User terminal 500 and server 400 are located in wireless network or cable network, pass through wireless network or wired network Network, user terminal 500 and server 400 carry out data interaction.

In the embodiment of the present application, user terminal 500 can be mobile terminal device, for example, can include smart mobile phone, Tablet computer, E-book reader, pocket computer on knee, vehicle-mounted computer, wearable mobile terminal etc..

In certain embodiments, client is installed in user terminal 500, for example, it may be being installed on user terminal 500 Application program.Client can be smart home APP, for by client-side management smart home, for example, open TV, Control air conditioning mode, open door lock etc..In the embodiment of the present invention, client is door lock APP, and user shows the door of door lock 100 Lock status and other and the relevant content of door lock.It should be noted that user terminal 500 can be multiple, client also may be used With by multiple, user logs in the client being installed in user terminal by account number.Then the account number corresponding to door lock 100 can also It is multiple.And in account, an account number can be set as manager, for managing the door lock, and for door lock addition newly Account number.For example, door lock 100 is installed at the gate in certain family human world, other resident population of the family is three people, is father respectively Parent, mother and son, then the corresponding account number of father can be used as manager, for by the account number of mother and son and door lock pair Should, and have permission increase and delete new account number.The corresponding account number of door lock and user can be then stored in server 400 Terminal, as shown in table 1:

Table 1

Account number User terminal IP ID1 IP1 ID2 IP2 ID3 IP3

Thus, server 400 is to send the data to the corresponding all user terminals of door lock 100, it is necessary to obtain door lock All account numbers corresponding to 100, then obtain the corresponding user terminal IP address of each account number, then data are sent out by IP address Send to corresponding user terminal.

Referring to Fig. 5, showing a kind of control method for door lock provided in an embodiment of the present invention, the executive agent of this method is The control terminal of door lock control system, specifically, the control terminal can be above-mentioned server 400, door lock controller 102 or Gateway 300, then this method include:S501 to S504.

S501:Obtain the status data of information collecting device collection.

The embodiment of information collecting device may be referred to previous embodiment, here, repeating no more.

Furthermore it is possible to obtain information collecting device collection status data before, first judge user position whether position In in default position range, specifically, the positional information of user is obtained, if the positional information of the user is located at predeterminated position In the range of, then obtain the status data that information collecting device gathers.

As a kind of embodiment, the positional information of user terminal used by a user acquisition user can be passed through.Control Terminal sends position acquisition and asks to obtain current position according to internal GPS positioning chip to the user terminal, user terminal Confidence ceases, and current positional information is sent to control terminal, position of the control terminal using the positional information received as user Confidence ceases.

As another embodiment, user passes through above-mentioned information collecting device feedback position information to control terminal. Specifically, when information collecting device is intelligent wearable device, positioning chip is equipped with the intelligent wearable device, for example, GPS cores Piece.Intelligent wearable device gathers positional information and sends to control terminal in real time.And when information collecting device is to be arranged in bedding Sleep monitoring device, such as during pressure sensor, user shifts to an earlier date the positional information of typing sleep monitoring device to control terminal, When sleep monitoring device collects sleep monitor data, and sleep monitor data sending to control terminal, control terminal is advance The sleep monitor data and the correspondence of user are stored with, acquired sleep monitor number is can determine according to the correspondence According to corresponding user.Specifically, by taking sleep monitor data are pressure value as an example, according to the pressure value and pair of weight prestored It should be related to, can detect the corresponding weight of the pressure value, so that the corresponding user of the pressure value can be obtained according to the weight, Thus, it becomes possible to determine that current time works as the identity of the user on the bedding, thus, it becomes possible to obtain the position letter of user Breath.

Wherein, the band of position that predeterminated position scope sets for user according to actual conditions, can be installation specifically The certain band of position model for having the indoor band of position of door lock 100 or being set with the position of the door lock 100 Enclose.Represent that user is located near door lock 100 if the positional information of the user is located in the range of predeterminated position, it is likely that position In interior.

Furthermore before the status data of information collecting device collection is obtained current time can be judged whether positioned at pre- If in time range.Specifically, current time is judged whether in preset time range, if so, obtaining information collecting device The status data of collection.Wherein, preset time range has user's setting, generally the length of one's sleep of user, for example, 22 points to the Two days 8 points.If current time be with the preset time range, then it represents that user should enter in the length of one's sleep, then can be with Perform it is follow-up according to the state of mind come the method for controlling door lock to lock, specifically, obtain the state of information collecting device collection Data.

Furthermore the judgement of time and the judgement of position can also be combined, it is possible to further judge current time Whether in preset time range, if so, the positional information of user is obtained, if the positional information of the user is located at default model In enclosing, the status data of information collecting device collection is obtained.Wherein, preset time range has user's setting, is generally user's The length of one's sleep, for example, 22 points to second day 8 points.If current time be with the preset time range, then it represents that user should Into the length of one's sleep, then go to obtain the positional information of user again, if the positional information of user is located in the range of predeterminated position, It may infer that user positioned at interior.Thus, it is possible to avoid user not indoors when, and go perform this method caused by mistake Difference and inconvenience, on the other hand, can also go to perform this method again in the given time, and reduce power consumption.

S502:The state of mind of user is judged according to the status data.

Sleep is generally divided into four-stage:

Phase1 falls asleep the stage:Loosening all muscles enters shallow dormancy, it is easy to is waken.

Phase2 is shallow to sleep the stage:Respiratory heart saltus step is slow, and body temperature slightly reduces, and body moves relatively active.

Phase3 deep sleep stages:A stage becomes slower earlier above for breathing heartbeat, and loosening all muscles, body is almost motionless, brain Inactive, no dream, this stage, which is waken, needs the time to recover.

Phase4 dynamic/REM stages:Brain liveness is no different with daytime, and eyes quickly move but body is almost motionless.

Therefore, the information such as the action of different sleep stage human bodies, heartbeat all can be different.Based on this, according to the state Data judge that the embodiment of the state of mind of user can be, the pulse of human body is gathered by information collecting device, passes through people Body pulse predicts the heartbeat of people, and different heartbeats corresponds to different sleeps, for example, heartbeat is less than a threshold value, then judges to use The state of mind at family is sleep state, if heartbeat is greater than or equal to the threshold value, the state of mind for judging user is non-sleep shape State.

Furthermore it is also possible to the state of mind of user is judged according to the motion state of user, as a kind of embodiment, institute Information collecting device is stated as in intelligent wearable device, the status data includes user movement data, is obtained in preset time period The user movement data of the intelligent wearable device collection;Judge the user described default according to the user movement data Motion state in period;If the motion state meets preset condition, the state of mind for judging the user is sleep State;If the motion state is unsatisfactory for preset condition, the state of mind for judging the user is non-sleep state.Wherein, Motion state includes first state and the second state, wherein, first state represents that the movement range of user is smaller and relatively slow, and The movement range of second state representation user is larger and action is more.

Specifically, intelligent wearable device is to be internally provided with the bracelet of motion sensor, is worn at the wrist of user, and collection is used The acceleration during list action of family, obtains multiple acceleration magnitudes in preset time period, sets an acceleration rate threshold, obtains more It is more than the quantity of the acceleration magnitude of the acceleration rate threshold in a acceleration magnitude, if the quantity is more than default value, judges to use The motion state at family is that movement range is smaller and action is few, that is, meets preset condition, then user's non-sleep state is judged, if being less than Default value, then judge that the motion state of user is larger and action is more for movement range, be then unsatisfactory for preset condition, judgement user Non-sleep state.Wherein, acceleration rate threshold is set by user according to practical application, and concrete meaning is, less than or equal to this plus Movement range corresponding to the acceleration magnitude of threshold speed is smaller and relatively slow, and higher than the acceleration magnitude institute of the acceleration rate threshold Corresponding movement range is larger.It is more if greater than the acceleration magnitude of the acceleration rate threshold, show user in preset time period Action frequency it is more, and movement range increase, then user be in sleep possibility it is very low, then judge user be in non-sleep state The state of mind, conversely, the state of mind for then judging user is sleep state.

As another embodiment, described information harvester is sleep monitoring device, the status data includes sleeping Dormancy monitoring data;The status data of information collecting device collection is obtained, the state of mind of user is judged according to the status data Embodiment include:Obtain the sleep monitor data of the sleep monitoring device collection in preset time period;Slept according to described Dormancy monitoring data judge physiological status of the user in the preset time period;If the physiological status meets default bar Part, the then state of mind for judging the user are sleep state;If the physiological status is unsatisfactory for preset condition, judge described in The state of mind of user is non-sleep state.

Specifically, by taking sleep monitoring device is the pressure sensor being arranged in bedding as an example, which is mattress, is such as schemed Shown in 3, multiple sleep monitoring devices 201 are equipped with mattress, sleep monitoring device can gather pressure value (the i.e. sleep prison of user Survey data), if user is in sleep state, that is, act under very little and seldom situation, the pressure value of pressure sensor collection It is almost unchanged.Therefore, multiple pressure values of preset time period pressure sensor collection are obtained, obtain the change of multiple pressure values Amplitude.For example, variance yields is calculated to the multiple pressure value, using the variance yields calculated as amplitude of variation.If change width Degree is greater than or equal to default float value, then judges that the physiological status of user is larger and action is more for movement range, be then unsatisfactory for pre- If condition, the state of mind for judging user is non-sleep state, if amplitude of variation is less than default float value, judges user's Physiological status is that movement range is smaller and action is few, that is, meets preset condition, then the state of mind for judging user is sleep state.

S503:If the state of mind is sleep state, judge whether the door lock is in non-and locks state.

Specifically, door lock is locked in execution, closed or during opening action, i.e., these action records are corresponding in the door lock In operation note, state corresponding to the door lock can be just obtained by transferring the operation note.

In addition, if there are multiple users in interior, in order to avoid personage is anti-by door lock still in the case of activity indoors Lock and caused by inconvenience, can judge it is indoor everyone be to be in sleep state, mode specifically is:

The status data of each user in position range is obtained, can be that each user wears a hand specifically Ring, and the ID of bracelet is corresponding with the identity information of user, for example, bracelet possesses positioning chip, can send positional information in real time, Thus indoor number of users can be counted.The status data of user is being obtained by bracelet, and is being judged according to status data Whether each user is in dormant state.

In the case, the state of mind for some people needs to pay special attention to, for example, in the case that there is child in interior, If adult sleeps, child may go to outdoor and face a danger.Therefore, it is set in advance special to be worn on bracelet On the user of identity, the ID of the bracelet is corresponding with the identity information of the user of the special identity, is judging indoor other users In sleep state, still, when the user of special identity is in non-sleep state, so execution is appointed to judge whether the door lock is in The non-operation for locking state and follow-up control door lock is locked.

S504:If the door lock is in non-and locks state, the door lock is controlled to lock.

Consult and be used to store the operation note of door lock state, if when the state of front door lock locks state to be non-, control Door lock is locked, and is the door lock controller in server or door lock according to control terminal specifically, and the side for controlling door lock to lock Formula is slightly different, and specifically, refers to following embodiment.

Referring to Fig. 6, showing a kind of control method for door lock provided in an embodiment of the present invention, the executive agent of this method is Door lock controller in the door lock of door lock control system, this method are applied to the system shown in Fig. 4.Specifically, then this method bag Include:S601 to S613.

S601:Judge current time whether in preset time range.

The memory memory storage of door lock has user's preset time range set in advance, obtains current system time conduct Current time.If it is determined that current time is located in preset time range, then S602 is performed, if it is decided that current time is positioned at pre- If outside time range, then terminate this flow.

S602:Obtain the positional information of user.

Specifically, information collecting device is connected with the communicator in door lock, as a kind of embodiment, the communicator For bluetooth module, information collecting device passes through bluetooth connection with door lock.Information collecting device by the positional information of collection send to Door lock, wherein, the mode that information collecting device obtains positional information see previous embodiment, and details are not described herein.

S603:If the positional information of the user is located in the range of predeterminated position, the shape of information collecting device collection is obtained State data.

S604:Judge whether user is in sleep state.

S605:Judge whether the door lock is in non-and locks state.

The part that above-mentioned S601 to S605 is not described in detail see previous embodiment.

S606:Judge whether the door lock is closed.

Operation note for storing door lock state is stored in the memory of door lock, and door lock controller is stored by consulting Operation note in device can interpolate that when whether front door lock is closed, if it is, step S608 is performed, if not, Then perform step S607.

S607:Send the first warning message and be not turned off state to remind door lock described in user to be in.

Wherein, the first warning message can be the sound-light alarms such as buzzer, light, installed in the interior corresponding to door lock or Near person's door lock.In addition, door lock can also send corresponding with the first warning message first and carry while the first warning message Information of waking up is sent to server, then sent the first prompting message to institute corresponding with door lock by server to gateway by gateway There is the user terminal of account number, to remind all users corresponding to the door lock, wherein, the first prompting message can be short message etc. Text message.After the first warning message is sent, user can be reminded to close the door in time, i.e., closed door lock, then returned again Execution judges whether the door lock is closed, and sending the first warning message again if again without closing is carried Wake up, until door lock is closed.

S608:The door lock is controlled to lock.

Specifically, door lock controller, which is sent, locks instruction to driving device, and driving device controls the lock core action of door lock, with Realize locking for door lock.

S609:The received unlocking request of monitoring.

After door lock is locked, the security consideration in user is, it is necessary to which the unlocking request received to door lock is monitored. Specifically, the unlocking request of door lock includes fingerprint unlocking, key unlocking, access card is unlocked and password unlocking, and every kind of unlocking side Formula is all corresponding with unlocking apparatus, for example, fingerprint, which is unlocked, is corresponding with fingerprint module, for gathering the fingerprint of user, then in fingerprint mould When group receives fingerprint, judge that current unlocking mode is unlocked for fingerprint.For another example key unlocking is corresponding with keyhole, in key Keyhole nearby can be positioned proximate to sensor etc., and in key close in keyhole, proximity sensor can collect object and connect Closely, then judge that current unlocking is asked as key unlocking.Similarly, gate inhibition's card reader is used to gather the information in access card, touches Touch screen or cipher inputting keyboard is used to gather password.

S610:Judge whether the request of unlocking is fingerprint unlocking request.

Asked if the request of unlocking is unlocked for fingerprint, perform step S611, if described unlock asks non-fingerprint to be unlocked Request, for example, being password unlocking request, access card unlocking request or key unlocking request etc., performs step S612.

S611:Judge whether received fingerprint meets preset standard.

The corresponding fingerprint for advance typing of door lock is contained in the memory memory of door lock, as with unlocking qualification Fingerprint, if the fingerprint received belongs to the fingerprint with unlocking qualification, judges that received fingerprint meets preset standard, then Perform step S613.If it is determined that the fingerprint received is unsatisfactory for preset standard, the unlocking action of door lock is not performed, then can be tied Shu Benci methods, can also return and perform step S609.As a kind of embodiment, if it is decided that the fingerprint received is unsatisfactory for Preset standard, then perform step S612.

S612:Issue the user with the second warning message.

Wherein, the second warning message can be the sound-light alarm such as buzzer, light or voice information or word is believed Breath, correspondingly, it can also be display that the second warning message, which can be audible-visual annunciator,.Wherein, for sending the second alarm signal The warning device of breath can be arranged near door lock, specifically, at the doorway being disposed in the outdoor, for reminding visitor to use Fingerprint unlocks and inputs correct fingerprint, and returns and perform step S609.

In addition, while door lock sends the second warning message, generation is reminded with the second warning message corresponding second to be believed Breath is sent to server by gateway, and user terminal corresponding to the door lock is sent by server, to remind all users to work as Front door lock is in the state of locking, and visitor is unlocked using the mode outside unlocked by fingerprint, it is understood that there may be security risk.

S613:The door lock is controlled to unlock.

Door lock controller sends unlocking instruction to driving device, driving device and controls lock core to act according to the unlocking instruction, So as to by door-lock opening.

It should be noted that door lock controller can be according to the memory memory of the state real-time update door lock when front door lock Data such as the operation opened or closed of door lock state, door lock of storage, and being sent by gateway to server, by server by door The operation note of lock is sent to the user terminal, and is shown on the subscriber terminal.As a kind of embodiment, locked in control door lock Afterwards, send and lock modification instruction to the corresponding user terminal of the door lock, indicate that the user terminal will be stored described in The status modifier of door lock is to lock state and show.

In addition, in Fig. 6, the executive agent of the S601 to S608 of control method for door lock can be door lock and server, then walk Rapid S601 to S608 can be the interaction of door lock and server, and this method is applied to the system shown in Fig. 1.Specifically, please Refering to Fig. 7, the interaction sequence diagram between each device in door lock control system is shown.

S701:Whether server judges current time in preset time range.

Specifically, preset time is that server is set in advance, can be that user sets the advance time on the subscriber terminal, Preset time typing server or user are set into preset time in door lock, door lock is uploaded to service by gateway Device.

S702:If current time is located in preset time range, server obtains the positional information of user.

S703:If the positional information of the user is located in the range of predeterminated position, server status data obtains please Ask to information collecting device.

Server status data obtains request to information collecting device, can include in state data acquisition request The initial time and terminal time of preset time period, can also include specifically data type, for example, information collecting device is hand Ring, the bracelet can gather the heartbeat data and exercise data of user, then state data acquisition request specify information harvester Return to the exercise data in preset time period.

S704:Information collecting device sends status data in gathered preset time period to server.

S705:Server judges the state of mind of user according to the status data.

S706:If the state of mind of user is sleep state, server sends and locks control instruction.

S707:Door lock controller judges whether door lock is closed.

S708:If door lock is not off, door lock controller sends the first prompting message to server.

S709:Server sends the first prompting message to user terminal.

S710:If door lock is closed, door lock controller judges whether door lock is in and locks state.

S711:If door lock is not in the state of locking, door lock controller performs and locks operation.

It should be noted that the step of after above-mentioned steps S711, may be referred to the embodiment in Fig. 6, specifically, if door Lock is not in the state of locking, and after operation is locked in door lock controller execution, can continue to execute S609 after the general headquarters in Fig. 6.Separately Outside, above-mentioned detailed embodiment refers to previous embodiment, and details are not described herein.

Referring to Fig. 8, showing a kind of door-lock controller provided in an embodiment of the present invention, which is applied to door lock The control terminal of control system, specifically, the control terminal can be above-mentioned server 400, door lock controller 102 or gateway 300, then the device include:Data capture unit, the first judging unit, the second judging unit and control unit.

Data capture unit, for obtaining the status data of information collecting device collection.

First judging unit, for judging the state of mind of user according to the status data.

Whether the second judging unit, if being sleep state for the state of mind, judge the door lock in non- Lock state.

Control unit, if being in non-for the door lock locks state, controls the door lock to lock.

It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, details are not described herein.

In conclusion control method for door lock provided in an embodiment of the present invention, apparatus and system, obtain information collecting device and adopt The status data of collection, judges whether user is in sleep state according to status data, if so, and judge door lock do not lock, then Control door lock is locked.Compared with prior art, the embodiment of the present invention can be when judging that user is in sleep state automatically by door Lock is locked, and is avoided because user forgets the security risk brought locking.

In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or the spy for combining the embodiment or example description Point is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms is not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any Combined in an appropriate manner in a or multiple embodiments or example.In addition, without conflicting with each other, the technology of this area Different embodiments or example described in this specification and different embodiments or exemplary feature can be combined by personnel And combination.

In addition, term " first ", " second " are only used for description purpose, and it is not intended that instruction or hint relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or Implicitly include at least one this feature.In the description of the present invention, " multiple " are meant that at least two, such as two, three It is a etc., unless otherwise specifically defined.

Any process or method described otherwise above description in flow chart or herein is construed as, and represents to include Module, fragment or the portion of the code of the executable instruction of one or more the step of being used for realization specific logical function or process Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discuss suitable Sequence, including according to involved function by it is basic at the same time in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.

Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass Defeated program is for instruction execution system, device or equipment or the dress used with reference to these instruction execution systems, device or equipment Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following:Electricity with one or more wiring Connecting portion (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can be for example by carrying out optical scanner to paper or other media, then into edlin, interpretation or if necessary with it His suitable method is handled electronically to obtain described program, is then stored in computer storage.

It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In embodiment, software that multiple steps or method can be performed in memory and by suitable instruction execution system with storage Or firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardware Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, have suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..

Those skilled in the art are appreciated that to realize all or part of step that above-described embodiment method carries Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium In matter, the program upon execution, including one or a combination set of the step of embodiment of the method.In addition, in each embodiment of the present invention In each functional unit can be integrated in a processing module or unit is individually physically present, can also two A or two or more unit is integrated in a module.Above-mentioned integrated module can both be realized in the form of hardware, also may be used Realized in the form of using software function module.If the integrated module realized in the form of software function module and as Independent production marketing in use, can also be stored in a computer read/write memory medium.

Storage medium mentioned above can be read-only storage, disk or CD etc..Although have been shown and retouch above The embodiment of the present invention is stated, it is to be understood that above-described embodiment is exemplary, it is impossible to be interpreted as the limit to the present invention System, those of ordinary skill in the art can be changed above-described embodiment, change, replace and become within the scope of the invention Type.

Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art are when understanding:It still can be with Modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;And These modification or replace, do not drive appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and Scope.

Claims (10)

  1. A kind of 1. control method for door lock, it is characterised in that applied to the control terminal of door lock control system, the door lock control system System further includes information collecting device, the described method includes:
    Obtain the status data of information collecting device collection;
    The state of mind of user is judged according to the status data;
    If the state of mind is sleep state, judge whether the door lock is in non-and locks state;
    If the door lock is in non-and locks state, the door lock is controlled to lock.
  2. If 2. according to the method described in claim 1, it is characterized in that, the door lock be in it is non-lock state, control The door lock is locked, including:
    If the door lock is in non-and locks state, judge whether the door lock is closed;
    If the door lock is closed, the door lock is controlled to lock;
    If the door lock is not off, the first warning message is sent to remind door lock described in user to be in and is not turned off shape State.
  3. 3. according to the method described in claim 1, it is characterized in that, it is described obtain information collecting device collection status data, Including:
    Current time is judged whether in preset time range, if so, obtaining the status data of information collecting device collection.
  4. 4. according to the method described in claim 1, it is characterized in that, it is described obtain information collecting device collection status data, Including:
    Obtain the positional information of user;
    If the positional information of the user is located in preset range, the status data of information collecting device collection is obtained.
  5. 5. according to any methods of claim 1-4, it is characterised in that described information harvester sets for intelligence wearing Standby, the status data includes user movement data;The status data for obtaining information collecting device collection, according to the shape State data judge the state of mind of user, including:
    Obtain the user movement data of the intelligent wearable device collection in preset time period;
    Judge motion state of the user in the preset time period according to the user movement data;
    If the motion state meets preset condition, the state of mind for judging the user is sleep state;
    If the motion state is unsatisfactory for preset condition, the state of mind for judging the user is non-sleep state.
  6. 6. according to any methods of claim 1-4, it is characterised in that described information harvester fills for sleep monitor Put, the status data includes sleep monitor data;The status data for obtaining information collecting device collection, according to the shape State data judge the state of mind of user, including:
    Obtain the sleep monitor data of the sleep monitoring device collection in preset time period;
    Judge physiological status of the user in the preset time period according to the sleep monitor data;
    If the physiological status meets preset condition, the state of mind for judging the user is sleep state;
    If the physiological status is unsatisfactory for preset condition, the state of mind for judging the user is non-sleep state.
  7. If 7. according to the method described in claim 1, it is characterized in that, the door lock be in it is non-lock state, control After the door lock is locked, the method further includes:
    Judge whether received unlocking request is fingerprint unlocking request;
    If the request of unlocking is unlocked request for fingerprint, judge whether received fingerprint meets preset standard, if it is not, then to Family sends the second warning message;Or,
    Asked if the request of unlocking is unlocked for non-fingerprint, issue the user with the second warning message.
  8. If 8. according to the method described in claim 1, it is characterized in that, the door lock be in it is non-lock state, control After the door lock is locked, the method further includes:
    Transmission locks modification instruction to the corresponding user terminal of the door lock, indicates the door that the user terminal will be stored The status modifier of lock is to lock state and show.
  9. A kind of 9. door-lock controller, it is characterised in that applied to the control terminal of door lock control system, the door lock control system System further includes information collecting device, and described device includes:
    Data capture unit, for obtaining the status data of information collecting device collection;
    First judging unit, for judging the state of mind of user according to the status data;
    Second judging unit, if being sleep state for the state of mind, judges whether the door lock is locked in non- State;
    Control unit, if being in non-for the door lock locks state, controls the door lock to lock.
  10. 10. a kind of door lock control system, it is characterised in that including information collecting device and control terminal, described information collection dress Put and connected with the control terminal;
    Described information harvester is used for acquisition state data, and the status data is sent to the control terminal;
    The control terminal is used for the status data for obtaining information collecting device collection, judges user's according to the status data The state of mind, if the state of mind is sleep state, judges whether the door lock is in non-and locks state, if the door Lock locks state in non-, then controls the door lock to lock.
CN201711399822.1A 2017-12-19 2017-12-19 Control method for door lock, apparatus and system CN108038946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711399822.1A CN108038946A (en) 2017-12-19 2017-12-19 Control method for door lock, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711399822.1A CN108038946A (en) 2017-12-19 2017-12-19 Control method for door lock, apparatus and system

Publications (1)

Publication Number Publication Date
CN108038946A true CN108038946A (en) 2018-05-15

Family

ID=62100666

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711399822.1A CN108038946A (en) 2017-12-19 2017-12-19 Control method for door lock, apparatus and system

Country Status (1)

Country Link
CN (1) CN108038946A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005235090A (en) * 2004-02-23 2005-09-02 Aisin Seiki Co Ltd Security device by means of sleep detection
US9396599B1 (en) * 2015-05-29 2016-07-19 Google Inc. Systems and methods for anticipatory locking and unlocking of a smart-sensor door lock
CN105867284A (en) * 2016-06-17 2016-08-17 美的集团股份有限公司 Method and system for monitoring safe sleep
CN105976464A (en) * 2016-04-29 2016-09-28 宇龙计算机通信科技(深圳)有限公司 Access control lock control method, and apparatus and terminal thereof
CN106308752A (en) * 2016-08-23 2017-01-11 广东小天才科技有限公司 Sleep monitoring method based on wearable equipment and sleep monitoring system based on wearable equipment
CN107157443A (en) * 2017-04-27 2017-09-15 深圳市赛亿科技开发有限公司 A kind of sleep monitor and the method and system of control

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005235090A (en) * 2004-02-23 2005-09-02 Aisin Seiki Co Ltd Security device by means of sleep detection
US9396599B1 (en) * 2015-05-29 2016-07-19 Google Inc. Systems and methods for anticipatory locking and unlocking of a smart-sensor door lock
CN105976464A (en) * 2016-04-29 2016-09-28 宇龙计算机通信科技(深圳)有限公司 Access control lock control method, and apparatus and terminal thereof
CN105867284A (en) * 2016-06-17 2016-08-17 美的集团股份有限公司 Method and system for monitoring safe sleep
CN106308752A (en) * 2016-08-23 2017-01-11 广东小天才科技有限公司 Sleep monitoring method based on wearable equipment and sleep monitoring system based on wearable equipment
CN107157443A (en) * 2017-04-27 2017-09-15 深圳市赛亿科技开发有限公司 A kind of sleep monitor and the method and system of control

Similar Documents

Publication Publication Date Title
US9016565B2 (en) Wearable personal digital device for facilitating mobile device payments and personal use
US7270633B1 (en) Ambulatory repeater for use in automated patient care and method thereof
Lupu et al. AMUSE: autonomic management of ubiquitous e‐Health systems
CA2535994C (en) Use of location awareness to transfer communications sessions between terminals in a healthcare environment
CN104885089B (en) The long-range monitoring of analysis measurement
Dohr et al. The internet of things for ambient assisted living
CN104302227B (en) The method and apparatus with customizable electrical management
CA2535962C (en) Use of location awareness to request assistance for a medical event occurring in a healthcare environment
EP2039120B1 (en) Method and apparatus for localized adaptation of client devices based on correlation or learning at remote server
CN103908227B (en) Portable wireless biometric device is synchronous
AU2013355386B2 (en) Medicament storage, dispensing, and administration system and method
US7088233B2 (en) Personal medical device communication system and method
US9848786B2 (en) Infant monitoring system and methods
CN103488924B (en) A kind of unlocking processing method of terminal, device and equipment
US20090081951A1 (en) Time synchronization in wireless ad hoc networks of medical devices and sensors
Yürür et al. Context-awareness for mobile sensing: A survey and future directions
Williams et al. A systems approach to achieving CarerNet-an integrated and intelligent telecare system
Baker et al. Internet of things for smart healthcare: Technologies, challenges, and opportunities
EP3098784A2 (en) Systems and methods for anticipatory locking and unlocking of a smart-sensor door lock
US9699596B2 (en) Method for achieving short-distance unlocking according to the electrocardiogram and system thereof
GB2423388A (en) Use of location awareness to establish communications with a target clinician in a healthcare environment.
KR20040074056A (en) Monitoring a daily living activity and analyzing data related thereto
Abawajy et al. Federated internet of things and cloud computing pervasive patient health monitoring system
Calhoun et al. Body sensor networks: A holistic approach from silicon to users
WO2003102865A1 (en) Home control system with prediction based on sequential pattern matching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination