CN109255873A - Bluetooth method for unlocking, apparatus and system - Google Patents
Bluetooth method for unlocking, apparatus and system Download PDFInfo
- Publication number
- CN109255873A CN109255873A CN201811078881.3A CN201811078881A CN109255873A CN 109255873 A CN109255873 A CN 109255873A CN 201811078881 A CN201811078881 A CN 201811078881A CN 109255873 A CN109255873 A CN 109255873A
- Authority
- CN
- China
- Prior art keywords
- door lock
- management server
- unlocking
- key
- sent
- 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
Links
Classifications
-
- 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/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
Abstract
The present invention provides a kind of bluetooth method for unlocking, apparatus and system;Wherein, this method is applied to registration-management server;Registration-management server is connect with the mobile terminal of user and door lock management server communication respectively;Door lock management server and multiple door locks communicate to connect;This method comprises: the unlocking request that the mobile terminal for receiving user is sent;Request of unlocking includes the account information and order number of user;It is requested according to unlocking, unlocking can be opened by, which judging whether, requests corresponding door lock;If it is, sending unlocking instruction to door lock management server, so that door lock management server generates key, key is sent to the door lock;Receive the key that door lock management server is sent;Key is sent to mobile terminal, so that mobile terminal and door lock establish bluetooth connection channel, cipher key match is carried out by bluetooth connection channel and door lock, with opening door lock.The present invention improves the safety and convenience of unlocking mode.
Description
Technical field
The present invention relates to Smart Home technical fields, more particularly, to a kind of bluetooth method for unlocking, apparatus and system.
Background technique
In recent years, with the development of science and technology and the raising of Living consumption, the use of intelligent door lock is gradually general
And the trouble for carrying keys of going out can be saved, it can also be to avoid the puzzlement for leaving behind key.Existing intelligent door lock opening ways
Including fingerprint unlocking, password unlocking and unlocking etc. of swiping the card.However aforesaid way generallys use fixed fingerprint, password or magnetic stripe,
Once by it is unidentified other people obtain, safety issue can be generated.
Summary of the invention
In view of this, being opened the purpose of the present invention is to provide a kind of bluetooth method for unlocking, apparatus and system with improving door lock
Open the safety of mode.
In a first aspect, this method is applied to registration-management service the embodiment of the invention provides a kind of bluetooth method for unlocking
Device;Registration-management server is connect with the mobile terminal of user and door lock management server communication respectively;Door lock management server
It is communicated to connect with multiple door locks;This method comprises: the unlocking request that the mobile terminal for receiving user is sent;Request of unlocking includes using
The account information and order number at family;It is requested according to unlocking, unlocking can be opened by, which judging whether, requests corresponding door lock;If so,
Unlocking instruction then is sent to door lock management server, so that door lock management server generates key, key is sent to the door lock;
Receive the key that door lock management server is sent;Key is sent to mobile terminal, so that mobile terminal and door lock establish bluetooth
Interface channel carries out cipher key match by bluetooth connection channel and door lock, with opening door lock.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein on
It states and is requested according to according to unlocking, judge whether that the step of corresponding door lock is requested in unlocking can be opened, comprising: in account information pair
In the order list answered, order number is searched;When the order number is present in order list, the corresponding order of the order number is read
State;Order status includes in having terminated, having carried out or to be opened;When order status is in progress, it is corresponding to read the order number
Information Authentication state;Information Authentication state is including having passed through face verification or not passed through face verification;When Information Authentication state
When to have passed through face verification, determine that opening the unlocking requests corresponding door lock.
Second aspect, the embodiment of the invention also provides a kind of bluetooth method for unlocking, this method is applied to mobile terminal, moves
Dynamic terminal is connect with registration-management server communication;Registration-management server is connect with door lock management server communication;Door lock clothes
Business device and multiple door locks communicate to connect;This method comprises: request of unlocking is sent to registration-management server, so as to work as registration-management
Server is requested according to unlocking, and judgement can open unlocking when requesting corresponding door lock, and registration-management server is to door lock management
Server sends unlocking instruction, and door lock management server generates key, and the key is sent to door lock and registration-management service
Device;Receive the key that registration-management server is sent;Bluetooth connection channel is established with door lock;Pass through bluetooth connection channel and door lock
Cipher key match is carried out, to open the door lock.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein on
It states and cipher key match is carried out by bluetooth connection channel and door lock, the step of to open the door lock, comprising: pass through bluetooth connection channel
Key is sent to door lock, so that door lock is opened when door lock carries out cipher key match success.
In conjunction with the first possible embodiment of second aspect, the embodiment of the invention provides second of second aspect
Possible embodiment, wherein the step of sending key to door lock above by bluetooth connection channel, comprising: according to preset
Secret splitting rule, by Secret splitting at multiple sub-keys;Sub-key is successively sent to door lock by bluetooth connection channel.
The third aspect, the embodiment of the invention also provides a kind of bluetooth unlocking apparatus, which is set to registration-management clothes
Business device;Registration-management server is connect with the mobile terminal of user and door lock management server communication respectively;Door lock management service
Device and multiple door locks communicate to connect;The device includes: request receiving module, the unlocking that the mobile terminal for receiving user is sent
Request;Request of unlocking includes the account information and order number of user;Door lock opens judgment module, for requesting according to unlocking, sentences
It is disconnected whether to open the corresponding door lock of unlocking request;Unlocking instruction sending module, for if it is, to door lock management service
Device sends unlocking instruction, so that door lock management server generates key, which is sent to door lock;First key receives mould
Block, for receiving the key of door lock management server transmission;Key sending module, for key to be sent to mobile terminal, with
So that mobile terminal and door lock is established bluetooth connection channel, cipher key match is carried out by bluetooth connection channel and door lock, is somebody's turn to do with opening
Door lock.
In conjunction with the third aspect, the embodiment of the invention provides the first possible embodiments of the third aspect, wherein on
It states door lock unlatching judgment module to be also used to: in the corresponding order list of account information, searching order number;When the order number exists
When in order list, the corresponding order status of the order number is read;Order status includes in having terminated, having carried out or to be opened;
When order status is in progress, the corresponding Information Authentication state of the order number is read;Information Authentication state includes having passed through people
Face verification is verified or do not passed through to face;When Information Authentication state is to have passed through face verification, determines and open unlocking request pair
The door lock answered.
Fourth aspect, the embodiment of the invention also provides a kind of bluetooth unlocking apparatus, which is set to mobile terminal, moves
Dynamic terminal is connect with registration-management server communication;Registration-management server is connect with door lock management server communication;Door lock clothes
Business device and multiple door locks communicate to connect;The device includes: request sending module, is asked for sending to unlock to registration-management server
It asks, so that when registration-management server is requested according to unlocking, when judgement can open unlocking request corresponding door lock, registration-management
Server sends unlocking instruction to door lock management server, and door lock management server generates key, and key is sent to door lock
And registration-management server;Second key reception module, for receiving the key of registration-management server transmission;Bluetooth connection is logical
Module is established in road, for establishing bluetooth connection channel with door lock;Cipher key match module is carried out by bluetooth connection channel and door lock
Cipher key match, to open the door lock.
In conjunction with fourth aspect, the embodiment of the invention provides the first possible embodiments of fourth aspect, wherein on
Cipher key match module is stated to be also used to: by bluetooth connection channel to door lock send key so that when door lock carry out cipher key match at
When function, door lock is opened.
5th aspect, the embodiment of the invention also provides a kind of bluetooth unlocking systems, including the movement successively communicated to connect
Terminal, registration-management server, door lock management server and door lock;The first of the third aspect or the third aspect embodiment institute
The device stated is set to registration-management server;The setting of device described in the first of fourth aspect or fourth aspect embodiment
In mobile terminal.
The embodiment of the present invention bring it is following the utility model has the advantages that
The embodiment of the invention provides a kind of bluetooth method for unlocking, apparatus and system;The mobile terminal for receiving user is sent
Unlocking request after, requested according to unlocking, judge whether can to open unlocking and request corresponding door lock;If it is, to door lock
Management server sends unlocking instruction, so that door lock management server generates key, key is sent to the door lock;Receive door lock
After the key that management server is sent, key is sent to mobile terminal, is led to so that mobile terminal and door lock establish bluetooth connection
Road carries out cipher key match by bluetooth connection channel and door lock, with opening door lock.Which improves the peace of door lock opening ways
Quan Xing.
Other features and advantages of the present invention will illustrate in the following description, alternatively, Partial Feature and advantage can be with
Deduce from specification or unambiguously determine, or by implementing above-mentioned technology of the invention it can be learnt that.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, better embodiment is cited below particularly, and match
Appended attached drawing is closed, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of bluetooth method for unlocking provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another bluetooth method for unlocking provided in an embodiment of the present invention;
Fig. 3 is a kind of structural schematic diagram of bluetooth unlocking apparatus provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another bluetooth unlocking apparatus provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of bluetooth unlocking system provided in an embodiment of the present invention;
Fig. 6 is a kind of process schematic that bluetooth unlocking system is interacted with user provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Currently, existing intelligent door lock opening ways may generate safety using fixed fingerprint, password or magnetic stripe
Problem., it is based on this, the embodiment of the invention provides a kind of bluetooth method for unlocking, device and systems, can be applied to intelligent door
Lock or other smart home fields.
For convenient for understanding the present embodiment, first to a kind of bluetooth method for unlocking disclosed in the embodiment of the present invention into
Row is discussed in detail.
A kind of flow chart of bluetooth method for unlocking shown in Figure 1, this method are applied to registration-management server;It stays
Management server is connect with the mobile terminal of user and door lock management server communication respectively;Door lock management server and multiple doors
Lock communication connection;Method includes the following steps:
Step S100 receives the unlocking request that the mobile terminal of user is sent;Request of unlocking includes the account information of user
And order number.
Above-mentioned mobile terminal can be mobile phone, tablet computer etc.;User can pass through the APP in mobile terminal
(Application, application program) sends request of unlocking to registration-management server admin server;Unlocking can wrap in requesting
Include the account information and order number corresponding with room to be moved in of user;Wherein, the account information of user may include the user
Name, ID card No. and face-image etc..
Step S102 is requested according to unlocking, and unlocking can be opened by, which judging whether, requests corresponding door lock.
Specifically, above-mentioned steps S102 can be accomplished by the following way:
(1) in the corresponding order list of account information, order number is searched;Specifically, it is found in account information library
The account information of the user, and in the order list of the account information, search the order number in request of unlocking.
(2) when the order number is present in order list, the corresponding order status of the order number is read;Order status packet
It includes in having terminated, having carried out or to be opened;Specifically, when the order list in the account information finds the order in request of unlocking
Number when, read the corresponding order status of the order number;Usual lodging order includes moving in the time, according to current time and can be entered
Firmly the time determines order status;When also not to when moving in the time, order status be it is to be opened, when moving in the time, order
State be carry out in, when already exceed move in the time when, order status be terminated.
(3) when order status is in progress, the corresponding Information Authentication state of the order number is read;Information Authentication state packet
It includes and has passed through face verification or do not passed through face verification;In practice, user using mobile terminal when being confirmed an order,
Face verification is carried out, only face verification passes through, and order can just come into force;Above-mentioned face verification process can pass through shifting for user
The camera of dynamic terminal acquires facial image, and the facial image and account information are sent to registration-management server;It stays and manages
The identification card number information of the face information and user is sent to the Relational database of public security department by reason server, to verify the use
Whether family is consistent with identity card holder;If consistent, which is tested the information of the correspondence order of server by face authentication
Card status indication is to have passed through face verification;Otherwise it is labeled as not passing through face verification.
(4) when Information Authentication state is to have passed through face verification, determine that opening the unlocking requests corresponding door lock.
Step S104, if it is, unlocking instruction is sent to door lock management server, so that door lock management server generates
Key is sent to the door lock by key;It specifically, can be to door lock when determination can request corresponding door lock with opening door lock
Management server sends unlocking instruction;It can protect the code of corresponding door lock in the instruction, in order to door lock management server
By the codelookup to corresponding door lock, and key is generated, which is sent to the door lock;Further, which can be with
Including central controller, the key that door lock management server is sent is received by the central controller;The door lock can also include
Bluetooth module, when user unlocks, the mobile terminal of the bluetooth module and user are matched.
Step S106 receives the key that door lock management server is sent.
Key is sent to mobile terminal by step S108, so that mobile terminal and door lock establish bluetooth connection channel, is passed through
Bluetooth connection channel and door lock carry out cipher key match, with opening door lock;Specifically, key door lock management server sent is sent out
It send to the mobile terminal of the user, after user opens bluetooth and door lock establishes bluetooth connection channel, which can be sent
To door lock;The central controller of door lock matches the key that mobile terminal is sent with the key of storage inside, if matching at
Function, then opening door lock.
The embodiment of the invention provides a kind of bluetooth method for unlocking;Receive the unlocking request that the mobile terminal of user is sent
Afterwards, it is requested according to unlocking, unlocking can be opened by, which judging whether, requests corresponding door lock;If it is, to door lock management server
Unlocking instruction is sent, so that door lock management server generates key, key is sent to the door lock;Receive door lock management server
After the key of transmission, key is sent to mobile terminal, so that mobile terminal and door lock establish bluetooth connection channel, passes through bluetooth
Interface channel and door lock carry out cipher key match, with opening door lock.The method increase the safeties of door lock opening ways.
The embodiment of the invention also provides another bluetooth method for unlocking, flow chart is as shown in Figure 2;This method is applied to
Mobile terminal, mobile terminal are connect with above-mentioned registration-management server communication;Registration-management server and door lock management server
Communication connection;Door lock service device and multiple door locks communicate to connect;Method includes the following steps:
Step S200 sends request of unlocking to registration-management server, so that when registration-management server is asked according to unlocking
It asks, when judgement can open unlocking request corresponding door lock, registration-management server, which sends to unlock to door lock management server, to be referred to
It enables, door lock management server generates key, and the key is sent to door lock and registration-management server.
Step S202 receives the key that registration-management server is sent;The key can generate for door lock management server
Key, can also further encrypt on this basis.
Step S204 establishes bluetooth connection channel with door lock;Specifically, the bluetooth module of the door lock can receive it is close
It is opened after key, and establishes bluetooth unlocking service;After mobile terminal is connect with the bluetooth module of the door lock, this can be scanned
Bluetooth unlocking service whether there is, if it exists, being then successfully established bluetooth connection channel;Otherwise, it can force to disconnect blue
Tooth connection, to improve safety.
Step S206 carries out cipher key match by bluetooth connection channel and door lock, to open the door lock.
Specifically, key can be sent to door lock by bluetooth connection channel, so that when door lock carries out cipher key match success
When, door lock is opened;During sending key to door lock by bluetooth connection channel, it can be advised according to preset Secret splitting
Then, by Secret splitting at multiple sub-keys, sub-key is successively sent to by door lock by bluetooth connection channel.
The embodiment of the invention provides another bluetooth method for unlocking;Request of unlocking is sent into registration-management server
Afterwards, the key that registration-management server is sent is received;After establishing bluetooth connection channel with door lock, carried out by the channel and door lock
Cipher key match, thus opening door lock.This method carries out cipher key match, with opening door lock, easy to operate and safety by bluetooth
It is higher.
The embodiment of the invention also provides a kind of bluetooth unlocking apparatus, structural schematic diagram is as shown in Figure 3;Device setting
In registration-management server;Registration-management server is connect with the mobile terminal of user and door lock management server communication respectively;
Door lock management server and multiple door locks communicate to connect;The device includes: request receiving module 300, for receiving the shifting of user
The unlocking request that dynamic terminal is sent;Request of unlocking includes the account information and order number of user;Door lock opens judgment module 302,
For requesting according to unlocking, unlocking can be opened by, which judging whether, requests corresponding door lock;Unlocking instruction sending module 304, is used for
If it is, sending unlocking instruction to door lock management server, so that door lock management server generates key, which is sent
To door lock;First key receiving module 306, for receiving the key of door lock management server transmission;Key sending module 308,
For key to be sent to mobile terminal, so that mobile terminal and door lock establish bluetooth connection channel, pass through bluetooth connection channel
Cipher key match is carried out with door lock, to open the door lock.
Further, above-mentioned door lock is opened judgment module and is also used to: in the corresponding order list of account information, lookup is ordered
Odd numbers;When the order number is present in order list, the corresponding order status of the order number is read;Order status includes having tied
It is in beam, progress or to be opened;When order status is in progress, the corresponding Information Authentication state of the order number is read;Information is tested
Card state is including having passed through face verification or not passed through face verification;When Information Authentication state is to have passed through face verification, really
Surely it opens the unlocking and requests corresponding door lock.
A kind of bluetooth unlocking apparatus provided in an embodiment of the present invention, with a kind of bluetooth method for unlocking provided by the above embodiment
Technical characteristic having the same reaches identical technical effect so also can solve identical technical problem.
The embodiment of the invention also provides another bluetooth unlocking apparatus, structural schematic diagram is as shown in Figure 4;The device is set
It is placed in mobile terminal, mobile terminal is connect with registration-management server communication;Registration-management server and door lock management server
Communication connection;Door lock service device and multiple door locks communicate to connect;The device includes: request sending module 400, for managing to staying
It manages server and sends request of unlocking, so that judgement can open unlocking request pair when registration-management server is requested according to unlocking
When the door lock answered, registration-management server sends unlocking instruction to door lock management server, and door lock management server generates key,
And key is sent to door lock and registration-management server;Second key reception module 402, for receiving registration-management server
The key of transmission;Bluetooth connection path setup module 404, for establishing bluetooth connection channel with door lock;Cipher key match module
406, cipher key match is carried out by bluetooth connection channel and door lock, to open the door lock.
Further, above-mentioned cipher key match module is also used to send key to door lock by bluetooth connection channel, so as to work as
When door lock carries out cipher key match success, door lock is opened;During sending key to door lock by bluetooth connection channel, the mould
Block is also used to according to preset Secret splitting rule, by the Secret splitting at multiple sub-keys;It is logical by the bluetooth connection
The sub-key is successively sent to the door lock by road.
Another kind bluetooth unlocking apparatus provided in an embodiment of the present invention is unlocked with another bluetooth provided by the above embodiment
Method technical characteristic having the same reaches identical technical effect so also can solve identical technical problem.
Corresponding to above-described embodiment, the embodiment of the invention also provides a kind of bluetooth unlocking systems, and structural schematic diagram is such as
Shown in Fig. 5;The system includes the mobile terminal 50, registration-management server 51, door lock management server 52 successively communicated to connect
And door lock 53;Device described in Fig. 3 is set to registration-management server;The device of Fig. 4 is set to mobile terminal.The system and use
Family interaction flow diagram as shown in fig. 6, specifically includes the following steps:
(1) user clicks the bluetooth unlocking button on mobile terminal in APP (such as wechat small routine) and obtains current order number,
Current order number and account information are sent to server (i.e. above-mentioned registration-management server), request server sends bluetooth and opens
Lock key
(2) server judges whether the user has permission opening door lock;Specifically, successively judge that login user whether there is
The order, the state whether which can be turned on, login user whether be order move in people and the login user whether into
Recognition of face is gone.
(3) after above-mentioned judgement is correct, server determines that the user has permission opening door lock, to door lock management service
Device sends instruction;If it is determined that the user does not have permission, then send prompt information to mobile terminal: operator can not operate this
Lock.
(4) door lock management server generates bluetooth unblocking key, and bluetooth unblocking key is respectively sent to door lock and service
In device.
(5) bluetooth unblocking key is sent in the mobile terminal of user by server.
(6) the related small routine in mobile terminal examines whether active user opens bluetooth;When bluetooth is not switched on, display
Prompt information: please first opening bluetooth, so that user opens bluetooth manually.
(7) when bluetooth has already turned on, the bluetooth module in mobile terminal searches for door lock Bluetooth information nearby;If not
Bluetooth information is searched, display reminding information: please within two meters of door lock;Specifically, the mode for searching for bluetooth can be to follow
Three times, five seconds every time, which can reduce search, and less than door lock bluetooth, (error code in some equipment was loops detection
10008) probability that situation occurs.
(7) bluetooth connection of mobile terminal creation and door lock, and obtain bluetooth service;It is forced it is possible to further add
Disconnection mechanism forces to disconnect bluetooth connection, to guarantee service safe that is, when can not obtain bluetooth service.
(8) after getting bluetooth service, mobile scanning terminal bluetooth characteristic value opens bluetooth notification, key will be written
To door lock;Specifically, Android machine thread waits 200 milliseconds of write-in keys, solves various type adaptation issues;Code key, which is split, divides five
In secondary write-in lock, and add security mechanism.
(9) consistency of the key of door lock verification door lock management server is sent key and mobile terminal write-in;Work as school
After testing successfully, opening door lock, and prompt information is sent to mobile terminal: bluetooth is unlocked successfully;When verifying failure, eventually to movement
End sends prompt information: bluetooth, which is unlocked, to fail;After unlocking, sends unlocking and server is recorded, OMC is recorded
(Operation and Maintenance Center, operation and maintenance center) system.
Bluetooth unlocking system provided in an embodiment of the present invention is by the way of bluetooth unlocking, in the case where no internet,
It is gone between mobile terminal and door lock into unique code key, is transmitted by the data of bluetooth, match the secret of mobile phone terminal and door lock end
Key, to achieve the purpose that unlocking.
The computer program product of bluetooth method for unlocking, device and system provided by the embodiment of the present invention, including deposit
The computer readable storage medium of program code is stored up, the instruction that said program code includes can be used for executing previous methods implementation
Method described in example, specific implementation can be found in embodiment of the method, and details are not described herein.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description
And/or the specific work process of device, it can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
In addition, in the description of the embodiment of the present invention unless specifically defined or limited otherwise, term " installation ", " phase
Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can
To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary
Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition
Concrete meaning in invention.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
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 a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. a kind of bluetooth method for unlocking, which is characterized in that the method is applied to registration-management server;The registration-management clothes
Business device is connect with the mobile terminal of user and door lock management server communication respectively;The door lock management server and multiple door locks
Communication connection;The described method includes:
Receive the unlocking request that the mobile terminal of the user is sent;It is described unlock request include the user account information and
Order number;
It is requested according to the unlocking, the unlocking can be opened by, which judging whether, requests corresponding door lock;
If it is, unlocking instruction is sent to the door lock management server, so that the door lock management server generates key,
The key is sent to the door lock;
Receive the key that the door lock management server is sent;
The key is sent to the mobile terminal, so that the mobile terminal and the door lock establish bluetooth connection channel,
Cipher key match is carried out by the bluetooth connection channel and the door lock, to open the door lock.
2. judging whether to open the method according to claim 1, wherein described request according to the unlocking
Open the step of corresponding door lock is requested in the unlocking, comprising:
In the corresponding order list of the account information, the order number is searched;
When the order number is present in the order list, the corresponding order status of the order number is read;The order
State includes in having terminated, having carried out or to be opened;
When the order status is in progress, the corresponding Information Authentication state of the order number is read;The Information Authentication shape
State is including having passed through face verification or not passed through face verification;
When the Information Authentication state is to have passed through face verification, determine that opening the unlocking requests corresponding door lock.
3. a kind of bluetooth method for unlocking, which is characterized in that the method is applied to mobile terminal, the mobile terminal and pipe of staying
Manage server communication connection;The registration-management server is connect with door lock management server communication;The door lock service device with
Multiple door lock communication connections;The described method includes:
Request of unlocking is sent to the registration-management server, so that when the registration-management server is asked according to the unlocking
It asks, judgement can open the unlocking when requesting corresponding door lock, and the registration-management server is to the door lock management service
Device sends unlocking instruction, and the door lock management server generates key, and by the key be sent to the door lock and it is described live
Place management server;
Receive the key that the registration-management server is sent;
Bluetooth connection channel is established with the door lock;
Cipher key match is carried out by the bluetooth connection channel and the door lock, to open the door lock.
4. according to the method described in claim 3, it is characterized in that, it is described by the bluetooth connection channel and the door lock into
Row cipher key match, the step of to open the door lock, comprising:
The key is sent to the door lock by the bluetooth connection channel, so that when the door lock carries out cipher key match success
When, the door lock is opened.
5. according to the method described in claim 4, it is characterized in that, described sent out by the bluetooth connection channel to the door lock
The step of sending the key, comprising:
According to preset Secret splitting rule, by the Secret splitting at multiple sub-keys;
The sub-key is successively sent to the door lock by the bluetooth connection channel.
6. a kind of bluetooth unlocking apparatus, which is characterized in that described device is set to registration-management server;The registration-management clothes
Business device is connect with the mobile terminal of user and door lock management server communication respectively;The door lock management server and multiple door locks
Communication connection;Described device includes:
Request receiving module, the unlocking request that the mobile terminal for receiving the user is sent;The unlocking request includes institute
State the account information and order number of user;
Door lock opens judgment module, for being requested according to unlockings, judge whether can to open the unlocking request it is corresponding
Door lock;
Unlocking instruction sending module is used for if it is, unlocking instruction is sent to the door lock management server, so that the door
It locks management server and generates key, the key is sent to the door lock;
First key receiving module, the key sent for receiving the door lock management server;
Key sending module, for the key to be sent to the mobile terminal, so that the mobile terminal and the door lock
Bluetooth connection channel is established, cipher key match is carried out by the bluetooth connection channel and the door lock, to open the door lock.
7. device according to claim 6, which is characterized in that the door lock is opened judgment module and is also used to:
In the corresponding order list of the account information, the order number is searched;
When the order number is present in the order list, the corresponding order status of the order number is read;The order
State includes in having terminated, having carried out or to be opened;
When the order status is in progress, the corresponding Information Authentication state of the order number is read;The Information Authentication shape
State is including having passed through face verification or not passed through face verification;
When the Information Authentication state is to have passed through face verification, determine that opening the unlocking requests corresponding door lock.
8. a kind of bluetooth unlocking apparatus, which is characterized in that described device is set to mobile terminal, the mobile terminal and pipe of staying
Manage server communication connection;The registration-management server is connect with door lock management server communication;The door lock service device with
Multiple door lock communication connections;Described device includes:
Request sending module, for sending request of unlocking to the registration-management server, so as to work as the registration-management service
Device is requested according to the unlocking, and judgement can open the unlocking when requesting corresponding door lock, the registration-management server to
The door lock management server sends unlocking instruction, and the door lock management server generates key, and the key is sent to
The door lock and the registration-management server;
Second key reception module, the key sent for receiving the registration-management server;
Bluetooth connection path setup module, for establishing bluetooth connection channel with the door lock;
Cipher key match module carries out cipher key match by the bluetooth connection channel and the door lock, to open the door lock.
9. device according to claim 8, which is characterized in that the cipher key match module is also used to:
The key is sent to the door lock by the bluetooth connection channel, so that when the door lock carries out cipher key match success
When, the door lock is opened.
10. a kind of bluetooth unlocking system, which is characterized in that including successively communicate to connect mobile terminal, registration-management server,
Door lock management server and door lock;Device described in claim 6 or 7 is set to the registration-management server;Claim 8
Or device described in 9 is set to the mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811078881.3A CN109255873A (en) | 2018-09-14 | 2018-09-14 | Bluetooth method for unlocking, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811078881.3A CN109255873A (en) | 2018-09-14 | 2018-09-14 | Bluetooth method for unlocking, apparatus and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109255873A true CN109255873A (en) | 2019-01-22 |
Family
ID=65047897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811078881.3A Pending CN109255873A (en) | 2018-09-14 | 2018-09-14 | Bluetooth method for unlocking, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109255873A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109979066A (en) * | 2019-04-10 | 2019-07-05 | 无锡万吉科技股份有限公司 | A kind of network security Internet of Things lock |
CN110570547A (en) * | 2019-05-28 | 2019-12-13 | 浙江华云清洁能源有限公司 | Intelligent lock system and control method thereof |
CN110751761A (en) * | 2019-10-25 | 2020-02-04 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN111192386A (en) * | 2020-03-03 | 2020-05-22 | 福建省万物智联科技有限公司 | Intelligent lock system and unlocking method of intelligent lock |
CN111540083A (en) * | 2020-03-23 | 2020-08-14 | 深圳威富智慧锁业科技有限公司 | Unlocking method and system based on Bluetooth connection, computer equipment and storage medium |
CN111787516A (en) * | 2020-07-20 | 2020-10-16 | 中富通集团股份有限公司 | Method and system for information interaction between electronic doorplate and user terminal |
CN111815817A (en) * | 2020-06-22 | 2020-10-23 | 北京智辉空间科技有限责任公司 | Access control safety control method and system |
CN112351414A (en) * | 2020-10-26 | 2021-02-09 | 北京达佳互联信息技术有限公司 | Equipment control method, device, system and storage medium |
CN113593127A (en) * | 2020-04-30 | 2021-11-02 | 海南掌上能量传媒有限公司 | Control method of mobile power supply leasing terminal |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426715A (en) * | 2011-09-30 | 2012-04-25 | 华为技术有限公司 | Unlocking method for electronic door lock, electronic door lock and electronic door lock system |
CN103188073A (en) * | 2011-12-30 | 2013-07-03 | 苏州人为峰软件科技有限公司 | Quick Bluetooth data encryption transmission method |
CN104732636A (en) * | 2015-04-14 | 2015-06-24 | 重庆特斯联科技有限公司 | Bluetooth cellphone-based intelligent community access control system and method |
CN104794587A (en) * | 2015-05-05 | 2015-07-22 | 罗贤 | Method, device and system of rooms management |
US20160063781A1 (en) * | 2014-08-27 | 2016-03-03 | Ncr Corporation | Self-Service Terminal (SST) Safe and Methods of Operating a Lock for the SST Safe |
CN105513179A (en) * | 2015-12-07 | 2016-04-20 | 小米科技有限责任公司 | Unlocking method and device, as well as intelligent lock |
CN105788050A (en) * | 2016-04-28 | 2016-07-20 | 物联网络科技(深圳)有限公司 | Control door lock adapter controlled by Bluetooth signals and control method implemented by control door lock adapter |
CN105788042A (en) * | 2016-02-26 | 2016-07-20 | 姜恒 | Bluetooth door opening method and system |
CN108230503A (en) * | 2017-12-29 | 2018-06-29 | 中国船舶重工集团公司第七八研究所 | A kind of half network type apartment door-locking system based on Bluetooth door lock |
-
2018
- 2018-09-14 CN CN201811078881.3A patent/CN109255873A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102426715A (en) * | 2011-09-30 | 2012-04-25 | 华为技术有限公司 | Unlocking method for electronic door lock, electronic door lock and electronic door lock system |
CN103188073A (en) * | 2011-12-30 | 2013-07-03 | 苏州人为峰软件科技有限公司 | Quick Bluetooth data encryption transmission method |
US20160063781A1 (en) * | 2014-08-27 | 2016-03-03 | Ncr Corporation | Self-Service Terminal (SST) Safe and Methods of Operating a Lock for the SST Safe |
CN104732636A (en) * | 2015-04-14 | 2015-06-24 | 重庆特斯联科技有限公司 | Bluetooth cellphone-based intelligent community access control system and method |
CN104794587A (en) * | 2015-05-05 | 2015-07-22 | 罗贤 | Method, device and system of rooms management |
CN105513179A (en) * | 2015-12-07 | 2016-04-20 | 小米科技有限责任公司 | Unlocking method and device, as well as intelligent lock |
CN105788042A (en) * | 2016-02-26 | 2016-07-20 | 姜恒 | Bluetooth door opening method and system |
CN105788050A (en) * | 2016-04-28 | 2016-07-20 | 物联网络科技(深圳)有限公司 | Control door lock adapter controlled by Bluetooth signals and control method implemented by control door lock adapter |
CN108230503A (en) * | 2017-12-29 | 2018-06-29 | 中国船舶重工集团公司第七八研究所 | A kind of half network type apartment door-locking system based on Bluetooth door lock |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109979066A (en) * | 2019-04-10 | 2019-07-05 | 无锡万吉科技股份有限公司 | A kind of network security Internet of Things lock |
CN110570547A (en) * | 2019-05-28 | 2019-12-13 | 浙江华云清洁能源有限公司 | Intelligent lock system and control method thereof |
CN110751761B (en) * | 2019-10-25 | 2022-04-29 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN110751761A (en) * | 2019-10-25 | 2020-02-04 | 联永智能科技(上海)有限公司 | Unlocking method, device and equipment of Bluetooth lockset and storage medium |
CN111192386A (en) * | 2020-03-03 | 2020-05-22 | 福建省万物智联科技有限公司 | Intelligent lock system and unlocking method of intelligent lock |
CN111540083A (en) * | 2020-03-23 | 2020-08-14 | 深圳威富智慧锁业科技有限公司 | Unlocking method and system based on Bluetooth connection, computer equipment and storage medium |
CN111540083B (en) * | 2020-03-23 | 2022-06-10 | 深圳威富智慧锁业科技有限公司 | Unlocking method and system based on Bluetooth connection, computer equipment and storage medium |
CN113593127A (en) * | 2020-04-30 | 2021-11-02 | 海南掌上能量传媒有限公司 | Control method of mobile power supply leasing terminal |
CN113593127B (en) * | 2020-04-30 | 2023-09-29 | 海南掌上能量传媒有限公司 | Control method of portable power source leasing terminal |
CN111815817A (en) * | 2020-06-22 | 2020-10-23 | 北京智辉空间科技有限责任公司 | Access control safety control method and system |
CN111787516A (en) * | 2020-07-20 | 2020-10-16 | 中富通集团股份有限公司 | Method and system for information interaction between electronic doorplate and user terminal |
CN111787516B (en) * | 2020-07-20 | 2024-02-23 | 中富通集团股份有限公司 | Electronic doorplate and user terminal information interaction method and system |
CN112351414A (en) * | 2020-10-26 | 2021-02-09 | 北京达佳互联信息技术有限公司 | Equipment control method, device, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109255873A (en) | Bluetooth method for unlocking, apparatus and system | |
CN111478918B (en) | Device with access control function | |
US8689013B2 (en) | Dual-interface key management | |
US20220203933A1 (en) | Method for Authenticating Identity of Digital Key, Terminal Device, and Medium | |
CN108173822A (en) | Intelligent door lock management-control method, intelligent door lock and computer readable storage medium | |
CN105847247A (en) | Authentication system and working method thereof | |
CN109272606A (en) | A kind of smart lock monitoring equipment, method and storage medium based on block chain | |
KR101668958B1 (en) | Security system using a mobile smart terminal and facial recognition | |
WO2018098965A1 (en) | Method and device for controlling code lock | |
CN105844737A (en) | Camera based electronic lock system and use method | |
US10964141B2 (en) | Internet-of-things (IoT) enabled lock with management platform processing | |
CN109243017A (en) | A kind of bluetooth method for unlocking, device and computer readable storage medium | |
CN109067881B (en) | Remote authorization method, device, equipment and storage medium thereof | |
CN109658555A (en) | Method for unlocking, equipment and house transaction based on bluetooth see room mode | |
CN109035515A (en) | The control method and door-locking system of smart lock | |
CN109409057A (en) | Security system and its control method, control device and storage medium | |
CN103391194B (en) | The method and system that the safety equipment of user are unlocked | |
CN111946163A (en) | Method and system for remotely opening door by visual intelligent lock | |
KR102301478B1 (en) | Smart lock device, lock management system including the device, and lock management method using the system | |
CN103781026A (en) | Authentication method of general authentication mechanism | |
CN114499899B (en) | Identity verification system | |
EP2356637A1 (en) | Card credential method and system | |
CN110472474A (en) | A kind of fingerprint identification method based on fingerprint ring, device and fingerprint lock device | |
CN109584421A (en) | A kind of intelligent door lock authentication administrative system based on domestic safety chip | |
CN114170709A (en) | Money box management method and system based on Internet of things |
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 |
Application publication date: 20190122 |
|
RJ01 | Rejection of invention patent application after publication |