CN111540083B - Unlocking method and system based on Bluetooth connection, computer equipment and storage medium - Google Patents

Unlocking method and system based on Bluetooth connection, computer equipment and storage medium Download PDF

Info

Publication number
CN111540083B
CN111540083B CN202010208570.5A CN202010208570A CN111540083B CN 111540083 B CN111540083 B CN 111540083B CN 202010208570 A CN202010208570 A CN 202010208570A CN 111540083 B CN111540083 B CN 111540083B
Authority
CN
China
Prior art keywords
information
verification
unlocking
equipment
door lock
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.)
Active
Application number
CN202010208570.5A
Other languages
Chinese (zh)
Other versions
CN111540083A (en
Inventor
张少林
梁勤飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Feisuo Shijie Technology Co.,Ltd.
Original Assignee
Shenzhen Weifu Intelligent Lock Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Weifu Intelligent Lock Technology Co ltd filed Critical Shenzhen Weifu Intelligent Lock Technology Co ltd
Priority to CN202010208570.5A priority Critical patent/CN111540083B/en
Publication of CN111540083A publication Critical patent/CN111540083A/en
Application granted granted Critical
Publication of CN111540083B publication Critical patent/CN111540083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application relates to an unlocking method, system, computer equipment and storage medium based on Bluetooth connection. The method comprises the following steps: acquiring unlocking service information and user information in an online state; switching to an offline state, and storing the unlocking service information and the user information in the offline state; establishing Bluetooth connection with verification equipment, sending the user information to the verification equipment, generating prompt information through the verification equipment, acquiring corresponding identity information according to the prompt information, and verifying the identity information and the user information; after the verification is passed, the unlocking password in the unlocking service information is sent to the door lock equipment through Bluetooth connection for unlocking. By adopting the method, the unlocking efficiency can be improved by reducing the dependence on the network.

Description

Unlocking method and system based on Bluetooth connection, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an unlocking method and system based on bluetooth connection, a computer device, and a storage medium.
Background
In the process of providing unlocking service, the user needs to be unlocked and verified, and after the unlocking verification is passed, the user is unlocked, so that the safety of the unlocking service is improved. In a conventional manner, the user information is verified by the server through the deployment of the server, and after the user information is verified, the door lock is unlocked.
However, in the conventional method, the server needs to deploy the internet or the local area network to receive the user information and perform unlocking verification, and when the network state of the internet or the local area network is poor, the unlocking verification cannot be performed in time, which results in low unlocking efficiency. Therefore, how to improve the unlocking efficiency by reducing the dependence on the network becomes a technical problem to be solved at present.
Disclosure of Invention
In view of the above, it is necessary to provide a bluetooth connection-based unlocking method, system, computer device, and storage medium that improve unlocking efficiency by reducing the dependence on network communication.
An unlocking method based on Bluetooth connection, the method comprising:
acquiring unlocking service information and user information in an online state;
switching to an offline state, and storing the unlocking service information and the user information in the offline state;
establishing Bluetooth connection with verification equipment, sending the user information to the verification equipment, generating prompt information through the verification equipment, acquiring corresponding identity information according to the prompt information, and verifying the identity information and the user information;
after the verification is passed, the unlocking password in the unlocking service information is sent to the door lock equipment through Bluetooth connection for unlocking.
In one embodiment, the method further comprises:
the unlocking service information and the user information are sent to the verification equipment, prompt information is generated through the verification equipment, corresponding identity information is obtained according to the prompt information, and the identity information and the user information are verified;
after the verification is passed, unlocking the door lock device through the unlocking password in the unlocking service information.
In one embodiment, the prompt information includes document verification prompt information and face recognition prompt information, the identity information includes document information corresponding to the document verification prompt information and a face image corresponding to the face recognition prompt information, the verification device generates the prompt information, obtains corresponding identity information according to the prompt information, and verifies the identity information and the user information by:
generating certificate verification prompt information through the verification equipment, and acquiring corresponding certificate information according to the certificate verification prompt information;
verifying the certificate information and the user information through the verification equipment to obtain a certificate verification result;
generating face recognition prompt information through the verification equipment, and acquiring a face image according to the face recognition prompt information;
matching the face images through the verification equipment to obtain a face recognition result;
and matching the certificate verification result with the face recognition result through the verification equipment, and when the matching is successful, passing the verification.
In one embodiment, the unlocking service information includes consumption information, and after the verification is passed, the sending the unlocking password in the unlocking service information to the door lock device through the bluetooth connection for unlocking includes:
after passing the verification, changing the service state of the consumption information into an activation state;
after changing to the active state, will unblank the password and send to the lock equipment through the bluetooth connection and unblank.
In one embodiment, the sending the unlocking password to the door lock device through the bluetooth connection to unlock includes:
establishing Bluetooth connection with the door lock equipment;
the unlocking password is sent to the door lock equipment through the Bluetooth connection, so that the door lock equipment matches the unlocking password with a preset password table, and unlocking is performed after the matching is successful.
In one embodiment, before acquiring the unlocking service information and the user information in the online state, the method further includes:
acquiring service demand information and user information;
calculating resource information according to the service demand information and the user information;
acquiring a confirmation operation of the resource information, and generating resource confirmation information according to the confirmation operation;
and sending the resource confirmation information to a cloud platform, and returning unlocking service information and user information corresponding to the resource confirmation information through the cloud platform.
An unlocking system based on bluetooth connection, the system comprising:
the mobile terminal is used for switching to an offline state after acquiring the unlocking service information and the user information, and storing the unlocking service information and the user information in the offline state; establishing Bluetooth connection with verification equipment, and sending the user information to the verification equipment;
the verification equipment is used for generating prompt information, acquiring corresponding identity information according to the prompt information and verifying the identity information and the user information;
the mobile terminal is used for sending the unlocking password in the unlocking service information to the door lock equipment through Bluetooth connection after the verification is passed;
and the door lock equipment is used for unlocking according to the unlocking password.
In one embodiment, the mobile terminal is further configured to send the unlocking service information and the user information to the verification device, generate a prompt message through the verification device, obtain corresponding identity information according to the prompt message, and verify the identity information and the user information; after the verification is passed, unlocking the door lock device through the unlocking password in the unlocking service information.
In one embodiment, the verification device is further configured to generate certificate verification prompt information through the verification device, and acquire corresponding certificate information according to the certificate verification prompt information; verifying the certificate information and the user information through the verification equipment to obtain a certificate verification result; generating face recognition prompt information through the verification equipment, and acquiring a face image according to the face recognition prompt information; matching the face images through the verification equipment to obtain a face recognition result; and matching the certificate verification result with the face recognition result through the verification equipment, and when the matching is successful, passing the verification.
A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, the processor implementing the steps in the various method embodiments described above when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the respective method embodiment described above.
According to the unlocking method, the unlocking system, the computer equipment and the storage medium based on the Bluetooth connection, the unlocking service information and the user information are acquired in an online state, the offline state is switched, and the unlocking service information and the user information are stored in the offline state. After the Bluetooth connection with the verification equipment is established, the user information can be sent to the verification equipment, prompt information is generated through the verification equipment, corresponding identity information is obtained according to the prompt information, and the identity information and the user information are verified. After passing the verification, the unlocking password in the unlocking service information is sent to the door lock equipment through Bluetooth connection for unlocking. The server is built without deploying a complex internet or a local area network, only the verification equipment needs to be deployed, unlocking service information and user information are stored in an off-line state, direct communication between the mobile terminal and the verification equipment is realized through Bluetooth connection, the door locking equipment is started in the off-line state, dependence on the network is effectively reduced, the problem that unlocking cannot be carried out in time under the condition that the network state is poor or the network does not exist is solved, and the unlocking efficiency is effectively improved.
Drawings
FIG. 1 is a diagram of an exemplary embodiment of an unlocking method based on Bluetooth connection;
FIG. 2 is a flow chart illustrating an unlocking method based on Bluetooth connection in one embodiment;
FIG. 3 is a flowchart illustrating steps of generating a prompt message by the verification device, obtaining corresponding identity information according to the prompt message, and verifying the identity information and the user information according to the prompt message in one embodiment;
FIG. 4 is a block diagram of an embodiment of an unlocking system based on Bluetooth connection;
FIG. 5 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The unlocking method based on the Bluetooth connection can be applied to the application environment shown in figure 1. The mobile terminal 102 and the verification device 104 communicate with each other via bluetooth, and the mobile terminal 102 and the door lock device 106 communicate with each other via bluetooth. The mobile terminal 102 acquires unlocking service information and user information in an online state. The mobile terminal 102 switches to an offline state, and stores the unlocking service information and the user information in the offline state. The mobile terminal 102 establishes a bluetooth connection with the verification device 104, sends the user information to the verification device 104, generates prompt information through the verification device 104, obtains corresponding identity information according to the prompt information, and verifies the identity information and the user information. After passing the verification, the mobile terminal 102 sends the unlocking password in the unlocking service information to the door lock device 106 through the bluetooth connection for unlocking. The mobile terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The authentication device 104 may be, but is not limited to, various video authentication devices, image authentication devices, and liveness detection devices.
In one embodiment, as shown in fig. 2, an unlocking method based on bluetooth connection is provided, which is described by taking the example that the method is applied to the mobile terminal in fig. 1, and includes the following steps:
step 202, acquiring unlocking service information and user information in an online state.
And 204, switching to an offline state, and storing the unlocking service information and the user information in the offline state.
Step 206, establishing a bluetooth connection with the verification device, sending the user information to the verification device, generating a prompt message through the verification device, obtaining corresponding identity information according to the prompt message, and verifying the identity information and the user information.
And step 208, after the verification is passed, the unlocking password in the unlocking service information is sent to the door lock equipment through Bluetooth connection for unlocking.
The mobile terminal is pre-deployed with an application program. In the process of providing the unlocking service, the mobile terminal can acquire service requirement information and user information by logging in an application program in an online state. The unlocking service can be, but is not limited to, various room entrance services, home door lock services, office door lock services and the like which need unlocking. For example, when the unlocking service is a room check-in service, the service requirement information may be room requirement information, which may include a room identification, a room type, and the like. The user information may include a user name, a user identification number, and the like. And the mobile terminal calculates the resource information according to the service demand information and the user information. For example, the resource information may include a room amount. After the mobile terminal acquires the confirmation operation of the resource information, corresponding resource confirmation information is generated according to the confirmation operation, the resource confirmation information is sent to the cloud platform, and unlocking service information and user information corresponding to the resource confirmation information are returned through the cloud platform. For example, when the service requirement information is room requirement information, the unlocking service information may be room order information, and the room order information may include a room identifier, a service identifier, a door lock password, and the like. After receiving the unlocking service information and the user information returned by the cloud platform, the mobile terminal switches the online state to the offline state, so that the unlocking service information and the user information can be stored in the offline state. For example, it may be stored in an application program.
When the mobile terminal and the door lock device are independent devices, the mobile terminal can establish Bluetooth connection with the verification device. The bluetooth connection may be established by scanning a two-dimensional code pre-authentication device displayed on the authentication device. Specifically, the authentication device may obtain a bluetooth MAC (Media Access Control) address, and encrypt the bluetooth MAC address. The verification device is used for carrying out certificate verification and face recognition on the user corresponding to the user information. For example, the authentication device may be an image authentication device, a video authentication device, or a living body detection device. The verification equipment can acquire various encryption algorithms to encrypt the Bluetooth MAC address, so that a corresponding two-dimensional code is generated according to the encrypted Bluetooth MAC address. For example, the Encryption algorithm called by the verification device may be an ECC (Elliptic cryptogram), may also be encrypted according to the AES (Advanced Encryption Standard), and may also call a combination of multiple Encryption algorithms to encrypt the bluetooth mac address. The verification equipment displays the two-dimensional code. And the mobile terminal scans the two-dimensional code displayed on the verification equipment under the offline condition, analyzes the two-dimensional code to obtain the encrypted Bluetooth MAC address, and realizes the Bluetooth connection with the verification equipment by decrypting the encrypted Bluetooth MAC address.
The mobile terminal sends the stored user information to the verification device through the Bluetooth, so that certificate verification and face recognition can be simultaneously carried out on the user information through the verification device, and people and certificates are integrated. Specifically, after the verification device acquires the user information, corresponding certificate verification prompt information is generated, and when the certificate information corresponding to the certificate verification prompt information is acquired, certificate verification can be performed on the certificate information and the user information to obtain a certificate verification result. And generating face recognition prompt information through verification equipment, and when a face image corresponding to the face recognition prompt information is obtained, carrying out face recognition on the face image to obtain a face recognition result. And matching the certificate verification result with the face recognition result through the verification equipment to obtain a matching result, and returning the matching result to the mobile terminal.
And the mobile terminal receives the matching result sent by the verification equipment, identifies the matching result and passes the verification when the matching result is successful. After passing the verification, the mobile terminal can send the unlocking password in the unlocking service information to the door lock equipment through Bluetooth connection, and the unlocking is carried out through the door lock equipment according to the unlocking password. The door lock device may be in one-to-one correspondence with the room identifier in the unlocking service information.
In this embodiment, the mobile terminal acquires the unlocking service information and the user information in an online state, switches to an offline state, and stores the unlocking service information and the user information in the offline state. After the Bluetooth connection between the mobile terminal and the verification device is established, the user information can be sent to the verification device, the prompt information is generated through the verification device, the corresponding identity information is obtained according to the prompt information, and the identity information and the user information are verified. After passing the verification, the unlocking password in the unlocking service information is sent to the door lock equipment through Bluetooth connection, and the door lock equipment is used for unlocking according to the unlocking password. The server is built without deploying a complex internet or a local area network, only the verification equipment needs to be deployed, unlocking service information and user information are stored in an off-line state, direct communication between the mobile terminal and the verification equipment is realized through Bluetooth connection, the door locking equipment is started in the off-line state, dependence on the network is effectively reduced, the problem that unlocking cannot be carried out in time under the condition that the network state is poor or the network does not exist is solved, and the unlocking efficiency is effectively improved.
In one embodiment, the method further comprises: the unlocking service information and the user information are sent to verification equipment, prompt information is generated through the verification equipment, corresponding identity information is obtained according to the prompt information, and the identity information and the user information are verified; after passing the verification, the door lock device is unlocked by the unlocking password in the unlocking service information.
Under the condition that the hotel self-service ordering is conducted for unlocking, the verification device can be connected with the door lock device, the mobile terminal can send unlocking service information and user information to the verification device together after Bluetooth connection between the mobile terminal and the verification device is established, and therefore corresponding certificate verification prompt information is generated through the verification device. And generating face recognition prompt information through verification equipment, and when a face image corresponding to the face recognition prompt information is obtained, carrying out face recognition on the face image to obtain a face recognition result. And matching the certificate verification result with the face recognition result through verification equipment, and passing the verification when the matching is successful. After passing the verification, the door lock device can be unlocked through the verification device according to the unlocking password in the unlocking service information. Through deploying authentication equipment and door lock equipment together, can pass after the authentication, unblank immediately to the efficiency of unblanking has further been improved.
In one embodiment, as shown in fig. 3, the steps of generating the prompt message by the verification device, obtaining the corresponding identity information according to the prompt message, and verifying the identity information and the user information include:
step 302, certificate verification prompt information is generated through verification equipment, and corresponding certificate information is obtained according to the certificate verification prompt information.
And 304, verifying the certificate information and the user information through the verification equipment to obtain a certificate verification result.
And step 306, generating face recognition prompting information through the verification equipment, and acquiring a face image according to the face recognition prompting information.
And 308, matching the face image through the verification equipment to obtain a face recognition result.
And 310, matching the certificate verification result with the face recognition result through the verification equipment, and if the matching is successful, passing the verification.
The prompt information comprises certificate verification prompt information and face recognition prompt information, and the identity information comprises certificate information corresponding to the certificate verification prompt information and a face image corresponding to the face recognition prompt information. And the mobile terminal sends the stored user information to the verification equipment through Bluetooth. The user information may include a user name, a user identification number. And generating certificate prompt information through the verification equipment, and displaying the certificate prompt information. For example, the certificate prompt may be "please swipe an identity card". When the corresponding certificate information is acquired through the verification equipment according to the certificate prompt information, the certificate information and the user information can be matched with the database, and a certificate verification result is obtained. And when the verification equipment acquires the certificate information, generating face recognition prompt information and displaying the face recognition prompt information. For example, the face recognition hint information may be "looking at the camera". And obtaining a face image according to the face recognition prompt information through the verification equipment, and matching the face image. Specifically, the video data can be acquired through a camera of the verification device, and the video data is analyzed to obtain a multi-frame image. Reading the multi-frame images through the verification equipment, and detecting whether a corresponding human face target exists in each frame of image. When the verification device detects that the corresponding face target exists in the multi-frame images, the spatial coincidence degree of the multi-frame images can be detected. And when the spatial contact ratio reaches a preset threshold value, determining that a corresponding human face target is detected, namely screening out the image in which the corresponding human face target is detected to obtain an image containing the human face target. And inputting a plurality of images containing the human face target into the recognition model through the verification equipment, and performing recognition operation on the images containing the human face target through the recognition model to obtain human face positioning information. The face localization information may include a plurality of candidate windows and bounding box regression vectors that localize the face object images. And calibrating the candidate windows of the plurality of positioned face target images by using the obtained bounding box regression vectors through the verification equipment to obtain the coordinate information of the corresponding plurality of first-stage face target positioning boxes and the recognition probability of face classification. And cutting the positioned face target image according to the face positioning information through the verification equipment to generate a plurality of corresponding face target images to be recognized. And performing feature extraction on the obtained multiple face target images to be recognized through verification equipment to obtain corresponding face target feature data. The face object feature data may include feature data of the left eye, right eye, nose, left mouth corner and right mouth corner of the facial features. A large amount of face feature data is stored in the verification device in advance. The obtained face target feature data are input into a matching model through verification equipment, and the face target feature data are matched with a preset face feature template through the matching model to obtain a corresponding face recognition result.
And matching the obtained certificate verification result with the face recognition result through the verification equipment, and when the matching is successful, the verification is successful. At this moment, the mobile terminal can activate the consumption information in the unlocking service information, and then can unlock the door lock device according to the unlocking password in the unlocking service information.
In this embodiment, the mobile terminal generates the certificate prompt information through the verification device, acquires the corresponding certificate information, and verifies the certificate information and the user information to obtain a certificate verification result. And generating face recognition prompt information through verification equipment, acquiring a face image according to the face recognition prompt information, and matching the face image to obtain a face recognition result. The certificate verification and the face recognition are simultaneously carried out. The problem of discontinuity of a verification mode in time and geographical position caused by independent certificate verification and face recognition can be avoided, and the unlocking verification accuracy is further improved.
In one embodiment, the unlocking service information comprises consumption information, and after the verification is passed, the step of sending the unlocking password in the unlocking service information to the door lock device through the bluetooth connection for unlocking comprises the following steps: after passing the verification, changing the service state of the consumption information into an activation state; after changing for the activation state, will unblank the password and send to the lock equipment through the bluetooth connection and unblank.
After the verification is passed, the mobile terminal can modify the service state of the consumption information in the unlocking service information into an activation state. For example, the consumption information may be order information. The order information may include service identification, room identification. At this time, the mobile terminal has the unlocking authority of the door lock device corresponding to the unlocking service information. The mobile terminal can store the consumption information and the unlocking password in the activated state. When the user need open the door lock equipment, and then can send the password of unblanking to the door lock equipment through the bluetooth, open the door lock equipment according to the password of unblanking through the door lock equipment.
In this embodiment, after the verification is passed, the service state of the consumption information in the unlocking service information is changed to the active state, and after the service state is changed to the active state, the unlocking password is transmitted to the door lock device through the bluetooth connection to unlock the door lock device. Only after passing the verification, the consumption information is activated, and then the door lock password is sent to the door lock equipment to be unlocked, so that the safety of door lock service can be improved.
In one embodiment, sending the unlock code to the door lock device through the bluetooth connection to unlock includes: establishing Bluetooth connection with the door lock equipment; the password of will unblanking is sent to lock equipment through the bluetooth connection to make lock equipment will unblank the password and match with predetermineeing the code table, after the matching is successful, unblank.
After activating the consumption information in the unlocking service information, the mobile terminal can store the consumption information in the activated state. For example, to a local application. And when the Bluetooth connection operation of the door lock equipment is acquired, establishing Bluetooth connection with the door lock equipment. Therefore, the mobile terminal sends the stored consumption information in the activated state and the unlocking password to the door lock equipment through the Bluetooth. The consumption information in the activated state may include a valid service identification, a valid room identification, a service start time, and a service end time. And matching the unlocking password with a preset password table through the door lock equipment, activating the unlocking password after the matching is successful, and setting an effective time period for opening the door lock equipment according to the service starting time and the service ending time in the consumption information in the activated state. And then the door lock device is unlocked through the mobile terminal.
In this embodiment, the mobile terminal can send the unlocking password to the door lock device through bluetooth under the offline condition. And verifying the unlocking password through the door lock equipment, and opening the door lock equipment after the verification is passed. The unlocking password can be verified under the condition that a network is not needed, and the door can be unlocked quickly on the premise of ensuring the safety of door lock service.
In one embodiment, when the mobile terminal acquires the bluetooth connection operation of the door lock device corresponding to the unlocking service information again, the unlocking password is sent to the door lock device to compare the current time with the previously set effective time period only after the bluetooth connection operation is established with the door lock device, and the door lock device is unlocked if the current time is within the effective time period. And if the current time exceeds the effective time period, the service state of the unlocking password is changed into a forbidden state. So as to ensure that the mobile terminal can not open the door lock device outside the effective time period. Thereby effectively improving the effectiveness of the door lock service.
In one embodiment, before obtaining the unlocking service information and the user information in the online state, the method further includes: acquiring service demand information and user information; calculating resource information according to the service demand information and the user information; acquiring confirmation operation of the resource information, and generating resource confirmation information according to the confirmation operation; and sending the resource confirmation information to the cloud platform, and returning unlocking service information and user information corresponding to the resource confirmation information through the cloud platform.
The mobile terminal is pre-deployed with an application program. In the process of providing the unlocking service, the mobile terminal can acquire service requirement information and user information by logging in an application program in an online state. The unlocking service can be, but is not limited to, various room entrance services, home door lock services, office door lock services and the like which need unlocking. For example, when the unlocking service is a room check-in service, the service requirement information may be room requirement information, which may include a room identification, a room type, and the like. The user information may include a user name, a user identification number, and the like. And the mobile terminal calculates the resource information according to the service demand information and the user information. For example, the resource information may include a room amount. After the confirmation operation of acquiring the resource information, the mobile terminal generates corresponding resource confirmation information according to the confirmation operation. For example, the resource confirmation information may be room consumption information. The mobile terminal further sends the resource confirmation information to the cloud platform, and the unlocking service information and the user information corresponding to the resource confirmation information are returned through the cloud platform. The unlocking service information may include a room identifier, a service identifier, a bluetooth door lock password, and the like. The unlocking service information and the user information are obtained through the login application program, so that the door lock device can be unlocked through the mobile terminal, and the unlocking efficiency is improved.
It should be understood that although the steps in the flowcharts of fig. 2 to 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided an unlocking system based on bluetooth connection, including: a mobile terminal 402, an authentication device 404, and a door lock device 406, wherein:
the mobile terminal 402 is configured to switch to an offline state after acquiring the unlocking service information and the user information, and store the unlocking service information and the user information in the offline state; and establishing Bluetooth connection with the verification equipment, and sending the user information to the verification equipment.
And the verification device 404 is configured to generate prompt information, obtain corresponding identity information according to the prompt information, and verify the identity information and the user information.
The mobile terminal 402 is further configured to send the unlocking password in the unlocking service information to the door lock device through the bluetooth connection after the verification is passed.
And the door lock device 406 is used for unlocking according to the unlocking code.
In one embodiment, the mobile terminal 402 is further configured to send the unlocking service information and the user information to a verification device, generate a prompt message through the verification device, obtain corresponding identity information according to the prompt message, and verify the identity information and the user information; after passing the verification, the door lock device is unlocked by the unlocking password in the unlocking service information.
In one embodiment, the verification device 404 is further configured to generate certificate verification prompt information through the verification device, and obtain corresponding certificate information according to the certificate verification prompt information; verifying the certificate information and the user information through verification equipment to obtain a certificate verification result; generating face recognition prompt information through verification equipment, and acquiring a face image according to the face recognition prompt information; matching the face images through verification equipment to obtain a face recognition result; and matching the certificate verification result with the face recognition result through the verification equipment, and when the matching is successful, passing the verification.
In one embodiment, the mobile terminal 402 is further configured to change the service status of the consumption information to the active status after passing the authentication; after changing for the activation state, will unblank the password and send to the lock equipment through the bluetooth connection and unblank.
In one embodiment, the mobile terminal 402 is further configured to establish a bluetooth connection with the door lock device; connect through the bluetooth and send the password of unblanking to lock equipment to make lock equipment will unblank the password and match with predetermineeing the code table, after the matching is successful, unblank.
In one embodiment, the mobile terminal 402 is further configured to obtain service requirement information and user information; calculating resource information according to the service demand information and the user information; acquiring the confirmation operation of the resource information, and generating resource confirmation information according to the confirmation operation; and sending the resource confirmation information to the cloud platform, and returning unlocking service information and user information corresponding to the resource confirmation information through the cloud platform.
In one embodiment, a computer device is provided, which may be a mobile terminal, and its internal structure diagram may be as shown in fig. 5. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for communicating with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to realize an unlocking method based on offline Bluetooth real-name verification. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 5 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory storing a computer program and a processor implementing the steps of the various embodiments described above when the processor executes the computer program.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the respective embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. An unlocking method based on Bluetooth connection is applied to a mobile terminal, and comprises the following steps:
acquiring unlocking service information and user information in an online state;
switching to an offline state, and storing the unlocking service information and the user information in the offline state;
establishing Bluetooth connection with a verification device, sending the user information to the verification device, generating prompt information through the verification device, acquiring corresponding identity information according to the prompt information, and verifying the identity information and the user information;
after passing the verification, the unlocking password in the unlocking service information is sent to the door lock equipment through Bluetooth connection, and when the unlocking password is successfully matched with a preset password table in the door lock equipment, the door lock equipment is unlocked.
2. The method of claim 1, further comprising:
the unlocking service information and the user information are sent to the verification equipment, prompt information is generated through the verification equipment, corresponding identity information is obtained according to the prompt information, and the identity information and the user information are verified;
after the verification is passed, unlocking the door lock device through the unlocking password in the unlocking service information.
3. The method of claim 1, wherein the prompt message comprises a certificate verification prompt message and a face recognition prompt message, the identity message comprises certificate information corresponding to the certificate verification prompt message and a face image corresponding to the face recognition prompt message, the generating of the prompt message by the verification device, the obtaining of the corresponding identity message according to the prompt message, and the verifying of the identity message and the user message comprises:
generating certificate verification prompt information through the verification equipment, and acquiring corresponding certificate information according to the certificate verification prompt information;
verifying the certificate information and the user information through the verification equipment to obtain a certificate verification result;
generating face recognition prompt information through the verification equipment, and acquiring a face image according to the face recognition prompt information;
matching the face images through the verification equipment to obtain a face recognition result;
and matching the certificate verification result with the face recognition result through the verification equipment, and when the matching is successful, passing the verification.
4. The method of claim 1, wherein the unlocking service information comprises consumption information, and after the verification is passed, the sending the unlocking password in the unlocking service information to the door lock device through a Bluetooth connection for unlocking comprises:
after passing the verification, changing the service state of the consumption information into an activation state;
after changing for the activation state, will unblank the password and send to the lock equipment through the bluetooth connection and unblank.
5. The method of claim 4, wherein sending the unlocking code to the door lock device for unlocking via the Bluetooth connection comprises:
establishing Bluetooth connection with the door lock equipment;
the unlocking password is sent to the door lock equipment through the Bluetooth connection, so that the door lock equipment matches the unlocking password with a preset password table, and unlocking is performed after the matching is successful.
6. The method according to any one of claims 1 to 5, wherein before acquiring the unlocking service information and the user information in the online state, the method further comprises:
acquiring service demand information and user information;
calculating resource information according to the service demand information and the user information;
acquiring a confirmation operation of the resource information, and generating resource confirmation information according to the confirmation operation;
and sending the resource confirmation information to a cloud platform, and returning unlocking service information and user information corresponding to the resource confirmation information through the cloud platform.
7. An unlocking system based on Bluetooth connection, characterized in that the system comprises:
the mobile terminal is used for switching to an offline state after acquiring the unlocking service information and the user information, and storing the unlocking service information and the user information in the offline state; establishing Bluetooth connection with verification equipment, and sending the user information to the verification equipment;
the verification equipment is used for generating prompt information, acquiring corresponding identity information according to the prompt information and verifying the identity information and the user information;
the mobile terminal is also used for sending the unlocking password in the unlocking service information to the door lock equipment through Bluetooth connection after the verification is passed;
and the door lock equipment is used for unlocking the door lock equipment when the unlocking password is successfully matched with the preset password table in the door lock equipment.
8. The system of claim 7, wherein the mobile terminal is further configured to send the unlocking service information and the user information to the verification device, generate a prompt message through the verification device, obtain corresponding identity information according to the prompt message, and verify the identity information and the user information; after the verification is passed, unlocking the door lock device through the unlocking password in the unlocking service information.
9. The system of claim 7, wherein the verification device is further configured to generate a certificate verification prompt message through the verification device, and obtain corresponding certificate information according to the certificate verification prompt message; verifying the certificate information and the user information through the verification equipment to obtain a certificate verification result; generating face recognition prompt information through the verification equipment, and acquiring a face image according to the face recognition prompt information; matching the face images through the verification equipment to obtain a face recognition result; and matching the certificate verification result with the face recognition result through the verification equipment, and when the matching is successful, passing the verification.
10. A computer device comprising a memory and a processor, the memory storing a computer program operable on the processor, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN202010208570.5A 2020-03-23 2020-03-23 Unlocking method and system based on Bluetooth connection, computer equipment and storage medium Active CN111540083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010208570.5A CN111540083B (en) 2020-03-23 2020-03-23 Unlocking method and system based on Bluetooth connection, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010208570.5A CN111540083B (en) 2020-03-23 2020-03-23 Unlocking method and system based on Bluetooth connection, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111540083A CN111540083A (en) 2020-08-14
CN111540083B true CN111540083B (en) 2022-06-10

Family

ID=71969198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010208570.5A Active CN111540083B (en) 2020-03-23 2020-03-23 Unlocking method and system based on Bluetooth connection, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111540083B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111986355A (en) * 2020-08-31 2020-11-24 广东电网有限责任公司广州供电局 Power distribution room access control verification system
CN115273287A (en) * 2022-08-03 2022-11-01 杭州恒生数字设备科技有限公司 Bluetooth lock unlocking method and system and Bluetooth lock
CN116634398B (en) * 2023-07-26 2023-09-29 广东工业大学 Method and system for sharing production data of automobile part production line

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206055486U (en) * 2016-08-29 2017-03-29 深圳市威富多媒体有限公司 Bluetooth recognition emergency luminaire
CN107180340A (en) * 2017-06-29 2017-09-19 胡彬 Intelligent guestroom operation system
CN107403496A (en) * 2017-08-04 2017-11-28 四川长虹电器股份有限公司 Recognition of face intelligent lock system and recognition of face control method based on mobile device
CN107767507A (en) * 2017-10-12 2018-03-06 桐乡市易知简能信息技术有限公司 A kind of hotel occupancy control method based on small routine guiding
CN109035521A (en) * 2018-07-27 2018-12-18 北京三快在线科技有限公司 Auth method, server, system, electronic equipment and readable storage medium storing program for executing
CN109255873A (en) * 2018-09-14 2019-01-22 天津安伴智能科技有限公司 Bluetooth method for unlocking, apparatus and system
CN109285260A (en) * 2018-11-14 2019-01-29 深圳市威富视界有限公司 A kind of gate control method and device
CN110009789A (en) * 2019-04-18 2019-07-12 广东德融汇科技有限公司 System is picked in a kind of kindergarten, the middle and primary schools campus based on biological identification technology
CN110796569A (en) * 2019-12-25 2020-02-14 广东即享旅游物联网科技有限公司 Unattended hotel management system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2725823A1 (en) * 2012-10-26 2014-04-30 Irevo Inc. Method for performing user authentication between secured element and door lock through NFC
US9704320B2 (en) * 2013-03-15 2017-07-11 August Home, Inc. Intelligent door lock system with encryption
CN104754556A (en) * 2013-12-25 2015-07-01 阿里巴巴集团控股有限公司 Method and device for maintaining effectiveness of mobile terminal, method and device for uploading information of mobile terminal as well as system for maintaining effectiveness of mobile terminal
WO2015191190A1 (en) * 2014-06-11 2015-12-17 Carrier Corporation Hospitality systems
CN104103111B (en) * 2014-07-19 2016-08-17 张明 Automatically-controlled door access control system based on Bluetooth of mobile phone communication and its implementation
CN105656871B (en) * 2015-06-30 2019-06-11 宇龙计算机通信科技(深圳)有限公司 Safety communicating method and device
CN105553964B (en) * 2015-12-10 2019-09-17 小米科技有限责任公司 Control the method and device of bluetooth equipment
KR20170078415A (en) * 2015-12-29 2017-07-07 삼성전자주식회사 Apparatus and method of controlling a door lock
CN108848066B (en) * 2018-05-25 2021-07-13 上海芯爱智能科技有限公司 Terminal communication method, terminal and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN206055486U (en) * 2016-08-29 2017-03-29 深圳市威富多媒体有限公司 Bluetooth recognition emergency luminaire
CN107180340A (en) * 2017-06-29 2017-09-19 胡彬 Intelligent guestroom operation system
CN107403496A (en) * 2017-08-04 2017-11-28 四川长虹电器股份有限公司 Recognition of face intelligent lock system and recognition of face control method based on mobile device
CN107767507A (en) * 2017-10-12 2018-03-06 桐乡市易知简能信息技术有限公司 A kind of hotel occupancy control method based on small routine guiding
CN109035521A (en) * 2018-07-27 2018-12-18 北京三快在线科技有限公司 Auth method, server, system, electronic equipment and readable storage medium storing program for executing
CN109255873A (en) * 2018-09-14 2019-01-22 天津安伴智能科技有限公司 Bluetooth method for unlocking, apparatus and system
CN109285260A (en) * 2018-11-14 2019-01-29 深圳市威富视界有限公司 A kind of gate control method and device
CN110009789A (en) * 2019-04-18 2019-07-12 广东德融汇科技有限公司 System is picked in a kind of kindergarten, the middle and primary schools campus based on biological identification technology
CN110796569A (en) * 2019-12-25 2020-02-14 广东即享旅游物联网科技有限公司 Unattended hotel management system

Also Published As

Publication number Publication date
CN111540083A (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN111540083B (en) Unlocking method and system based on Bluetooth connection, computer equipment and storage medium
US20200169550A1 (en) Methods and devices for authenticating smart card
US9218473B2 (en) Creation and authentication of biometric information
US10812476B2 (en) Authorization of another device for participation in multi-factor authentication
CN109328348B (en) Service authentication method, system and related equipment
AU2013205396B2 (en) Methods and Systems for Conducting Smart Card Transactions
US20170012951A1 (en) Multi-user strong authentication token
US20180268415A1 (en) Biometric information personal identity authenticating system and method using financial card information stored in mobile communication terminal
US10606994B2 (en) Authenticating access to a computing resource using quorum-based facial recognition
CN110505201B (en) Conference information processing method, conference information processing device, computer equipment and storage medium
US10594690B2 (en) Authenticating access to a computing resource using facial recognition based on involuntary facial movement
US10599824B2 (en) Authenticating access to a computing resource using pattern-based facial recognition
CN111556069A (en) Visitor identity authentication method, system, device, computer equipment and storage medium
US10282532B2 (en) Secure storage of fingerprint related elements
CN110086799B (en) Identity verification method and device
CN109117616B (en) Verification method and device, electronic equipment and computer readable storage medium
US10922533B2 (en) Method for face-to-unlock, authentication device, and non-volatile storage medium
KR101052294B1 (en) Apparatus and method for contents security
CN109132741B (en) Ladder calling method and device based on two-dimensional code
US10679028B2 (en) Method and apparatus for performing authentication based on biometric information
US20210365531A1 (en) Method and electronic device for authenticating a user
CN109544733B (en) Electronic lock control method and device, computer equipment and storage medium
CN111582144A (en) Safety processing method and device for face data, electronic equipment and storage medium
WO2022237550A1 (en) Access control authentication method, apparatus and system for preventing privacy leak
CN111740980B (en) Method and device for logging in application, mobile terminal and storage medium

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 518101 floor 3, building B1, Zhanfeng Industrial Park, Hangcheng Industrial Zone, Taoyuan community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen Feisuo Shijie Technology Co.,Ltd.

Address before: 518101 floor 3, building B1, Zhanfeng Industrial Park, Hangcheng Industrial Zone, Taoyuan community, Xixiang street, Bao'an District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen Weifu intelligent lock technology Co.,Ltd.