CN105991757A - Door lock status monitoring method and device - Google Patents

Door lock status monitoring method and device Download PDF

Info

Publication number
CN105991757A
CN105991757A CN201510694421.3A CN201510694421A CN105991757A CN 105991757 A CN105991757 A CN 105991757A CN 201510694421 A CN201510694421 A CN 201510694421A CN 105991757 A CN105991757 A CN 105991757A
Authority
CN
China
Prior art keywords
door lock
service
characteristic value
bluetooth
monitoring
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201510694421.3A
Other languages
Chinese (zh)
Inventor
于海兰
黄钦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
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 LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Priority to CN201510694421.3A priority Critical patent/CN105991757A/en
Priority to PCT/CN2016/088402 priority patent/WO2017067221A1/en
Priority to US15/236,322 priority patent/US20170116841A1/en
Publication of CN105991757A publication Critical patent/CN105991757A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The invention provides a door lock status monitoring method and a door lock status monitoring device. The method includes the following steps that: door lock services provided by a server end are searched according to door lock service identification codes broadcasted by the server end, wherein the door lock service identification codes are in corresponding relationships with the door lock services; Bluetooth connections corresponding to the door lock services are established with the server end; and door lock status characteristic values corresponding to the door lock services are read through the Bluetooth connections and according to the door lock service identification codes, wherein the door lock status characteristic values corresponding to the door lock services include an opened status characteristic value or a closed status characteristic value. With the door lock status monitoring method and the door lock status monitoring device provided by the embodiments of the invention adopted, the real-time status of a door lock can be checked by using a mobile terminal. Compared with the prior art according to which a user needs to return home to check a door lock, the door lock status monitoring method and the door lock status monitoring device of the invention can assist in saving time for the user and avoiding unnecessary economic losses.

Description

A kind of monitoring method and device of door lock state
Technical field
The present embodiments relate to wireless communication technology field, particularly relate to the monitoring side of a kind of door lock state Method and device.
Background technology
Along with economic development, the living standard of people improves constantly, and security precautions also obtains Pay attention to more, but sometimes because oneself is slipped up, often result in unnecessary trouble, even make Become huge loss.
In daily life, following situation often occurs: after a period of time that is away from home, Have forgotten and whether door is locked, if now returning again to house to check that door is locked the most, can be people Bringing unnecessary trouble and cause waste of time, checking if stayed out, being likely to cause again Loss economically.
Summary of the invention
The embodiment of the present invention provides the monitoring method and device of a kind of door lock state, in order to solve prior art Middle user needs to return to home when suspecting door no lock and checks that door is locked the most, thus causes temporal wave Take or the problem of loss economically.
The embodiment of the present invention provides a kind of monitoring method of door lock state, including:
According to the door lock service identification code of service end broadcast, the door lock service that search service end provides;Wherein, Described door lock service identification code and described door lock service have corresponding relation;
Set up bluetooth corresponding to described door lock service to connect with described service end;
According to described door lock service identification code, connected by described bluetooth, read described door lock service corresponding Door lock state characteristic value;Wherein, the door lock state characteristic value that described door lock service is corresponding include opening or Person closes.
According to another aspect of the present invention, it is provided that a kind of monitoring method of door lock state, including:
The real-time status of monitoring door lock, and it is corresponding to update door lock service according to the real-time status of described door lock Door lock state characteristic value;
Broadcast door lock service identification code;Wherein, described door lock service identification code has with described door lock service Corresponding relation;
Set up bluetooth corresponding to described door lock service to connect with described client.
According to another aspect of the invention, it is provided that the supervising device of a kind of door lock state, including:
Service search module, for the door lock service identification code according to service end broadcast, search service end carries The door lock service of confession;Wherein, described door lock service identification code and described door lock service have corresponding relation;
First connection establishment module, for setting up bluetooth corresponding to described door lock service even with described service end Connect;And
First state read module, for according to described door lock service identification code, is connected by described bluetooth, Read the door lock state characteristic value that described door lock service is corresponding;Wherein, the door lock that described door lock service is corresponding State characteristic value includes opening or closing.
Foundation it is still another aspect of the present invention to provide the supervising device of a kind of door lock state, including:
State monitoring module, for monitoring the real-time status of door lock, and the real-time shape according to described door lock State updates the door lock state characteristic value that door lock service is corresponding;
Broadcast module, is used for broadcasting door lock service identification code;Wherein, described door lock service identification code and institute State door lock service and there is corresponding relation;And
Second connection establishment module, for setting up bluetooth corresponding to described door lock service even with described client Connect.
The monitoring method and device of the door lock state that the embodiment of the present invention provides, by mobile terminal according to clothes The door lock service identification code of business end broadcast, searches for the door lock service that described door lock service identification code is corresponding, and Set up bluetooth for door lock service with service end to be connected, i.e. may utilize bluetooth and connect acquisition door lock service correspondence Door lock state characteristic value, namely use mobile terminal can check the real-time status of door lock, relative to existing There is technology to need user to return to home to check, can be that user is time-consuming and avoid unnecessary warp Ji loss.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 shows the flow chart of steps of the monitoring embodiment of the method one of a kind of door lock state of the present invention;
Fig. 2 shows the flow chart of steps of the monitoring embodiment of the method two of a kind of door lock state of the present invention;
Fig. 3 shows the flow chart of steps of the monitoring embodiment of the method three of a kind of door lock state of the present invention;
Fig. 4 shows the structured flowchart of the supervising device embodiment one of a kind of door lock state of the present invention;And
Fig. 5 shows the structured flowchart of the supervising device embodiment two of a kind of door lock state of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
Embodiment one
The embodiment of the present invention can utilize mobile terminal to pass through bluetooth connection and obtain the real-time shape of monitored device State, it is possible, firstly, to arrange the supervising device with Bluetooth function, to monitor and to remember in monitored device Record the real-time status (such as open or close) of this monitored device, wherein, described monitored device Can include door, car door, window etc., the present invention is not any limitation as concrete monitored device. Then, mobile terminal is connected by the bluetooth set up with monitored device, can obtain monitored device Real-time status.Wherein, mobile terminal can include cell phone, smart phone, laptop computer, PC (personal computer, PC), e-book terminal, digital broadcast terminal, PDA (Personal Digital Assistant, personal electric assistant), portable media player or navigation system etc., permissible Understanding, the embodiment of the present invention is not any limitation as concrete mobile terminal.For convenience of description, this Bright embodiment all illustrates as a example by monitored device using mobile phone as mobile terminal, door, its Its application scenarios is cross-referenced.
BLE (Bluetooth Low Energy, low-power consumption bluetooth) agreement, as bluetooth 4.0 specification A part, is introduced into for solving the big problem of conventional Bluetooth power consumption, and the embodiment of the present invention utilizes BLE Fast search, the quick feature such as connection, super low-power consumption, it is achieved the monitoring of door lock state, relative to making With conventional Bluetooth, the efficiency of monitoring process can be improved and save the energy consumption of monitoring process.
In BLE agreement, all of communication all occur GATT (GenericAttributeProfile, General-purpose attribute configuration file) layer.BLE agreement specifically can include GATT client and GATT service End, wherein, GATT service end can be the service of GATT clients providing data, GATT client Can be from GATT service end read-write application data.When communication, GATT client executing searches GATT The operation of service end, after finding GATT service end and connection establishment success, both sides can receive and dispatch Data.In embodiments of the present invention, door can provide door lock state data clothes as GATT service end Business, mobile phone can receive door status data as GATT client from service end.
With reference to Fig. 1, it is shown that the step stream of the monitoring embodiment of the method one of a kind of door lock state of the present invention Cheng Tu, specifically may include that
Step 101, the door lock service identification code broadcasted according to service end, the door lock that search service end provides Service;Wherein, described door lock service identification code and described door lock service have corresponding relation;
Wherein, described door lock service identification code specifically can use UUID (Universally Unique Identifier, globally unique identifier) identify, this UUID can be used to uniquely identify GATT clothes Business.
In a particular application, GATT service end can include multiple configuration file Profile, and profile can To be interpreted as a kind of specification, the communication protocol of a standard, a Profile can comprise one or more GATT services, and each GATT service represents a kind of function that service end can realize;Each GATT Service can comprise one or more GATT characteristic, and a GATT characteristic is one and can pass through BLE Carry out the atomic data transmitted.One GATT characteristic can comprise arbitrary data, with a type mark Know symbol and represent the type of arbitrary data;Each GATT characteristic can comprise zero or more GATT and describe Symbol.One common ground of GATT service, GATT characteristic and GATT descriptor is that they make By universal unique identifier (UUID) mark.As UUID title is showed, UUID It is a simple and unique identifier, is used for finding GATT service, GATT characteristic and GATT Descriptor.
In a kind of application example of the present invention, door can provide door lock service as GATT service end (House door Service), the characteristic (characteristic) of this service support can include door lock shape State (House door Lock State Record).Set up after bluetooth is connected with service end in client, Client can obtain door lock service according to the UUID of door lock service, and it is corresponding to read door lock service Door lock state characteristic value.
With reference to table 1, it is shown that the configuration file structural representation of a kind of GATT service end of the present invention.Its In, M represents compulsory, and O represents optional, certainly, in actual applications, can as desired to Arrange service therein and characteristic is supportive.
Table 1
Profile Requirement Support
Service Discovery M
-House door ServiceDiscovery M
-Device Information Service Discovery O
Characteristic Discovery M
-House door ServiceCharacteristic Discovery M
-Device Information Service Characteristic Discovery O
House door Lock State Record M
In the embodiment of the present invention, client is set up before bluetooth is connected with service end, and the service that is first carried out is sent out Now operation and characteristic find operation.In the stage of service discovery (Service Discovery), door meeting The UUID of the service Service that self is supported is broadcasted, i.e. House door can be broadcasted in door The UUID of Service.Mobile phone searches corresponding House door Service according to this UUID serviced Service.
In characteristic finds the stage of (Characteristic Discovery), mobile phone equally can be according to House The UUID of door Service finds that this services characteristic characteristic (the i.e. House door supported Lock State Record characteristic), and the descriptor of this characteristic.
Step 102 is set up bluetooth corresponding to described door lock service and is connected with described service end;
In embodiments of the present invention, client sets up the step that bluetooth is connected with service end, specifically can wrap Include:
Whether step S11, detection bluetooth are opened, if bluetooth is not switched on, can point out with ejection system frame Open bluetooth;
Step S12, scanning BLE bluetooth equipment (such as door);
Preferably, in order to save energy consumption, can stop immediately when scanning bluetooth equipment corresponding to door Only scan operation.
Step S13, execution service discovery operation;
In a particular application, can perform by calling BluetoothGatt.discoverServices method Service discovery operates, and the method is asynchronous operation, permissible in call back function onServicesDiscovered Obtain lookup state status, whether be equal to by the value judging status BluetoothGatt.GATT_SUCCESS judges that service discovery operation is the most successful, if success, After setting up bluetooth foundation with service end, service can be obtained by BluetoothGatt.getService BluetoothGattService。
Step S14, execution characteristic find operation;
After service discovery success, characteristic can be performed and find operation, to learn that the service of above-mentioned discovery has There is which available characteristic, after setting up bluetooth foundation with service end, can pass through BluetoothGattService.getCharacteristic obtains the characteristic that service is corresponding BluetoothGattCharacteristic。
Step S15 is set up bluetooth with service end and is connected.
In embodiments of the present invention, after having performed service discovery and characteristic discovery operation, client is permissible Setting up bluetooth corresponding to described door lock service to connect with service end, it is right that client can be connected by this bluetooth The door lock state characteristic value that door lock service is corresponding is written and read operation.
Step 103, according to described door lock service identification code, connected by described bluetooth, read described door The door lock state characteristic value that lock service is corresponding;The door lock state characteristic value that described door lock service is corresponding includes beating On or off is closed.
After the client bluetooth successful connection with service end, the function of correspondence can be called to obtain service The door lock service (House door Service) of end, and to the House door Lock State in this service Record door lock state characteristic value is written and read.
In one preferred embodiment of the invention, above-mentioned door lock service pair can be read as follows The door lock state characteristic value answered:
According to the cycle very first time, poll reads the door lock state characteristic value that described door lock service is corresponding.
In actual applications, after the distance that user the goes out ultimate range more than bluetooth connection, mobile phone It is connected with the bluetooth between door, can disconnect, now cannot obtain door lock state characteristic value by mobile phone. Now, by mobile phone, user cannot check that door is locked the most, and in order to solve the problems referred to above, the present invention is real Execute example and can read and record, according to the cycle very first time, poll, the door lock state that described door lock service is corresponding Characteristic value.Wherein, the cycle very first time can be configured according to actual needs, such as, could be arranged to 5 seconds, the present invention was not any limitation as the scope in the cycle very first time.So, leave user In the time that door is the shortest, mobile phone has obtained and have recorded door lock state characteristic value, even if bluetooth connects Disconnect, by mobile phone, user still can check that door is locked the most, with ensure monitor door lock state and Shi Xing.
To sum up, in embodiments of the present invention, the door lock service identification code that mobile terminal is broadcasted according to service end, Search for the door lock service that described door lock service identification code is corresponding, and set up indigo plant for door lock service with service end Tooth connects, and can be connected by bluetooth and obtain the door lock state characteristic value that door lock service is corresponding, namely pass through Mobile terminal can check the real-time status of door lock, needs user to return to home relative to prior art and looks into See, can be that user is time-consuming and avoid unnecessary economic loss.
Additionally, the embodiment of the present invention is according to the cycle very first time, it is corresponding that poll reads described door lock service Door lock state characteristic value, to avoid causing obtaining door lock state characteristic value owing to bluetooth connects to disconnect Problem, thereby may be ensured that the promptness of monitoring door lock state.
Embodiment two
The present embodiment is on the basis of above-described embodiment one, it is also possible to include following optional technical scheme.This Embodiment is set up after bluetooth is connected in client with service end, can monitor between client and service end Distance, described distance more than first threshold and described door lock state characteristic value for opening time, send Information, to point out user family's non-locking door, prevents from causing the economic loss of user.
With reference to Fig. 2, it is shown that the step stream of the monitoring embodiment of the method two of a kind of door lock state of the present invention Cheng Tu, specifically may include that
Step 201, the door lock service identification code broadcasted according to service end, the door lock that search service end provides Service;Wherein, described door lock service identification code and described door lock service have corresponding relation;
Step 202 is set up bluetooth corresponding to described door lock service and is connected with described service end;
Step 203, according to described door lock service identification code, connected by described bluetooth, read described door The door lock state characteristic value that lock service is corresponding;The door lock state characteristic value that described door lock service is corresponding includes beating On or off is closed;
Step 204, the distance monitored between described service end;
Step 205, described distance more than first threshold time, read the door lock that described door lock service is corresponding State characteristic value;
Step 206, when described door lock state characteristic value is for opening, send information.
In a particular application, by the distance between monitoring and service end, it is appreciated that user goes out Distance, if this distance is more than first threshold, illustrate that user has been moved off a larger distance, if The door lock state characteristic value that reading obtains for opening, then can send information to user, to notify to use Family man non-locking door.Wherein, first threshold could be arranged to connect maximum magnitude correspondence more than zero less than bluetooth Distance value, such as could be arranged to 20 meters etc., the present invention for first threshold span the most in addition Limit.
In one preferred embodiment of the invention, above-mentioned steps 204-206 can also use following steps generation Replace:
Monitor the signal intensity that described bluetooth connects, and determine that described bluetooth is even according to described signal intensity The path loss connect;
When described path loss is more than Second Threshold, read door lock state corresponding to described door lock service special Property value;
When described door lock state characteristic value is for opening, send information.
In a particular application, except being judged between client and server by the method for above-mentioned monitoring distance Distance outside, it is also possible to according to bluetooth connect path loss judge.Specifically, in client and After service end sets up bluetooth connection, mobile phone can monitor the RSSI (received signal strength that this bluetooth connects Indicator), and read transmitting power from service end, deduct RSSI by this transmitting power and calculate outlet Footpath is lost, and when path loss is more than Second Threshold, illustrates that user has been moved off a larger distance, as Really read the door lock state characteristic value obtained for opening, then can send information to user.Wherein, Second Threshold could be arranged to connect, less than bluetooth, the path loss values that maximum magnitude is corresponding more than zero, this The bright span for Second Threshold is not any limitation as.
In another preferred embodiment of the invention, said method can also include:
The door-closing operation described information performed for user, by described bluetooth connection closed door lock, And be revised as closing by door lock state characteristic value corresponding for described door lock service.
To sum up, the embodiment of the present invention is on the basis of above-described embodiment one, it is also possible to monitoring client and clothes Distance between business end, is more than first threshold and described door lock state characteristic value for opening in described distance Time, send information, can point out user family's non-locking door when user leaves home not far, prevent from causing The economic loss of user.
Embodiment three
Above-described embodiment one and embodiment two all illustrate as a example by client-side, below to service side The monitoring method of the door lock state of the present invention is described.
With reference to Fig. 3, it is shown that the step stream of the monitoring embodiment of the method three of a kind of door lock state of the present invention Cheng Tu, specifically may include that
Step 301, the real-time status of monitoring door lock, and update institute according to the real-time status of described door lock State the door lock state characteristic value that door lock service is corresponding;
Specifically, the real-time status of described monitoring door lock, and update according to the real-time status of described door lock The step of the door lock state characteristic value that described door lock service is corresponding, specifically may include that
Monitoring door lock real-time status, described door lock real-time status from open become close, or from When closedown becomes opening, update the door lock state characteristic value that described door lock service is corresponding.
Step 302, broadcast door lock service identification code;Wherein, described door lock service identification code and described door Lock service has corresponding relation;
In actual applications, service end (door) can broadcast door lock service identification code, so that client Door lock service can be searched for according to described door lock identification code, and obtain the door lock that described door lock service is corresponding State characteristic value.
Step 303 is set up bluetooth corresponding to described door lock service and is connected with described client.
After setting up bluetooth with client and being connected, client can according to described door lock service identification code, Connected by described bluetooth, read the door lock state characteristic value that described door lock service is corresponding.
In one preferred embodiment of the invention, said method can also include:
According to the second time cycle, connected by described bluetooth, send described door lock clothes to described client The door lock state characteristic value that business is corresponding.
In a particular application, service end can periodically will by the way of notice (notification) Door lock state characteristic value is sent to client, uses which, can be periodically polled without client Service end is gone to read data.
Application example 1:
Precondition: mobile phone and door have been set up by low-power consumption bluetooth and be connected, user walk out door and Neglect locking the door.
The real-time status of step S21, service end (door) monitoring door lock, now door lock is open mode, Therefore, it is updated to open by door lock state characteristic value corresponding for door lock service;
The monitoring of step S22, client (mobile phone) and the distance of service end, when this distance is more than 5 meters, Reading the door lock state characteristic value that door lock service is corresponding, this characteristic value is for opening;
Step S23, mobile phone send information to user, to remind user to lock a door.
Application example 2:
Precondition: mobile phone and door have been set up by low-power consumption bluetooth and be connected, user walk out door and Close door.
The real-time status of step S31, service end (door) monitoring door lock, now door lock is closed mode, Therefore, it is updated to door lock state characteristic value corresponding for door lock service close;;
Step S32, user suspect after walking out community soon that oneself neglects locking the door, and checks a door lock by mobile phone Status information, specifically, client (mobile phone) connects, by bluetooth, the door lock that reading door lock service is corresponding State characteristic value, this characteristic value is for closing.
To sum up, the service end of the embodiment of the present invention can monitor and record the real-time status of door lock, and broadcasts Door lock service identification code, so that client can find door lock service according to this door lock service identification code, with And set up bluetooth connection, thus obtain door lock state characteristic value.Namely door can be checked by mobile terminal The real-time status of lock, needs user to return to home relative to prior art and checks, can be that user saves Time and avoid unnecessary economic loss.
Device embodiment one
With reference to Fig. 4, it is shown that the structural frames of the supervising device embodiment one of a kind of door lock state of the present invention Figure, specifically may include that
Service search module 410, for the door lock service identification code according to service end broadcast, search service The door lock service that end provides;Wherein, described door lock service identification code has corresponding closing with described door lock service System;
First connection establishment module 420, for setting up, with described service end, the indigo plant that described door lock service is corresponding Tooth connects;And
First state read module 430, for according to described door lock service identification code, by described bluetooth Connect, read the door lock state characteristic value that described door lock service is corresponding;Wherein, described door lock service is corresponding Door lock state characteristic value include opening or closing.
In one preferred embodiment of the invention, described device can also include:
First distance monitoring modular, the distance between monitoring and described service end;
Second state read module, for when described distance is more than first threshold, reads described door lock clothes The door lock state characteristic value that business is corresponding;
First reminding module, for when described door lock state characteristic value is for opening, sends information.
In another preferred embodiment of the invention, described device can also include:
Second distance monitoring modular, for monitoring the signal intensity that described bluetooth connects, and according to described Signal intensity determines the path loss that described bluetooth connects;
Third state read module, for when described path loss is more than Second Threshold, reading described door The door lock state characteristic value that lock service is corresponding;
Second reminding module, for when described door lock state characteristic value is for opening, sends information.
In another preferred embodiment of the present invention, described first state read module 430, specifically may be used To include:
First state reading submodule, for according to the cycle very first time, poll reads described door lock service Corresponding door lock state characteristic value.
In the still another preferable embodiment of the present invention, described device can also include:
Status modifier module, for the door-closing operation performed for described information according to user, passes through Described bluetooth connects execution and closes door lock operation, and by door lock state characteristic corresponding for described door lock service Value is revised as closing.
Device embodiment two
With reference to Fig. 5, it is shown that the structural frames of the supervising device embodiment two of a kind of door lock state of the present invention Figure, specifically may include that
State monitoring module 510, for monitoring the real-time status of door lock, and the reality according to described door lock Time state update door lock state characteristic value corresponding to door lock service;
Broadcast module 520, is used for broadcasting door lock service identification code;Wherein, described door lock service identification code With described door lock service, there is corresponding relation;And
Second connection establishment module 530, for setting up, with described client, the indigo plant that described door lock service is corresponding Tooth connects.
In one preferred embodiment of the invention, described state monitoring module 510, specifically may include that
Status monitoring submodule, for monitoring the real-time status of door lock, described door lock real-time status from Open and become closing, or when closedown becomes opening, update the door lock state that described door lock service is corresponding Characteristic value.
In another preferred embodiment of the invention, described device can also include:
State pushing module, for according to the second time cycle, is connected by described bluetooth, to described visitor Family end sends the door lock state characteristic value that described door lock service is corresponding.
For device embodiment, due to itself and embodiment of the method basic simlarity, so the comparison described Simply, relevant part sees the part of embodiment of the method and illustrates.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (16)

1. the monitoring method of a door lock state, it is characterised in that including:
According to the door lock service identification code of service end broadcast, the door lock service that search service end provides;Wherein, Described door lock service identification code and described door lock service have corresponding relation;
Set up bluetooth corresponding to described door lock service to connect with described service end;
According to described door lock service identification code, connected by described bluetooth, read described door lock service corresponding Door lock state characteristic value;Wherein, the door lock state characteristic value that described door lock service is corresponding include opening or Person closes.
Method the most according to claim 1, it is characterised in that described method also includes:
Distance between monitoring and described service end;
When described distance is more than first threshold, read the door lock state characteristic value that described door lock service is corresponding;
When described door lock state characteristic value is for opening, send information.
Method the most according to claim 1, it is characterised in that described method also includes:
Monitor the signal intensity that described bluetooth connects, and determine that described bluetooth is even according to described signal intensity The path loss connect;
When described path loss is more than Second Threshold, read door lock state corresponding to described door lock service special Property value;
When described door lock state characteristic value is for opening, send information.
Method the most according to claim 1, it is characterised in that the most described reading institute State the step of door lock state characteristic value corresponding to door lock service, including:
According to the cycle very first time, poll reads the door lock state characteristic value that described door lock service is corresponding.
The most according to the method in claim 2 or 3, it is characterised in that described method also includes:
The door-closing operation performed for described information according to user, is connected by described bluetooth and performs pass Close door lock operation, and be revised as door lock state characteristic value corresponding for described door lock service closing.
6. the monitoring method of a door lock state, it is characterised in that including:
The real-time status of monitoring door lock, and it is corresponding to update door lock service according to the real-time status of described door lock Door lock state characteristic value;
Broadcast door lock service identification code;Wherein, described door lock service identification code has with described door lock service Corresponding relation;
Set up bluetooth corresponding to described door lock service to connect with described client.
Method the most according to claim 6, it is characterised in that the real-time status of described monitoring door lock, And the step of door lock state characteristic value corresponding to described door lock service is updated according to the real-time status of described door lock Suddenly, including:
Monitoring door lock real-time status, described door lock real-time status from open become close, or from When closedown becomes opening, update the door lock state characteristic value that described door lock service is corresponding.
Method the most according to claim 6, it is characterised in that described method also includes:
According to the second time cycle, connected by described bluetooth, send described door lock clothes to described client The door lock state characteristic value that business is corresponding.
9. the supervising device of a door lock state, it is characterised in that including:
Service search module, for the door lock service identification code according to service end broadcast, search service end carries The door lock service of confession;Wherein, described door lock service identification code and described door lock service have corresponding relation;
First connection establishment module, for setting up bluetooth corresponding to described door lock service even with described service end Connect;And
First state read module, for according to described door lock service identification code, is connected by described bluetooth, Read the door lock state characteristic value that described door lock service is corresponding;Wherein, the door lock that described door lock service is corresponding State characteristic value includes opening or closing.
Device the most according to claim 9, it is characterised in that described device also includes:
First distance monitoring modular, the distance between monitoring and described service end;
Second state read module, for when described distance is more than first threshold, reads described door lock clothes The door lock state characteristic value that business is corresponding;
First reminding module, for when described door lock state characteristic value is for opening, sends information.
11. devices according to claim 9, it is characterised in that described device also includes:
Second distance monitoring modular, for monitoring the signal intensity that described bluetooth connects, and according to described Signal intensity determines the path loss that described bluetooth connects;
Third state read module, for when described path loss is more than Second Threshold, reading described door The door lock state characteristic value that lock service is corresponding;
Second reminding module, for when described door lock state characteristic value is for opening, sends information.
12. devices according to claim 9, it is characterised in that described first state read module, Including:
First state reading submodule, for according to the cycle very first time, poll reads described door lock service Corresponding door lock state characteristic value.
13. according to the device described in claim 10 or 11, it is characterised in that described device also includes:
Status modifier module, for the door-closing operation performed for described information according to user, passes through Described bluetooth connects execution and closes door lock operation, and by door lock state characteristic corresponding for described door lock service Value is revised as closing.
The supervising device of 14. 1 kinds of door lock states, it is characterised in that including:
State monitoring module, for monitoring the real-time status of door lock, and the real-time shape according to described door lock State updates the door lock state characteristic value that door lock service is corresponding;
Broadcast module, is used for broadcasting door lock service identification code;Wherein, described door lock service identification code and institute State door lock service and there is corresponding relation;And
Second connection establishment module, for setting up bluetooth corresponding to described door lock service even with described client Connect.
15. devices according to claim 14, it is characterised in that described state monitoring module, bag Include:
Status monitoring submodule, for monitoring the real-time status of door lock, described door lock real-time status from Open and become closing, or when closedown becomes opening, update the door lock state that described door lock service is corresponding Characteristic value.
16. methods according to claim 14, it is characterised in that described device also includes:
State pushing module, for according to the second time cycle, is connected by described bluetooth, to described visitor Family end sends the door lock state characteristic value that described door lock service is corresponding.
CN201510694421.3A 2015-10-22 2015-10-22 Door lock status monitoring method and device Pending CN105991757A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201510694421.3A CN105991757A (en) 2015-10-22 2015-10-22 Door lock status monitoring method and device
PCT/CN2016/088402 WO2017067221A1 (en) 2015-10-22 2016-07-04 Door lock state monitoring method and device
US15/236,322 US20170116841A1 (en) 2015-10-22 2016-08-12 Method and device for monitoring door lock state

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510694421.3A CN105991757A (en) 2015-10-22 2015-10-22 Door lock status monitoring method and device

Publications (1)

Publication Number Publication Date
CN105991757A true CN105991757A (en) 2016-10-05

Family

ID=57039978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510694421.3A Pending CN105991757A (en) 2015-10-22 2015-10-22 Door lock status monitoring method and device

Country Status (1)

Country Link
CN (1) CN105991757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453788A (en) * 2017-08-04 2017-12-08 郑润宇 A kind of house security guard system and means of defence

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030151493A1 (en) * 2002-02-13 2003-08-14 Swisscom Ag Access control system, access control method and devices suitable therefor
CN101353934A (en) * 2007-07-23 2009-01-28 贺昇股份有限公司 System and method for alarming door lock state
CN104103111A (en) * 2014-07-19 2014-10-15 张明 Automatic access control system based on mobile phone Bluetooth communication and implementation method thereof
CN104778766A (en) * 2015-03-05 2015-07-15 李凯 Remote control door lock system and realization method
CN104898507A (en) * 2015-04-29 2015-09-09 德施曼机电(中国)有限公司 Bluetooth intelligent cloud lock system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030151493A1 (en) * 2002-02-13 2003-08-14 Swisscom Ag Access control system, access control method and devices suitable therefor
CN101353934A (en) * 2007-07-23 2009-01-28 贺昇股份有限公司 System and method for alarming door lock state
CN104103111A (en) * 2014-07-19 2014-10-15 张明 Automatic access control system based on mobile phone Bluetooth communication and implementation method thereof
CN104778766A (en) * 2015-03-05 2015-07-15 李凯 Remote control door lock system and realization method
CN104898507A (en) * 2015-04-29 2015-09-09 德施曼机电(中国)有限公司 Bluetooth intelligent cloud lock system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453788A (en) * 2017-08-04 2017-12-08 郑润宇 A kind of house security guard system and means of defence
CN107453788B (en) * 2017-08-04 2021-07-30 郑润宇 Home safety protection system and protection method

Similar Documents

Publication Publication Date Title
CN105979471A (en) Door lock state monitoring method and device
CN107409073B (en) Method, device, equipment and storage medium for monitoring health condition of equipment of Internet of things
CN107094372B (en) IOT device for enabling fast connection between low energy IOT devices
CN107852410B (en) Dissect rogue access point
CN106576220B (en) Method and apparatus for automatically generating event dictionary in internet of things (IOT) network
Wu et al. Oscillation resolution for mobile phone cellular tower data to enable mobility modelling
CN106134117A (en) The detection of undelegated Wireless Telecom Equipment
US11109221B1 (en) Electronic device identification system, apparatuses, and methods
CN104954506B (en) A kind of account management method, terminal device and system
CN109743532B (en) Doorbell control method, electronic equipment, doorbell system and storage medium
WO2017067221A1 (en) Door lock state monitoring method and device
CN105959934B (en) Network re-entry recognition methods and system
CN104105224A (en) Method for connecting short-range communication in electronic device and the electronic device
CN103889034A (en) Mobile terminal mobile communication network information receiving method and mobile terminal
AU2020340284A1 (en) Anonymization and randomization of device identities
CN104735059A (en) Wireless verification method and device for recyclable logistics appliances
CN105991757A (en) Door lock status monitoring method and device
CN105024905B (en) Information push method and device
CN105139599A (en) Community alarm method and system
CN102958202B (en) wireless router, access device and system
US9600465B2 (en) Methods and apparatuses for quantifying the holistic value of an existing network of devices by measuring the complexity of a generated grammar
Oliveira et al. Sherlock: Capturing probe requests for automatic presence detection
EP2493150B1 (en) Mobile application metadata collection agent
CN109767511A (en) Work attendance management system and method
CN105634783B (en) Equipment service calling method and device between a kind of gateway based on Alljoyn

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20161005

WD01 Invention patent application deemed withdrawn after publication