Bluetooth intelligent door lock configuration system and method
1. The utility model provides a bluetooth intelligence lock configuration system which characterized in that includes: the system comprises a Bluetooth intelligent door lock, a plurality of Bluetooth gateways and a cloud server;
the Bluetooth intelligent door lock is used for carrying out Bluetooth broadcasting and sending Bluetooth equipment information and configuration request data to the outside;
each Bluetooth gateway is used for carrying out Bluetooth scanning, recording Bluetooth signal intensity and receiving the configuration request data when Bluetooth equipment information corresponding to the Bluetooth intelligent door lock is scanned, and then sending the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server;
the cloud server is used for taking the Bluetooth gateway with the strongest Bluetooth signal intensity as the selected Bluetooth gateway; generating configuration data according to the configuration request data and the Bluetooth equipment information, and then sending the configuration data to the selected Bluetooth gateway; and after receiving the configuration data, the selected Bluetooth gateway sends the configuration data to the Bluetooth intelligent door lock so as to configure the Bluetooth intelligent door lock according to the configuration data.
2. The bluetooth smart door lock configuration system of claim 1, wherein the cloud server is further configured to: before sending the configuration data to the selected Bluetooth gateway, judging whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value, if so, sending the configuration data to the selected Bluetooth gateway, and if not, generating gateway position adjustment prompt information so that a user adjusts the position of the Bluetooth gateway when receiving the gateway position adjustment prompt information.
3. The bluetooth smart door lock configuration system of claim 1, wherein the cloud server is further configured to: before the configuration data are sent to the selected Bluetooth gateway, whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value is judged, if yes, the configuration data are sent to the selected Bluetooth gateway, if not, a Bluetooth power enhancing instruction is generated, and the Bluetooth power enhancing instruction is sent to the Bluetooth intelligent door lock through the selected Bluetooth gateway, so that the Bluetooth transmitting power is enhanced after the Bluetooth intelligent door lock receives the Bluetooth power enhancing instruction.
4. The bluetooth smart door lock configuration system according to claim 1, wherein each bluetooth gateway is further configured to send a device query instruction to the cloud server before sending the configuration request data, the bluetooth device information, and the bluetooth signal strength to the cloud server;
the cloud server is further used for judging whether the Bluetooth intelligent door lock is a registered device or not according to the Bluetooth device information when receiving the device query instruction, and feeding back device legal information to the Bluetooth gateway when judging that the Bluetooth intelligent door lock is the registered device; and after receiving the equipment legal information, the Bluetooth gateway sends the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server.
5. The bluetooth smart door lock configuration system according to claim 1, wherein the bluetooth smart door lock is further configured to encrypt the configuration request data according to a preset first encryption key before broadcasting the configuration request data.
6. The Bluetooth intelligent door lock configuration system according to claim 5, wherein each Bluetooth gateway is further configured to, before sending the configuration request data, the Bluetooth device information, and the Bluetooth signal strength to the cloud server, obtain a first decryption key from the cloud server, decrypt the configuration request data according to the first decryption key, and then send the decrypted configuration request data, the Bluetooth device information, and the Bluetooth signal strength to the cloud server.
7. The bluetooth smart door lock configuration system according to claim 1, wherein the cloud server is further configured to encrypt the configuration data according to a preset second encryption key before sending the configuration data to the selected bluetooth gateway.
8. The bluetooth smart door lock configuration system of claim 7, wherein the bluetooth smart door lock is further configured to decrypt the encrypted configuration data according to a preset second decryption key, and then configure according to the decrypted configuration data.
9. A Bluetooth intelligent door lock configuration method is characterized by comprising the following steps: receiving the intensity of the Bluetooth signals transmitted by each Bluetooth gateway, and taking the Bluetooth gateway with the strongest intensity as a selected Bluetooth gateway;
generating configuration data according to the configuration request data and the Bluetooth equipment information transmitted by the selected Bluetooth gateway, and then sending the configuration data to the selected Bluetooth gateway;
after receiving the configuration data, the selected Bluetooth gateway sends the configuration data to the Bluetooth intelligent door lock so that the Bluetooth intelligent door lock is configured according to the configuration data; the Bluetooth equipment information and the configuration request data are sent out by the Bluetooth intelligent door lock through Bluetooth broadcasting, and the selected Bluetooth gateway records the Bluetooth signal intensity and receives the configuration request data and the Bluetooth equipment information when scanning the Bluetooth equipment information.
10. The bluetooth intelligent door lock configuration method according to claim 9, further comprising: before sending the configuration data to the selected Bluetooth gateway, judging whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value, if so, sending the configuration data to the selected Bluetooth gateway, and if not, generating gateway position adjustment prompt information so that a user adjusts the position of the Bluetooth gateway when receiving the gateway position adjustment prompt information.
Background
With the development of artificial intelligence and internet of things, more and more intelligent home products appear in the market, and the intelligent lock is a popular product in recent years and has a lot of application scenes in an intelligent home.
When the intelligent door lock is deployed, the intelligent door lock is configured through the cloud server, but in the actual configuration process, the problem that the configuration fails or the configuration progress is slow due to weak signals often occurs.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth intelligent door lock configuration system and method, which can improve the configuration efficiency and the configuration success rate of a Bluetooth intelligent door lock.
An embodiment of the present invention provides a bluetooth intelligent door lock configuration system, including:
the system comprises a Bluetooth intelligent door lock, a plurality of Bluetooth gateways and a cloud server;
the Bluetooth intelligent door lock is used for carrying out Bluetooth broadcasting and sending Bluetooth equipment information and configuration request data to the outside;
each Bluetooth gateway is used for carrying out Bluetooth scanning, recording Bluetooth signal intensity and receiving the configuration request data when Bluetooth equipment information corresponding to the Bluetooth intelligent door lock is scanned, and then sending the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server;
the cloud server is used for taking the Bluetooth gateway with the strongest Bluetooth signal intensity as the selected Bluetooth gateway; generating configuration data according to the configuration request data and the Bluetooth equipment information, and then sending the configuration data to the selected Bluetooth gateway; and after receiving the configuration data, the selected Bluetooth gateway sends the configuration data to the Bluetooth intelligent door lock so as to configure the Bluetooth intelligent door lock according to the configuration data.
Optionally, the cloud server is further configured to: before sending the configuration data to the selected Bluetooth gateway, judging whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value, if so, sending the configuration data to the selected Bluetooth gateway, and if not, generating gateway position adjustment prompt information so that a user adjusts the position of the Bluetooth gateway when receiving the gateway position adjustment prompt information. If the Bluetooth signal intensity of the selected Bluetooth gateway is lower than the preset threshold value, the data communication is carried out according to the optimal communication path, and then the Bluetooth intelligent door lock is configured, the signal is weak, configuration failure or configuration progress is slow easily caused at the moment, therefore, the gateway position adjustment prompt information is generated to inform a user that the current position of the Bluetooth gateway needs to be adjusted, and the user can enhance the Bluetooth signal intensity by adjusting the position of the Bluetooth gateway.
Optionally, the cloud server is further configured to: before the configuration data are sent to the selected Bluetooth gateway, whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value is judged, if yes, the configuration data are sent to the selected Bluetooth gateway, if not, a Bluetooth power enhancing instruction is generated, and the Bluetooth power enhancing instruction is sent to the Bluetooth intelligent door lock through the selected Bluetooth gateway, so that the Bluetooth transmitting power is enhanced after the Bluetooth intelligent door lock receives the Bluetooth power enhancing instruction. The configuration efficiency is improved by enhancing the Bluetooth transmitting power, and the risk of configuration failure is reduced.
Further, each bluetooth gateway is further configured to send a device query instruction to the cloud server before sending the configuration request data, the bluetooth device information, and the bluetooth signal strength to the cloud server;
the cloud server is further used for judging whether the Bluetooth intelligent door lock is a registered device or not according to the Bluetooth device information when receiving the device query instruction, and feeding back device legal information to the Bluetooth gateway when judging that the Bluetooth intelligent door lock is the registered device; and after receiving the equipment legal information, the Bluetooth gateway sends the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server. By checking the equipment, configuration errors are avoided, and the configuration success rate is improved.
Further, the bluetooth intelligent door lock is further configured to encrypt the configuration request data according to a preset first encryption key before broadcasting the configuration request data. The security of the configuration request data is improved by encrypting.
Further, each bluetooth gateway is further configured to, before sending the configuration request data, the bluetooth device information, and the bluetooth signal strength to the cloud server, obtain a first decryption key from the cloud server, decrypt the configuration request data according to the first decryption key, and then send the decrypted configuration request data, the bluetooth device information, and the bluetooth signal strength to the cloud server.
Further, the cloud server is further configured to encrypt the configuration data according to a preset second encryption key before sending the configuration data to the selected bluetooth gateway. The security in the process of transmitting the configuration data is improved through data encryption.
Furthermore, the bluetooth intelligent door lock is further used for decrypting the encrypted configuration data according to a preset second decryption key, and then configuring according to the decrypted configuration data.
On the basis of the above system item embodiment, the invention correspondingly provides a method item embodiment.
An embodiment of the invention provides a Bluetooth intelligent door lock configuration method, which is suitable for being executed in a cloud server and comprises the following steps:
receiving the intensity of the Bluetooth signals transmitted by each Bluetooth gateway, and taking the Bluetooth gateway with the strongest intensity as a selected Bluetooth gateway;
generating configuration data according to the configuration request data and the Bluetooth equipment information transmitted by the selected Bluetooth gateway, and then sending the configuration data to the selected Bluetooth gateway;
after receiving the configuration data, the selected Bluetooth gateway sends the configuration data to the Bluetooth intelligent door lock so that the Bluetooth intelligent door lock is configured according to the configuration data; the Bluetooth equipment information and the configuration request data are sent out by the Bluetooth intelligent door lock through Bluetooth broadcasting, and the selected Bluetooth gateway records the Bluetooth signal intensity and receives the configuration request data and the Bluetooth equipment information when scanning the Bluetooth equipment information.
Further, the method also comprises the following steps: before sending the configuration data to the selected Bluetooth gateway, judging whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value, if so, sending the configuration data to the selected Bluetooth gateway, and if not, generating gateway position adjustment prompt information so that a user adjusts the position of the Bluetooth gateway when receiving the gateway position adjustment prompt information.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a Bluetooth intelligent door lock configuration system and a Bluetooth intelligent door lock configuration method, wherein the system comprises a Bluetooth intelligent door lock, a plurality of Bluetooth gateways and a cloud server; the Bluetooth intelligent door lock broadcasts Bluetooth equipment information and configuration request data outwards, each Bluetooth gateway conducts Bluetooth scanning, when the Bluetooth equipment information is obtained, the corresponding Bluetooth signal intensity is recorded, the configuration request data are received, the configuration request data Bluetooth equipment information and the Bluetooth signal intensity are sent to the cloud server side, the cloud server side takes the Bluetooth gateway with the strongest Bluetooth signal intensity as a selected Bluetooth gateway, and then the configuration data are sent to the Bluetooth intelligent door lock through the selected gateway, so that the Bluetooth intelligent door lock completes configuration according to the configuration information. Compared with the prior art, the Bluetooth signal intensity of each Bluetooth gateway is compared, and the Bluetooth gateway with the strongest Bluetooth signal intensity is used as the Bluetooth gateway for data transmission in the configuration process, so that the Bluetooth signal intensity in the configuration process is ensured to the maximum extent, and the problems of low configuration efficiency or configuration failure caused by weak signals are avoided.
Drawings
Fig. 1 is a system architecture diagram of a bluetooth intelligent door lock configuration system according to an embodiment of the present invention.
Fig. 2 is a further system architecture diagram of a bluetooth smart door lock configuration system according to an embodiment of the present invention.
Fig. 3 is a schematic flowchart of a bluetooth intelligent door lock configuration method according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a bluetooth intelligent door lock configuration system, including: the system comprises a Bluetooth intelligent door lock, a plurality of Bluetooth gateways and a cloud server;
the Bluetooth intelligent door lock is used for carrying out Bluetooth broadcasting and sending Bluetooth equipment information and configuration request data to the outside;
each Bluetooth gateway is used for carrying out Bluetooth scanning, recording Bluetooth signal intensity and receiving the configuration request data when Bluetooth equipment information corresponding to the Bluetooth intelligent door lock is scanned, and then sending the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server;
the cloud server is used for taking the Bluetooth gateway with the strongest Bluetooth signal intensity as the selected Bluetooth gateway; generating configuration data according to the configuration request data and the Bluetooth equipment information, and then sending the configuration data to the selected Bluetooth gateway; and after receiving the configuration data, the selected Bluetooth gateway sends the configuration data to the Bluetooth intelligent door lock so as to configure the Bluetooth intelligent door lock according to the configuration data.
Specifically, the bluetooth device information is an MAC address of the bluetooth intelligent door lock, and the MAC address of the bluetooth intelligent door lock is registered on the cloud server before configuration of the bluetooth intelligent door lock. When the Bluetooth intelligent door lock is configured, the Bluetooth function of the Bluetooth intelligent door lock is started, the Bluetooth intelligent door lock starts broadcasting outwards, and the MAC address and the configuration request data are broadcasted outwards. Next, each Bluetooth gateway is electrified, and collects information of surrounding Bluetooth equipment through an Active scanning mode (Active scanning) of Bluetooth BLE; each Bluetooth gateway can obtain the MAC address, the Bluetooth signal strength (RSSI) and the configuration request data of the Bluetooth intelligent door lock through scanning. Then sending the obtained MAC address, Bluetooth signal intensity and configuration request data of the Bluetooth intelligent door lock to a cloud server; after receiving the data uploaded by each Bluetooth gateway, the cloud server sequences the signal intensity of each Bluetooth gateway, selects the Bluetooth gateway with the strongest Bluetooth signal intensity as the Bluetooth gateway for subsequent data transmission, obtains an optimal passing path, and then generates configuration data according to the MAC address of the Bluetooth intelligent door lock and the information of each configuration item needing configuration currently contained in the configuration request data; and finally, sending the configuration data to the Bluetooth intelligent door lock through the selected Bluetooth gateway, and configuring the Bluetooth intelligent door lock according to the received configuration data.
The method is also suitable for configuring a plurality of Bluetooth intelligent door locks, and as shown in fig. 2, when a plurality of Bluetooth intelligent door locks need to be configured, the Bluetooth gateway corresponding to each Bluetooth intelligent door lock is selected according to the method and then configured.
The embodiment of the invention ensures the strength of the Bluetooth signal in the configuration process to the maximum extent, and avoids the problems of low configuration efficiency or configuration failure caused by weak signal.
In an optional embodiment, the cloud server is further configured to: before sending the configuration data to the selected Bluetooth gateway, judging whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value, if so, sending the configuration data to the selected Bluetooth gateway, and if not, generating gateway position adjustment prompt information so that a user adjusts the position of the Bluetooth gateway when receiving the gateway position adjustment prompt information. In order to further improve the success rate and the efficiency of configuration, the invention compares the Bluetooth signal intensity of the finally selected Bluetooth gateway with a preset threshold value, if the Bluetooth signal intensity of the selected Bluetooth gateway is lower than the preset threshold value, the data communication is carried out according to the optimal communication path so as to configure the Bluetooth intelligent door lock, the signal is weak, at the moment, configuration failure or configuration progress is easy to cause, therefore, gateway position adjustment prompt information is generated to inform a user that the position of the current Bluetooth gateway needs to be adjusted, the user enhances the Bluetooth signal intensity by adjusting the position of the Bluetooth gateway, the position of the selected Bluetooth gateway can be adjusted only when the position of the Bluetooth gateway is adjusted, the positions of all Bluetooth gateways can also be adjusted, after the position adjustment is finished, the cloud server receives the Bluetooth signal intensity of each Bluetooth gateway after the position adjustment according to the method, and then reselecting the selected Bluetooth gateway, and judging whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds the preset threshold value, if not, continuing to send gateway position adjustment prompt information, and if so, transmitting data. The gateway position adjustment prompt message can be sent to a mobile phone terminal of a user so as to be convenient for the user to check. It is understood that the preset threshold may be implemented according to actual situations.
In an optional embodiment, the cloud server is further configured to: before the configuration data are sent to the selected Bluetooth gateway, whether the Bluetooth signal intensity of the selected Bluetooth gateway exceeds a preset threshold value is judged, if yes, the configuration data are sent to the selected Bluetooth gateway, if not, a Bluetooth power enhancing instruction is generated, and the Bluetooth power enhancing instruction is sent to the Bluetooth intelligent door lock through the selected Bluetooth gateway, so that the Bluetooth transmitting power is enhanced after the Bluetooth intelligent door lock receives the Bluetooth power enhancing instruction. In this embodiment, if the bluetooth signal strength of the selected bluetooth gateway is lower than the preset threshold, the bluetooth transmission power of the bluetooth intelligent door lock is increased until the bluetooth signal strength exceeds the threshold, so that the configuration efficiency is further improved, and the risk of configuration failure is reduced.
In a preferred embodiment, each of the bluetooth gateways is further configured to send a device query instruction to the cloud server before sending the configuration request data, the bluetooth device information, and the bluetooth signal strength to the cloud server;
the cloud server is further used for judging whether the Bluetooth intelligent door lock is a registered device or not according to the Bluetooth device information when receiving the device query instruction, and feeding back device legal information to the Bluetooth gateway when judging that the Bluetooth intelligent door lock is the registered device; and after receiving the equipment legal information, the Bluetooth gateway sends the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server. Preferably, when the Bluetooth intelligent door lock is judged to be the registered device, the cloud server feeds back device illegal information to the Bluetooth gateway; and after receiving the illegal equipment, the Bluetooth gateway does not send data, namely does not send the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to the cloud server. In this embodiment, when the bluetooth gateway sends an equipment query instruction to the cloud server to perform equipment query, if the cloud server feeds back equipment legal information, it is indicated that the bluetooth equipment information corresponds to the bluetooth intelligent door lock that needs to be configured, and then subsequent configuration operation is performed.
In a preferred embodiment, the bluetooth smart door lock is further configured to encrypt the configuration request data according to a preset first encryption key before broadcasting the configuration request data. Each Bluetooth gateway is further configured to, before sending the configuration request data, the Bluetooth device information, and the Bluetooth signal strength to the cloud server, obtain a first decryption key from the cloud server, decrypt the configuration request data according to the first decryption key, and then send the decrypted configuration request data, the Bluetooth device information, and the Bluetooth signal strength to the cloud server.
In this embodiment, in order to ensure the security of data transmission, after the MAC address of the bluetooth smart door lock is registered in the cloud server, the cloud server may issue the first encryption key to the bluetooth smart door lock; and the Bluetooth intelligent door lock encrypts the configuration request data according to the first encryption key and then performs Bluetooth broadcasting. Before sending data to a cloud server, each Bluetooth gateway acquires a first decryption key corresponding to a first encryption key from the cloud server according to an MAC address of the Bluetooth intelligent door lock, decrypts the configuration request data according to the first decryption key, and then sends the decrypted configuration request data, the Bluetooth device information and the Bluetooth signal intensity to the cloud server.
In a preferred embodiment, the cloud server is further configured to encrypt the configuration data according to a preset second encryption key before sending the configuration data to the selected bluetooth gateway. The Bluetooth intelligent door lock is further used for decrypting the encrypted configuration data according to a preset second decryption key and then configuring according to the decrypted configuration data. In this embodiment, in order to ensure the security of data transmission, after the MAC address of the bluetooth smart door lock is registered in the cloud server, the cloud server may issue a second decryption key corresponding to the second encryption key to the bluetooth smart door lock; and before the configuration data is issued to the selected Bluetooth gateway, selecting a corresponding second encryption key according to the MAC address of the Bluetooth intelligent door lock to encrypt the configuration data, then sending the encrypted configuration data to the selected Bluetooth gateway, forwarding the encrypted configuration data to the Bluetooth intelligent door lock by the selected Bluetooth gateway, encrypting the encrypted configuration data by the Bluetooth intelligent door lock by using a second decryption key, and then completing configuration operation according to the decrypted configuration data. Exemplary configuration operations may be the configuration of a door lock code, manner of unlocking, and the like.
On the basis of the system item embodiment, the invention correspondingly provides a method item embodiment;
as shown in fig. 3, an embodiment of the present invention provides a bluetooth intelligent door lock configuration method, which is adapted to be executed in a cloud server in any one of the bluetooth intelligent door lock configuration systems of the present invention, where the method at least includes the following steps:
and S101, receiving the intensity of the Bluetooth signals transmitted by each Bluetooth gateway, and taking the Bluetooth gateway with the strongest Bluetooth signal intensity as a selected Bluetooth gateway.
Step S102, generating configuration data according to the configuration request data transmitted by the selected Bluetooth gateway and the Bluetooth equipment information, and then sending the configuration data to the selected Bluetooth gateway; after receiving the configuration data, the selected Bluetooth gateway sends the configuration data to the Bluetooth intelligent door lock so that the Bluetooth intelligent door lock is configured according to the configuration data; the Bluetooth equipment information and the configuration request data are sent out by the Bluetooth intelligent door lock through Bluetooth broadcasting, and the selected Bluetooth gateway records the Bluetooth signal intensity and receives the configuration request data and the Bluetooth equipment information when scanning the Bluetooth equipment information.
Specifically, when the bluetooth intelligent door lock is configured, the bluetooth function of the bluetooth intelligent door lock is started, and the bluetooth intelligent door lock starts broadcasting the MAC address (i.e., the bluetooth device information) and the configuration request data outwards. Next, each Bluetooth gateway is electrified, and collects information of surrounding Bluetooth equipment through an Active scanning mode (Active scanning) of Bluetooth BLE; each Bluetooth gateway can obtain the MAC address, the Bluetooth signal strength (RSSI) and the configuration request data of the Bluetooth intelligent door lock through scanning. Then, the MAC address, the Bluetooth signal intensity and the configuration request data of the Bluetooth intelligent door lock obtained by each Bluetooth gateway are sent to a cloud server; after receiving the data uploaded by each Bluetooth gateway, the cloud server sequences the signal intensity of each Bluetooth gateway, selects the Bluetooth gateway with the strongest Bluetooth signal intensity as a Bluetooth gateway for subsequent data transmission, obtains an optimal passing path, and generates configuration data according to the MAC address of the Bluetooth intelligent door lock sent by the selected Bluetooth gateway and each configuration item information which needs to be configured currently and is contained in the configuration request data; and finally, sending the configuration data to the Bluetooth intelligent door lock through the selected Bluetooth gateway, and configuring the Bluetooth intelligent door lock according to the received configuration data.
In a preferred embodiment, the method for configuring the bluetooth intelligent door lock further includes, before sending the configuration data to the selected bluetooth gateway, determining whether the bluetooth signal intensity of the selected bluetooth gateway exceeds a preset threshold, if so, sending the configuration data to the selected bluetooth gateway, and if not, generating a gateway position adjustment prompt message so that a user adjusts the position of the bluetooth gateway when receiving the gateway position adjustment prompt message.
In a preferred embodiment, the method for configuring the bluetooth smart door lock further includes, before sending the configuration data to the selected bluetooth gateway, determining whether the bluetooth signal intensity of the selected bluetooth gateway exceeds a preset threshold, if so, sending the configuration data to the selected bluetooth gateway, and if not, generating a bluetooth power enhancement instruction, and sending the bluetooth power enhancement instruction to the bluetooth smart door lock through the selected bluetooth gateway, so that the bluetooth transmission power is enhanced after the bluetooth smart door lock receives the bluetooth power enhancement instruction.
In a preferred embodiment, the method for configuring the bluetooth intelligent door lock further includes, when receiving an equipment query instruction sent by a bluetooth gateway, determining whether the bluetooth intelligent door lock is a registered equipment according to the bluetooth equipment information, and when determining that the bluetooth intelligent door lock is the registered equipment, feeding back equipment legal information to the bluetooth gateway; and after receiving the equipment legal information, the Bluetooth gateway sends the configuration request data, the Bluetooth equipment information and the Bluetooth signal intensity to a cloud server.
In a preferred embodiment, the method for configuring the bluetooth smart door lock further includes, before sending the configuration data to the selected bluetooth gateway, encrypting the configuration data according to a preset second encryption key, so that the bluetooth smart door lock decrypts the encrypted configuration data according to the preset second decryption key, and then configures according to the decrypted configuration data.
The bluetooth intelligent door lock configuration method described in each of the above embodiments is all suitable for being executed in the cloud server in the bluetooth intelligent door lock configuration system provided by the present invention.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.