CN109361760A - Intelligent door lock system and intelligent door lock recombinate network method - Google Patents
Intelligent door lock system and intelligent door lock recombinate network method Download PDFInfo
- Publication number
- CN109361760A CN109361760A CN201811386861.2A CN201811386861A CN109361760A CN 109361760 A CN109361760 A CN 109361760A CN 201811386861 A CN201811386861 A CN 201811386861A CN 109361760 A CN109361760 A CN 109361760A
- Authority
- CN
- China
- Prior art keywords
- intelligent door
- gateway
- door lock
- connection
- frequency range
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (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 invention discloses a kind of intelligent door lock systems and intelligent door lock to recombinate network method, which includes multiple gateways and multiple intelligent door locks, and each gateway is respectively connected with multiple intelligent door locks;When the connection with current gateway goes offline, whether there is also can connect gateway around the intelligent door lock scanning;Gateway can be connected if it exists, the intelligent door lock also sets the working frequency range that can be connected where gateway for itself working frequency range, and the working condition of itself is changed to unpaired state, and issue connection request to the gateway that connects;The gateway that connects is attached according to the connection request and the intelligent door lock in unpaired state, and stores the identity information of the intelligent door lock of connection.When connection of the present invention program between intelligent door lock and gateway goes offline, re-searches for other online gateways and be attached therewith, avoid the case where intelligent door lock connection is less than gateway, improve the network coverage.
Description
Technical field
The present invention relates to intelligent door lock technical fields, in particular to a kind of intelligent door lock system and intelligent door lock weight
Network-building method.
Background technique
Intelligent door lock is composite elctronics technical, IC design, a large amount of electronic component, the identification skill of a variety of innovations
The technologies such as art (Machine Design including computer networking technology, embedded software card, network alarming, lock body) and the intelligent family generated
Product is occupied, tradition machinery lock is different from, uses on-mechanical key as user's identification id, in user's identification, safety, managerial
Aspect is more intelligent.Intelligent door lock replaces mechanical lock to be the trend of a certainty, and intelligent door lock will be with its advantageous skill
Art advantage leads Chinese lockset industry preferably to be developed.
The communication mode of existing intelligent door lock often using be lower than the wireless telecommunications below of 1GHz frequency range, as 315MHz,
433MHz, 868MHz, 915MHz etc. are loosely referred to as Sub 1GHz.The benefit of low frequency be can get under identical transmission power it is farther away
Transmitting range, if using 315MHz, about 8 times of gap compared with the 2.4GHz of Wi-Fi, along with Sub 1GHz does not need high-transmission
Rate does not need 16QAM(Quadrature Amplitude Modulation, quadrature amplitude modulation) etc. complicated modulation, use
ASK(Amplitude Shift Keying, amplitude-shift keying), FSK(Frequency Shift Keying, frequency shift keying) etc. letters
Dull change mode the result is that transmission range is farther, up to several kilometers.
It in the networking and management of existing intelligent door lock, tends to interfering with each other between system occur, such as occurs single
A intelligent door lock cannot connect network or when intelligent door lock total system is restarted, and be easier to system disorders occur to connect with intelligent door lock
Situation on not;In addition intelligent door lock is often connected with gateway, and data information is pushed to server by gateway, if having road
It is failed by the gateway of function, all intelligent door locks of the second line of a couplet are easier the case where whole suspension occur.
Summary of the invention
In view of the above problems, the embodiment of the present invention is designed to provide a kind of intelligent door lock system method, existing to solve
There is the deficiency of technology.
According to embodiment of the present invention, a kind of intelligent door lock system, including multiple gateways and multiple intelligence are provided
Door lock, each gateway are respectively connected with multiple intelligent door locks;
When the connection with current gateway goes offline, whether there is also can connect gateway around the intelligent door lock scanning;
Gateway can be connected if it exists, the intelligent door lock also sets the work that can be connected where gateway for itself working frequency range
Make frequency range, and the working condition of itself is changed to unpaired state, and issue connection request to the gateway that connects;
The gateway that connects is attached according to the connection request and the intelligent door lock in unpaired state, and is deposited
Store up the identity information of the intelligent door lock of connection.
In above-mentioned intelligent door lock system, the initial group network process of the intelligent door lock system includes:
The intelligent door lock that can be attached around each gateway scanning, and establish and connect with the intelligent door lock of all unpaired states
It connects.
In above-mentioned intelligent door lock system, described " intelligent door lock that can be attached around each gateway scanning, and with
The intelligent door lock of all unpaired states establishes connection " include:
It can be attached described in intelligent door lock that each gateway can be attached around each working frequency range scans and acquisition
Intelligent door lock working condition, wherein the working condition includes unpaired state and has matched state;
All intelligent door locks in unpaired state that each gateway is scanned to it send networking request;
Receive the intelligent door lock in unpaired state of the networking request and respective gateway establish connection, and by itself
Working condition is set as the state of having matched.
In above-mentioned intelligent door lock system, described " intelligent door lock that can be attached around each gateway scanning, and with
The intelligent door lock of all unpaired states establishes connection " before further include:
Whether there are other gateways around each gateway scanning, and obtains the working frequency range of other gateways, and according to other described nets
The working frequency range of itself is arranged in the working frequency range of pass.
In above-mentioned intelligent door lock system, further includes:
When the connection with the current gateway is restored by going offline to presence, the intelligent door of the current gateway and first wife couple
Lock re-connects.
In above-mentioned intelligent door lock system, described " intelligent door lock of the current gateway and first wife couple re-start company
Connect " include:
Gateway is connected around the current gateway scanning, the identity information of the intelligent door lock of the first wife couple stored is sent
Gateway can be connected to described, and sets original working frequency range for the working frequency range of itself;
It is described connect gateway according to the identity information of the intelligent door lock of the first wife couple judge its connection intelligent door lock in be
It is no to there is intelligent door lock relevant to the current gateway;
Intelligent door lock relevant to the current gateway if it exists, it is described connect gateway send notification signal to it is described current
The relevant intelligent door lock of gateway and the connection for disconnecting intelligent door lock relevant to the current gateway, then basis disconnects
The identity information of intelligent door lock updates the identity information of stored intelligent door lock;
After intelligent door lock relevant to the current gateway receives the notification signal, institute is set by the working frequency range of itself
Original working frequency range is stated, and the working condition of itself is changed to unpaired state, and issue and connect to the current gateway
Request;
The current gateway is according to the intelligence for being in unpaired state in the connection request and the original working frequency range
Energy door lock establishes connection, and updates the identity information of the intelligent door lock of its connection.
In above-mentioned intelligent door lock system, " the connecting gateway around current gateway scanning " includes:
The current gateway whether there is around each working frequency range scans can connect gateway;
Can connect gateway if it exists, the current gateway obtain described in can connect the working frequency range of gateway, and by the work of itself
Frequency range, which is set as described, can connect the working frequency range of gateway, and be counted in the working frequency range of setting with the corresponding gateway that connects
According to transmission.
It is described " gateway to be connected according to the connection request and in unpaired shape in above-mentioned intelligent door lock system
The intelligent door lock of state is attached " include:
The gateway that connects judges whether the number of all intelligent door locks of its connection reaches predetermined connection threshold value, and judges it
Whether the communication quality between the intelligent door lock in unpaired state reaches predetermined quality threshold value;
If the number of its all intelligent door lock connected is not up to the predetermined connection threshold value, and it is in unpaired shape with described
Communication quality between the intelligent door lock of state reaches the predetermined quality threshold value, described to connect gateway with described in unpaired
The intelligent door lock of state establishes connection.
In above-mentioned intelligent door lock system, determine whether that the connection with current gateway goes offline in the following manner:
The intelligent door lock initiates communication request to the current gateway every preset time, and receives the current gateway and be directed to
The return signal that the communication request is sent;
If the current gateway is more than that pre-determined number does not receive the return signal, the intelligent door lock determine its with it is described
The connection of current gateway goes offline.
According to another implementation of the invention, a kind of intelligent door lock recombination network method is provided, the method is applied to
Intelligent door lock system, the intelligent door lock system include multiple gateways and multiple intelligent door locks, and each gateway is respectively connected with multiple
The intelligent door lock, this method comprises:
When the connection with current gateway goes offline, whether there is also can connect gateway around the intelligent door lock scanning;
Gateway can be connected if it exists, itself working frequency range is set the work that can be connected where gateway by the intelligent door lock
Frequency range, and the working condition of itself is changed to unpaired state, and issue connection request to the gateway that connects;
The gateway that connects is attached according to the connection request and the intelligent door lock in unpaired state, and is deposited
Store up the identity information of the intelligent door lock of connection.
Yet another embodiment according to the present invention, provides a kind of intelligent door lock weight network device, and described device is applied to
Intelligent door lock system, the intelligent door lock system include multiple gateways and multiple intelligent door locks, and each gateway is respectively connected with multiple
The intelligent door lock, the device include:
Scan module, for when the connection with current gateway goes offline, whether there is also can connect around the intelligent door lock scanning
Connect gateway;
Setup module, for that can connect gateway if it exists, the intelligent door lock, which also sets described for itself working frequency range, to be connected
The working frequency range where gateway is connect, and the working condition of itself is changed to unpaired state, and connect gateway hair to described
Connection request out;
Link block, for the gateway that connects according to the connection request and the intelligent door lock for being in unpaired state
It is attached, and stores the identity information of the intelligent door lock of connection.
Another embodiment according to the present invention provides a kind of computer readable storage medium, and computer storage is situated between
Matter is stored with computer program, which, which is performed, executes above-mentioned intelligent door lock recombination network method.
The technical scheme provided by this disclosed embodiment may include it is following the utility model has the advantages that
A kind of intelligent door lock system and intelligent door lock recombinate network method in the present invention, and the connection between intelligent door lock and gateway is fallen
When line, re-searches for other online gateways and be attached therewith, intelligent door lock connection is avoided to occur not less than gateway
The case where capable of networking, improves the network coverage.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, letter will be made to attached drawing needed in the embodiment below
It singly introduces, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as to the present invention
The restriction of protection scope for those of ordinary skill in the art without creative efforts, can be with root
Other relevant attached drawings are obtained according to these attached drawings.
Fig. 1 shows a kind of structural schematic diagram of intelligent door lock system provided in an embodiment of the present invention.
Fig. 2 shows the structural schematic diagrams of another intelligent door lock system provided in an embodiment of the present invention.
Fig. 3 shows a kind of flow diagram of intelligent door lock recombination network method provided in an embodiment of the present invention.
Fig. 4 shows a kind of structural schematic diagram of intelligent door lock weight network device provided in an embodiment of the present invention.
Main element symbol description:
100- intelligent door lock system;110- gateway;120- intelligent door lock;200- intelligent door lock weight network device;210- scans mould
Block;220- setup module;230- link block.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Embodiment 1
Fig. 1 shows a kind of structural schematic diagram of intelligent door lock system provided in an embodiment of the present invention.
The intelligent door lock system 100 includes multiple gateways 110 and multiple intelligent door locks 120, and each gateway 110 is all connected with
There are multiple intelligent door locks 120.
The gateway 110 is also connected with server, and the intelligent door lock 120 connects server, institute by the gateway 110
State intelligent door lock 120 by the switch gate information of storage, light information, encrypted message etc. server be transferred to by gateway 110, with
Handle server to above-mentioned information.
Further, resident's believes with water information, power information and with gas where the intelligent door lock 120 is also stored with it
Breath etc..
Specifically, the equipment such as ammeter, water meter and gas meter of the resident become a local with 120 groups of the intelligent door lock
Net stores resident with water information, power information and being transferred in intelligent door lock 120 with gas information etc., in intelligent door
It, can be by resident water information, power information or with gas information when (such as in switch gate) lock 120 is in wake-up states
Etc. data be transferred to terminal where server and/or resident.
Further, the initial group network process of shown intelligent door lock system 100 includes:
The intelligent door lock 120 that can be attached around each scanning of gateway 110, and the intelligent door lock with all unpaired states
120 establish connection.
Specifically, before intelligent door lock system 110 starts communication, it is necessary first to by the net in intelligent door lock system 100
It closes and establishes connection between 110 and intelligent door lock 120.
Further, described " intelligent door lock 120 that can be attached around each scanning of gateway 110, and do not match with all
Connection is established to the intelligent door lock 120 of state " include:
Intelligent door lock 120 that each gateway 110 can be attached around each working frequency range scans and can be into described in obtaining
The working condition of the intelligent door lock 120 of row connection, wherein the working condition includes unpaired state and matched state;Often
All intelligent door locks 120 in unpaired state that one gateway 110 is scanned to it send networking request;It receives described
The intelligent door lock 120 in unpaired state of net request establishes connection with respective gateway 110, and the working condition of itself is set
It is set to the state of pairing.
Wherein, the intelligent door lock 120 being attached indicates that gateway 110 can be scanned to the intelligent door lock 120 hair
Signal out.
Specifically, each gateway 110 constantly adjusts the working frequency range of oneself according to the working frequency range of division, so that it is every
Whether interior scanning has the intelligent door lock 120 that can be attached in one working frequency range, and obtains the intelligence being attached scanned
Can door lock 120 working condition, wherein working condition includes unpaired state and has matched state.
The intelligent door lock 120 is unpaired state in initial setting up.Intelligent door lock 120 not with gateway 110 it
Between be unpaired state when establishing connection, matched state when establishing connection between gateway 110.
All intelligent door locks 120 that each gateway 110 scans it in all working frequency range are integrated, at determination
In the intelligent door lock 120 of unpaired state.
All intelligent door locks 120 in unpaired state that each gateway 110 is scanned to it, which issue networking, asks
Ask, receive networking request the intelligent door lock 120 according to it is described networking request in pairing signal and the gateway 110 into
Row pairing establishes connection between the gateway 110 that networking is requested with sending.
After establishing connection, shown intelligent door lock 120 also sets the working frequency range of oneself to where the gateway 110 of its connection
Working frequency range so that it is communicated in the working frequency range between gateway 110.The intelligent door lock 120 is also by itself
Working condition by unpaired status modifier be matched state, to avoid it after establishing connection with gateway 110, and receive it
The networking request that his gateway 110 is sent, avoids waste Internet resources, reduces interference.
For example, as shown in Fig. 2, being illustrated by taking the interior intelligent door lock in cell building as an example.Intelligent door lock A1 ~ AM may be provided at
The different floor in different buildings.Gateway A scans attachable intelligent door lock in each working frequency range, and to all attachable
All intelligent door lock A1 ~ AM in intelligent door lock in unpaired state issue networking request, are attached.Intelligent door lock B1 ~
BN may be provided at the different floor in different buildings.Gateway B scans attachable intelligent door lock in each working frequency range, and to institute
There are all intelligent door lock B1 ~ BN in attachable intelligent door lock in unpaired state to issue networking request, is attached, directly
All intelligent door lock connections are finished to all gateways.
Specifically, also each floor can be installed by least one gateway 110 and multiple intelligent door locks 120 in every building, it is described
Include identity information, place building information and place floor letter in the signal that the intelligent door lock that gateway 110 scans issues
Breath, the gateway 110 identify and all intelligent doors in unpaired state for itself belonging to same Stall and same floor
Lock 120, and connection is established therewith.All intelligent door locks 120 after establishing connection with gateway 110 are by the working condition of oneself by not
Pairing status modifier is to have matched state.
For example, as shown in Fig. 2, being illustrated by taking the interior intelligent door lock in cell building as an example.If gateway A is installed on Lou Dong's 1
1st layer, intelligent door lock A1 ~ AM is installed on the 1st layer of Lou Dong 1, and intelligent door lock B1 ~ BN is installed on the second layer of Lou Dong 1.Networking it
Before, gateway A scans attachable intelligent door lock A1 ~ AM and B1 ~ B3 in each working frequency range, the signal issued by intelligent door lock
In building information and floor information all of the first layer for being mounted on Lou Dong 1 are filtered out in all attachable intelligent door locks
Intelligent door lock A1 ~ AM, gateway A issue networking request to intelligent door lock A1 ~ AM, receive the intelligent door lock A1 of networking request
~ AM is matched according to the pairing signal in the networking request with the gateway A, between the gateway A of transmission networking request
Establish connection.After establishing connection, the working condition of oneself is to have matched shape by unpaired status modifier by intelligent door lock A1 ~ AM
State reduces resource occupying to prevent other gateways from issuing networking request.Wherein, M, N are the integer more than or equal to 2.
Specifically, installation gateway 110 and multiple intelligent door locks 120, installation are carried out from first layer first in the building Hai Ke
All attachable intelligent door locks 120 in first layer are scanned in the gateway 110 of first layer, and being connected in unpaired state
It connects intelligent door lock 120 and establishes connection, and set the state of having matched for the working condition of all intelligent door locks after connection;?
After one layer of networking, gateway 110 and multiple intelligent door locks 120 can be installed in the second layer, be mounted on the gateway 110 of the second layer
All attachable intelligent door locks 120 are scanned, it can in all attachable intelligent door locks 120 that the gateway 110 of the second layer scans
It can be comprising being mounted on the intelligent door lock of the second layer and being mounted on the intelligent door lock of first layer, due to being mounted on having connected for first layer
The working condition of intelligent door lock be to have matched state, be mounted on the gateway 110 of the second layer with scan it is all attachable
The intelligent door lock 120 in unpaired state in intelligent door lock 120 establishes connection, and by all intelligent door locks after connection
Working condition is set as the state of having matched;Networking successively is installed in sequence until being mounted on the gateway 110 of top layer and being mounted on
120 networking of intelligent door lock of top layer finishes.
For example, as shown in Fig. 2, being illustrated by taking three layers of networking as an example.Gateway A and multiple intelligent door locks are installed in first layer
A1 ~ AM, intelligent door lock is in unpaired state when installation.Gateway A each working frequency range scan attachable intelligent door lock A1 ~
AM, and all intelligent door lock A1 ~ AM into all attachable intelligent door locks in unpaired state issue networking request, into
Row connection.After the completion of connection, the working condition of oneself is to have matched state by unpaired status modifier by intelligent door lock A1 ~ AM.
In second layer installation gateway B and multiple intelligent door lock B1 ~ BN, installation, intelligent door lock is in unpaired state.Net
It closes B and scans attachable intelligent door lock B1 ~ BN and A1 ~ A8 in each working frequency range, and into all attachable intelligent door locks
All intelligent door lock B1 ~ BN in unpaired state issue networking request, are attached.After the completion of connection, intelligent door lock B1 ~
The working condition of oneself is to have matched state by unpaired status modifier by BN.
In third layer installation gateway C and multiple intelligent door lock C1 ~ CX, installation, intelligent door lock is in unpaired state.Net
It closes C and scans attachable intelligent door lock C1 ~ CX, B1 ~ B8 and A1 ~ A4 in each working frequency range, and to all attachable intelligence
All intelligent door lock C1 ~ CX in door lock in unpaired state issue networking request, are attached.After the completion of connection, intelligence
The working condition of oneself is to have matched state by unpaired status modifier by door lock C1 ~ CX.Wherein, M, N, X are more than or equal to 2
Integer.
For shown intelligent door lock system 100 before initial networking, each gateway 110 is also used to determine the work of oneself
Frequency range.
Further, whether there are other gateways 110 around each scanning of gateway 110, and obtain the work of other gateways 110
Frequency range, and the working frequency range of itself is set according to the working frequency range of other gateways 110.
Specifically, each gateway 110 is actively around scanning in each working frequency range after electrifying startup and initialization
It is no to have other gateways 110, if other gateways 110 are arrived in scanning, the working frequency range of other gateways 110 scanned is obtained, according to institute
The working frequency range of itself is set the working frequency range different from other gateways 110 by the working frequency range for stating other gateways 110.
For example, the corresponding working frequency range range of the gateway 110 is determined according to the communication mode of the gateway 110, by institute
It states working frequency range range and is divided into multiple working frequency range.If wireless by Sub-1G between the gateway 110 and intelligent door lock 120
Communication mode is communicated, and the working frequency range range of gateway 110 can be divided into 433MHz, 435MHz, 437MHz, 439MHz
Deng.
When first gateway is scanned in each working frequency range, if not scanning other gateways of surrounding, can incite somebody to action
The working frequency range of first gateway is set as 433MHz.When second gateway is scanned in each working frequency range,
Attachable first gateway is arrived in scanning in 433MHz frequency range, gets the working frequency range 433MHz of first gateway, can
435MHz is set by the working frequency range of itself according to the working frequency range of division;Third gateway in each working frequency range into
When row scanning, scanning is scanned to attachable first gateway and in 435MHz frequency range to attachable in 433MHz frequency range
Second gateway gets the working frequency range 433MHz of the first gateway and working frequency range 435MHz of second gateway,
437MHz, etc. can be set by the working frequency range of itself according to the working frequency range of division.
For another example, when first gateway is scanned in each working frequency range, if not scanning other gateways of surrounding,
The working frequency range of first gateway can be set as 433MHz.When second gateway is scanned in each working frequency range,
Attachable first gateway is arrived in scanning in 433MHz frequency range, gets the working frequency range 433MHz of first gateway, can
437MHz is set by the working frequency range of itself according to the working frequency range of division;Third gateway in each working frequency range into
When row scanning, scanning is scanned to attachable first gateway and in 437MHz frequency range to attachable in 433MHz frequency range
Second gateway gets the working frequency range 433MHz of the first gateway and working frequency range 437MHz of second gateway,
435MHz, etc. can be set by the working frequency range of itself according to the working frequency range of division.
When the connection with current gateway 110 goes offline, whether there is also can connect net around the scanning of intelligent door lock 120
Close 110.
Further, determine whether to go offline with the connection of current gateway 110 in the following manner:
The intelligent door lock 120 initiates communication request to the current gateway 110 every preset time, and receives the current net
Close 110 return signals sent for the communication request;If the current gateway 110 is more than described in pre-determined number does not receive
Return signal, then the intelligent door lock 120 determines that the connection of itself and the current gateway 110 goes offline.
Specifically, the intelligent door lock 120 sends communication request letter every the current gateway 110 that preset time is connected to it
Number (such as heartbeat signal) determines whether its connection between current gateway 110 goes offline.
If the intelligent door lock 120 sends the communication request of preset times, current gateway 110 is not received yet and is directed to
The return signal that the communication request returns, then determine that the connection between the intelligent door lock 120 and current gateway 110 goes offline.
For example, if intelligent door lock 120 sent successively communication request every 1 second, to current gateway 110, current gateway 110 is every
It receives a communication request and returns to a return signal to intelligent door lock 120.If the preset times are 30 times, in intelligence
Door lock 120 sends the return signal that 30 communication requests do not receive current gateway 110, then judges 120 He of intelligent door lock
Connection between current gateway 110 goes offline.
Specifically, the connection of the intelligent door lock 120 and current gateway 110, which goes offline, can be divided into following several situations:
The current gateway 110 goes offline, and cannot be attached with server and intelligent door lock 120, in the case of this kind with the gateway
Connection of all intelligent door locks 120 of 110 connections with current gateway 110 goes offline.As shown in Fig. 2, if gateway A goes offline, intelligence
Connection between door lock A1 ~ AM and gateway A goes offline, wherein M is the integer more than or equal to 2.
Connection between the current gateway 110 and the specific a certain intelligent door lock goes offline, in the case of this kind, only
Connection between the intelligent door lock 120 and current gateway 110 goes offline, other intelligent door locks 120 being connect with current gateway 110 with
Connection between current gateway 110 is online.As shown in Fig. 2, the connection between gateway B and intelligent door lock B2 goes offline, intelligent door lock
Connection between B1, B3 ~ BN and gateway B can be online, wherein N is the integer more than or equal to 2.
When the connection with current gateway 110 goes offline, the intelligent door lock 120 is also around the scanning of each working frequency range
It is no there is also can connect gateway 110 sending signal so that the intelligent door lock 120 and scan connect gateway 110 into
Row connection, avoids the occurrence of the case where intelligent door lock goes offline.
Gateway 110 can be connected if it exists, and the intelligent door lock 120, which also sets described for itself working frequency range, can connect net
The working frequency range where 110 is closed, and the working condition of itself is changed to unpaired state, and connect gateway 110 to described
Issue connection request.
For example, as shown in Fig. 2, the working frequency range where gateway B is if the working frequency range where gateway A is 433MHz
435MHz.If the connection between intelligent door lock A2 and gateway A goes offline, the intelligent door lock A2 is scanned in each working frequency range can
Gateway is connected, is scanned in 435MHz working frequency range to gateway B can be connected, intelligent door lock A2 is swept without other working frequency range
It retouches.The working frequency range of itself is changed to 435MHz from 433MHz by the intelligent door lock A2, and by the working condition of itself by
Pairing state is changed to unpaired state, and after the completion of change, the intelligent door lock A2 issues connection request to gateway B, so that
It can be connected to server by gateway B.
It is described connect gateway 110 according to the connection request in unpaired state the intelligent door lock 120 into
Row connection, and store the identity information of the intelligent door lock 120 of connection.
For example, as shown in Fig. 2, after gateway B receives the connection request of intelligent door lock A2 transmission, work where it frequency
Whether scanning has intelligent door lock that is attachable and being in unpaired state in section 435MHz, if having attachable and in not matching
To the intelligent door lock of state, the gateway B is matched with all attachable and in unpaired state intelligent door lock, is sent out
Play connection.After attachable and intelligent door lock successful connection in unpaired state, the gateway B also records the institute of connection
State the identity information of intelligent door lock and storage, wherein the identity information can be identity ID etc..
For another example, as shown in Fig. 2, after gateway B receives the connection request of intelligent door lock A2 transmission, work where it frequency
Whether scanning has intelligent door lock that is attachable and being in unpaired state in section 435MHz, if having attachable and in not matching
To the intelligent door lock of state, the ID in connection request sent according to intelligent door lock A2 determines all attachable and in not matching
To whether including intelligent door lock A2 in the intelligent door lock of state, if comprising intelligent door lock A2, the gateway B and intelligent door lock A2 into
Row pairing, initiates the connection.If not including intelligent door lock A2, the gateway B does not initiate pairing request.If not scanning can connect
And intelligent door lock that be in unpaired state, the gateway B do not initiate pairing request.
After intelligent door lock A2 successful connection, the gateway B also records identity information and the storage of intelligent door lock A2,
In, the identity information can be identity ID etc..
It is further, described that " gateway 110 that connects is according to the connection request and in described in unpaired state
Intelligent door lock 120 is attached " include:
The gateway 110 that connects judges whether the number of all intelligent door locks 120 of its connection reaches predetermined connection threshold value, and
Judge whether its communication quality between the intelligent door lock 120 in unpaired state reaches predetermined quality threshold value;Ruo Qilian
The number of all intelligent door locks 120 connect is not up to the predetermined connection threshold value, and itself and the intelligence in unpaired state
Communication quality between energy door lock 120 reaches the predetermined quality threshold value, described to connect gateway 110 with described in unpaired
The intelligent door lock 120 of state establishes connection.
Specifically, the gateway 110 that connects is attached with the intelligent door lock 120 in unpaired state
When, also judge whether reach predetermined connection threshold value (example with the number that can connect all intelligent door locks 120 of the connection of gateway 110
Such as, maximum allowable linking number), and judge this can connect gateway 110 in unpaired state the intelligent door lock 120 it
Between communication quality whether reach predetermined quality threshold value, wherein the communication quality include communication success rate, traffic rate, hair
Penetrate power or receiving sensitivity etc..
If the number of all intelligent door locks 120 for connecting the connection of gateway 110 is not up to the predetermined connection threshold value,
And the communication quality connected between gateway 110 and the intelligent door lock 120 in unpaired state reaches described pre-
Determine quality threshold, illustrating that this can connect the number of the connection intelligent door lock 120 of gateway 110 is vacant state, can continue to connect it
His intelligent door lock 120, other intelligent door locks 120 that will be connected and this can connect the communication quality between gateway 110 and reach
It is described to connect gateway 110 and other described intelligent door locks 120 foundation in unpaired state after predetermined quality threshold value
Connection.
For example, as shown in Fig. 2, being illustrated by taking gateway A, gateway B and gateway C as an example, if the working frequency range where gateway A
For 433MHz, the working frequency range where gateway B is 435MHz, and the working frequency range where gateway C is 437MHz.If intelligent door lock A2
Connection between gateway A goes offline, and the intelligent door lock A2 is scanned in each working frequency range can connect gateway, in 435MHz work
Make band scan and the working frequency range of itself is changed to 435MHz from 433MHz to gateway B, the intelligent door lock A2 can be connected, and
The working condition of itself is changed to unpaired state by the state of having matched, after the completion of change, the intelligent door lock A2 is to net
It closes B and issues connection request, so that it can be connected to server by gateway B.Gateway B receives the connection of intelligent door lock A2 transmission
After request, it is scanned in the working frequency range of 435MHz, after scanning to the intelligent door lock A2 in unpaired state, shown net
It closes B and judges whether its communication quality between intelligent door lock A2 reaches predetermined quality threshold value.
If the communication quality between the gateway B and intelligent door lock A2 is not up to predetermined quality threshold value, the gateway B not with
Intelligent door lock A2 establishes connection;If the communication quality between the gateway B and intelligent door lock A2 reaches predetermined quality threshold value, described
Gateway B judges whether the number of the intelligent door lock of its own connection reaches predetermined connection threshold value.
If the not up to predetermined connection threshold value of the number of the intelligent door lock of gateway B connection, can connect gateway B and described in not
The intelligent door lock A2 of pairing state establishes connection.
If the number of the intelligent door lock of gateway B connection reaches predetermined connection threshold value, intelligent door lock A2 is in other working frequency range
It continues to scan on the presence or absence of gateway can be connected, if intelligent door lock A2 is scanned in the working frequency range of 437MHz to attachable gateway
The working frequency range of itself is changed to 437MHz from 433MHz by C, the intelligent door lock A2, and by the working condition of itself by having matched
Unpaired state is changed to state, after the completion of change, the intelligent door lock A2 issues connection request to gateway C, so that its
Server can be connected to by gateway C.
Number of the gateway C in all intelligent door lock C1 ~ CX of its connection is not up to the predetermined connection threshold value, and gateway C
When communication quality between the intelligent door lock A2 in unpaired state reaches the predetermined quality threshold value, the gateway
C sends pairing request to the intelligent door lock A2, and the intelligent door lock A2 completes the pairing with gateway C according to the pairing request,
Establish the connection with gateway C.
Further, when the connection of the current gateway 110 is restored by going offline to presence, the current gateway
110 re-connect with the intelligent door lock 120 of first wife couple.
Further, described " current gateway 110 and the intelligent door lock 120 of first wife couple re-connect " includes:
Gateway is connected around the current gateway scanning, the identity information of the intelligent door lock of the first wife couple stored is sent
Gateway can be connected to described, and sets original working frequency range for the working frequency range of itself.
Further, described " connecting gateway around current gateway scanning " includes:
The current gateway whether there is around each working frequency range scans can connect gateway;Gateway can be connected if it exists,
The working frequency range of gateway can be connected described in the current gateway acquisition, and set described for the working frequency range of itself to connect net
The working frequency range of pass, and carry out data transmission in the working frequency range of setting with the corresponding gateway that connects.
Specifically, when intelligent door lock and current gateway are restored to presence by going offline, current gateway first has to first
The working frequency range of itself is determined according to the working frequency range for connecting gateway of scanning, and the working frequency range of itself is set as scanning
To the working frequency range for connecting gateway, to carry out data transmission in the working frequency range of setting with the corresponding gateway that connects.
In connecting after gateway carries out data transmission for current gateway and scanning, the first wife that the current gateway is stored
Pair intelligent door lock identity information be sent to it is described can connect gateway, so as to receive the identity of the intelligent door lock of the first wife couple
Information connects gateway inquires the intelligent door lock for whether having the first wife couple in all intelligent door locks that it is connected.
Wherein, the identity information of the intelligent door lock of the first wife couple connects before going offline all for the current gateway
The identity information of intelligent door lock.
The current gateway the identity information of the intelligent door lock of first wife couple is sent to it is described can connect gateway after, incite somebody to action from
The working frequency range of body is revised as original working frequency range, wherein the original working frequency range is the working frequency range before going offline.
The intelligent door lock for connecting gateway and judging its connection according to the identity information of the intelligent door lock of the first wife couple
In whether there is intelligent door lock relevant to the current gateway.
Specifically, the identity information for connecting the gateway intelligent door lock of the first wife couple based on the received searches its company
It whether there is the intelligent door lock of the first wife couple in all intelligent door locks connect.
Intelligent door lock relevant to the current gateway if it exists, it is described connect gateway send notification signal to it is described
The relevant intelligent door lock of current gateway and the connection for disconnecting intelligent door lock relevant to the current gateway, then according to the company of disconnection
The identity information of the intelligent door lock connect updates the identity information of stored intelligent door lock.
Specifically, the intelligent door lock of the first wife couple, the gateway that connects send the notification signal value first wife couple if it exists
Intelligent door lock, and disconnect and the intelligent door lock of the first wife couple between connection.And according to the intelligent door lock information disconnected
The identity information of stored intelligent door lock is updated, i.e., the identity letter of the only all intelligent door locks of its connection stored in gateway
Breath.
After intelligent door lock relevant to the current gateway receives the notification signal, the working frequency range of itself is arranged
For the original working frequency range, and the working condition of itself is changed to unpaired state, and issued to the current gateway
Connection request.
Specifically, the intelligent door lock of the first wife couple receive this can connect gateway transmission notification signal after, by itself
Working frequency range is set as original working frequency range by the working frequency range that can connect gateway, and by the working condition of itself by having matched
State is changed to unpaired state, carries out the preparation connecting with current gateway, and issue connection request to current gateway.
After the current gateway is according to the connection request, and unpaired state is in the original working frequency range
The intelligent door lock establishes connection, and updates the identity information of the intelligent door lock of its connection.
Specifically, current gateway is according to connection request, scan in the original working frequency range where it in unpaired
The intelligent door lock of state, and connection is established with the intelligent door lock for being in unpaired state, and according to the intelligent door lock newly connected
The identity information of the intelligent door lock updated storage.
For example, as shown in Fig. 2, being illustrated by taking gateway A, gateway B and gateway C as an example, if the working frequency range where gateway A
For 433MHz, the working frequency range where gateway B is 435MHz, and the working frequency range where gateway C is 437MHz.If A2 and gateway A
Between connection when going offline, A2 is connected to gateway C.Connection between A2 and gateway A by go offline restore to it is online when, gateway A
The working frequency range 435MHz working frequency range of oneself set to where gateway B, sends its first wife in 435MHz working frequency range
Pair smart lock identity information to gateway B, gateway A sets the working frequency range of oneself to the working frequency range where gateway C
437MHz sends the identity information of the smart lock of its first wife couple to gateway C in 437MHz working frequency range.Gateway B is according to reception
First wife couple smart lock identity information search the identity information of intelligent door lock B1 ~ BM that its own is stored after, do not find
The intelligent door lock of the first wife couple.The identity information of the gateway C smart lock of first wife couple based on the received searches what its own was stored
After the identity information of intelligent door lock C1 ~ CX and A2, it is found that the intelligent door lock A2 of the first wife couple, gateway C give notice signal to intelligence
Energy door lock A2, the online message of its connection between gateway A of notice intelligent door lock A2, gateway C disconnect it between A2
Connection, and the identity information of the intelligent door lock A2 connected to it of storage is deleted.
After intelligent door lock A2 receives notification signal, the working frequency range of itself is changed to 433MHz by 437MHz, it will be certainly
The working condition of body is changed to unpaired state by the state of having matched, and issues connection request to gateway A.
After gateway A receives connection request, scan attachable intelligent door lock in 433MHz working frequency range, and be in
The intelligent door lock A2 of unpaired state establishes connection, and updates the identity information of the intelligent door lock of all connections of its storage.
For another example, as shown in Fig. 2, being illustrated by taking gateway A, gateway B and gateway C as an example, if the working frequency range where gateway A
For 433MHz, the working frequency range where gateway B is 435MHz, and the working frequency range where gateway C is 437MHz.If gateway A is fallen
When line, all intelligent door lock A1 ~ AM connecting with gateway A are disconnected with gateway A, if A1 ~ A6 is connected to gateway B, A6 ~ AM
It is connected to gateway C.When gateway A is restored by going offline to presence, the working frequency range of oneself is set gateway B institute by gateway A
Working frequency range 435MHz, the identity information of the smart lock of its first wife couple is sent in 435MHz working frequency range to gateway B, net
It closes A and sets the working frequency range of oneself to the working frequency range 437MHz where gateway C, its original is sent in 437MHz working frequency range
The identity information of the smart lock of pairing is to gateway C.
The identity information of the gateway B smart lock of first wife couple based on the received search its own intelligent door lock B1 stored ~
After BM, A1 ~ A6 identity information, it is found that intelligent door lock A1 ~ A6 of the first wife couple, gateway B give notice signal to intelligent door lock
A1 ~ A6, the online message of notice intelligent door lock A1 ~ A6 gateway A, gateway B disconnects its connection between A1 ~ A6, and will deposit
The identity information of intelligent door lock A1 ~ A6 connected to it of storage is deleted.
The identity information of the gateway C smart lock of first wife couple based on the received search its own intelligent door lock C1 stored ~
After CX, A6 ~ AM identity information, it is found that intelligent door lock A6 ~ AM of the first wife couple, gateway C give notice signal to intelligent door lock
A6 ~ AM, the online message of notice intelligent door lock A6 ~ AM gateway A, gateway C disconnects its connection between A6 ~ AM, and will deposit
The identity information of intelligent door lock A6 ~ AM connected to it of storage is deleted.
After intelligent door lock A1 ~ A6 receives notification signal, the working frequency range of itself is changed to 433MHz by 435MHz, it will
The working condition of itself is changed to unpaired state by the state of having matched, and issues connection request to gateway A.
After intelligent door lock A6 ~ AM receives notification signal, the working frequency range of itself is changed to 433MHz by 437MHz, it will
The working condition of itself is changed to unpaired state by the state of having matched, and issues connection request to gateway A.
After gateway A receives connection request, scan attachable intelligent door lock in 433MHz working frequency range, and be in
All intelligent door locks of unpaired state establish connection, and update the identity information of the intelligent door lock of all connections of its storage,
Until intelligent door lock A1 ~ AM of first wife couple all complete by connection.
Embodiment 2
Fig. 3 shows a kind of flow diagram of intelligent door lock recombination network method provided in an embodiment of the present invention.The intelligent door lock
It recombinates network method and is applied to intelligent door lock and gateway.The gateway connects at least one intelligent door lock.
Intelligent door lock recombination network method includes the following steps:
Step S110, when the connection with current gateway goes offline, whether there is also can connect gateway around intelligent door lock scanning.
Step S120, can connect gateway if it exists, and intelligent door lock also sets itself working frequency range to connect gateway institute
Working frequency range, and the working condition of itself is changed to unpaired state, and issue connection request to gateway can be connected.
Step S130 can connect gateway and is attached according to connection request and the intelligent door lock in unpaired state, and
Store the identity information of the intelligent door lock of connection.
Embodiment 3
Fig. 4 shows a kind of structural schematic diagram of intelligent door lock weight network device provided in an embodiment of the present invention.The intelligent door lock
Weight network device 200 is applied to gateway and intelligent door lock.The gateway connects at least one intelligent door lock.
The intelligent door lock weight network device 200 includes scan module 210, setup module 220 and link block 230.
Scan module 210, for whether also being deposited around the intelligent door lock scanning when the connection with current gateway goes offline
Gateway can connected.
Setup module 220, for that can connect gateway if it exists, the intelligent door lock also sets institute for itself working frequency range
The working frequency range that can be connected where gateway is stated, and the working condition of itself is changed to unpaired state, and connect to described
Gateway issues connection request.
Link block 230, for the gateway that connects according to the connection request and in described in unpaired state
Intelligent door lock is attached, and stores the identity information of the intelligent door lock of connection.
The present embodiment additionally provides a kind of computer storage medium, and the computer storage medium is stored with computer journey
Sequence, the computer program, which is performed, recombinates network method for executing the above-mentioned intelligent door lock.
So far, the present invention provides a kind of intelligent door lock systems and intelligent door lock to recombinate network method, and intelligent door lock can be certainly
The workload that each intelligent door lock needs to be separately configured is saved in networking;Gateway can be with the working frequency range of other gateways of automatically scanning
And itself working frequency range is set according to the working frequency range of other gateways, it avoids the problem that the repetition generated, conflict is manually arranged;
When connection between intelligent door lock and gateway goes offline, re-searches for other online gateways and be attached therewith, avoid
The case where intelligent door lock connection is less than gateway, improves the network coverage;When gateway is restored to presence by going offline, original is even
All intelligent door locks connect can restore to connect again, improve the utilization rate of network, frequency range.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through
Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, flow chart and structure in attached drawing
Figure shows the system frame in the cards of the device of multiple embodiments according to the present invention, method and computer program product
Structure, function and operation.In this regard, each box in flowchart or block diagram can represent a module, section or code
A part, a part of the module, section or code includes one or more for implementing the specified logical function
Executable instruction.It should also be noted that function marked in the box can also be to be different from the implementation as replacement
The sequence marked in attached drawing occurs.For example, two continuous boxes can actually be basically executed in parallel, they are sometimes
It can execute in the opposite order, this depends on the function involved.It is also noted that in structure chart and/or flow chart
The combination of each box and the box in structure chart and/or flow chart, can function or movement as defined in executing it is dedicated
Hardware based system realize, or can realize using a combination of dedicated hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention can integrate one independence of formation together
Part, be also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be intelligence
Can mobile phone, personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), magnetic or disk etc. be various to can store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.
Claims (10)
1. a kind of intelligent door lock system, which is characterized in that including multiple gateways and multiple intelligent door locks, each gateway is respectively connected with
Multiple intelligent door locks;
When the connection with current gateway goes offline, whether there is also can connect gateway around the intelligent door lock scanning;
Gateway can be connected if it exists, the intelligent door lock also sets the work that can be connected where gateway for itself working frequency range
Make frequency range, and the working condition of itself is changed to unpaired state, and issue connection request to the gateway that connects;
The gateway that connects is attached according to the connection request and the intelligent door lock in unpaired state, and is deposited
Store up the identity information of the intelligent door lock of connection.
2. intelligent door lock system according to claim 1, which is characterized in that the initial networking of the intelligent door lock system
Journey includes:
The intelligent door lock that can be attached around each gateway scanning, and establish and connect with the intelligent door lock of all unpaired states
It connects.
3. intelligent door lock system according to claim 2, which is characterized in that described " to be carried out around each gateway scanning
The intelligent door lock of connection, and connection is established with the intelligent door lock of all unpaired states " include:
It can be attached described in intelligent door lock that each gateway can be attached around each working frequency range scans and acquisition
Intelligent door lock working condition, wherein the working condition includes unpaired state and has matched state;
All intelligent door locks in unpaired state that each gateway is scanned to it send networking request;
Receive the intelligent door lock in unpaired state of the networking request and respective gateway establish connection, and by itself
Working condition is set as the state of having matched.
4. intelligent door lock system according to claim 2, which is characterized in that described " to be carried out around each gateway scanning
The intelligent door lock of connection, and connection is established with the intelligent door lock of all unpaired states " before further include:
Whether there are other gateways around each gateway scanning, and obtains the working frequency range of other gateways, and according to other described nets
The working frequency range of itself is arranged in the working frequency range of pass.
5. intelligent door lock system according to claim 1, which is characterized in that further include:
When the connection with the current gateway is restored by going offline to presence, the intelligent door of the current gateway and first wife couple
Lock re-connects.
6. intelligent door lock system according to claim 5, which is characterized in that described " current gateway is with first wife's couple
Intelligent door lock re-connects " include:
Gateway is connected around the current gateway scanning, the identity information of the intelligent door lock of the first wife couple stored is sent
Gateway can be connected to described, and sets original working frequency range for the working frequency range of itself;
It is described connect gateway according to the identity information of the intelligent door lock of the first wife couple judge its connection intelligent door lock in be
It is no to there is intelligent door lock relevant to the current gateway;
Intelligent door lock relevant to the current gateway if it exists, it is described connect gateway send notification signal to it is described current
The relevant intelligent door lock of gateway and the connection for disconnecting intelligent door lock relevant to the current gateway, then basis disconnects
The identity information of intelligent door lock updates the identity information of stored intelligent door lock;
After intelligent door lock relevant to the current gateway receives the notification signal, institute is set by the working frequency range of itself
Original working frequency range is stated, and the working condition of itself is changed to unpaired state, and issue and connect to the current gateway
Request;
The current gateway is according to the intelligence for being in unpaired state in the connection request and the original working frequency range
Energy door lock establishes connection, and updates the identity information of the intelligent door lock of its connection.
7. intelligent door lock system according to claim 6, which is characterized in that " the connecting around current gateway scanning
Connect gateway " include:
The current gateway whether there is around each working frequency range scans can connect gateway;
Can connect gateway if it exists, the current gateway obtain described in can connect the working frequency range of gateway, and by the work of itself
Frequency range, which is set as described, can connect the working frequency range of gateway, and be counted in the working frequency range of setting with the corresponding gateway that connects
According to transmission.
8. intelligent door lock system according to claim 1, which is characterized in that described " gateway to be connected according to the connection
Request to be attached with the intelligent door lock in unpaired state " include:
The gateway that connects judges whether the number of all intelligent door locks of its connection reaches predetermined connection threshold value, and judges it
Whether the communication quality between the intelligent door lock in unpaired state reaches predetermined quality threshold value;
If the number of its all intelligent door lock connected is not up to the predetermined connection threshold value, and it is in unpaired shape with described
Communication quality between the intelligent door lock of state reaches the predetermined quality threshold value, described to connect gateway with described in unpaired
The intelligent door lock of state establishes connection.
9. intelligent door lock system as described in claim 1, which is characterized in that determine whether in the following manner and current gateway
Connection go offline:
The intelligent door lock initiates communication request to the current gateway every preset time, and receives the current gateway and be directed to
The return signal that the communication request is sent;
If the current gateway is more than that pre-determined number does not receive the return signal, the intelligent door lock determine its with it is described
The connection of current gateway goes offline.
10. a kind of intelligent door lock recombinates network method, which is characterized in that the method is applied to intelligent door lock system, the intelligence
Door-locking system includes multiple gateways and multiple intelligent door locks, and each gateway is respectively connected with multiple intelligent door locks, this method packet
It includes:
When the connection with current gateway goes offline, whether there is also can connect gateway around the intelligent door lock scanning;
Gateway can be connected if it exists, itself working frequency range is set the work that can be connected where gateway by the intelligent door lock
Frequency range, and the working condition of itself is changed to unpaired state, and issue connection request to the gateway that connects;
The gateway that connects is attached according to the connection request and the intelligent door lock in unpaired state, and is deposited
Store up the identity information of the intelligent door lock of connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811386861.2A CN109361760B (en) | 2018-11-20 | 2018-11-20 | Intelligent door lock system and intelligent door lock recombination network method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811386861.2A CN109361760B (en) | 2018-11-20 | 2018-11-20 | Intelligent door lock system and intelligent door lock recombination network method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109361760A true CN109361760A (en) | 2019-02-19 |
CN109361760B CN109361760B (en) | 2021-04-13 |
Family
ID=65332439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811386861.2A Active CN109361760B (en) | 2018-11-20 | 2018-11-20 | Intelligent door lock system and intelligent door lock recombination network method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109361760B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110474977A (en) * | 2019-08-13 | 2019-11-19 | 北京百佑科技有限公司 | Firmware upgrade method, firmware upgrade system and the intelligent door lock of intelligent door lock |
CN110535954A (en) * | 2019-09-02 | 2019-12-03 | 北京百佑科技有限公司 | Upgrade method, upgrade-system, intelligent gateway and the storage medium of door lock firmware |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7068401B2 (en) * | 2002-05-31 | 2006-06-27 | Hewlett-Packard Development Company, L.P. | Optical scanning apparatus having a carriage locking device |
WO2007093072A1 (en) * | 2006-02-16 | 2007-08-23 | Softwired Ag | Gateway for wireless mobile clients |
US20110271319A1 (en) * | 2010-04-28 | 2011-11-03 | Juniper Networks, Inc. | Using endpoint host checking to classify unmanaged devices in a network and to improve network location awareness |
CN102747891A (en) * | 2012-07-13 | 2012-10-24 | 深圳市悦德智能科技有限公司 | Intelligent lock |
CN104637147A (en) * | 2015-01-30 | 2015-05-20 | 青岛海尔智能家电科技有限公司 | Method and device for searching network by triggering wireless communication module of fingerprint door lock |
CN105320050A (en) * | 2015-11-27 | 2016-02-10 | 奇瑞汽车股份有限公司 | Gateway-based vehicle function centralized control method |
CN106228662A (en) * | 2016-09-19 | 2016-12-14 | 北京达美盛软件股份有限公司 | A kind of Intelligent entrance guard control system and control method |
CN106658576A (en) * | 2016-10-19 | 2017-05-10 | 北京三快在线科技有限公司 | Data processing method, data processing device and network system |
-
2018
- 2018-11-20 CN CN201811386861.2A patent/CN109361760B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7068401B2 (en) * | 2002-05-31 | 2006-06-27 | Hewlett-Packard Development Company, L.P. | Optical scanning apparatus having a carriage locking device |
WO2007093072A1 (en) * | 2006-02-16 | 2007-08-23 | Softwired Ag | Gateway for wireless mobile clients |
US20110271319A1 (en) * | 2010-04-28 | 2011-11-03 | Juniper Networks, Inc. | Using endpoint host checking to classify unmanaged devices in a network and to improve network location awareness |
CN102747891A (en) * | 2012-07-13 | 2012-10-24 | 深圳市悦德智能科技有限公司 | Intelligent lock |
CN104637147A (en) * | 2015-01-30 | 2015-05-20 | 青岛海尔智能家电科技有限公司 | Method and device for searching network by triggering wireless communication module of fingerprint door lock |
CN105320050A (en) * | 2015-11-27 | 2016-02-10 | 奇瑞汽车股份有限公司 | Gateway-based vehicle function centralized control method |
CN106228662A (en) * | 2016-09-19 | 2016-12-14 | 北京达美盛软件股份有限公司 | A kind of Intelligent entrance guard control system and control method |
CN106658576A (en) * | 2016-10-19 | 2017-05-10 | 北京三快在线科技有限公司 | Data processing method, data processing device and network system |
Non-Patent Citations (2)
Title |
---|
ZHANG JIE,ZHU XUN-LIN: ""Design and realization of household applications gateway control system"", 《2010 CHINESE CONTROL AND DECISION CONFERENCE》 * |
孔令强,李迎春: ""智能家居门锁网关配置工具的设计与实现"", 《电子测量技术》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110474977A (en) * | 2019-08-13 | 2019-11-19 | 北京百佑科技有限公司 | Firmware upgrade method, firmware upgrade system and the intelligent door lock of intelligent door lock |
CN110474977B (en) * | 2019-08-13 | 2021-08-20 | 北京百佑科技有限公司 | Firmware upgrading method and system for intelligent door lock and intelligent door lock |
CN110535954A (en) * | 2019-09-02 | 2019-12-03 | 北京百佑科技有限公司 | Upgrade method, upgrade-system, intelligent gateway and the storage medium of door lock firmware |
CN110535954B (en) * | 2019-09-02 | 2022-02-01 | 北京百佑科技有限公司 | Door lock firmware upgrading method, upgrading system, intelligent gateway and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109361760B (en) | 2021-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108173822A (en) | Intelligent door lock management-control method, intelligent door lock and computer readable storage medium | |
CN109922160A (en) | A kind of terminal security cut-in method, apparatus and system based on electric power Internet of Things | |
CN106878933A (en) | A kind of bluetooth equipment network-building method and system | |
CN109361760A (en) | Intelligent door lock system and intelligent door lock recombinate network method | |
CN106372189B (en) | The implementation method and relevant apparatus of vehicles cloud diagnosis | |
CN107769978A (en) | Management method, system, router and the server that a kind of terminal device networks | |
CN107749885A (en) | Smart machine remote password management method and Lora smart machine networked systems | |
CN103593966A (en) | Remote inspection system and communication method thereof | |
CN106658509A (en) | Countering method and equipment for invalid wireless access points and wireless local area network | |
CN104811506A (en) | Grease storage remote supervision system and method based on wireless sensor network | |
CN109685177A (en) | A kind of proximity interactive system of the electronic tag for display of commodity information | |
CN107370632A (en) | Offline network-building method and its system based on ZIGBEE | |
CN105657711B (en) | A kind of method for connecting network and electronic equipment | |
CN114222352B (en) | Dynamic network access method of WAIC network access equipment based on preconfigured network topology | |
CN105611616B (en) | For based on scene connection safety box method and corresponding safety box | |
CN106789616A (en) | A kind of things-internet gateway equipment and Internet of Things central platform | |
CN110708357A (en) | Data management method, storage medium and system based on NB-IOT | |
CN104007725B (en) | equipment monitoring system and monitoring method thereof | |
CN110232786B (en) | Method and device for obtaining or occupying free storage space of intelligent storage cabinet | |
CN101002213A (en) | Network system, control method thereof and program | |
CN113327347A (en) | Intelligent door lock system and intelligent door lock recombination network method | |
CN100505622C (en) | Automatic network setting method and system for computer | |
CN205068537U (en) | Outdoor machine door prohibits system based on cell -phone control | |
CN111739196A (en) | Door lock, key terminal, door lock system, control method of door lock system and server | |
CN100591010C (en) | Method and system for real time monitoring radio terminal based on biological information |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |