CN110324215A - Intelligent door lock binding method, intelligent door lock, gateway, server and binding system - Google Patents

Intelligent door lock binding method, intelligent door lock, gateway, server and binding system Download PDF

Info

Publication number
CN110324215A
CN110324215A CN201810297900.5A CN201810297900A CN110324215A CN 110324215 A CN110324215 A CN 110324215A CN 201810297900 A CN201810297900 A CN 201810297900A CN 110324215 A CN110324215 A CN 110324215A
Authority
CN
China
Prior art keywords
gateway
door lock
mark
intelligent door
data packet
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
CN201810297900.5A
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.)
Yun Ding Intelligent Technology (beijing) Co Ltd
Original Assignee
Yun Ding Intelligent 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 Yun Ding Intelligent Technology (beijing) Co Ltd filed Critical Yun Ding Intelligent Technology (beijing) Co Ltd
Priority to CN201810297900.5A priority Critical patent/CN110324215A/en
Priority to PCT/CN2019/080375 priority patent/WO2019185009A1/en
Publication of CN110324215A publication Critical patent/CN110324215A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • 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

Landscapes

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

Abstract

The present invention provides a kind of intelligent door lock binding method, intelligent door lock, gateway, server and binding system, intelligent door lock sends the bind request broadcast data packet for carrying door lock mark;The permission binding data packet for carrying gateway information of gateway feedback is received in preset duration;Intended gateway is chosen from gateway according to gateway information;Establish the correspondence with intended gateway.Based on this, intelligent door lock can be automatically performed the binding with gateway, specify gateway in advance without user, to simplify binding process, reduce binding duration.

Description

Intelligent door lock binding method, intelligent door lock, gateway, server and binding system
Technical field
The present invention relates to intelligent door lock technical fields, more specifically to a kind of intelligent door lock binding method, intelligent door Lock, gateway, server and binding system.
Background technique
With the rise of smart home and Internet of Things, intelligent door lock progresses into people's lives.And in order to remotely monitor Intelligent door lock needs intelligent door lock being connected to internet.
At this stage, intelligent door lock needs that internet could be connected by a gateway, and intelligent door lock is connected to specified The process of gateway referred to as " is bound ".As soon as it is desirable to user be in advance intelligent door lock specify a gateway could complete to bind, this Can bring intelligent door lock can only one bind the problem of, to keep entire binding procedure extremely time-consuming.
Summary of the invention
In view of this, the present invention provides a kind of intelligent door lock binding method, intelligent door lock, gateway, server and binding system System, with solve the problems, such as existing intelligent door lock can only one bind.Technical solution is as follows:
A kind of intelligent door lock binding method is applied to intelligent door lock, comprising:
Send the bind request broadcast data packet for carrying door lock mark;
The permission binding data packet for carrying gateway information of gateway feedback is received in preset duration;
Intended gateway is chosen from the gateway according to the gateway information;
Establish the correspondence with the intended gateway.
It is preferably, described that intended gateway is chosen from the gateway according to the gateway information, comprising:
In the case where the quantity of the gateway is one, the gateway is chosen as intended gateway;
In the case where the quantity of the gateway is multiple, according to the gateway information and default gateway selection rule, from Intended gateway is chosen in the gateway.
Preferably, described according to the gateway information and default gateway selection rule, target network is chosen from the gateway It closes, comprising:
Gateway signal intensity is obtained from the gateway information;
That the gateway of gateway signal maximum intensity is chosen from the gateway is used as intended gateway.
Preferably, further includes:
If do not received in preset duration gateway feedback the permission binding data packet for carrying gateway information or The correspondence of person and the intended gateway does not set up success, retries rule according to default delay and retransmits the bind request Broadcast data packet.
Preferably, further includes:
Receive the characteristic value for characterizing the intelligent door lock position;
The characteristic value and door lock mark are sent to the intended gateway.
A kind of intelligent door lock, comprising: the first sending module, chooses module and communication building block at the first receiving module;
First sending module, for sending the bind request broadcast data packet for carrying door lock mark;
First receiving module, the gateway information that carries for receiving gateway feedback in preset duration allow to tie up Determine data packet;
The selection module, for choosing intended gateway from the gateway according to the gateway information;
The communication building block, for establishing and the correspondence of the intended gateway.
A kind of intelligent door lock binding method is applied to gateway, comprising:
Receive the bind request broadcast data packet for carrying door lock mark that intelligent door lock is sent;
Judge to identify the mark to match with the presence or absence of with the door lock in the first local grant column list;Wherein, described One local grant column list record has the mark with authorization privilege;
If existing in the described first local grant column list and identifying the mark to match, Xiang Suoshu intelligent door lock with the door lock Send the permission binding data packet for carrying gateway information.
Preferably, further includes:
If being sent there is no the mark to match is identified with the door lock to server in the described first local grant column list Bind request data packet, the bind request data packet carry the gateway identification of the door lock mark and the gateway;
In the feelings for being used to characterize the authorization data packets that the intelligent door lock authorization passes through for receiving the server feedback Under condition, the mark that matches of door lock mark is added in the described first local grant column list, and to the intelligent door lock Send the permission binding data packet for carrying gateway information.
A kind of gateway, comprising: the second receiving module, first judgment module and the second sending module;
Second receiving module, the bind request for carrying door lock mark for receiving intelligent door lock transmission broadcast number According to packet;
The first judgment module identifies phase with the presence or absence of with the door lock in the first local grant column list for judging The mark matched;Wherein, the described first local grant column list record has the mark with authorization privilege;If the described first local authorization Exist in list and identify the mark to match with the door lock, then triggers second sending module;
Second sending module, for sending the permission binding data for carrying gateway information to the intelligent door lock Packet.
A kind of intelligent door lock binding method is applied to server, comprising:
The bind request data packet that gateway is sent is received, the bind request data packet carries the door lock mark of intelligent door lock Know the gateway identification with the gateway;Wherein, the bind request data packet is by the gateway in the first local grant column list In there is no transmitted in the case where with the mark that matches of door lock mark;
Judge to identify the mark to match with the presence or absence of with the door lock in the second local grant column list;Wherein, described Two local grant column list records have the mark with authorization privilege;
If existing in the described second local grant column list and identifying the mark to match with the door lock, Xiang Suoshu gateway is sent The authorization data packets passed through for characterizing the intelligent door lock authorization.
A kind of server, comprising: third receiving module, the second judgment module and third sending module;
The third receiving module, for receiving the bind request data packet of gateway transmission, the bind request data packet Carry the gateway identification of the door lock mark and the gateway of intelligent door lock;Wherein, the bind request data packet is by described Transmitted by the case that the mark to match with door lock mark is not present in the first local grant column list in gateway;
Second judgment module identifies phase with the presence or absence of with the door lock in the second local grant column list for judging The mark matched;Wherein, the described second local grant column list record has the mark with authorization privilege;If the described second local authorization Exist in list and identify the mark to match with the door lock, then triggers the third sending module;
The third sending module, if for door lock mark in the default door lock mark, Xiang Suoshu gateway hair Send the authorization data packets passed through for characterizing the intelligent door lock authorization.
A kind of intelligent door lock binding system, comprising: intelligent door lock and gateway described in above-mentioned technology any one scheme.
Compared to the prior art, what the present invention realized has the beneficial effect that
Above intelligent door lock binding method, intelligent door lock, gateway, server and binding system provided by the invention, intelligence Door lock can choose intended gateway to be bound from the gateway that feedback allows binding data packet by sending bind request data packet, And the correspondence of foundation and intended gateway.Based on this, intelligent door lock can be automatically performed the binding with gateway, shift to an earlier date without user Specified gateway, to simplify binding process, reduce binding duration.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is the method flow diagram of intelligent door lock binding method provided in an embodiment of the present invention;
Fig. 2 is the another method flow diagram of intelligent door lock binding method provided in an embodiment of the present invention;
Fig. 3 is the another method flow chart of intelligent door lock binding method provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of intelligent door lock provided in an embodiment of the present invention;
Fig. 5 is the another method flow chart of intelligent door lock binding method provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of gateway provided in an embodiment of the present invention;
Fig. 7 is the another method flow chart of intelligent door lock binding method provided in an embodiment of the present invention;
Fig. 8 is the structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
The embodiment of the present invention provides a kind of intelligent door lock binding method, and this method is applied to intelligent door lock, method flow diagram As shown in Figure 1, including the following steps:
S10 sends the bind request broadcast data packet for carrying door lock mark.
In the present embodiment, intelligent door lock first confirms that the binding state of itself after powering, if having bound gateway, It is then directly communicated with bound gateway, and has gateway if any unbound, then it is wide to send bind request in a broadcast manner Unicast packets wait gateway to reply subsequently into reception state.
The door lock of intelligent door lock is identified for indicating intelligent door lock, and door lock mark can be door lock SN, can be specified Door lock number, can also be other distinguishing marks, and the present embodiment to this and without limitation, can be selected according to actual needs.
S20 receives the permission binding data packet for carrying gateway information of gateway feedback in preset duration.
In the present embodiment, for improve bind efficiency, can set receive allow binding data packet duration, only to it is default when Received permission binding data packet is handled in long.Certainly, the reception amount etc. for allowing binding data packet can be also set, The present embodiment does not limit this.
S30 chooses intended gateway according to gateway information from gateway.
In the present embodiment, the permission binding data packet that intelligent door lock is replied according to gateway is responded, in the process, intelligence Energy door lock can utilize gateway information, for example, gateway identification, gateway signal intensity, gateway binds door lock quantity etc. are chosen for tying up Fixed intended gateway.
During specific implementation, it can determine that feedback allows the net of binding data packet in conjunction with the gateway identification in gateway information Close quantity;In the case where gateway quantity is one, the gateway is directly chosen as intended gateway, and is multiple in gateway quantity In the case where, according to gateway information and default gateway selection rule, intended gateway is chosen from gateway.It is specific:
The gateway of gateway signal maximum intensity can be chosen from gateway as intended gateway.This can ensure that intelligent door The stability of lock network network.Certainly, specified gateway also is chosen as intended gateway using gateway identification, can also choose gateway binds The smallest gateway of door lock quantity is as intended gateway, in this regard, the present embodiment is not specifically limited.
S40 establishes the correspondence with intended gateway.
It is more intelligent door lock while while powering on leads to that the contention of channel resource to avoid in some other embodiment The problem of this can not all bind, the above method further include following steps, and method flow diagram is as shown in Figure 2:
S50, if do not received in preset duration gateway feedback the permission binding data packet for carrying gateway information or The correspondence of person and intended gateway does not set up success, retries rule according to default delay and retransmits bind request broadcast data Packet.
In the present embodiment, it is default delay retry include in rule intelligent door lock waiting time calculation, for example, sharp Waiting time is calculated with Bind Failed number, for another example, specifies waiting time.Below " to utilize Bind Failed number calculating etc. To duration " for be illustrated, waited 5 seconds after first time Bind Failed, wait 10 seconds after second of Bind Failed, tie up for the third time Wait 30 seconds after fixed failure, waited 2 minutes after the 4th Bind Failed, be followed successively by backward 5 minutes, 10 minutes, 30 minutes, it is 1 small When, it finally rests on 1 hour.Certainly, above-mentioned strategy is only an example, and concrete application can determine according to actual needs.
In some other embodiment, to reduce a possibility that setting of intelligent door lock position is wrong, the above method is also Include the following steps, method flow diagram is as shown in Figure 3:
S60 receives the characteristic value for characterizing intelligent door lock position.
In the present embodiment, intelligent door lock position can be specific to place house, floor even room.If it is room Son, then characteristic value can be number;If it is floor, characteristic value can be floor number;If it is room, characteristic value can Think room number.In general, the digital keys of the room number for input are provided on intelligent door lock, user can be directly by intelligence It the room number in room can be input in intelligent door lock where door lock, intelligent door lock then receives the room number that user is inputted.
Characteristic value and door lock mark are sent to intended gateway by S70.
By taking room number as an example, room number is by after being locally located, and intelligent door lock is by the door lock of room number and intelligent door lock Mark is sent to intended gateway, reports to server by intended gateway.In the process, intended gateway can also be simultaneously by itself Gateway identification chummery number and door lock mark issue server together, the corresponding relationship between three is established by server, and Storage.
In the present embodiment, for the gateway identification of intended gateway for indicating intended gateway, which can be gateway SN, Can be specified gateway number, can also be other distinguishing marks, the present embodiment to this and without limitation, can according to actual needs into Row selection.
Intelligent door lock binding method provided in an embodiment of the present invention, intelligent door lock can be from by sending bind request data packet Intended gateway to be bound is chosen in the gateway of feedback permission binding data packet, and establishes the correspondence with intended gateway.Base In this, intelligent door lock can be automatically performed the binding with gateway, without user in advance specify gateway, thus simplify binding process, Reduce binding duration.
The intelligent door lock binding method provided based on the above embodiment, the embodiment of the present invention also provide a kind of above-mentioned intelligence of execution The intelligent door lock of energy door lock binding method, structural schematic diagram are as shown in Figure 4, comprising: the first sending module 10, first receives mould Block 20 chooses module 30 and communication building block 40;
First sending module 10, for sending the bind request broadcast data packet for carrying door lock mark;
First receiving module 20, the gateway information that carries for receiving gateway feedback in preset duration allow to bind Data packet;
Module 30 is chosen, for choosing intended gateway from gateway according to gateway information;Communication building block 40, for building The vertical correspondence with intended gateway.
In other embodiments, the first receiving module 20 is specifically used for:
In the case where the quantity of gateway is one, gateway is chosen as intended gateway;It is multiple in the quantity of gateway In the case of, according to gateway information and default gateway selection rule, intended gateway is chosen from gateway.
It is more intelligent door lock while while powering on leads to that the contention of channel resource to avoid in some other embodiment The problem of this can not all bind, above-mentioned intelligent door lock further includes following module:
Delay retries module, if the permission for carrying gateway information for not receiving gateway feedback in preset duration Binding data packet does not set up success with the correspondence of intended gateway, retries rule according to default delay and retransmits binding Request broadcast data packet.
In some other embodiment, to reduce a possibility that setting of intelligent door lock position is wrong, above-mentioned intelligent door Lock further includes following module:
Feature sending module, for receiving the characteristic value for characterizing intelligent door lock position;By characteristic value and door lock Mark is sent to intended gateway.
Intelligent door lock provided in an embodiment of the present invention can allow binding data from feedback by sending bind request data packet Intended gateway to be bound is chosen in the gateway of packet, and establishes the correspondence with intended gateway.Based on this, intelligent door lock can be certainly The dynamic binding completed with gateway specifies gateway without user in advance, to simplify binding process, reduce binding duration.
The embodiment of the present invention also provides a kind of intelligent door lock binding method, and this method is applied to gateway, and method flow diagram is such as Shown in Fig. 5, include the following steps:
S80 receives the bind request broadcast data packet for carrying door lock mark that intelligent door lock is sent.
The door lock of intelligent door lock is identified for indicating intelligent door lock, and door lock mark can be door lock SN, can be specified Door lock number, can also be other distinguishing marks, and the present embodiment to this and without limitation, can be selected according to actual needs.
S90 judges to identify the mark to match, the first local authorization with the presence or absence of with door lock in the first local grant column list List records have the mark with authorization privilege;If so, thening follow the steps S100.
In the present embodiment, record has the mark with authorization privilege in the first local grant column list that gateway is locally stored Know, which can be door lock mark, can also be and identifies the other identifier to match, such as door lock SN, this reality with door lock Example is applied not limit this.
If door lock mark matches with some mark in the first local grant column list, indicate gateway to the intelligent door Lock has authorization privilege, then feeding back allows binding data packet.Certainly, in the process, gateway can also bind door lock according to itself Quantity allows binding data packet to determine whether to feed back, for example, not feeding back any when binding door lock quantity more than amount threshold Data packet or feedback authorization failure data packet.
S100 sends the permission binding data packet for carrying gateway information to intelligent door lock.
In the present embodiment, gateway information is used to characterize the attribute of gateway, such as gateway identification, gateway signal intensity, gateway Bind door lock quantity etc..
In addition, if indicating that gateway is current there is no the mark to match is identified with door lock in the first local grant column list Do not have authorization privilege to the intelligent door lock, gateway then sends bind request data packet to server, and bind request data packet is taken Gateway identification with door lock mark and gateway;Receiving awarding for characterize that intelligent door lock authorization passes through for server feedback In the case where weighing data packet, the mark that matches of door lock mark is added in the first local grant column list, and to intelligent door lock Send the permission binding data packet for carrying gateway information.
It should be noted that gateway identification, for indicating gateway, which can be gateway SN, it can be specified net Number is closed, can also be other distinguishing marks, the present embodiment to this and without limitation, can be selected according to actual needs.
Intelligent door lock binding method provided in an embodiment of the present invention, the bind request data that gateway is sent based on intelligent door lock Bao Xiangqi feedback allows binding data packet, to make intelligent door lock therefrom choose intended gateway to be bound and establish communication pass System.Based on this, intelligent door lock can be automatically performed the binding with gateway, gateway be specified in advance without user, to simplify binding Process reduces binding duration.
The intelligent door lock binding method provided based on the above embodiment, then corresponding provide executes above-mentioned intelligence to the embodiment of the present invention The gateway of energy door lock binding method, structural schematic diagram are as shown in Figure 6, comprising: the second receiving module 50, first judgment module 60 With the second sending module 70;
Second receiving module 50, for receiving the bind request broadcast data for carrying door lock mark of intelligent door lock transmission Packet;
First judgment module 60 identifies the mark to match with the presence or absence of with door lock in the first local grant column list for judging Know;Wherein, the first local grant column list record has the mark with authorization privilege;If so, the second sending module 70 of triggering;
Second sending module 70, for sending the permission binding data packet for carrying gateway information to intelligent door lock.
Gateway provided in an embodiment of the present invention can be allowed based on the bind request data packet that intelligent door lock is sent to its feedback Binding data packet, to make intelligent door lock therefrom choose intended gateway to be bound and establish correspondence.Based on this, intelligent door Lock can be automatically performed the binding with gateway, specify gateway in advance without user, thus when simplifying binding process, reducing binding It is long.
The embodiment of the present invention provides another intelligent door lock binding method, and this method is applied to server, method flow diagram As shown in fig. 7, comprises following steps:
S110, receives the bind request data packet that gateway is sent, and bind request data packet carries the door lock of intelligent door lock The gateway identification of mark and gateway;Wherein, bind request data packet be by gateway in the first local grant column list there is no with Transmitted by the case where the mark that door lock mark matches.
The door lock of intelligent door lock is identified for indicating intelligent door lock, and door lock mark can be door lock SN, can be specified Door lock number, can also be other distinguishing marks, and the present embodiment to this and without limitation, can be selected according to actual needs.
For the gateway identification of gateway for indicating gateway, which can be gateway SN, can be specified gateway number, It can also be other distinguishing marks, the present embodiment to this and without limitation, can be selected according to actual needs.
Record has the mark with authorization privilege in the first local grant column list that gateway is locally stored, which can be with It is door lock mark, can also be and identify the other identifier to match, such as door lock SN with door lock, the present embodiment does not limit this It is fixed.
S120 judges to identify the mark to match with the presence or absence of with door lock in the second local grant column list;Wherein, second Grant column list record in ground has the mark with authorization privilege;If so, thening follow the steps S130.
S130 sends the authorization data packets passed through for characterizing intelligent door lock authorization to gateway.
Intelligent door lock binding method provided in an embodiment of the present invention, server is not in the local grant column list of gateway Door lock mark is authorized, so that feeding back gateway to intelligent door lock allows binding data packet, further makes intelligent door lock therefrom It chooses intended gateway to be bound and establishes correspondence.Based on this, intelligent door lock can be automatically performed the binding with gateway, be not necessarily to User specifies gateway in advance, to simplify binding process, reduce binding duration.
The intelligent door lock binding method provided based on the above embodiment, then corresponding provide executes above-mentioned intelligence to the embodiment of the present invention The server of energy door lock binding method, shown in structural representation Fig. 8, comprising: third receiving module 80,90 and of the second judgment module Third sending module 100;
Third receiving module 80, for receiving the bind request data packet of gateway transmission, bind request data packet is carried The gateway identification of the door lock mark and gateway of intelligent door lock;Wherein, bind request data packet is by the first local grant column list In there is no transmitted in the case where with the mark that matches of door lock mark;
Second judgment module 90 identifies the mark to match with the presence or absence of with door lock in the second local grant column list for judging Know;Wherein, the second local grant column list record has the mark with authorization privilege;If so, triggering third sending module 100;
Third sending module 100, for sending the authorization data packets passed through for characterizing intelligent door lock authorization to gateway.
Server provided in an embodiment of the present invention can identify the door lock not in the local grant column list of gateway and carry out Authorization chooses intelligent door lock therefrom to be bound so that feeding back gateway to intelligent door lock allows binding data packet Intended gateway simultaneously establishes correspondence.Based on this, intelligent door lock can be automatically performed the binding with gateway, specify in advance without user Gateway, to simplify binding process, reduce binding duration.
Based on the intelligent door lock binding method that the various embodiments described above provide, the present embodiment then provides a kind of intelligent door lock binding System, the system include intelligent door lock and gateway;
Intelligent door lock sends the bind request broadcast data packet for carrying door lock mark;
Gateway receives the bind request broadcast data packet for carrying door lock mark that intelligent door lock is sent;Judge that first is local The mark to match is identified with the presence or absence of with door lock in grant column list;Wherein, the first local grant column list record, which has, has authorization The mark of permission;If existing in the first local grant column list and identifying the mark to match with door lock, sends and carry to intelligent door lock There is the permission binding data packet of gateway information;
Intelligent door lock receives the permission binding data packet for carrying gateway information of gateway feedback in preset duration;According to Gateway information chooses intended gateway from gateway;Establish the correspondence with intended gateway.
It should be noted that in some other embodiment, above-mentioned intelligent door lock binding system further include: server.
If gateway sends to server and binds there is no the mark to match is identified with door lock in the first local grant column list Request data package, bind request data packet carry the gateway identification of door lock mark and gateway;
Server receives bind request data;Judge to match in the second local grant column list with the presence or absence of with door lock mark Mark;Wherein, the second local grant column list record has the mark with authorization privilege;If existing in the second local grant column list The mark to match is identified with door lock, the authorization data packets passed through for characterizing intelligent door lock authorization are sent to gateway;
Gateway receive server feedback for characterizing authorization data packets that intelligent door lock authorization passes through in the case where, The mark that door lock mark matches is added in the first local grant column list, and carry gateway information to intelligent door lock transmission Permission binding data packet;
Intelligent door lock receives the permission binding data packet for carrying gateway information of gateway feedback in preset duration;According to Gateway information chooses intended gateway from gateway;Establish the correspondence with intended gateway.
In addition, if the gateway information that carries that intelligent door lock does not receive in preset duration gateway feedback allows to bind Data packet does not set up success with the correspondence of intended gateway, and intelligent door lock retries regular retransmission according to default delay Bind request broadcast data packet.
Intelligent door lock binding system provided in an embodiment of the present invention, intelligent door lock can by send bind request data packet can Intended gateway to be bound is chosen from the gateway that feedback allows binding data packet, and establishes the correspondence with intended gateway. Based on this, intelligent door lock can be automatically performed the binding with gateway, specify gateway in advance without user, to simplify binding stream Journey reduces binding duration.
It is to a kind of intelligent door lock binding method provided by the present invention, intelligent door lock, gateway, server and binding above System is described in detail, and used herein a specific example illustrates the principle and implementation of the invention, above The explanation of embodiment is merely used to help understand method and its core concept of the invention;Meanwhile for the general skill of this field Art personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this Description should not be construed as limiting the invention.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight Point explanation is the difference from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, phase Place is closed referring to method part illustration.
It should also be noted that, herein, relational terms such as first and second and the like are used merely to one Entity or operation are distinguished with another entity or operation, without necessarily requiring or implying between these entities or operation There are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended to contain Lid non-exclusive inclusion, so that the element that the process, method, article or equipment including a series of elements is intrinsic, It further include either the element intrinsic for these process, method, article or equipments.In the absence of more restrictions, The element limited by sentence "including a ...", it is not excluded that in the process, method, article or equipment including the element In there is also other identical elements.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (12)

1. a kind of intelligent door lock binding method, which is characterized in that be applied to intelligent door lock, comprising:
Send the bind request broadcast data packet for carrying door lock mark;
The permission binding data packet for carrying gateway information of gateway feedback is received in preset duration;
Intended gateway is chosen from the gateway according to the gateway information;
Establish the correspondence with the intended gateway.
2. the method according to claim 1, wherein described choose from the gateway according to the gateway information Intended gateway, comprising:
In the case where the quantity of the gateway is one, the gateway is chosen as intended gateway;
In the case where the quantity of the gateway is multiple, according to the gateway information and default gateway selection rule, from described Intended gateway is chosen in gateway.
3. according to the method described in claim 2, it is characterized in that, described choose rule according to the gateway information and default gateway Then, intended gateway is chosen from the gateway, comprising:
Gateway signal intensity is obtained from the gateway information;
That the gateway of gateway signal maximum intensity is chosen from the gateway is used as intended gateway.
4. the method according to claim 1, wherein further include:
If do not received in preset duration gateway feedback the permission binding data packet for carrying gateway information or with The correspondence of the intended gateway does not set up success, retries rule according to default delay and retransmits the bind request broadcast Data packet.
5. the method according to claim 1, wherein further include:
Receive the characteristic value for characterizing the intelligent door lock position;
The characteristic value and door lock mark are sent to the intended gateway.
6. a kind of intelligent door lock characterized by comprising the first sending module, the first receiving module, selection module and communication are built Formwork erection block;
First sending module, for sending the bind request broadcast data packet for carrying door lock mark;
First receiving module, in preset duration receive gateway feedback carry gateway information allow bind number According to packet;
The selection module, for choosing intended gateway from the gateway according to the gateway information;
The communication building block, for establishing and the correspondence of the intended gateway.
7. a kind of intelligent door lock binding method, which is characterized in that be applied to gateway, comprising:
Receive the bind request broadcast data packet for carrying door lock mark that intelligent door lock is sent;
Judge to identify the mark to match with the presence or absence of with the door lock in the first local grant column list;Wherein, the first Grant column list record in ground has the mark with authorization privilege;
If existing in the described first local grant column list and identifying the mark to match with the door lock, Xiang Suoshu intelligent door lock is sent Carry the permission binding data packet of gateway information.
8. the method according to the description of claim 7 is characterized in that further include:
If sending and binding to server there is no the mark to match is identified with the door lock in the described first local grant column list Request data package, the bind request data packet carry the gateway identification of the door lock mark and the gateway;
Receive the server feedback for characterizing authorization data packets that the intelligent door lock authorization passes through in the case where, The mark that door lock mark matches is added in the described first local grant column list, and is taken to intelligent door lock transmission Permission binding data packet with gateway information.
9. a kind of gateway characterized by comprising the second receiving module, first judgment module and the second sending module;
Second receiving module, for receiving the bind request broadcast data for carrying door lock mark of intelligent door lock transmission Packet;
The first judgment module, for judging in the first local grant column list with the presence or absence of matching with door lock mark Mark;Wherein, the described first local grant column list record has the mark with authorization privilege;If the described first local grant column list It is middle to there is the mark to match with door lock mark, then trigger second sending module;
Second sending module, for sending the permission binding data packet for carrying gateway information to the intelligent door lock.
10. a kind of intelligent door lock binding method, which is characterized in that be applied to server, comprising:
Receive gateway send bind request data packet, the bind request data packet carry intelligent door lock door lock mark and The gateway identification of the gateway;Wherein, the bind request data packet be by the gateway in the first local grant column list not Transmitted by the case where in the presence of the mark to match with door lock mark;
Judge to identify the mark to match with the presence or absence of with the door lock in the second local grant column list;Wherein, described second Grant column list record in ground has the mark with authorization privilege;
The mark to match is identified with the door lock if existing in the described second local grant column list, the transmission of Xiang Suoshu gateway is used for Characterize the authorization data packets that the intelligent door lock authorization passes through.
11. a kind of server characterized by comprising third receiving module, the second judgment module and third sending module;
The third receiving module, for receiving the bind request data packet of gateway transmission, the bind request data packet is carried There is the gateway identification of the door lock mark and the gateway of intelligent door lock;Wherein, the bind request data packet is by the gateway Transmitted by being not present in the first local grant column list in the case where identifying the mark to match with the door lock;
Second judgment module, for judging in the second local grant column list with the presence or absence of matching with door lock mark Mark;Wherein, the described second local grant column list record has the mark with authorization privilege;If the described second local grant column list It is middle to there is the mark to match with door lock mark, then trigger the third sending module;
The third sending module, if Xiang Suoshu gateway, which is sent, to be used for door lock mark in the default door lock mark In the authorization data packets that the characterization intelligent door lock authorization passes through.
12. a kind of intelligent door lock binding system characterized by comprising intelligent door lock as claimed in claim 6 and claim Gateway described in 9.
CN201810297900.5A 2018-03-30 2018-03-30 Intelligent door lock binding method, intelligent door lock, gateway, server and binding system Pending CN110324215A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810297900.5A CN110324215A (en) 2018-03-30 2018-03-30 Intelligent door lock binding method, intelligent door lock, gateway, server and binding system
PCT/CN2019/080375 WO2019185009A1 (en) 2018-03-30 2019-03-29 Smart door lock binding method, smart door lock, gateway, server, and binding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810297900.5A CN110324215A (en) 2018-03-30 2018-03-30 Intelligent door lock binding method, intelligent door lock, gateway, server and binding system

Publications (1)

Publication Number Publication Date
CN110324215A true CN110324215A (en) 2019-10-11

Family

ID=68058562

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810297900.5A Pending CN110324215A (en) 2018-03-30 2018-03-30 Intelligent door lock binding method, intelligent door lock, gateway, server and binding system

Country Status (2)

Country Link
CN (1) CN110324215A (en)
WO (1) WO2019185009A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781848A (en) * 2020-07-15 2020-10-16 北京自如信息科技有限公司 Server connection method, device and system based on intelligent household equipment

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113726906B (en) * 2021-09-06 2024-01-26 浙江朗盛信息技术服务有限公司 Industrial Internet of things box activation method and system
CN114666869B (en) * 2022-04-08 2024-04-16 深圳市欧瑞博科技股份有限公司 Equipment network distribution method and device, computer equipment and storage medium
CN115996387B (en) * 2023-03-23 2023-07-14 广东好太太智能家居有限公司 Device binding method, device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030056012A1 (en) * 2001-05-10 2003-03-20 Philbert Modeste System for providing continuous cyber link between embedded controllers and web servers
CN101489188A (en) * 2009-02-25 2009-07-22 南京邮电大学 Gateway discovery method in multimedia sensor network access technique
CN102769619A (en) * 2012-07-20 2012-11-07 南京小网科技有限责任公司 Method for automatically registering intelligent home appliance in network by one key
CN104618243A (en) * 2015-02-28 2015-05-13 华为技术有限公司 Routing method, device and system, and gateway scheduling method and device
CN106341374A (en) * 2015-07-10 2017-01-18 中兴通讯股份有限公司 Method and device for restricting access of unlicensed user device to home gateway

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516974A (en) * 2015-11-24 2016-04-20 东莞酷派软件技术有限公司 Router connection method, terminal and router
CN105656739A (en) * 2016-03-23 2016-06-08 浙江风向标科技有限公司 Method and device for batch configuration of Internet of things devices
CN106170142A (en) * 2016-06-29 2016-11-30 慧感(上海)物联网科技有限公司 A kind of low-consumption wireless Sensor Network network-building method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030056012A1 (en) * 2001-05-10 2003-03-20 Philbert Modeste System for providing continuous cyber link between embedded controllers and web servers
CN101489188A (en) * 2009-02-25 2009-07-22 南京邮电大学 Gateway discovery method in multimedia sensor network access technique
CN102769619A (en) * 2012-07-20 2012-11-07 南京小网科技有限责任公司 Method for automatically registering intelligent home appliance in network by one key
CN104618243A (en) * 2015-02-28 2015-05-13 华为技术有限公司 Routing method, device and system, and gateway scheduling method and device
CN106341374A (en) * 2015-07-10 2017-01-18 中兴通讯股份有限公司 Method and device for restricting access of unlicensed user device to home gateway

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111781848A (en) * 2020-07-15 2020-10-16 北京自如信息科技有限公司 Server connection method, device and system based on intelligent household equipment

Also Published As

Publication number Publication date
WO2019185009A1 (en) 2019-10-03

Similar Documents

Publication Publication Date Title
CN110324215A (en) Intelligent door lock binding method, intelligent door lock, gateway, server and binding system
CN107059690B (en) Parking space lock control method, device, server and system and parking space lock
CN106603662B (en) The implementation method of Internet of Things and the comprehensive intelligent platform of internet rete mirabile isomorphism
CN104883402B (en) A kind of information processing method and cloud service platform
CN105306332B (en) Internet of Things wireless local area subnet and its data interactive method of networking, equipment room
EP3675543B1 (en) Device control method and apparatus
CN109756404A (en) Sharing method, device, storage medium and the computer equipment of equipment control
US10432476B2 (en) Method, apparatus, and system for joining node to network
CN101860716B (en) Wireless video conference terminal reaccess system and method
CN106453301A (en) Method and device for pushing control information, smart router and server
CN107332866A (en) A kind of power transmission and transformation state monitoring method, equipment and system
CN113595791B (en) Equipment network distribution method and device, electronic equipment and computer readable medium
CN109005044A (en) Data transfer control method and relevant apparatus
CN105960027A (en) ZigBee network networking method and ZigBee coordinator
CN110458994A (en) A kind of estate management is from hair fastener system and method
CN110351827A (en) A kind of wireless self-networking method and system based on Sub-GHz
CN107592360A (en) A kind of Internet of Things data polymerization and system based on mixed cloud
CN102130832B (en) Terminal registration method in coaxial network and system
JPH03503474A (en) Method of registering units in a network having at least one part consisting of open channels
CN111491351B (en) Method and system for sensing online of WiFi terminal based on authentication information
CN108573614A (en) Parking management method, relevant device and system
CN111798597A (en) Method and device for carrying out service management on door lock card and electronic equipment
CN111478816A (en) Method, system, device and medium for configuring Zigbee and ZigBee sub-equipment
CN104158723B (en) Implementation method for sharing of user account by open intelligent gateway platform
CN101632261A (en) Full mesh rates transaction in the network

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011