A method and device for controlling a smart lock, a smart lock and a medium
Through the single business model of smart lock, the current consumption is controlled during authentication and opening, and the problem of low efficiency of smart lock battery usage is solved, extending battery life and improving user experience.
Patent Information
- Application Number
- CN202110460954.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-27
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-04-27
AI Technical Summary
The high power consumption of smart locks leads to low battery efficiency, and frequent battery replacement causes poor user experience. The existing technology reminds the battery to be replaced when the voltage drops to 80%, but this method is not efficient enough.
Adopt a single business model of smart locks. When receiving unlocking requests, only the target authentication device is started. After the authentication is successful, the authentication device is turned off and the opening device is started to ensure the minimum instantaneous current, and the current in the entire authentication door opening process is as low as possible and prolonged. The battery energy releases, improving battery usage efficiency.
By reducing current consumption during authentication and opening, the battery life will be extended, the user experience will be improved, the battery energy will be released to the greatest extent, and the battery replacement frequency will be reduced.
Smart Images

Figure CN114202828B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart locks, and in particular to a control method, device, smart lock and medium for a smart lock. Background Art
[0002] Smart locks are a more mainstream type of door locks at present, because they use biometrics, passwords, and IC cards to open the door, allowing users to abandon keys, which is very convenient, so they are currently widely used. However, because many new functions are added, the power consumption of smart locks is very high.
[0003] In order to ensure the normal use of the smart lock, the relevant technology will remind the user to replace the battery when the voltage of the entire system drops to 80%. After the set time, the smart lock will not be able to be used normally. This method causes low battery utilization efficiency, and frequent battery replacement will also result in poor user experience.
[0004] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention
[0005] The purpose of this application is to provide a smart lock control method, device, smart lock and medium, which can improve the battery usage efficiency and improve the user experience. The specific scheme is as follows:
[0006] The present application provides a control method for a smart lock, comprising:
[0007] receiving an unlocking request, and starting a corresponding target authentication device according to the unlocking request so that the target authentication device recognizes the unlocking request;
[0008] When the unlock request is successfully identified, the target authentication device is turned off, and the opening device is started so that the opening device controls the smart lock to open;
[0009] When the opening is successful, the opening device is closed.
[0010] Preferably, it also includes:
[0011] Obtaining the current battery voltage of the smart lock;
[0012] Determine the business device group corresponding to the current battery voltage from the relationship between the preset voltage range and the business device group; wherein the business device group includes the opening device and at least one authentication device;
[0013] It is prohibited to start up all service devices except the service device group.
[0014] Preferably, it also includes:
[0015] Turn on the indicator light corresponding to the service device group.
[0016] Preferably, it also includes:
[0017] When the authentication device in the service device group is only the target authentication device, a prompt message is sent to prompt the user.
[0018] Preferably, it also includes:
[0019] Read the authentication device information of the smart lock;
[0020] The relationship between the preset voltage range and the service equipment group is determined according to the authentication equipment information.
[0021] Preferably, it also includes:
[0022] When the smart lock is in a locked state and the current battery voltage is lower than a preset voltage threshold, the charger is controlled to be connected to the power source.
[0023] Preferably, after closing the opening device, the method further comprises:
[0024] Turn on the wireless communication device;
[0025] After uploading the smart lock opening information to the server through the wireless communication device, turn off the wireless communication device.
[0026] The present application provides a control device for a smart lock, comprising:
[0027] An authentication module, configured to receive an unlocking request and start a corresponding target authentication device according to the unlocking request so that the target authentication device recognizes the unlocking request;
[0028] An opening device starting module, used to turn off the target authentication device and start the opening device when the unlocking request is successfully identified, so that the opening device controls the smart lock to open;
[0029] The opening device closing module is used to close the opening device after the opening is successful.
[0030] The present application provides a smart lock, comprising:
[0031] A plurality of authentication devices, for identifying unlocking requests; the plurality of authentication devices include a target authentication device;
[0032] Opening device, used to control the opening of smart lock;
[0033] Memory for storing computer programs;
[0034] A processor is used to implement the steps of the smart lock control method as described above when executing the computer program.
[0035] The present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the control method of the smart lock as described above are implemented.
[0036] The present application provides a control method for a smart lock, comprising: receiving an unlock request, starting a corresponding target authentication device according to the unlock request, so that the target authentication device identifies the unlock request; when the unlock request is successfully identified, turning off the target authentication device, and starting an opening device, so that the opening device controls the smart lock to open; when the opening is successful, turning off the opening device.
[0037] It can be seen that the present application adopts a single-service mode of a smart lock. When an unlocking request is received, the corresponding target authentication device is started according to the unlocking request. At this time, other devices are not started to ensure that the instantaneous current during authentication is minimized. After the authentication is successful, the target authentication device is turned off and the opening device is started at the same time. At this time, the opening device controls the smart lock to open and the door is opened. At this time, the instantaneous current when the door is opened is minimized. Then the opening device is turned off to ensure that the instantaneous current of the entire authentication and door opening process is as low as possible, thereby ensuring that the battery energy is released to the greatest extent, improving the battery utilization efficiency, and improving the user experience.
[0038] The present application also provides a smart lock control device, a smart lock and a computer-readable storage medium, all of which have the above-mentioned beneficial effects and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0040] Figure 1 A flow chart of a control method of a smart lock provided in an embodiment of the present application;
[0041] Figure 2 A flow chart of another smart lock control method provided in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of the structure of a control device for a smart lock provided in an embodiment of the present application;
[0043] Figure 4 A schematic diagram of the structure of a smart lock provided in an embodiment of the present application;
[0044] Figure 5 A structural diagram of another smart lock provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] In order to ensure the normal use of the smart lock, the relevant technology will remind the user to replace the battery when the voltage of the entire system drops to 80%. After the set time, the smart lock will not be able to be used normally. This method causes low battery utilization efficiency, and frequent battery replacement will also result in poor user experience.
[0047] Based on the above technical problems, this embodiment provides a control method for a smart lock, which adopts a single business mode of the smart lock. When an unlocking request is received, the corresponding target authentication device is started according to the unlocking request. At this time, other devices are not started to ensure that the instantaneous current during authentication is minimized. After the authentication is successful, the target authentication device is turned off and the opening device is started at the same time. At this time, the opening device controls the smart lock to open and the door is opened. At this time, the instantaneous current when the door is opened is minimized. Then the opening device is turned off to ensure that the instantaneous current of the entire authentication and door opening process is as low as possible, thereby ensuring that the battery energy is released to the maximum extent, improving the battery utilization efficiency, and improving the user experience.
[0048] Please refer to Figure 1 , Figure 1 A flow chart of a control method of a smart lock provided in an embodiment of the present application specifically includes:
[0049] S101, receiving an unlocking request, and starting a corresponding target authentication device according to the unlocking request, so that the target authentication device can identify the authentication information to be authenticated of the unlocking request;
[0050] This embodiment is applied to a smart lock, and the main body executing steps S101-S103 may be a processor, which may be an MCU (Microcontroller Unit). The smart lock includes multiple authentication devices and opening devices. The authentication device is used to identify the unlocking request, and the opening device is used to control the opening of the smart lock. When the authentication device successfully identifies, the opening device opens the smart lock.
[0051] In this step, the unlock request includes but is not limited to the identification information of the authentication device and the information to be authenticated. For example, when the unlock request is a fingerprint unlock request, the identification information is the fingerprint identification information, and the target authentication device is the fingerprint chip; when the unlock request is a card unlock request, the identification information is the password card identification information, and the target authentication device is the card chip; when the unlock request is a password unlock request, the identification information is the password identification information, and the target authentication device is the password chip, where the password unlock request can be sent remotely or input by key on the smart lock, and the user can customize the settings.
[0052] After receiving the unlock request, the smart lock determines the target authentication device according to the identification information of the authentication device in the unlock request, starts the target authentication device, and uses the target authentication device to identify the information to be authenticated in the unlock request. Taking fingerprint unlocking as an example, when the user enters the fingerprint at the corresponding position of the smart lock, the system automatically generates an unlock request, which includes fingerprint identification information and information to be authenticated. The information to be authenticated is the user's fingerprint, wakes up the fingerprint chip, and the fingerprint chip identifies the user's fingerprint. When the fingerprint stored in the system matches successfully, the recognition is passed. When the match fails, the recognition fails. It is worth noting that at this time, only the MCU and the fingerprint chip are working, and other components such as the opening device or the WIFI module or the card swiping chip or the password chip are not working. A single working mode is maintained to ensure that the instantaneous current is minimized at this time. When the instantaneous current of the entire authentication and door opening process is very low, it can ensure that the battery energy is released to the maximum extent, which can improve the battery efficiency.
[0053] S102, when the unlock request is successfully identified, the target authentication device is turned off, and the opening device is started so that the opening device controls the smart lock to open;
[0054] It is understandable that the battery has a certain regular discharge curve. Under a large discharge current, the output of the battery is less and the discharge time is shorter, that is, the battery needs to be replaced frequently; under a small discharge current, the output of the battery is more and the discharge time is longer. Taking the discharge curve of the No. 5 dry battery (1.5V) as an example, the test was carried out at different constant current discharge currents until the voltage dropped to the standard most common termination discharge voltage of about 0.9V; however, the discharge was carried out at a constant current of 500mA, the final discharge time was 130 minutes, and the output power was 1148mAh; the discharge was carried out at a constant current of 70mA, and the final discharge time was 2000 minutes, and the output power was 2378mAh. It can be seen that at a lower discharge current, the same battery has a flatter discharge curve, a longer discharge time, and a more output power. At about 0.9V, the battery voltage begins to drop sharply, and the battery cannot be used normally. Therefore, the normal usable voltage of dry batteries is often around 1.5V to 1V. However, current smart locks often believe that batteries cannot be used normally at around 1.2V. The process of converting chemical energy into electrical energy in batteries basically conforms to the above rules. Compared with large current, small current can release more electricity.
[0055] Therefore, when the unlock request is successfully identified, the target authentication device is turned off and the opening device is started to ensure that the instantaneous current is minimized and the battery energy is released to the maximum extent. The opening device can be a motor or other device, as long as it can achieve the purpose of this embodiment, it is within the protection scope of this application.
[0056] When the unlocking request recognition fails, the target authentication device is turned off. Furthermore, a prompt message can be sent to prompt the user, who can be the current operating user or a legitimate user bound to the smart lock.
[0057] S103. When the startup is successful, close the startup device.
[0058] When the opening device controls the smart lock to open successfully, the opening device is closed and the single-service mode is adopted to ensure that the instantaneous current of the entire authentication and door opening process is as small as possible, ensuring the maximum release of battery energy.
[0059] Based on the above technical solution, this embodiment adopts a single business mode of the smart lock. When an unlocking request is received, the corresponding target authentication device is started according to the unlocking request. At this time, other devices are not started to ensure that the instantaneous current during authentication is minimized. After the authentication is successful, the target authentication device is turned off and the opening device is started at the same time. At this time, the opening device controls the smart lock to open and the door is opened. At this time, the instantaneous current when the door is opened is minimized. Then the opening device is turned off to ensure that the instantaneous current of the entire authentication and door opening process is as low as possible, ensuring that the battery energy is released to the maximum extent, improving the battery utilization efficiency, and improving the user experience.
[0060] Based on the above embodiment, in order to further improve the battery usage efficiency, this embodiment provides another smart lock control method, please refer to Figure 2 , Figure 2 A flow chart of another smart lock control method provided in an embodiment of the present application includes:
[0061] S201, obtaining the current battery voltage of the smart lock;
[0062] This embodiment does not limit the battery of the smart lock, which can be a dry cell or a storage battery.
[0063] The purpose of this step is to obtain the current battery voltage of the smart lock's battery.
[0064] S202: Determine a service device group corresponding to the current battery voltage from the relationship between the preset voltage range and the service device group; wherein the service device group includes an opening device and at least one authentication device.
[0065] The relationship between the preset voltage range and the business device group is the business device group that can be turned on corresponding to the voltage range. For example, within the first voltage range, the corresponding business device group includes the turn-on device, the first authentication device, and the second authentication device; within the second voltage range, the corresponding business device group includes the first authentication device. If the current battery voltage is within the first voltage range, the business device group that can be turned on is the turn-on device, the first authentication device, and the second authentication device. It can be understood that the voltage range and the business device group are set based on the size of the normal working voltage of the authentication device, and it is necessary to ensure that the authentication device can work within the voltage range.
[0066] This embodiment does not limit the method for obtaining the relationship between the preset voltage range and the service device group.
[0067] In one feasible implementation, each smart lock is set with a preset voltage range and a relationship between a business equipment group before leaving the factory. It can be understood that the setting method can be determined according to the authentication method and battery voltage supported by the smart lock, and the setting relationship of smart locks with the same supported authentication method can be the same or different.
[0068] In another feasible implementation, when the smart lock is started for the first time, the authentication device information of the smart lock is read; and the relationship between the preset voltage range and the business device group is determined according to the authentication device information.
[0069] That is to say, this program is set in each smart lock. When the smart lock is started, the relationship between the preset voltage range and the business equipment group can be determined according to its own actual situation. There is no need to set the relationship for each smart lock separately, which improves the factory efficiency of the smart lock.
[0070] S203, prohibiting the startup of all service devices except the service device group;
[0071] After the business device group is determined, the remaining business devices are turned off. For example, when all authentication devices of the smart lock include: card swipe chip, password chip, fingerprint chip, when it is determined that the authentication device included in the business device group is a password chip, the card swipe chip and fingerprint chip are turned off at this time, that is, when receiving an unlocking request from a card swipe chip or fingerprint chip, the card swipe chip or fingerprint chip will not be awakened for identification operation, and only after receiving an unlocking request from a password chip will the password chip be awakened for identification operation.
[0072] Further, in order for the user to understand the normal working conditions in time, it also includes: turning on the indicator light corresponding to the business device group. This embodiment does not limit the indicator light. In an achievable implementation, each authentication device in the business device group corresponds to an indicator light. For example, the business device group includes an opening device, wifi, and a fingerprint chip, then the first indicator light corresponding to the opening device, the second indicator light corresponding to wifi, and the third indicator light corresponding to the fingerprint chip are all on; in another achievable implementation, each category of business device group corresponds to an indicator light or a color. For example, business device group 1 corresponds to indicator light 1, business device group 2 corresponds to indicator light 2, and business device group 3 corresponds to indicator light 3. When the determined business device group is business device group 2, indicator light 2 is on. For example, business device group 1 corresponds to red, business device group 2 corresponds to green, and business device group 3 corresponds to blue. When the determined business device group is business device group 2, the indicator light is green. It can be seen that this embodiment facilitates users to know the currently available authentication devices by setting indicator lights so that they can be turned on in the corresponding manner, avoiding the tediousness caused by users having to try again and again.
[0073] Furthermore, when the power reaches the lowest usage state, in order to ensure normal use, it also includes: when the authentication device in the business device group is only the target authentication device, a prompt message is sent to prompt the user. It can be understood that if only one target authentication device can be used among the authentication devices in the business device group, it is determined that the current battery power is very low and needs to be charged or replaced. If it is not handled in time, the door lock will not work properly, causing the door lock to be unable to open. Therefore, this embodiment sends a prompt message to the user in this case so that the user can charge or replace the battery. The prompt method in this embodiment can be that the smart lock sends a sound alarm or a light alarm, or sends a prompt message to the terminal device bound to the smart lock by the user. It can be seen that this embodiment ensures the normal use of the door lock by prompting the user to handle the battery in time.
[0074] S204, receiving an unlock request, and starting a corresponding target authentication device according to the unlock request, so that the target authentication device can identify the authentication information to be authenticated of the unlock request;
[0075] It is worth noting that the target authentication device in this step should be one of the authentication devices in the business group device. That is to say, after receiving the unlock request, it is determined whether the target authentication device is in the business device group according to the unlock request. If so, the corresponding target authentication device is started according to the unlock request so that the target authentication device can identify the authentication information to be authenticated in the unlock request; if not, the operation is stopped.
[0076] S205. When the unlock request is successfully identified, the target authentication device is turned off, and the opening device is started so that the opening device controls the smart lock to open;
[0077] S206: When the startup is successful, close the startup device.
[0078] This embodiment sets the device service group template (i.e., the relationship between the preset voltage range and the service device group) according to all the preset authentication methods and device modules (such as the opening device, which of course also includes the processor and the wireless communication device) of the smart lock in this application, and keeps the door lock open normally. The service serial mode is executed according to the template and the battery voltage to ensure that the instantaneous current is as small as possible, so that the chemical battery is fully discharged and as much electric energy as possible is released, so as to extend the service availability time of the smart door lock and improve the user experience. It can be seen that this embodiment maximizes the battery utilization efficiency according to the battery discharge curve law, adopts different product strategies in different power supply stages, sets different service device groups, releases battery energy to the maximum extent, improves the service time of the smart lock, ensures that the user can enter the door, and provides the user with sufficient time to replace the battery, which can effectively extend the service time of a single battery to the maximum extent, greatly improving the user experience.
[0079] Based on the above technical solution, this embodiment generates a template for the business equipment group according to the current battery voltage, enables or disables related business equipment (such as fingerprint chips, card swiping chips, etc.), and ensures that the instantaneous current of the equipment is minimized while keeping the unlocking service available. The chemical battery can fully release electrical energy, extend the service availability time, and improve user experience.
[0080] Furthermore, in order to ensure that the smart lock battery is fully charged and the door lock is in use for a long time, it also includes:
[0081] When the smart lock is in the locked state and the current battery voltage is lower than the preset voltage threshold, the charger is controlled to connect to the power supply. The battery of the smart lock in this embodiment is a rechargeable battery, so when the battery voltage reaches the first preset voltage threshold, it can be automatically charged, ensuring that the door lock is in use for a long time.
[0082] Furthermore, in order for the user to be able to understand the entry and exit information in real time, after closing the opening device, it also includes: turning on the wireless communication device; after uploading the smart lock opening information to the server through the wireless communication device, turning off the wireless communication device.
[0083] In this embodiment, after the opening device and other services are closed, the communication module is started to interact with the platform. The smart lock opening information includes but is not limited to the identity information of the opener, the opening time, the video information collected when opening, etc. The wireless communication device of this embodiment can only upload the door lock opening information to the server so that the user can understand the entry and exit information in real time.
[0084] Based on any of the above embodiments, this embodiment provides a specific smart lock control method, mainly providing a refined and prioritized smart lock power supply mode.
[0085] Based on the above principles, this solution provides a refined priority power supply mode, as follows:
[0086] S1. Divide the door lock service into several priorities, and determine several policy templates (i.e., the relationship between the preset voltage range and the service device group) according to the authentication method currently configured for the door lock.
[0087] Table 1 shows the conventional power consumption requirements of each core module of the smart lock. Please refer to Table 2, which shows a preset voltage range and business equipment group relationship, where V1~V0 is the first voltage range, V2~V1 is the second voltage range, and V3~V2 is the third voltage range; the voltage thresholds V1, V2, and V3 can be set according to different battery types, and V0 is the standard voltage of the battery when it is fully charged. For another example, when only fingerprints are configured, please refer to Table 3, which shows another preset voltage range and business equipment group relationship.
[0088] Table 1 shows the conventional power consumption requirements of each core module of the smart lock
[0089] Modules Normal operating voltage requirements Normal operating current requirement MCU 1.7V 40 microamperes WiFi Module 3.3V 200~300 mA Card swipe module 2.2V 60 mA Password module 2.8V 3~7 mA Fingerprint module 3.3V 50 mA Clutch opening device 3~4V 50~90mA
[0090] Table 2 shows the relationship between the preset voltage range and the business equipment group
[0091]
[0092] Table 3 shows the relationship between the preset voltage range and the business equipment group
[0093]
[0094] S2. The smart lock detects the current battery voltage and determines which priority voltage threshold the current battery voltage is within.
[0095] Taking Table 2 as an example, if the current battery voltage is within priority 1, the device is turned on and services such as fingerprint chip, card chip, password chip, and wifi are all used normally;
[0096] If the current threshold is within priority 3, the wifi, card chip, and fingerprint chip will be turned off, leaving only the password chip function.
[0097] S3. Within each priority strategy, try to maintain the single business mode as much as possible, ensure that the instantaneous current of the entire authentication and door opening process is as low as possible, and ensure that the battery energy is released to the maximum extent.
[0098] For example, in priority 2, when the card swiping chip or password chip is awakened, authentication is performed through the calculation of the MCU. When the authentication passes, the card swiping chip or password chip is turned off, and then the device is started to ensure multi-service serialization and reduce instantaneous current.
[0099] Furthermore, the smart lock will give targeted prompts, for example, but not limited to the following, such as using 4 ultra-low power LED lights to represent the fingerprint chip, password chip, card chip, and WiFi service. When the service fails within different priorities, the corresponding indicator light will go out to tell the user what service mode the user is currently in. When in low priority mode, although some authentication method can be used to open the door, it is already in an incomplete service state. The door lock will remind the user to replace the battery as soon as possible through sound and light every time the door is opened.
[0100] The present invention performs refined priority setting for the related services of the smart lock according to the discharge curve characteristics of the dry battery. By setting different service equipment groups, different service equipment groups are used when the battery power is at different priority thresholds. At the same time, each functional module is serially enabled under different services to maximize the use time of the door lock. This solution can effectively solve the problem that the user cannot open the door effectively and quickly when the door lock is low on power and the user is out for a long time. The method is also applicable to similar functional modular devices powered by batteries.
[0101] The following is an introduction to a control device for a smart lock provided in an embodiment of the present application. The control device for the smart lock described below and the control method for the smart lock described above can be referred to in correspondence with each other. Figure 3 , Figure 3 A schematic diagram of the structure of a control device for a smart lock provided in an embodiment of the present application includes:
[0102] The authentication module 301 is used to receive an unlock request and start a corresponding target authentication device according to the unlock request so that the target authentication device can identify the authentication information of the unlock request;
[0103] The opening device starting module 302 is used to turn off the target authentication device and start the opening device when the unlocking request is successfully identified, so that the opening device controls the smart lock to open;
[0104] The open device closing module 303 is used to close the open device after the opening is successful.
[0105] In some specific embodiments, it also includes:
[0106] A voltage acquisition module is used to obtain the current battery voltage of the smart lock;
[0107] The service equipment group determination module is used to determine the service equipment group corresponding to the current battery voltage from the relationship between the preset voltage range and the service equipment group; wherein the service equipment group includes an opening device and at least one authentication device.
[0108] The service shutdown module is used to prohibit starting all service devices except the service device group.
[0109] In some specific embodiments, it also includes:
[0110] The indicator light on module is used to turn on the indicator lights corresponding to the business equipment group.
[0111] In some specific embodiments, it also includes:
[0112] The prompt module is used to send a prompt message to prompt the user when the authentication device in the service device group is only the target authentication device.
[0113] In some specific embodiments, it also includes:
[0114] A reading module is used to read the authentication device information of the smart lock;
[0115] The relationship determination module is used to determine the relationship between the preset voltage range and the service equipment group according to the authentication equipment information.
[0116] In some specific embodiments, it also includes:
[0117] The charging module is used to control the charger to connect to the power source when the smart lock is in the locked state and the current battery voltage is lower than a preset voltage threshold.
[0118] Preferably, after closing the opening device, the method further comprises:
[0119] A wireless communication device activation module, used to activate the wireless communication device;
[0120] The upload module is used to upload the smart lock opening information to the server through the wireless communication device and then turn off the wireless communication device.
[0121] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.
[0122] A smart lock provided in an embodiment of the present application is introduced below. The smart lock described below and the method described above can be referenced to each other.
[0123] This application also provides a smart lock, see Figure 4 As shown, Figure 4 A schematic diagram of the structure of a smart lock provided in an embodiment of the present application includes:
[0124] A plurality of authentication devices 406, for identifying unlocking requests; the plurality of authentication devices include a target authentication device;
[0125] The opening device 407 is used to control the opening of the smart lock;
[0126] Memory 401, used for storing computer programs;
[0127] The processor 402 is configured to implement the steps of the above method when executing a computer program.
[0128] The memory 401 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile storage medium. The processor 402 provides computing and control capabilities for the smart lock. When executing the computer program stored in the memory 401, the following steps can be implemented: receiving an unlock request, starting the corresponding target authentication device according to the unlock request, so that the target authentication device identifies the authentication information to be authenticated of the unlock request; when the unlock request is successfully identified, the target authentication device is turned off, and the opening device is started, so that the opening device controls the opening of the smart lock; when the opening is successful, the opening device is turned off.
[0129] In some specific embodiments, when the processor 402 executes the computer subroutine stored in the memory 401, the following steps can be implemented: obtaining the current battery voltage of the smart lock; determining the business device group corresponding to the current battery voltage from the relationship between the preset voltage range and the business device group; wherein the business device group includes an opening device and at least one authentication device; and prohibiting the startup of all business devices except the business device group.
[0130] In some specific embodiments, when the processor 402 executes the computer subroutine stored in the memory 401, the following steps may be implemented: turning on the indicator light corresponding to the service device group.
[0131] In some specific embodiments, when the processor 402 executes the computer subroutine stored in the memory 401, the following steps may be implemented: when the authentication device in the service device group is only the target authentication device, a prompt message is sent to prompt the user.
[0132] In some specific embodiments, when the processor 402 executes the computer subroutine stored in the memory 401, the following steps can be implemented: reading the authentication device information of the smart lock; determining the relationship between the preset voltage range and the business device group according to the authentication device information.
[0133] In some specific embodiments, when the processor 402 executes the computer subroutine stored in the memory 401, the following steps can be implemented: when the smart lock is in a locked state and the current battery voltage is lower than a preset voltage threshold, the charger is controlled to be connected to the power supply.
[0134] In some specific embodiments, when the processor 402 executes the computer subroutine stored in the memory 401, the following steps can be implemented: turning on the wireless communication device; after uploading the smart lock opening information to the server through the wireless communication device, turning off the wireless communication device.
[0135] Based on the above embodiments, as a preferred embodiment, see Figure 5 , Figure 5 A structural diagram of another smart lock provided in an embodiment of the present application, the smart lock also includes:
[0136] The input interface 403 is connected to the processor 402 and is used to obtain externally imported computer programs, parameters and instructions, and save them in the memory 401 under the control of the processor 402. The input interface 403 can be connected to an input device to receive parameters or instructions manually input by a user. The input device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the terminal housing, or a keyboard, touchpad or mouse.
[0137] The display unit 404 is connected to the processor 402 and is used to display the data sent by the processor 402. The display unit 404 can be a display screen on a PC (Personal Computer), a liquid crystal display screen, or an electronic ink display screen.
[0138] The network port 405 is connected to the processor 402 and is used for communication connection with external terminal devices. The communication technology used for the communication connection can be a wired communication technology or a wireless communication technology, such as mobile high-definition link technology (Mobile High-Definition Link, MHL), universal serial bus (Universal Serial Bus, USB), high-definition multimedia interface (High Definition Multimedia Interface, HDMI), wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s, etc.
[0139] Since the embodiments of the smart lock part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the smart lock part, which will not be repeated here.
[0140] A computer-readable storage medium provided in an embodiment of the present application is introduced below. The computer-readable storage medium described below and the method described above can be referenced to each other.
[0141] The present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned smart lock control method are implemented.
[0142] The embodiments of the computer-readable storage medium part correspond to the embodiments of the method part, so for the embodiments of the computer-readable storage medium part, please refer to the description of the embodiments of the method part, which will not be repeated here.
[0143] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.
[0144] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0145] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0146] The above is a detailed introduction to the control method, device, smart lock and medium of a smart lock provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core ideas of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. A control method for a smart lock, characterized in that: include: receiving an unlocking request, and starting a corresponding target authentication device according to the unlocking request so that the target authentication device recognizes the unlocking request; When the unlock request is successfully identified, the target authentication device is turned off, and the opening device is started so that the opening device controls the smart lock to open; When the opening is successful, closing the opening device; Wherein, starting the corresponding target authentication device according to the unlocking request includes: Determine whether the target authentication device corresponding to the unlock request is in the service device group, and if so, start the corresponding target authentication device according to the unlock request; The business device group is a device group corresponding to the current battery voltage of the smart lock determined from the relationship between the preset voltage range and the business device group.
2. The control method of the smart lock according to claim 1, characterized in that: Also includes: Obtaining the current battery voltage of the smart lock; Determine the business device group corresponding to the current battery voltage from the relationship between the preset voltage range and the business device group; wherein the business device group includes the opening device and at least one authentication device; It is prohibited to start up all service devices except the service device group.
3. The control method of the smart lock according to claim 2, characterized in that: Also includes: Turn on the indicator light corresponding to the service device group.
4. The control method of the smart lock according to claim 2, characterized in that: Also includes: When the authentication device in the service device group is only the target authentication device, a prompt message is sent to prompt the user.
5. The control method of the smart lock according to claim 2, characterized in that: Also includes: Read the authentication device information of the smart lock; The relationship between the preset voltage range and the service equipment group is determined according to the authentication equipment information.
6. The control method of the smart lock according to claim 1, characterized in that: Also includes: When the smart lock is in a locked state and the current battery voltage is lower than a preset voltage threshold, the charger is controlled to be connected to the power source.
7. The control method of the smart lock according to claim 1, characterized in that: After closing the opening device, the method further includes: Turn on the wireless communication device; After uploading the smart lock opening information to the server through the wireless communication device, turn off the wireless communication device.
8. A control device for a smart lock, characterized in that: include: An authentication module, configured to receive an unlocking request and start a corresponding target authentication device according to the unlocking request so that the target authentication device recognizes the unlocking request; An opening device starting module, used to turn off the target authentication device and start the opening device when the unlocking request is successfully identified, so that the opening device controls the smart lock to open; An opening device closing module is used to close the opening device after the opening is successful; Among them, the authentication module is specifically used to: determine whether the target authentication device corresponding to the unlocking request is located in the business equipment group, and if so, start the corresponding target authentication device according to the unlocking request; the business equipment group is a device group corresponding to the current battery voltage of the smart lock determined from the relationship between the preset voltage range and the business equipment group.
9. A smart lock, characterized in that: include: Multiple authentication devices for identifying unlocking requests; The plurality of authentication devices include a target authentication device; Opening device, used to control the opening of smart lock; Memory for storing computer programs; A processor, used to implement the steps of the smart lock control method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the smart lock control method as described in any one of claims 1 to 7.
