Bluetooth unlocking method for offline access control of hotel
By creating encrypted door card data between the hotel management system and mobile devices and unlocking it through Bluetooth connection, the problems of high equipment costs and high failure rates in existing hotel Bluetooth access control systems are solved, and more stable and efficient offline access control is achieved. Unlock the solution.
Patent Information
- Application Number
- CN202411549795.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-01
- Publication Date
- 2024-11-29
AI Technical Summary
The existing hotel Bluetooth access control system requires a network module and gateway to be installed in the door lock, which increases the cost of equipment and failure rate, and the unlocking process is complicated, affecting the stability of the system.
Create encrypted door card data through the hotel management system and synchronize it to the cloud server. The mobile device and the offline access lock are connected via Bluetooth, and unlock it using encrypted data, avoiding the setting of network modules and gateways in the door lock, simplifying hardware composition and reducing failure rate.
It realizes the reduction of equipment costs and system stability, simplifies the unlocking process, improves connection accuracy and unlocking efficiency, reduces the storage requirements for door locks, and reduces the overall failure rate.
Smart Images

Figure CN119049162A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of hotel door locks, and more specifically, to a Bluetooth unlocking method for hotel offline access control. Background Art
[0002] Hotel door locks generally use physical card swiping to unlock. In order to improve the convenience of unlocking and solve the problem that guests often forget to bring their room cards when going out, some wireless unlocking methods such as Bluetooth unlocking have emerged.
[0003] A Chinese invention patent with application number CN201410398226.1 discloses a hotel Bluetooth access control intelligent management method, which includes the following steps: generating an access control encrypted data packet after registering with a front-end server; sending the access control encrypted data packet from the front-end server to the hotel Bluetooth access control and a mobile smart terminal; and performing password authentication between the mobile smart terminal and the hotel Bluetooth access control via Bluetooth transmission.
[0004] Although the above invention patent provides a Bluetooth unlocking solution, the above solution includes the step of the front desk server sending the access control encrypted data packet to the hotel Bluetooth access control and the mobile smart terminal. The premise for the front desk server to send the access control encrypted data packet to the hotel Bluetooth access control is that a wired or wireless communication connection is established between the hotel front desk and the hotel Bluetooth access control. This undoubtedly requires a network data module to be set up in the hotel Bluetooth access control. The solution of this patent is that the front desk server and the hotel Bluetooth access control communicate through a wireless Zigbee network connection. Therefore, a Zigbee hardware module needs to be set in the door lock and one or more gateways need to be set in the hotel, which invisibly increases the equipment cost of the hotel. The more functional modules, the higher the failure rate.
[0005] Therefore, how to provide a Bluetooth unlocking method for hotel offline access control that can reduce usage costs and improve system stability has become a technical problem that needs to be solved urgently. Summary of the invention
[0006] The invention aims to provide a Bluetooth unlocking method for hotel offline access control which can reduce use cost and improve system stability.
[0007] The present invention provides a Bluetooth unlocking method for hotel offline access control, comprising: A type of offline access lock unlocking method: Step S1: When checking in, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server; the door card data includes physical card data for unlocking a type of offline access control lock; Step S2: Log in to the unlocking software on the mobile device, and the cloud server pushes the door card data to the designated account; Step S3: When the mobile device is close to a type of offline access control lock to be unlocked, the unlock button of the unlocking software is manually clicked, and the Bluetooth of the mobile device starts to scan nearby Bluetooth devices, and establishes a Bluetooth connection with a type of offline access control lock whose Bluetooth name contains a preset field and whose Bluetooth signal strength is the strongest. After the Bluetooth connection is established, the physical card data is re-encrypted using the current time as an encryption factor to obtain the unlocking data; Step S4: The mobile device sends unlocking data to a type of offline access control lock to be unlocked via Bluetooth communication, thereby unlocking the lock; Second type of offline access lock unlocking method: The mobile device App will encrypt the door card data obtained from the cloud server in combination with the current time, and broadcast the encrypted data in combination with the current time through Bluetooth broadcast; the Class II offline access control lock is always in a listening state. Once the broadcast data is received, the Class II offline access control lock will decrypt and verify the data. After the verification is passed, the Class II offline access control lock will execute the unlocking action.
[0008] Optionally, in step S3, after manually clicking the unlock button of the unlocking software, the software prompts to move the mobile device to a preset distance range from a type of offline access control lock to be unlocked, and sets the mobile device to be prohibited from establishing a connection with a type of offline access control lock with a signal strength lower than a threshold.
[0009] Optionally, in step S4, the mobile device sends the door card data to a type of offline access lock to be unlocked via Bluetooth communication, and the unlocking includes: Step S41: The mobile device App activates Bluetooth and scans a suitable type of offline access control lock nearby; Step S42: Once a suitable type of offline access control lock is found, the mobile device App controls Bluetooth to connect to the Bluetooth module of the type of offline access control lock; Step S43: The mobile device App combines the door card data obtained from the cloud server with the current time to encrypt and obtain unlocking data; Step S44: the mobile device App sends the door card data encrypted in step S43 to a type of offline access control lock; Step S45: a type of offline access lock decrypts the data and verifies whether the door card data is valid; Step S46: If the data is valid, a type of offline access lock performs an unlocking action; Step S47: A type of offline access control lock returns an unlocking result to the mobile device App.
[0010] Optionally, in step S46, if the time difference between the system time of the mobile device and the system time of a class of offline access control lock is within a preset range, the class of offline access control lock can decrypt the door card data encrypted according to the current time; if the system time of the mobile device and the system time of the class of offline access control lock differ by more than a preset range, the class of offline access control lock cannot decrypt the door card data encrypted according to the current time and refuses to unlock.
[0011] Optionally, in step S2, logging into the unlocking software on the mobile device includes: Step S21: Enter the account number and password on the mobile device App and click the login button; Step S22: The mobile device App encrypts the login account and password and transmits them to the cloud server; Step S23: The cloud server decrypts the login information and verifies whether the login information is valid. It also determines whether the account is logging in for the first time. Step S24: If the account is logged in for the first time, a result will be returned asking to change the password; Step S25: The customer changes the password on the mobile device App according to the prompts; Step S26: The mobile device App encrypts the modified password data and transmits it to the cloud server; Step S27: The cloud server verifies the validity of the password and modifies the password of the customer account; Step S28: If the account and password are both valid, a successful login message is returned, which includes a token identity authentication token; Step S29: The mobile device App carries the token identity authentication token and requests the customer's check-in information from the server; Step S210: The cloud server verifies whether the request is authorized and valid; Step S211: If the request is legal and valid, the cloud server returns the customer's check-in information to the mobile device App; otherwise, it returns a request failure message.
[0012] Optionally, in step S1, check-in includes on-site check-in and online check-in; When checking in on-site, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server; When checking in online, the hotel management system creates encrypted door card data based on the check-in information obtained through online check-in, and synchronizes the door card data to the cloud server.
[0013] Optionally, in step S1, when checking in for the first time, the method for obtaining the software, the account number for logging into the software, and the initial password for logging into the software are pushed to the user based on the contact information provided by the customer when checking in.
[0014] According to the technical content disclosed in the present invention, the following beneficial effects are achieved: The Bluetooth unlocking method of the hotel offline access control provided by the present invention includes a hotel management system, a class of offline access control locks and unlocking software. In practical applications, the unlocking software can be installed on mobile devices such as mobile phones and tablets. When checking in, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server, and the cloud server pushes the door card data to the guest's unlocking software account; after the mobile device establishes a Bluetooth connection with the class of offline access control locks to be opened, the mobile device sends the door card data to the class of offline access control locks to be unlocked through Bluetooth communication, and unlocks. It can be seen that compared with the Bluetooth unlocking method in the background technology, during the entire unlocking process of the present invention, the class of offline access control locks is always in a non-online state (including an intranet or a local area network), that is, an offline state, so there is no need to arrange network devices such as gateways in the hotel building, nor is there a network module in the class of offline access control locks to receive data. Compared with the most primitive card-swipe hotel door lock, only one Bluetooth component needs to be added, so the overall composition of the hardware is relatively simple and the failure rate is lower. During the unlocking process, the data transmission method is from the hotel management system to the cloud server, from the cloud server to the mobile device, and from the mobile device to a type of offline access control lock. The data transmission route is single, while the unlocking method in the background technology requires the cloud server to transmit unlocking data to the mobile device and a type of offline access control lock respectively. After receiving the unlocking data, the type of offline access control lock needs to store the unlocking data locally for backup to be compared with the unlocking data stored in the mobile device. Therefore, a greater demand is placed on the memory of the type of offline access control lock, which also increases the manufacturing cost of the type of offline access control lock in disguise. On the other hand, the type of offline access control lock in the unlocking method of the present invention does not require a larger memory to store the unlocking data. As long as the encrypted door card data sent by the mobile device to the type of access control device via Bluetooth is consistent with the door card data of the original card unlocking method, unlocking can be achieved. In other words, the mobile device of the present invention only stores a virtual access control card in the form of data, and the data in the virtual access control card is transmitted to the type of offline access control lock via Bluetooth.
[0015] In addition, when the mobile device is close to a type of offline access control lock to be unlocked in step S3 of the present invention, it is set that the unlock button of the unlocking software needs to be manually clicked instead of automatically scanning and connecting to the type of offline access control lock. This is because there will be multiple type of offline access control lock Bluetooth that can be searched in one floor. If automatic scanning and connecting to a type of offline access control lock are set, it is very easy to connect by mistake, which will affect the unlocking efficiency. When the guest walks in front of the type of offline access control lock that needs to be unlocked, the distance to the type of offline access control lock that needs to be unlocked is closest among the multiple type of offline access control locks. At this time, the unlock button of the unlocking software is manually clicked, and the Bluetooth of the mobile device starts to scan nearby Bluetooth devices. The mobile device must establish a Bluetooth connection logic with the type of offline access control lock whose Bluetooth name contains a preset field and whose Bluetooth signal strength is the largest, and establish a connection with the Bluetooth of the type of offline access control lock that really needs to be unlocked, with high connection accuracy.
[0016] In the second type of offline access control lock unlocking method, data is sent by broadcasting. The data transmitted in this working mode can be received by the Bluetooth module of the nearby door lock, but the amount of data transmitted is relatively small, which makes the unlocking speed faster. This mode is suitable for unlocking door locks in public spaces such as passage doors and elevator doors.
[0017] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
[0019] Figure 1 Flow chart of checking in guests of the present invention.
[0020] Figure 2 The flowchart of the guest logging into the unlocking software of the present invention.
[0021] Figure 3 The present invention is a flow chart of a guest using unlocking software to unlock a type of offline access control lock.
[0022] Figure 4 The present invention is a flow chart of a guest using unlocking software to unlock a second type of offline access control lock. DETAILED DESCRIPTION
[0023] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.
[0024] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0025] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.
[0026] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0027] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0028] The present invention discloses a Bluetooth unlocking method for offline hotel access control. The method realizes unlocking by installing unlocking software on a mobile phone and then communicating with the access control lock via Bluetooth. The Bluetooth door unlocking mobile phone App is based on the Flutter cross-platform application development framework and can run on Android devices with SDK versions greater than or equal to 21 and supporting Bluetooth and IOS devices with system versions greater than 12.
[0029] The technical highlights of the present invention include: 1. The mobile app automatically selects the appropriate door lock device to connect and transmit data.
[0030] Since a hotel may have many door lock devices, it would be very inhumane if customers had to manually select the door lock information they want to unlock each time. Therefore, the mobile app needs to have a mechanism for automatically screening door lock devices to automatically help customers select the most suitable door lock for unlocking.
[0031] (1) After the customer clicks the unlock button on the mobile app, the mobile phone Bluetooth starts scanning all nearby Bluetooth devices.
[0032] (2) Determine whether the scanned Bluetooth device is a valid device. First, filter out Bluetooth devices that are not hotel door locks based on the Bluetooth name (the names of hotel access control devices have a unified prefix), and then select the device with the strongest Bluetooth wireless signal strength (RSSI) as the target door lock device. The mobile phone APP prompts the customer to operate the software and hardware configuration within 15 cm of the device. If the mobile phone APP does not send data to the lock within the specified time, the Bluetooth will be automatically disconnected. If the sent data is incorrect, the Bluetooth will also be automatically disconnected.
[0033] (3) Establish a connection with the target door lock device and transmit door card data.
[0034] 2. Encrypted transmission data For data security, the data communication between the mobile phone app and the door lock Bluetooth device is encrypted. In addition, to ensure the timeliness of the data, we add a timestamp (the number of seconds that have passed since January 1, 1970) when encrypting. The data can only be decrypted normally when the system time of the mobile phone and the door lock device is consistent (a certain error is allowed).
[0035] The invention discloses a Bluetooth unlocking method for hotel offline access control, comprising: A first-class offline access control lock unlocking method and a second-class offline access control lock unlocking method. In this embodiment, the first-class offline access control lock is the door lock of the hotel's door, and the second-class offline access control lock is the door lock of the hotel's public room, corridor, elevator and other locations. Generally speaking, the second-class offline access control lock is mostly used in open areas.
[0036] The unlocking method of the first type of offline access control lock and the unlocking method of the second type of offline access control lock are the same in step S1 and step S2.
[0037] See also Figure 1 , the customer checks in at the hotel front desk, and then the hotel management system will automatically create an account for the customer to log in to the mobile app. The specific process is as follows: Step S1: When checking in, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server; the door card data includes physical card data for unlocking a type of offline access control lock; Further, in step S1, check-in includes on-site check-in and online check-in; When checking in on-site, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server; when checking in online, the hotel management system creates encrypted door card data based on the check-in information obtained through online check-in, and synchronizes the door card data to the cloud server. It should be noted that when checking in for the first time, the user will be pushed the software acquisition method, the account number for logging into the software, and the initial password for logging into the software based on the contact information provided by the customer when checking in.
[0038] More specifically: 1. The customer checks in at the hotel front desk and provides his / her mobile phone number or email address as contact information, which is also used as the customer's account to log in to the mobile app.
[0039] 2. The hotel management system creates encrypted door card data for the user based on the check-in information and stores it in the local database. This door card data is the pass for the customer to access various door locks during his / her stay in the hotel.
[0040] 3. The hotel management system uses AES to encrypt basic check-in information, door card data, user contact information and other data and pushes them to the cloud server. The data creation and transmission process is encrypted multiple times to ensure that customer data is not leaked to the greatest extent possible.
[0041] 4. The cloud server creates an account for the customer to log in to the mobile app based on the customer’s contact information and associates the check-in information with the account.
[0042] 5. The cloud server returns the results of pushing data and generating an account to the hotel management system. The hotel management system determines whether the data push is successful based on the returned results. If the data push fails, the hotel management system will periodically push the data again until it succeeds.
[0043] 6. The cloud server sends the customer's login account and initial password to the customer via SMS or email based on the contact information reserved by the customer.
[0044] See also Figure 2 After receiving the login account and initial password, customers can download our mobile app through the application market and then log in to their account through the mobile app. The specific process is as follows: Step S2: Log in to the unlocking software on the mobile device, and the cloud server pushes the door card data to the designated account; Further, in step S2, logging into the unlocking software on the mobile device includes: Step S21: Enter the account and password on the mobile app and click the login button; Step S22: The mobile app encrypts the login account and password and transmits them to the cloud server; Step S23: The cloud server decrypts the login information and verifies whether the login information is valid. It also determines whether the account is logging in for the first time. Step S24: If the account is logged in for the first time, a result will be returned asking to change the password; Step S25: The customer changes the password on the mobile app according to the prompts; Step S26: The mobile app encrypts the modified password data and transmits it to the cloud server; Step S27: The cloud server verifies the validity of the password and modifies the password of the customer account; this step mainly verifies the compliance of the password format and whether the original password is correct Step S28: If the account and password are both valid, a successful login message is returned, which includes a token identity authentication token; Step S29: The mobile app carries the token identity authentication token and requests the customer's check-in information from the server; all subsequent requests from the app require the token verification.
[0045] Step S210: The cloud server verifies whether the request is authorized and valid; Step S211: If the request is legal and valid, the cloud server returns the customer's check-in information to the mobile app; otherwise, it returns a request failure message.
[0046] It should be noted that the cloud server returns the customer's check-in information to the mobile app, including: returning the physical card data and room information, check-in time, check-out time, etc. After checking out, the cloud server can receive the check-out information from the client and close the customer's door opening permission.
[0047] The mobile phone App opens the door by sending data to the Bluetooth module of the door lock through the Bluetooth of the mobile phone. The mobile phone App can control the Bluetooth module of the mobile phone and send data to the door lock by connecting or broadcasting. The two different ways of sending data have their own application scenarios.
[0048] See also Figure 3 One of the unlocking methods of offline access control locks: Step S3: When the mobile device is close to a type of offline access control lock to be unlocked, manually click the unlock button of the unlocking software, the Bluetooth of the mobile device starts to scan nearby Bluetooth devices, and establishes a Bluetooth connection with a type of offline access control lock that contains a preset field in the Bluetooth name and has the largest Bluetooth signal strength. After the Bluetooth connection is established, the physical card data is secondary encrypted using the current time as an encryption factor to obtain unlocking data; after manually clicking the unlock button of the unlocking software, the software prompts to move the mobile device to a preset distance range from the type of offline access control lock to be unlocked, and sets the mobile device to prohibit establishing a connection with a type of offline access control lock with a signal strength lower than a threshold. In the method of unlocking a type of offline access control lock, the mobile phone App connects to the door lock Bluetooth to unlock, and the mobile phone App controls the Bluetooth module of the mobile phone to run in master device mode, which can actively scan and connect to the Bluetooth of nearby door locks. This working mode has higher data transmission security and can also transmit more data. The unlocking speed will be relatively slower. This mode is suitable for scenes that require higher security, such as unlocking room doors.
[0049] Step S4: The mobile phone sends the door card data to a type of offline access control lock to be unlocked via Bluetooth communication to unlock the lock.
[0050] Furthermore, in step S4, the mobile phone sends unlocking data to a type of offline access control lock to be unlocked via Bluetooth communication to unlock the lock. Step S41: The mobile phone App activates Bluetooth and scans a suitable type of offline access control lock nearby; Step S42: Once a suitable type of offline access control lock is found, the mobile phone App controls the Bluetooth to connect to the Bluetooth module of the type of offline access control lock; Step S43: The mobile phone App will obtain the door card data from the cloud server and combine it with the current time to encrypt and obtain the unlocking data; the advantage of doing this is to prevent the door card data from being stolen, because the encrypted door card data created in step S1 can only prevent the user's privacy from being leaked, and the unlocking program stored in the door lock can decrypt the encrypted door card data created in step S1 to perform unlocking. Therefore, if the door card data encrypted in step S1 is not re-encrypted in combination with the current time, once the encrypted door card data created in step S1 is leaked, the customer's door lock will be opened by outsiders.
[0051] Step S44: the mobile phone App sends the unlocking data of step S43 to a type of offline access control lock; Step S45: a type of offline access lock decrypts the data and verifies whether the door card data is valid; Step S46: If the data is valid, the first-class offline access control lock performs the unlocking action; if the time difference between the system time of the mobile phone and the system time of the first-class offline access control lock is within the preset range, the first-class offline access control lock can decrypt the unlocking data encrypted according to the current time; if the system time of the mobile phone and the system time of the first-class offline access control lock differ by more than the preset range, the first-class offline access control lock terminal cannot decrypt the unlocking data encrypted according to the current time and refuses to unlock. This setting can prevent customers from privately tampering with the system time of the mobile device, making the time in the mobile device after tampering with the system time the check-in time period, deceiving the first-class offline access control lock, and performing the unlocking operation after checking out.
[0052] Step S47: The second-class offline access lock returns the unlocking result to the mobile phone App.
[0053] See also Figure 4 The Bluetooth unlocking method of the hotel's offline access control also includes a second type of offline access control lock unlocking method. In this method, the mobile phone App unlocks the door through Bluetooth broadcasting. For the door locks in the hotel's public spaces, such as passage doors and elevator doors, there may be multiple people entering and exiting, and these door locks require a faster unlocking speed.
[0054] The mobile phone App will encrypt the door card data obtained from the cloud server with the current time, and broadcast the encrypted data with the current time through Bluetooth broadcasting; the second-class offline access control lock is always in a listening state. Once the broadcast data is received, the second-class offline access control lock will decrypt and verify the data. After the verification is passed, the second-class offline access control lock will perform the unlocking action. It can be seen that in this method, the mobile phone App controls the Bluetooth module of the mobile phone to run in slave mode, and the data is sent through broadcasting. The data transmitted in this working mode can be received by the Bluetooth module of the nearby door lock, but the amount of data transmitted is relatively small, which makes the unlocking speed faster. This mode is suitable for unlocking door locks in public spaces such as passage doors and elevator doors.
[0055] In summary, the Bluetooth unlocking method for hotel offline access control provided by the present invention sets two different unlocking schemes for two types of access control locks, so that the unlocking method of the first type of offline access control lock has higher security, and the unlocking method of the second type of offline access control lock has better convenience.
[0056] Please note that the technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification. The above embodiments only express several implementation methods of the present application, and their descriptions are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that for ordinary technicians in this field, without departing from the concept of the present application, several variations and improvements can be made, which all belong to the scope of protection of the present application. Therefore, the scope of protection of the patent in this application shall be based on the attached claims.
[0057] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.
Claims
1. A Bluetooth unlocking method for hotel offline access control. It is characterized in that include: A type of offline access lock unlocking method: Step S1: When checking in, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server; the door card data includes physical card data for unlocking the first type of offline access control lock; Step S2: Log in to the unlocking software on the mobile device, and the cloud server pushes the door card data to the designated account; Step S3: When the mobile device is close to the offline access control lock to be unlocked, the unlock button of the unlocking software is manually clicked, and the Bluetooth of the mobile device starts to scan nearby Bluetooth devices, and establishes a Bluetooth connection with the offline access control lock of the type whose Bluetooth name contains a preset field and whose Bluetooth signal strength is the largest. After the Bluetooth connection is established, the physical card data is re-encrypted using the current time as an encryption factor to obtain the unlocking data; Step S4: the mobile device sends unlocking data to the offline access control lock to be unlocked via Bluetooth communication to unlock the lock; Second type of offline access lock unlocking method: The unlocking software encrypts the door card data obtained from the cloud server in combination with the current time, and broadcasts the encrypted data in combination with the current time via Bluetooth broadcast; The second type of offline access control lock is always in a monitoring state. Once the broadcast data is received, the second type of offline access control lock will decrypt and verify the data. After the verification is passed, the second type of offline access control lock will execute the unlocking action.
2. The Bluetooth unlocking method for hotel offline access control according to claim 1, It is characterized in that In step S3, after manually clicking the unlock button of the unlocking software, the software prompts the mobile device to be moved within a preset distance range from the type of offline access control lock to be unlocked, and sets the mobile device to be prohibited from establishing a connection with a type of offline access control lock with a signal strength lower than a threshold.
3. The Bluetooth unlocking method for hotel offline access control according to claim 1 or 2, It is characterized in that In step S4, the mobile device sends the door card data to the type of offline access lock to be unlocked via Bluetooth communication, and the unlocking includes: Step S41: The mobile device App activates Bluetooth and scans a suitable type of offline access control lock nearby; Step S42: Once a suitable type of offline access control lock is found, the mobile device App controls Bluetooth to connect to the Bluetooth module of the type of offline access control lock; Step S43: The mobile device App combines the door card data obtained from the cloud server with the current time to encrypt and obtain the unlocking data; Step S44: the mobile device App sends the door card data encrypted in step S43 to the first type of offline access control lock; Step S45: the first type of offline access lock decrypts the data and verifies whether the door card data is valid; Step S46: If the data is valid, a type of offline access lock performs an unlocking action; Step S47: A type of offline access control lock returns an unlocking result to the mobile device App.
4. The Bluetooth unlocking method for hotel offline access control according to claim 3, It is characterized in that In the step S46, if the time difference between the system time of the mobile device and the system time of the first type of offline access control lock is within a preset range, the first type of offline access control lock may decrypt the door card data encrypted according to the current time; If the system time of the mobile device differs from the system time of the first type of offline access control lock by more than a preset range, the first type of offline access control lock cannot decrypt the door card data encrypted according to the current time and refuses to unlock the door.
5. The Bluetooth unlocking method for hotel offline access control according to claim 1 or 2, It is characterized in that In step S2, logging into the unlocking software on the mobile device includes: Step S21: Enter the account number and password on the mobile device App and click the login button; Step S22: The mobile device App encrypts the login account and password and transmits them to the cloud server; Step S23: The cloud server decrypts the login information and verifies whether the login information is valid. It also determines whether the account is logging in for the first time. Step S24: If the account is logged in for the first time, a result will be returned asking to change the password; Step S25: The customer changes the password on the mobile device App according to the prompts; Step S26: The mobile device App encrypts the modified password data and transmits it to the cloud server; Step S27: The cloud server verifies the validity of the password and modifies the password of the customer account; Step S28: If the account and password are both valid, a successful login message is returned, which includes a token identity authentication token; Step S29: The mobile device App carries the token identity authentication token and requests the customer's check-in information from the server; Step S210: The cloud server verifies whether the request is authorized and valid; Step S211: If the request is legal and valid, the cloud server returns the customer's check-in information to the mobile device App; otherwise, it returns a request failure message.
6. The Bluetooth unlocking method for hotel offline access control according to claim 1 or 2, It is characterized in that In step S1, the check-in includes on-site check-in and online check-in; When checking in on-site, the hotel management system creates encrypted door card data and synchronizes the door card data to the cloud server; When checking in online, the hotel management system creates encrypted door card data based on the check-in information obtained through online check-in, and synchronizes the door card data to the cloud server.
7. The Bluetooth unlocking method for hotel offline access control according to claim 1 or 2, Features: In step S1, when checking in for the first time, the method for obtaining the software, the account number for logging into the software, and the initial password for logging into the software are pushed to the user according to the contact information provided by the customer when checking in.
Citation Information
Patent Citations
Method and equipment for pairing blue-tooth devices
CN104917551A
Bluetooth interconnection method and system for wearable device and mobile terminal
CN105516896A
Bluetooth door opening method and system
CN105788042A
Bluetooth access control device, Bluetooth access control management system and Bluetooth access control management method
CN105788047A
Control door lock adapter controlled by Bluetooth signals and control method implemented by control door lock adapter
CN105788050A
