CN112767577B - Access control unlocking method and device based on narrowband Internet of things - Google Patents

Access control unlocking method and device based on narrowband Internet of things Download PDF

Info

Publication number
CN112767577B
CN112767577B CN202011541885.8A CN202011541885A CN112767577B CN 112767577 B CN112767577 B CN 112767577B CN 202011541885 A CN202011541885 A CN 202011541885A CN 112767577 B CN112767577 B CN 112767577B
Authority
CN
China
Prior art keywords
entrance guard
access control
wireless
key
information
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
CN202011541885.8A
Other languages
Chinese (zh)
Other versions
CN112767577A (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.)
Guangzhou Jixiang Technology Co Ltd
Original Assignee
Guangzhou Jixiang 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 Guangzhou Jixiang Technology Co Ltd filed Critical Guangzhou Jixiang Technology Co Ltd
Priority to CN202011541885.8A priority Critical patent/CN112767577B/en
Publication of CN112767577A publication Critical patent/CN112767577A/en
Application granted granted Critical
Publication of CN112767577B publication Critical patent/CN112767577B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

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

Abstract

The embodiment of the application discloses a method and a device for unlocking an access control based on a narrowband Internet of things. The technical scheme that this application embodiment provided provides the entrance guard two-dimensional code that changes with time through wireless entrance guard, obtain target entrance guard information and send out the entrance guard unblock request by user terminal scanning entrance guard two-dimensional code, after receiving the entrance guard unblock request that user terminal sent, carry out entrance guard verification and return corresponding entrance guard verification result to narrowband thing networking gateway according to target entrance guard information and the user information that entrance guard unblock request carried, narrowband thing networking gateway corresponds wireless entrance guard execution according to entrance guard verification result control and locks or the unblock action, through providing the two-dimensional entrance guard code that changes with time, reducible user is through the long-range unblock wireless entrance guard of the entrance guard two-dimensional code of the record of shooing, and the condition that the user that leads to non-carrying user terminal passes through wireless entrance guard, effectively guarantee wireless entrance guard's security.

Description

Access control unlocking method and device based on narrowband Internet of things
Technical Field
The embodiment of the application relates to the technical field of narrowband Internet of things, in particular to a method and a device for unlocking an access control based on narrowband Internet of things.
Background
With the acceleration of the rhythm of social life, more and more people can choose to rent houses in the city of work, and in order to ensure the safety of the living environment of people, a wireless entrance guard is usually arranged at an entrance and an exit of the house.
At present, cellular communication technologies such as GSM, CDMA, WCDMA, etc. are generally adopted as communication technologies of a wireless access control system, and the communication technologies have the problem of weak signal coverage capability, and the situations of unsmooth communication and incapability of implementation often occur in a complex environment. The signal coverage problem of entrance guard's unblock under the complex environment has been solved in appearance of narrowband internet of things, but to the mode of requesting unblock entrance guard through scanning entrance guard's two-dimensional code, there is the wireless entrance guard of entrance guard's remote unblock of entrance guard two-dimensional code of user terminal's through the record of shooing of the user who carries user terminal, leads to the user of non-carrying user terminal to lead to the fact the threat to wireless entrance guard's safety through the condition of wireless entrance guard.
Disclosure of Invention
The embodiment of the application provides an access control unlocking method and device based on a narrow-band Internet of things, so that the safety degree of wireless access control is improved.
In a first aspect, an embodiment of the application provides an access unlocking method based on a narrowband internet of things, including:
responding to an entrance guard unlocking request sent by a user terminal, and determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by the user terminal through identification based on an entrance guard two-dimensional code which is provided by a wireless entrance guard and changes along with time;
based on the wireless access control information and the user information, performing access control verification on the user terminal to obtain an access control verification result;
and the narrow-band Internet of things gateway corresponding to the wireless access control information is sent to the access control verification result so as to inform the narrow-band Internet of things gateway to control the wireless access control to execute the locking action or the unlocking action of the access control, and the wireless access control is connected with the narrow-band Internet of things gateway in the same narrow-band Internet of things network.
Further, wireless entrance guard information by wireless entrance guard obtains based on the entrance guard key of setting up carries out the encryption to entrance guard timestamp and entrance guard identification information, the entrance guard two-dimensional code by wireless entrance guard is based on wireless entrance guard information generates.
Further, based on the wireless access control information and the user information, it is right that the user terminal performs access control verification to obtain an access control verification result, including:
decrypting the wireless access control information based on the set access control key to obtain an access control timestamp and access control identification information, and judging whether the distance between the access control timestamp and the current time is within a verification time threshold value;
and if the access control verification time is within the verification time threshold, performing access control verification on the user terminal based on the access control identification information and the user information to obtain an access control verification result.
Further, the access control unlocking method further comprises the following steps:
and generating a new entrance guard key at random based on a set time interval, and informing the wireless entrance guard through a narrow-band Internet of things gateway to update the original entrance guard key into the new entrance guard key.
Further, notify through narrowband thing networking gateway wireless entrance guard will be original the entrance guard key updates to new entrance guard key, include:
it is right based on public key the entrance guard's key encrypts to send the entrance guard's key after encrypting to narrowband thing networking gateway, by narrowband thing networking gateway is based on public key obtains after updating the entrance guard's key, and by narrowband thing networking gateway informs wireless entrance guard is based on after updating the entrance guard's key is to original the entrance guard's key covers the update.
Further, by narrowband thing networking gateway notice wireless entrance guard is based on after the update entrance guard's key is original the entrance guard's key covers the update, include:
the narrow-band internet of things gateway determines and every wireless entrance guard carries out the communication channel that communicates, on the basis of corresponding communication channel in proper order to wireless entrance guard sends after the update entrance guard's secret key to simultaneously send with the artificial noise of communication information vector quadrature, wireless entrance guard is based on after the update the entrance guard secret key is to original the entrance guard secret key covers the update.
Further, notify through narrowband thing networking gateway wireless entrance guard will be original after entrance guard's key update is new entrance guard's key, still include:
and acquiring each wireless access control key update state, and based on the wireless access control keys are all updated, deleting the original access control key.
In a second aspect, an embodiment of the application provides an entrance guard unlocking device based on narrowband thing networking, including unblock response module, entrance guard verification module and entrance guard execution module, wherein:
the unlocking response module is used for responding to an entrance guard unlocking request sent by a user terminal, and determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by the user terminal through identification based on an entrance guard two-dimensional code which is provided by a wireless entrance guard and changes along with time;
the access control verification module is used for performing access control verification on the user terminal based on the wireless access control information and the user information to obtain an access control verification result;
the entrance guard execution module is used for sending the narrow-band Internet of things gateway corresponding to the wireless entrance guard information to the entrance guard verification result so as to inform the narrow-band Internet of things gateway to control the wireless entrance guard to execute the entrance guard locking action or the entrance guard unlocking action, and the wireless entrance guard and the narrow-band Internet of things gateway are connected in the same narrow-band Internet of things network.
In a third aspect, an embodiment of the present application provides an entrance guard unlocking device based on a narrowband internet of things, including: a memory and one or more processors; the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for unlocking a narrowband internet of things-based access control system according to the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for unlocking a narrowband internet of things-based access control system according to the first aspect.
The embodiment of the application provides the entrance guard two-dimensional code which changes along with time through the wireless entrance guard, the user terminal scans the entrance guard two-dimensional code to obtain the target entrance guard information and sends out the entrance guard unlocking request, after receiving the entrance guard unlocking request sent by the user terminal, the entrance guard is verified according to the target entrance guard information and the user information carried by the entrance guard unlocking request, and the corresponding entrance guard verification result is returned to the narrow-band Internet of things gateway, the narrow-band Internet of things gateway controls the corresponding wireless entrance guard to carry out locking or unlocking action according to the entrance guard verification result, the user terminal is not required to select the entrance guard which needs unlocking when unlocking, the entrance guard unlocking operation process is simple, the user experience is effectively improved, and the situation that the user remotely unlocks the wireless entrance guard through the entrance guard two-dimensional code recorded by photographing and the user who does not carry the user terminal passes through the wireless entrance guard can be reduced by providing the entrance guard two-dimensional code which changes along with time, the safety of wireless entrance guard is effectively guaranteed.
Drawings
Fig. 1 is a flowchart of an access unlocking method based on a narrowband internet of things provided in an embodiment of the present application;
fig. 2 is a flowchart of another access control unlocking method based on a narrowband internet of things according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an access unlocking device based on a narrowband internet of things according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an access unlocking device based on a narrowband internet of things provided by the embodiment of the application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Fig. 1 is a flowchart of an access unlocking method based on a narrowband internet of things provided in an embodiment of the present application, where the access unlocking method based on the narrowband internet of things provided in the embodiment of the present application may be executed by an access unlocking device based on the narrowband internet of things, and the access unlocking device based on the narrowband internet of things may be implemented in a hardware and/or software manner and integrated in an access unlocking device (e.g., a cloud server) based on the narrowband internet of things.
The method for executing the access unlocking method based on the narrowband internet of things by using the access unlocking device based on the narrowband internet of things is described as an example. Referring to fig. 1, the access unlocking method based on the narrowband internet of things includes:
s101: responding to an entrance guard unlocking request sent by a user terminal, determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by identifying an entrance guard two-dimensional code which is provided by the user terminal based on wireless entrance guard and changes along with time.
The narrow-band Internet of things gateway and the wireless access control provided by the embodiment of the application are both connected in the same narrow-band Internet of things network, wherein the wireless access control is in communication connection with the narrow-band Internet of things gateway in a wired and/or wireless mode, the narrow-band Internet of things-based access control unlocking device (hereinafter referred to as the access control unlocking device) provided by the embodiment of the application is in communication connection with each narrow-band Internet of things gateway and a user terminal as a cloud server through an Internet network, and the user terminal can be a smart phone, a tablet computer and the like.
Further, the wireless entrance guard that this embodiment provided is provided with the display screen that is used for showing the entrance guard two-dimensional code, the different wireless entrance guard two-dimensional codes of difference correspondence, the entrance guard two-dimensional code record has the target entrance guard information that corresponds wireless entrance guard, and the entrance guard two-dimensional code that every wireless entrance guard shows changes with time (the target entrance guard information that corresponds also changes with time), can acquire target entrance guard information through scanning and analytic entrance guard two-dimensional code, can confirm the wireless entrance guard that this entrance guard two-dimensional code corresponds according to this target entrance guard information. The entrance guard two-dimensional code which changes along with time is provided through the wireless entrance guard, the entrance guard two-dimensional code remote unlocking wireless entrance guard of the record of taking a picture can be reduced for users, and the condition that the users who do not carry the user terminal pass through the wireless entrance guard is caused, and the safety of the wireless entrance guard is effectively guaranteed.
Further, the user terminal provided by this embodiment has a camera module, and can scan the two-dimensional code and acquire information recorded by the two-dimensional code through the camera module. Specifically, when the wireless access control device needs to be unlocked, the user terminal can scan the access control two-dimensional code provided by the wireless access control device to be opened, acquire the target access control information recorded in the access control two-dimensional code, generate an access control unlocking request carrying the target access control information and the user information of the user terminal, and send the access control unlocking request to the access control unlocking device (cloud server) provided by the embodiment.
Illustratively, after receiving an access unlocking request sent by a user terminal, the access unlocking request is analyzed to obtain target access information and user information carried by the access unlocking request, and the wireless access required to be unlocked by the user terminal can be determined according to the target access information.
S102: and based on the wireless access control information and the user information, carrying out access control verification on the user terminal to obtain an access control verification result.
The access control unlocking device based on the narrowband internet of things records user information of different authorized users and user access control corresponding relations among wireless access controls (represented by access control identification information) with unlocking authorities of all user information, and records the user access control corresponding relations in a user access control linked list. It can be understood that one piece of user information may correspond to one or more wireless access controls, that is, one or more wireless access controls may be unlocked through a user terminal corresponding to one piece of user information.
Illustratively, after determining wireless access control information and user information carried by the access control verification information, searching the recorded user information in a user access control linked list, if the user information is searched, further searching whether a wireless access control corresponding to target access control information carried by the access control verification information is recorded in the user access control linked list, when a wireless access control corresponding to the target access control information carried by the access control verification information is recorded, generating an access control verification result indicating that the access control verification is passed, and if the user information is not searched or the wireless access control corresponding to the target access control information carried by the access control verification information is not recorded in the user access control linked list, generating an access control verification result indicating that the access control verification is not passed.
S103: and the narrow-band Internet of things gateway corresponding to the wireless access control information is sent to the access control verification result so as to inform the narrow-band Internet of things gateway to control the wireless access control to execute the locking action or the unlocking action of the access control, and the wireless access control is connected with the narrow-band Internet of things gateway in the same narrow-band Internet of things network.
The entrance guard unlocking device based on the narrowband thing networking that this application embodiment provided records has the entrance guard gateway corresponding relation between the narrowband thing networking gateway that different wireless entrance guards correspond to be connected, and the accessible sends control information to wireless entrance guard to narrowband thing networking gateway to control wireless entrance guard.
Illustratively, after the entrance guard verification result of the user terminal is determined, the narrow-band internet of things gateway corresponding to the wireless entrance guard for which unlocking needs to be applied by the current user terminal is determined according to the corresponding relation of the entrance guard gateways, and the entrance guard verification result pointing to the corresponding wireless entrance guard is sent to the narrow-band internet of things gateway so as to inform the narrow-band internet of things gateway to control the corresponding wireless entrance guard to execute the entrance guard locking action or the entrance guard unlocking action according to the entrance guard verification result.
After receiving the access control verification result sent by the cloud server, the narrowband internet of things gateway generates corresponding control information according to the access control verification result, and determines the wireless access control to be controlled according to the access control identification information indicated by the access control verification result. For example, when the entrance guard verification result indicates that the entrance guard verification passes, control information indicating unlocking is generated, the control information is sent to the wireless entrance guard corresponding to the target entrance guard information attached to the entrance guard verification result, and the wireless entrance guard executes an entrance guard unlocking action after receiving the control information, so that the user can pass through the wireless entrance guard.
And when the entrance guard verification result indicates that the entrance guard verification fails, the wireless entrance guard does not respond and terminates the unlocking flow of the entrance guard, the wireless entrance guard is kept in the locked state at the moment, or control information indicating locking is generated according to the entrance guard verification result and is sent to the wireless entrance guard corresponding to the target entrance guard information attached to the entrance guard verification result, and the wireless entrance guard executes the entrance guard locking action after receiving the control information to prevent an unauthorized user from passing through the wireless entrance guard.
The wireless entrance guard is used for providing the entrance guard two-dimensional code which changes along with time, the user terminal scans the entrance guard two-dimensional code to obtain the target entrance guard information and sends out the entrance guard unlocking request, after the entrance guard unlocking request sent by the user terminal is received, entrance guard verification is carried out according to the target entrance guard information and the user information carried by the entrance guard unlocking request, and a corresponding entrance guard verification result is returned to the narrow-band Internet of things gateway, the narrow-band Internet of things gateway controls the corresponding wireless entrance guard to carry out locking or unlocking action according to the entrance guard verification result, the user terminal is not required to select the entrance guard which needs unlocking when unlocking, the unlocking operation process is simple, the user experience is effectively improved, and the situation that the user remotely unlocks the wireless entrance guard through the entrance guard two-dimensional code recorded by photographing and the user who does not carry the user terminal passes through the wireless entrance guard can be reduced by providing the entrance guard two-dimensional code which changes along with time, the safety of wireless entrance guard is effectively guaranteed.
On the basis of the foregoing embodiment, fig. 2 is a flowchart of another access control unlocking method based on a narrowband internet of things provided in the embodiment of the present application, and the access control unlocking method based on the narrowband internet of things is a concrete implementation of the access control unlocking method based on the narrowband internet of things. Referring to fig. 2, the entrance guard unlocking method based on the narrowband internet of things includes:
s201: and generating a new entrance guard key at random based on a set time interval, and informing the wireless entrance guard through a narrow-band Internet of things gateway to update the original entrance guard key into the new entrance guard key.
The entrance guard unlocking device that this embodiment provided and each wireless entrance guard all keep the same entrance guard key to this entrance guard key is updated according to the time interval that sets for by entrance guard unlocking device, and updates in other wireless entrance guards in step through narrowband thing networking gateway.
Specifically, a new access key is randomly generated based on a set key bit number (for example, 8-16 bits) at set time intervals (for example, 30-120 min). And after generating new entrance guard's key, send new entrance guard's key to each narrowband thing networking gateway, forward new entrance guard's key to each wireless entrance guard by narrowband thing networking gateway to it is original to inform these wireless entrance guards the entrance guard key is updated to new entrance guard's key.
Meanwhile, a corresponding key timestamp is added into the access key in an encrypted manner when the access key is generated, after the access key is successfully updated, an update success notice carrying the key timestamp is returned to the access unlocking device through the narrow-band Internet of things gateway, and the access unlocking device can know whether the corresponding wireless access key is successfully updated according to a comparison result of the key timestamp returned by the wireless access key and the key timestamp recorded by the access unlocking device.
In one embodiment, when the narrowband internet of things gateway notifies the wireless access control to update the original access control key to a new access control key, the method specifically includes:
it is right based on public key the entrance guard's key encrypts to send the entrance guard's key after encrypting to narrowband thing networking gateway, by narrowband thing networking gateway is based on public key obtains after updating the entrance guard's key, and by narrowband thing networking gateway informs wireless entrance guard is based on after updating the entrance guard's key is to original the entrance guard's key covers the update.
Specifically, before sending a new entrance guard key to each narrowband internet of things gateway, the new entrance guard key is encrypted based on a public key shared and stored by an entrance guard unlocking device and each wireless entrance guard, the encrypted entrance guard key is sent to each narrowband internet of things gateway, and the encrypted entrance guard key is sent to each wireless entrance guard by the narrowband internet of things gateway. After receiving the encrypted access key, the wireless access control decrypts the encrypted access key according to the public key to obtain a new access key, and performs coverage updating on the originally stored access key by using the new access key. Through encrypting the transmitted access control key, the risk that the access control key is stolen is reduced, and the safety of the wireless access control is effectively ensured.
In a possible embodiment, when the narrowband internet of things gateway notifies the wireless access control to update the original access control key based on the updated access control key in a covering manner, the method specifically includes:
the narrow-band internet of things gateway determines and every wireless entrance guard carries out the communication channel that communicates, on the basis of corresponding communication channel in proper order to wireless entrance guard sends after the update entrance guard's secret key to simultaneously send with the artificial noise of communication information vector quadrature, wireless entrance guard is based on after the update the entrance guard secret key is to original the entrance guard secret key covers the update.
Specifically, after obtaining the encrypted access key, the narrowband internet of things gateway determines a communication channel for communicating with each wireless access control, sequentially sends the encrypted access key to each wireless access control based on the corresponding communication channel, and sends artificial noise orthogonal to a corresponding communication channel vector while sending the access key to each wireless access control. It can be understood that the artificial noise with orthogonal vectors has less influence on the receiver (wireless access control) of the corresponding communication channel, but is interfered by the artificial noise signal for eavesdroppers of other communication channels, thereby effectively ensuring the information security of the access control key in the transmission process. After receiving the encrypted access key, the wireless access control decrypts the encrypted access key according to the public key to obtain a new access key, and performs coverage updating on the originally stored access key by using the new access key.
S202: and acquiring each wireless access control key update state, and based on the wireless access control keys are all updated, deleting the original access control key.
Specifically, the access control key update state of the wireless access control is judged according to the comparison result of the key timestamp returned by each wireless access control and the key timestamp recorded by the access control key update state. For example, when the key timestamps of the wireless access control system and the wireless access control system are consistent, the access control key corresponding to the wireless access control system is successfully updated, and when the key timestamps of the wireless access control system and the wireless access control system are inconsistent or the returned key timestamp is not received within the set time, the access control key corresponding to the wireless access control system is unsuccessfully updated, and a new access control key is sent to the wireless access control system with unsuccessfully updated access control key again.
Further, in this embodiment, when a new access key is generated and there is a wireless access control with incomplete access key update, the original access key is cached first, and when an access unlocking request pointing to the wireless access control with incomplete access key update is received, the target access control information is decrypted based on the original access key. And when all the wireless access controls finish updating the access control key, deleting the original access control key.
S203: responding to an entrance guard unlocking request sent by a user terminal, determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by encrypting an entrance guard timestamp and entrance guard identification information based on a set entrance guard key by the wireless entrance guard, and the entrance guard two-dimensional code is generated based on the wireless entrance guard information by the wireless entrance guard.
S204: and decrypting the wireless access control information based on the set access control key to obtain an access control timestamp and access control identification information, and judging whether the access control timestamp is within the verification time threshold from the current time.
The target entrance guard information provided by the embodiment of the application is obtained by encrypting the real-time entrance guard timestamp and the entrance guard identification information by the wireless entrance guard based on the set entrance guard key, and the entrance guard two-dimensional code is generated by the wireless entrance guard based on the target entrance guard information. The access control identification information may be an IP address, an MAC address, a device ID, a number of a wireless access control device, and the like, which is not limited in the present application.
Exemplarily, wireless entrance guard acquires current timestamp as entrance guard timestamp according to set time interval (for example, 5-30s), and integrate entrance guard timestamp and entrance guard identification information in real time (for example, overlap entrance guard timestamp and entrance guard identification information, or take out data and insert in the new numerical queue from entrance guard timestamp and entrance guard identification information according to the order of inserting of setting for in proper order), encrypt entrance guard timestamp and entrance guard identification information after the integration based on the entrance guard password, and according to the entrance guard timestamp after encrypting and entrance guard identification information generation corresponding entrance guard two-dimensional code, and show the entrance guard two-dimensional code.
Specifically, after the wireless access control information uploaded by the user terminal is received, the target access control information is decrypted based on the corresponding access control key to obtain the access control timestamp and the access control identification information. Further, whether the distance between the access control timestamp and the current time is within a verification time threshold (for example, 10-40s) or not is judged, if the distance exceeds the verification time threshold, the access control unlocking request is considered to be overtime, the access control unlocking flow is terminated, and an overtime prompt is returned to the corresponding wireless access control or the user terminal.
S205: and if the access control verification time is within the verification time threshold, performing access control verification on the user terminal based on the access control identification information and the user information to obtain an access control verification result.
Specifically, if the access control timestamp is within the verification time threshold from the current time, performing access control verification on the current user terminal according to the access control identification information obtained by decrypting the target access control information and the user information, and obtaining an access control verification result.
S206: and the narrow-band Internet of things gateway corresponding to the wireless access control information is sent to the access control verification result so as to inform the narrow-band Internet of things gateway to control the wireless access control to execute the locking action or the unlocking action of the access control, and the wireless access control is connected with the narrow-band Internet of things gateway in the same narrow-band Internet of things network.
The wireless entrance guard is used for providing the entrance guard two-dimensional code which changes along with time, the user terminal scans the entrance guard two-dimensional code to obtain the target entrance guard information and sends out the entrance guard unlocking request, after the entrance guard unlocking request sent by the user terminal is received, entrance guard verification is carried out according to the target entrance guard information and the user information carried by the entrance guard unlocking request, and a corresponding entrance guard verification result is returned to the narrow-band Internet of things gateway, the narrow-band Internet of things gateway controls the corresponding wireless entrance guard to carry out locking or unlocking action according to the entrance guard verification result, the user terminal is not required to select the entrance guard which needs unlocking when unlocking, the unlocking operation process is simple, the user experience is effectively improved, and the situation that the user remotely unlocks the wireless entrance guard through the entrance guard two-dimensional code recorded by photographing and the user who does not carry the user terminal passes through the wireless entrance guard can be reduced by providing the entrance guard two-dimensional code which changes along with time, the safety of wireless entrance guard is effectively guaranteed. Meanwhile, the target entrance guard information is encrypted and protected in the transmission process of the target entrance guard information, the information safety in the transmission process of the target entrance guard information is guaranteed, an entrance guard key used for encrypting the target entrance guard information is updated regularly, the threat that the target entrance guard information is intercepted is further reduced, and the safety of wireless entrance guard is effectively protected.
Fig. 3 shows a schematic structural diagram of an access control unlocking device based on a narrowband internet of things provided by the embodiment of the application. As shown in fig. 3, the access unlocking device based on the narrowband internet of things includes an unlocking response module 31, an access verification module 32, and an access execution module 33.
The unlocking response module 31 is configured to respond to an access unlocking request sent by a user terminal, and determine wireless access control information carried by the access unlocking request and user information of the user terminal, where the wireless access control information is obtained by identifying, by the user terminal, an access control two-dimensional code which is provided by a wireless access control and changes with time; the access control verification module 32 is configured to perform access control verification on the user terminal based on the wireless access control information and the user information to obtain an access control verification result; entrance guard execution module 33, be used for to the narrowband thing networking gateway that wireless entrance guard information corresponds sends the entrance guard verification result, in order to inform narrowband thing networking gateway control wireless entrance guard carries out the action of locking of entrance guard or the action of unblock of entrance guard, wireless entrance guard with narrowband thing networking gateway connects in same narrowband thing networking.
The wireless entrance guard is used for providing the entrance guard two-dimensional code which changes along with time, the user terminal scans the entrance guard two-dimensional code to obtain the target entrance guard information and sends out the entrance guard unlocking request, after the entrance guard unlocking request sent by the user terminal is received, entrance guard verification is carried out according to the target entrance guard information and the user information carried by the entrance guard unlocking request, and a corresponding entrance guard verification result is returned to the narrow-band Internet of things gateway, the narrow-band Internet of things gateway controls the corresponding wireless entrance guard to carry out locking or unlocking action according to the entrance guard verification result, the user terminal is not required to select the entrance guard which needs unlocking when unlocking, the unlocking operation process is simple, the user experience is effectively improved, and the situation that the user remotely unlocks the wireless entrance guard through the entrance guard two-dimensional code recorded by photographing and the user who does not carry the user terminal passes through the wireless entrance guard can be reduced by providing the entrance guard two-dimensional code which changes along with time, the safety of wireless entrance guard is effectively guaranteed.
The embodiment of the application further provides access control unlocking equipment based on the narrowband Internet of things, and the access control unlocking equipment based on the narrowband Internet of things can be integrated with the access control unlocking device based on the narrowband Internet of things provided by the embodiment of the application. Fig. 4 is a schematic structural diagram of an access unlocking device based on a narrowband internet of things provided by the embodiment of the application. Referring to fig. 4, the access unlocking device based on the narrowband internet of things includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 implement the method for unlocking a narrowband internet of things-based access control system as provided in the above embodiments. Wherein the input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, for example, in fig. 4.
The memory 42, which is a storage medium readable by a computing device, may be used to store software programs, computer executable programs, and modules, such as program instructions/modules corresponding to the access unlocking method based on the narrowband internet of things according to any embodiment of the present application (for example, the unlocking response module 31, the access authentication module 32, and the access execution module 33 in the access unlocking device based on the narrowband internet of things). The memory 42 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the apparatus. The output device 44 may include a display device such as a display screen.
The processor 41 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 42, that is, the above-mentioned access unlocking method based on the narrowband internet of things is realized.
The access control unlocking device, the equipment and the computer based on the narrow-band Internet of things can be used for executing the access control unlocking method based on the narrow-band Internet of things provided by any embodiment, and have corresponding functions and beneficial effects.
The embodiment of the present application further provides a storage medium containing computer executable instructions, which when executed by a computer processor, are configured to perform the method for unlocking a narrow-band internet of things-based access control, provided by the above embodiment, and the method for unlocking a narrow-band internet of things-based access control includes: responding to an entrance guard unlocking request sent by a user terminal, and determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by identifying an entrance guard two-dimensional code which is provided by the user terminal and changes along with time on the basis of wireless entrance guard; based on the wireless access control information and the user information, performing access control verification on the user terminal to obtain an access control verification result; and the narrow-band Internet of things gateway corresponding to the wireless access control information is sent to the access control verification result so as to inform the narrow-band Internet of things gateway to control the wireless access control to execute the locking action or the unlocking action of the access control, and the wireless access control is connected with the narrow-band Internet of things gateway in the same narrow-band Internet of things network.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a different second computer system connected to the first computer system through a network (such as the internet). The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected via a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Certainly, in the storage medium containing the computer-executable instructions provided in the embodiment of the present application, the computer-executable instructions are not limited to the above-described access unlocking method based on the narrowband internet of things, and may also perform related operations in the access unlocking method based on the narrowband internet of things provided in any embodiment of the present application.
The narrow-band internet-of-things-based access control unlocking device, the narrow-band internet-of-things-based access control unlocking device and the storage medium, which are provided in the above embodiments, can execute the narrow-band internet-of-things-based access control unlocking method provided in any embodiment of the present application, and reference can be made to the narrow-band internet-of-things-based access control unlocking method provided in any embodiment of the present application without detailed technical details in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (4)

1. A door control unlocking method based on a narrow-band Internet of things is characterized by comprising the following steps:
responding to an entrance guard unlocking request sent by a user terminal, and determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by the user terminal through identification based on an entrance guard two-dimensional code which is provided by a wireless entrance guard and changes along with time; the wireless entrance guard system comprises a wireless entrance guard, an entrance guard identification information acquisition module, an entrance guard time stamp acquisition module, an entrance guard identification information acquisition module, an entrance guard password acquisition module, an entrance guard two-dimensional code generation module, an entrance guard two-dimensional code display module and an entrance guard two-dimensional code display module, wherein the wireless entrance guard acquires the current time stamp as the entrance guard time stamp according to a set time interval, sequentially takes out data from the entrance guard time stamp and the entrance guard identification information according to a set insertion sequence and inserts the data into a new numerical value queue;
decrypting the wireless access control information based on the set access control key to obtain an access control timestamp and access control identification information, and judging whether the distance between the access control timestamp and the current time is within a verification time threshold value; if the access control time is within the verification time threshold, performing access control verification on the user terminal based on the access control identification information and the user information to obtain an access control verification result; the wireless access control information is obtained by encrypting an access control timestamp and access control identification information by the wireless access control based on a set access control key, and the access control two-dimensional code is generated by the wireless access control based on the wireless access control information;
sending the access control verification result to a narrowband Internet of things gateway corresponding to the wireless access control information to inform the narrowband Internet of things gateway to control the wireless access control to execute an access control locking action or an access control unlocking action, wherein the wireless access control and the narrowband Internet of things gateway are connected in the same narrowband Internet of things network;
randomly generating a new entrance guard key based on a set time interval, encrypting the entrance guard key based on a public key, sending the encrypted entrance guard key to a narrow-band internet of things gateway, obtaining an updated entrance guard key by the narrow-band internet of things gateway based on the public key, determining a communication channel for communicating with each wireless entrance guard by the narrow-band internet of things gateway, sequentially sending the updated entrance guard key to the wireless entrance guard based on the corresponding communication channel, and simultaneously sending artificial noise orthogonal to a communication channel vector, wherein the wireless entrance guard carries out coverage updating on the original entrance guard key based on the updated entrance guard key;
acquiring whether the wireless access control successfully updates the access control key according to a comparison result of a key timestamp returned by the wireless access control and a key timestamp recorded by the wireless access control, caching the original access control key when a new access control key is generated and a wireless access control which does not finish the update of the access control key exists, and decrypting target access control information based on the original access control key when an access control unlocking request pointing to the wireless access control which does not finish the update of the access control key is received; and acquiring each wireless access control key update state, and based on the wireless access control keys are all updated, deleting the original access control key.
2. The utility model provides an entrance guard unlocking device based on narrowband thing networking which characterized in that, includes unblock response module, entrance guard verification module and entrance guard execution module, wherein:
the unlocking response module is used for responding to an entrance guard unlocking request sent by a user terminal, and determining wireless entrance guard information carried by the entrance guard unlocking request and user information of the user terminal, wherein the wireless entrance guard information is obtained by the user terminal through identification based on an entrance guard two-dimensional code which is provided by a wireless entrance guard and changes along with time;
the access control verification module is used for decrypting the wireless access control information based on a set access control key to obtain an access control timestamp and access control identification information and judging whether the distance between the access control timestamp and the current time is within a verification time threshold value; if the access control time is within the verification time threshold, performing access control verification on the user terminal based on the access control identification information and the user information to obtain an access control verification result; the wireless entrance guard information is obtained by encrypting an entrance guard timestamp and entrance guard identification information by the wireless entrance guard based on a set entrance guard key, the entrance guard two-dimensional code is generated by the wireless entrance guard based on the wireless entrance guard information, and randomly generating a new access key based on a set time interval, and encrypting the access key based on a public key, and sends the encrypted access key to a narrow-band Internet of things gateway, the narrow-band Internet of things gateway obtains the updated access key based on the public key, determining a communication channel for communicating with each wireless access control by the narrow-band Internet of things gateway, sequentially sending the updated access control key to the wireless access control based on the corresponding communication channel, meanwhile, artificial noise orthogonal to the communication channel vector is sent, and the wireless access control carries out coverage updating on the original access control key based on the updated access control key; acquiring whether the wireless access control successfully updates the access control key according to a comparison result of a key timestamp returned by the wireless access control and a key timestamp recorded by the wireless access control, caching the original access control key when a new access control key is generated and a wireless access control which does not finish the update of the access control key exists, and decrypting target access control information based on the original access control key when an access control unlocking request pointing to the wireless access control which does not finish the update of the access control key is received; acquiring the updating state of the access key of each wireless access control, finishing the updating of the access key based on the wireless access control, and deleting the original access key;
the entrance guard execution module is used for sending the narrow-band Internet of things gateway corresponding to the wireless entrance guard information to the entrance guard verification result so as to inform the narrow-band Internet of things gateway to control the wireless entrance guard to execute the entrance guard locking action or the entrance guard unlocking action, and the wireless entrance guard and the narrow-band Internet of things gateway are connected in the same narrow-band Internet of things network.
3. The utility model provides an entrance guard unblock equipment based on narrowband thing networking which characterized in that includes: a memory and one or more processors; the memory for storing one or more programs;
when executed by the one or more processors, the one or more programs cause the one or more processors to implement the narrowband internet of things based access unlocking method of claim 1.
4. A storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the narrowband internet of things based access unlocking method of claim 1.
CN202011541885.8A 2020-12-23 2020-12-23 Access control unlocking method and device based on narrowband Internet of things Active CN112767577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011541885.8A CN112767577B (en) 2020-12-23 2020-12-23 Access control unlocking method and device based on narrowband Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011541885.8A CN112767577B (en) 2020-12-23 2020-12-23 Access control unlocking method and device based on narrowband Internet of things

Publications (2)

Publication Number Publication Date
CN112767577A CN112767577A (en) 2021-05-07
CN112767577B true CN112767577B (en) 2022-05-27

Family

ID=75695254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011541885.8A Active CN112767577B (en) 2020-12-23 2020-12-23 Access control unlocking method and device based on narrowband Internet of things

Country Status (1)

Country Link
CN (1) CN112767577B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105374099A (en) * 2015-12-14 2016-03-02 讯美电子科技有限公司 Access control system with inlet and outlet dynamic opening passwords
CN106204864A (en) * 2016-08-31 2016-12-07 北京厚文知识产权顾问有限公司 Gate control system based on dynamic two-dimension code and door opening method
CN106875515A (en) * 2015-12-11 2017-06-20 中国移动通信集团辽宁有限公司 Gate inhibition's checking system and its gate inhibition's verification method
CN107730669A (en) * 2017-09-12 2018-02-23 深圳市微开互联科技有限公司 Access control method, system and computer-readable recording medium
CN109743729A (en) * 2019-02-23 2019-05-10 重庆邮电大学 A kind of security transmission method for wirelessly taking energy cooperative system
CN209401082U (en) * 2019-03-01 2019-09-17 江苏安凰领御科技有限公司 A kind of intelligent entrance guard control system based on dynamic two-dimension code
CN111970693A (en) * 2020-08-06 2020-11-20 哈尔滨工业大学 Low-complexity LoRa Internet of things safety encryption method based on physical layer waveforms

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093119B (en) * 2014-06-26 2017-10-13 小米科技有限责任公司 unlocking method and device
CN107004243A (en) * 2015-11-09 2017-08-01 奕昇科技有限公司 Positioning control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106875515A (en) * 2015-12-11 2017-06-20 中国移动通信集团辽宁有限公司 Gate inhibition's checking system and its gate inhibition's verification method
CN105374099A (en) * 2015-12-14 2016-03-02 讯美电子科技有限公司 Access control system with inlet and outlet dynamic opening passwords
CN106204864A (en) * 2016-08-31 2016-12-07 北京厚文知识产权顾问有限公司 Gate control system based on dynamic two-dimension code and door opening method
CN107730669A (en) * 2017-09-12 2018-02-23 深圳市微开互联科技有限公司 Access control method, system and computer-readable recording medium
CN109743729A (en) * 2019-02-23 2019-05-10 重庆邮电大学 A kind of security transmission method for wirelessly taking energy cooperative system
CN209401082U (en) * 2019-03-01 2019-09-17 江苏安凰领御科技有限公司 A kind of intelligent entrance guard control system based on dynamic two-dimension code
CN111970693A (en) * 2020-08-06 2020-11-20 哈尔滨工业大学 Low-complexity LoRa Internet of things safety encryption method based on physical layer waveforms

Also Published As

Publication number Publication date
CN112767577A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
AU2015287628B2 (en) Networked access control system
RU2392754C2 (en) Context-limited shared secret
CN109903433B (en) Access control system and access control method based on face recognition
US10567428B2 (en) Secure wireless ranging
CN109895734B (en) Authorized Bluetooth key activation method and system, storage medium and T-BOX
JP2005512204A (en) Portable device and method for accessing a data key activated device
US8707444B2 (en) Systems and methods for implementing application control security
CN110310392B (en) Vehicle unlocking method and device, computer equipment and storage medium
US10749693B2 (en) Method and system for facilitating use of an electronically controlled lock
CN110706379A (en) Access control method and device based on block chain
US20070183597A1 (en) Broadcast encryption based home security system
CA2538850A1 (en) Record carrier, system, method and program for conditional access to data stored on the record carrier
CN115118419B (en) Data transmission method of security chip, security chip device, equipment and medium
CN110598469B (en) Information processing method, device and computer storage medium
US20030221098A1 (en) Method for automatically updating a network ciphering key
CN111917711A (en) Data access method and device, computer equipment and storage medium
US7587051B2 (en) System and method for securing information, including a system and method for setting up a correspondent pairing
CN111080856A (en) Bluetooth entrance guard unlocking method
CN112767577B (en) Access control unlocking method and device based on narrowband Internet of things
CN112687040A (en) Access control method, device, equipment and storage medium based on narrow-band Internet of things
CN114980025B (en) Information viewing method of security chip and security chip device
KR20130085537A (en) System and method for accessing to encoded files
KR102270247B1 (en) Joint door management system apparatus to support the convenience of access to the apartment house of the delivery person and operating method thereof
CN112652098A (en) Face recognition electronic lock authority control method and system
CN113162766B (en) Key management method and system for key component

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