Automatic charging device and method for smart door lock, and computer device and storage medium
Through the automatic charging equipment of the smart door lock, the optical receiving module is used to convert external light energy into electrical energy to charge the smart door lock, which solves the problem of frequent disassembly and charging of the battery, enables long-term use of the battery and normal operation of the battery, and improves the efficiency of the smart door lock. User experience.
Patent Information
- Application Number
- PCT/CN2024/099841
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-20
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-24
AI Technical Summary
The battery of the smart door lock needs to be frequently disassembled and charged, which makes the operation cumbersome and some functions cannot be used normally during charging, affecting the user experience.
Design an automatic charging device for smart door locks. It uses an optical receiving module to receive external light sources, converts light energy into electrical energy to charge the energy storage module, monitors the charging status through the main control circuit, and controls the opening and closing of the charging management circuit and discharge management circuit. Close so that the energy storage module and smart door lock are always powered.
It extends the service time of the smart lock door battery, reduces the frequency of battery replacement and charging, avoids the trouble of frequent battery removal, and improves the user experience.
Smart Images

Figure CN2024099841_24102024_PF_FP_ABST
Abstract
Description
Automatic charging device, method, computer device and storage medium for smart door lock
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on April 20, 2023, with application number 2023104524984 and invention name “Automatic charging device, method, computer device and storage medium for smart door locks”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of smart door locks, and in particular to an automatic charging device, method, computer device and storage medium for a smart door lock. Background Art
[0003] The smart door lock industry is developing rapidly. Cat-eye cameras, door display screens, and cloud storage have gradually become the main market demands. As the functions become more and more powerful, the requirements for battery life are also getting higher and higher. The existing battery life generally ranges from 1 to 6 months. When users need to charge the battery, they often need to replace the battery regularly or remove the battery for charging and replacing the spare battery. The operation is cumbersome and some functions of the door lock may not be used normally during battery charging, affecting the user experience.
[0004] Regarding the problem in the above-mentioned related technologies that the battery of the smart door lock needs to be removed when charging, which makes the operation cumbersome, and some functions of the door lock may not be used normally during battery charging, affecting the user experience, no effective solution has been proposed yet.
[0005] Summary of the Invention
[0006] In view of this, the embodiments of the present application provide an automatic charging device, method, computer device and storage medium for a smart door lock to solve the problem that the battery of the smart door lock needs to be removed when charging, which makes the operation cumbersome, and some functions of the door lock may not be used normally during battery charging, affecting the user experience.
[0007] In a first aspect, an embodiment of the present application provides an automatic charging device for a smart door lock, including a charging receiving end, the charging receiving end including an optical receiving module and an energy storage module;
[0008] The optical receiving module is used to receive external light sources and convert light energy into electrical energy to charge the energy storage module;
[0009] The energy storage module is used to receive electrical energy from the optical receiving module to charge the smart door lock.
[0010] The automatic charging device of the smart door lock provided in the embodiment of the present application is provided with an optical receiving module to receive an external light source, and converts light energy into electrical energy to charge the energy storage module. The energy storage module is used to receive the electrical energy of the optical receiving module to charge the smart door lock, thereby extending the service life of the smart door lock battery and reducing the frequency of battery replacement and charging. It solves the problem that the battery of the smart door lock needs to be removed when charging, which makes the operation cumbersome, and some functions of the door lock may not be used normally during battery charging, affecting the user experience.
[0011] In combination with the first aspect, in one embodiment, the charging receiving end further includes a main control circuit, a charging management circuit, and a discharge management circuit; the smart door lock includes a first battery; and the energy storage module includes a second battery;
[0012] The main control circuit is used to monitor the charging status of the energy storage module and the smart door lock, and control the opening and closing of the charging management circuit and the discharge management circuit;
[0013] The charging management circuit is used to receive the electric energy from the optical receiving module and charge the second battery of the energy storage module;
[0014] The discharge management circuit is used to receive electrical energy from the energy storage module to charge the first battery of the smart door lock.
[0015] The automatic charging device for the smart door lock provided in the embodiment of the present application monitors the charging status of the energy storage module and the smart door lock through the main control circuit, controls the opening and closing of the charging management circuit and the discharge management circuit, so that the energy storage module and the smart door lock are always in a powered state, avoiding the trouble of frequently charging and removing the battery for the smart door lock, and improving the user experience.
[0016] In an optional embodiment, the automatic charging device further includes a charging transmitter, which includes a light source and a lens; the light source outputs a light beam which is focused by the lens and then input to the charging receiver.
[0017] The automatic charging device of the smart door lock provided in the embodiment of the present application is provided with a light source and a lens at the charging transmitting end. The light beam output by the light source is focused by the lens and input to the charging receiving end, providing light energy for the optical receiving module of the charging receiving end, thereby facilitating charging of the energy storage module.
[0018] In an optional embodiment, the automatic charging device further includes: the charging transmitter further includes a power supply and a light source driving circuit, and the power supply charges the light source through the light source driving circuit.
[0019] The automatic charging device of the smart door lock provided in the embodiment of the present application is configured to provide a power supply to the light source with electrical energy, and the light source driving circuit converts the electrical energy into electrical energy that is easily absorbed by the light source, thereby providing power for the light source to operate.
[0020] In a second aspect, an embodiment of the present application provides a smart door lock, comprising a door lock body, and also comprising an automatic charging device for the smart door lock according to the above-mentioned first aspect or any corresponding embodiment thereof, wherein the door lock body is electrically connected to the automatic charging device.
[0021] In a third aspect, an embodiment of the present application provides an automatic charging method for a smart door lock, which is applied to the automatic charging device of the first aspect or any corresponding embodiment thereof, and the automatic charging method includes:
[0022] controlling the discharge management circuit to continuously charge the first battery;
[0023] And / or, controlling the charging management circuit to continuously charge the second battery.
[0024] The automatic charging method of the smart door lock provided in the embodiment of the present application can continuously charge the first battery and / or charge the second battery, so that the first battery and the second battery are always in a charging state. Therefore, the first battery of the smart door lock is always in a charged state, thereby extending the service life of the smart door lock battery. There is no need to replace the battery or remove it for charging, which solves the problem that the battery of the smart door lock needs to be removed when charging, resulting in cumbersome operation, and some functions of the door lock may not be used normally during battery charging, affecting the user experience.
[0025] In conjunction with the third aspect, in one embodiment, the automatic charging method further includes:
[0026] obtaining the remaining power of the first battery;
[0027] Determine whether the main control circuit has enabled the first power threshold and the third power threshold detection functions;
[0028] If the first power threshold and the third power threshold detection functions are enabled, the discharge management circuit is controlled to start or stop charging the first battery according to the relationship between the remaining power of the first battery and the first power threshold and the third power threshold respectively;
[0029] If the first power threshold and the third power threshold detection functions are not enabled, the discharge management circuit is controlled to continue charging the first battery.
[0030] The automatic charging method of the smart door lock provided in the embodiment of the present application, when the main control circuit turns on the first power threshold and the third power threshold detection functions, can control the discharge management circuit to start or stop the first battery according to the relationship between the remaining power of the first battery and the first power threshold; if the first power threshold and the third power threshold detection functions are not turned on, the discharge management circuit is controlled to continuously charge the first battery. By setting the first power threshold and the third power threshold detection functions, charging can be performed according to the remaining power of the first battery, thereby avoiding energy waste or damage to the first battery caused by continuous charging.
[0031] In an optional implementation, before obtaining the remaining power of the first battery, the automatic charging method further includes:
[0032] obtaining the remaining power of the second battery;
[0033] Determine whether the main control circuit has enabled the second power threshold and the fourth power threshold detection functions;
[0034] If the second power threshold and the fourth power threshold detection functions are enabled, the charging management circuit is controlled to start or stop charging the second battery according to the relationship between the remaining power of the second battery and the second power threshold and the fourth power threshold respectively;
[0035] If the second power threshold and the fourth power threshold detection functions are not enabled, the charging management circuit is controlled to continue charging the second battery.
[0036] The automatic charging method of the smart door lock provided in the embodiment of the present application, when the main control circuit turns on the second power threshold and the fourth power threshold detection functions, can control the discharge management circuit to start or stop the second battery according to the relationship between the remaining power of the second battery and the second power threshold; if the second power threshold and the fourth power threshold detection functions are not turned on, the discharge management circuit is controlled to continuously charge the second battery. By setting the second power threshold and the fourth power threshold detection functions, charging can be performed according to the remaining power of the second battery, thereby avoiding energy waste or damage to the second battery caused by continuous charging.
[0037] In a fourth aspect, an embodiment of the present application provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, computer instructions being stored in the memory, and the processor executing the computer instructions to thereby execute the automatic charging method for the smart door lock of the above-mentioned first aspect or any corresponding embodiment thereof.
[0038] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer instructions are stored, and the computer instructions are used to enable a computer to execute the automatic charging method of the smart door lock of the above-mentioned first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the specific implementation methods or the description of the prior art. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0040] FIG1 is a block diagram of an automatic charging device for a smart door lock according to some embodiments of the present application;
[0041] FIG2 is a structural block diagram of a charging receiving end in an automatic charging device of a smart door lock according to some embodiments of the present application;
[0042] FIG3 is a structural block diagram of a charging transmitter in an automatic charging device of a smart door lock according to some embodiments of the present application;
[0043] FIG4 is a structural block diagram of an automatic charging device for a smart door lock according to some embodiments of the present application;
[0044] FIG5 is a block diagram of a structure of light energy transmission between a charging transmitter and a charging receiver in an automatic charging device of a smart door lock according to some embodiments of the present application;
[0045] FIG6 is a schematic structural diagram of a charging transmitter including a housing in an automatic charging device of another smart door lock according to some embodiments of the present application;
[0046] FIG7 is a block diagram of the appearance of a charging transmitter in an automatic charging device of a smart door lock according to some embodiments of the present application;
[0047] FIG8 is an energy conversion diagram of an automatic charging device of a smart door lock according to some embodiments of the present application;
[0048] FIG9 is a structural block diagram of a charging receiving end in an automatic charging device of another smart door lock according to some embodiments of the present application;
[0049] FIG10 is a flow chart of an automatic charging method for a smart door lock according to some embodiments of the present application;
[0050] FIG11 is a flow chart of another automatic charging method for a smart door lock according to some embodiments of the present application;
[0051] FIG12 is a flow chart of another automatic charging method for a smart door lock according to some embodiments of the present application;
[0052] FIG13 is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0053] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions 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 those skilled in the art without making creative efforts shall fall within the scope of protection of this application.
[0054] An embodiment of the present application provides an automatic charging device for a smart door lock. An optical receiving module is provided to receive an external light source, and light energy is converted into electrical energy to charge an energy storage module. The energy storage module is used to receive the electrical energy of the optical receiving module to charge the smart door lock, thereby extending the service life of the smart door lock battery and reducing the frequency of battery replacement and charging. This solves the problem that the battery of the smart door lock needs to be removed when charging, which makes the operation cumbersome, and some functions of the door lock may not be used normally during battery charging, affecting the user experience.
[0055] According to an embodiment of the present application, an embodiment of an automatic charging device for a smart door lock is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0056] In this embodiment, an automatic charging device for a smart door lock is provided. FIG1 is a structural block diagram of the automatic charging device for a smart door lock according to an embodiment of the present application. As shown in FIG1 , the automatic charging device includes a charging receiving terminal 10, which includes an optical receiving module 101 and an energy storage module 102. The optical receiving module 101 is used to receive an external light source and convert light energy into electrical energy to charge the energy storage module 102. The energy storage module 102 is used to receive electrical energy from the optical receiving module 101 to charge the smart door lock 11. In conjunction with FIG6 and FIG7 , the entire charging receiving terminal is enclosed in the housing of the automatic charging device.
[0057] In some optional embodiments, the optical receiving module 101 can be a solar panel, and the external light source can be sunlight or an artificial light source (such as an LED light source). The energy storage module 102 can be a lithium battery. When the solar panel receives sunlight or an LED light source, it converts the light energy into electrical energy to charge the lithium battery. The lithium battery receives the electrical energy from the solar panel to charge the smart door lock.
[0058] The embodiment of the present application provides an automatic charging device for a smart door lock, which extends the service life of the smart door lock battery and reduces the frequency of replacing batteries and removing the battery for charging. It solves the problem that the battery of the smart door lock needs to be removed when charging, which makes the operation cumbersome, and some functions of the door lock may not be used normally during battery charging, affecting the user experience.
[0059] 2 , the charging receiving end 10 further includes a main control circuit 103, a charging management circuit 104, and a discharge management circuit 105. The smart door lock 11 includes a first battery 110, and the energy storage module 102 includes a second battery 1021. The main control circuit 103 is used to monitor the charging status of the energy storage module 102 and the smart door lock 11, and to control the opening and closing of the charging management circuit 104 and the discharge management circuit 105. The charging management circuit 104 is used to receive power from the optical receiving module 101 and charge the second battery 1021 of the energy storage module 102. The discharge management circuit 105 is used to receive power from the energy storage module 102 and charge the first battery 110 of the smart door lock.
[0060] Specifically, in conjunction with Figures 4, 8, and 9, the main control circuit 103 can use an MCU main control unit (Microcontroller Unit), which monitors the charging status of the second battery 1021 in the energy storage module 102. The charging management circuit 104 includes a supercapacitor and a first DC / DC conversion circuit. When the optical receiving module 101 receives an external light source, it converts the light energy into electrical energy, transmits the electrical energy to the supercapacitor for storage, and the stored electrical energy is converted by the first DC / DC conversion circuit to charge the second battery 1021 in the energy storage module 102. The discharge management circuit 105 includes a second DC / DC conversion circuit. The second DC / DC conversion circuit receives the electrical energy from the energy storage module 102 and performs DC / DC conversion to charge the first battery 110 of the smart door lock.
[0061] In some optional embodiments, the first DC / DC conversion circuit includes a first controllable switch (for example, a MOSFET transistor) and a first capacitor, one end of the first controllable switch is connected to a supercapacitor, the other end of the first controllable switch is connected to one end of the first capacitor, and the other end of the first capacitor is connected to the second battery of the energy storage module; when the first controllable switch is closed, the electric energy received from the supercapacitor is stored in the first capacitor, and when the first controllable switch is turned off, the first capacitor releases electric energy to the second battery to charge the second battery. Specifically, when the main control circuit 103 controls the charging management circuit to turn on, that is, controls the first controllable switch to be disconnected, the electric energy in the first capacitor is released to charge the second battery 1021; when the main control circuit 103 controls the charging management circuit to turn off, that is, controls the first controllable switch to be closed, the electric energy in the capacitor of the first DC / DC conversion circuit stops being released, and stops charging the second battery 1021.
[0062] The second DC / DC conversion circuit includes a second controllable switch (for example, a MOSFET transistor, etc.) and a second capacitor. One end of the second controllable switch is connected to the second capacitor, the other end of the second controllable switch is connected to one end of the second capacitor, and the other end of the second capacitor is connected to the first battery of the smart door lock. When the second controllable switch is closed, the electric energy received from the second battery 1021 is stored in the second capacitor. When the second controllable switch is turned off, the second capacitor releases electric energy to the first battery to charge the first battery. Specifically, when the main control circuit 103 controls the discharge management circuit to turn on, that is, controls the second controllable switch to be disconnected, the electric energy in the second capacitor is released to charge the first battery 110 of the smart door lock; when the main control circuit 103 controls the discharge management circuit to turn off, that is, controls the second controllable switch to be closed, the electric energy in the second capacitor stops being released, and stops charging the first battery 110.
[0063] The automatic charging device for the smart door lock provided in the embodiment of the present application monitors the charging status of the energy module and the smart door lock through the main control circuit, controls the opening and closing of the charging management circuit and the discharge management circuit, so that the energy storage module and the smart door lock are always in a powered state, avoiding the trouble of frequently charging and removing the battery for the smart door lock. The automatic charging device can be directly installed on the smart door lock, or the module on the smart door lock can be replaced without modifying the smart lock structure, thereby improving the user experience.
[0064] 3 to 5 , the automatic charging device also includes a charging transmitter 12, which includes a light source 121 and a lens 122. The light beam output by the light source 121 is focused by the lens 122 and then input to the charging receiver 10. The charging transmitter also includes a power supply 123 and a light source drive circuit 124. The power supply 123 charges the light source 121 through the light source drive circuit 124.
[0065] Specifically, in some cases, the charging receiving end may not be able to receive an external light source, such as when the smart door lock is in a dark environment. In this case, a charging transmitting end can be set in the automatic charging device, and the external light source can be replaced by the charging transmitting end. Among them, in the charging transmitting end, the light source 121 can be an LED light source, and the power supply 123 charges the light source through the light source driving circuit 124. After the light source is powered on, it emits a light beam, which is focused by the lens 122 and irradiated on the optical receiving module 101. The light source driving circuit 124 is used to convert the input power supply voltage, converting the 220V high voltage into a low voltage to charge the LED light source. Generally, the LED light source operates in low voltage mode, and the light source driving circuit can protect the LED light source from being easily damaged during operation.
[0066] The automatic charging device of the smart door lock provided in the embodiment of the present application is provided with a light source 121 and a lens 122 at the charging transmitting end 12. The light beam output by the light source 121 is focused by the lens 122 and input into the optical receiving module 101 on the charging receiving end, providing light energy for the optical receiving module 101 of the charging receiving end 10, thereby facilitating charging of the energy storage module 102. The charging transmitting end 12 is also provided with a power supply 123 to provide electrical energy for the light source, and the light source driving circuit 124 converts the electrical energy into electrical energy that is easily absorbed by the light source, thereby providing power for the operation of the light source 121.
[0067] The present application also provides a smart door lock comprising a door lock body and an automatic charging device for a smart door lock according to any of the above embodiments, wherein the door lock body and the automatic charging device are electrically connected. For details, please refer to the embodiments shown in Figures 1-9 and will not be repeated here.
[0068] In this embodiment, a method for automatically charging a smart door lock is provided. FIG10 is a flow chart of the method for automatically charging a smart door lock according to an embodiment of the present application. As shown in FIG10 , the process includes the following steps:
[0069] Step S101, control the discharge management circuit to continuously charge the first battery; specifically, when the main control circuit 103 controls the second controllable switch to be in the off state, the electric energy in the second capacitor is continuously released to continuously charge the first battery 110 of the smart door lock. At this time, the first battery 110 is always in a charging state, which extends the service life of the battery in the smart door lock and avoids the problem of poor user experience caused by removing the battery.
[0070] and / or,
[0071] Step S102, control the charging management circuit to continuously charge the second battery. Specifically, when the main control circuit 103 controls the first controllable switch to be always in the off state, the electric energy in the first capacitor is continuously released to continuously charge the second battery 1021; at this time, the second battery 1021 is always in a charging state, and can continuously charge the first battery 110, thereby extending the service life of the battery in the smart door lock and avoiding the problem of poor user experience caused by removing the battery.
[0072] In this embodiment, a method for automatically charging a smart door lock is provided. FIG11 is a flow chart of another method for automatically charging a smart door lock according to an embodiment of the present application. As shown in FIG11 , the process includes the following steps:
[0073] Step S201 , obtaining the remaining power of the first battery 110 ; obtaining the remaining power of the first battery 110 is to determine whether the first battery 110 needs to be charged.
[0074] Step S202, determine whether the main control circuit 103 turns on the first power threshold and the third power threshold detection function; the first power threshold and the third power threshold detection function are used to detect the power value of the first battery 110, and the first power threshold and the third power threshold are pre-set, for example, the first power threshold is set to 20% of the power of the first battery 110, and the third power threshold is set to 95% of the power of the first battery 110.
[0075] Step S203 , if the first power threshold detection function is enabled, the discharge management circuit 105 is controlled to start or stop charging the first battery 110 based on the relationship between the remaining power of the first battery 110 and the first power threshold and the third power threshold;
[0076] Specifically, the above step S203 includes:
[0077] Step S2031, when the remaining power of the first battery is less than the first power threshold, controlling the discharge management circuit 105 to start charging the first battery 110 of the smart door lock 11;
[0078] Specifically, when the remaining power of the first battery is less than the first power threshold of 20%, the discharge management circuit 105 is controlled to start charging the first battery 110 until the power of the first battery 110 is greater than the third power threshold of 95%, and then the discharge management circuit 105 is controlled to stop charging the first battery 110 of the smart door lock 11.
[0079] Step S2032 : When the remaining power of the first battery is greater than or equal to the third power threshold, the discharge management circuit 105 is controlled to stop charging the first battery 110 .
[0080] Specifically, when the remaining power of the first battery is 96%, which is greater than or equal to 95%, the discharge management circuit 105 is controlled to stop charging the first battery 110. The specific charging and discharging process is detailed in the embodiments shown in Figures 1 to 9 and will not be repeated here.
[0081] In step S204, if the first power threshold detection function is not enabled, the discharge management circuit 105 is controlled to continuously charge the first battery 110. The specific charging and discharging process is detailed in the embodiments shown in FIG1 to FIG9 and will not be described in detail here.
[0082] In this embodiment, a method for automatically charging a smart door lock is provided. FIG12 is a flow chart of another method for automatically charging a smart door lock according to an embodiment of the present application. As shown in FIG12 , before obtaining the remaining power of the first battery, the process includes the following steps:
[0083] Step S301, obtaining the remaining power of the second battery; obtaining the remaining power of the second battery 1021 is to determine whether the second battery 1021 needs to be charged.
[0084] Step S302, determine whether the main control circuit turns on the second power threshold and the fourth power threshold detection functions; the second power threshold and the fourth power threshold detection functions are used to detect the power value of the second battery 1021, and the second power threshold and the fourth power threshold are pre-set, for example, the second power threshold is set to 20% of the power of the second battery 1021, and the fourth power threshold is set to 95% of the power of the second battery 1021.
[0085] Step S303 , if the second power threshold and the fourth power threshold detection functions are enabled, the charging management circuit 104 is controlled to start or stop charging the second battery according to the relationship between the remaining power of the second battery and the second power threshold and the fourth power threshold, respectively;
[0086] Specifically, the above step S303 includes:
[0087] Step S3031: When the remaining power of the second battery is less than the second power threshold, control the charging management circuit 104 to start charging the second battery 1021 until the remaining power of the second battery is greater than or equal to the fourth power threshold;
[0088] Specifically, when the remaining power of the second battery is less than the second power threshold of 20%, the charging management circuit 104 is controlled to start charging the second battery 1021 until the power of the first battery 110 is greater than the fourth power threshold of 95%, and then the charging management circuit 104 is controlled to stop charging the second battery 1021.
[0089] Step S3032 , when the remaining power of the second battery is greater than or equal to the fourth power threshold, the charging management circuit 104 is controlled to stop charging the second battery 1021 .
[0090] Specifically, when the remaining power of the second battery is 96%, which is greater than or equal to the fourth power threshold of 95%, the charging management circuit 104 is controlled to stop charging the second battery 1021. The specific charging and discharging process is detailed in the embodiments shown in Figures 1 to 9 and will not be repeated here.
[0091] In step S304, if the second and fourth power threshold detection functions are not enabled, the charging management circuit 104 is controlled to continue charging the second battery 1021. The specific charging and discharging process is detailed in the embodiments shown in FIG1 to FIG9 and will not be described in detail here.
[0092] The automatic charging method for the smart door lock provided in the embodiment of the present application can be set by the main control circuit to set the first battery and the second battery to be in a charging state at all times, or set the first power threshold and the third power threshold to control the opening and closing of the discharge management circuit, triggering the start or stop of charging of the first battery; setting the second power threshold and the fourth power threshold to control the opening and closing of the charging management circuit, triggering the start or stop of charging of the second battery, so that the energy storage module and the smart door lock are always in a powered state, avoiding the trouble of frequently charging and removing the batteries for the smart door lock, and improving the user experience.
[0093] An embodiment of the present application also provides a computer device, please refer to Figure 13, which is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present application. As shown in Figure 13, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. The various components are connected to each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in or on the memory to display graphical information of a GUI on an external input / output device (such as a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, each device providing some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 13 takes a processor 10 as an example.
[0094] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may also include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.
[0095] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.
[0096] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created based on the use of a computer device for displaying a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.
[0097] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.
[0098] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 20 may be connected via a bus or other means, with FIG13 taking the bus connection as an example.
[0099] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touch pad, an indicator stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display, and a plasma display. In some optional embodiments, the display device can be a touch screen.
[0100] The embodiments of the present application also provide a computer-readable storage medium. The above-mentioned method according to the embodiment of the present application can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; optionally, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.
[0101] Although the embodiments of the present application have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present application, and such modifications and variations shall fall within the scope defined by the appended claims.
Claims
1. An automatic charging device for a smart door lock, comprising a charging receiving end, characterized in that: The charging receiving end includes an optical receiving module and an energy storage module; The optical receiving module is used to receive an external light source and convert light energy into electrical energy to charge the energy storage module; The energy storage module is used to receive the electric energy of the optical receiving module to charge the smart door lock.
2. The automatic charging device according to claim 1, characterized in that: The charging receiving end also includes a main control circuit, a charging management circuit and a discharge management circuit; the smart door lock includes a first battery; the energy storage module includes a second battery; The main control circuit is used to monitor the charging status of the energy storage module and the smart door lock, and control the opening and closing of the charging management circuit and the discharge management circuit; The charging management circuit is used to receive the electric energy of the optical receiving module to charge the second battery of the energy storage module; The discharge management circuit is used to receive electrical energy from the energy storage module to charge the first battery of the smart door lock.
3. The automatic charging device according to claim 1, characterized in that: The automatic charging device also includes a charging transmitting end, which includes a light source and a lens; the light source outputs a light beam which is focused by the lens and then input to the charging receiving end.
4. The automatic charging device according to claim 3, characterized in that: The automatic charging device further includes: the charging transmitting end further includes a power supply and a light source driving circuit, and the power supply charges the light source through the light source driving circuit.
5. A smart door lock, comprising a door lock body, characterized in that: The smart door lock also includes an automatic charging device as described in any one of claims 1 to 4, and the door lock body is electrically connected to the automatic charging device.
6. An automatic charging method for a smart door lock, characterized in that: The automatic charging device according to any one of claims 2 to 4, wherein the method comprises: Controlling the discharge management circuit to continuously charge the first battery; And / or, controlling the charging management circuit to continuously charge the second battery.
7. The method according to claim 6, characterized in that The method further comprises: Obtaining the remaining power of the first battery; Determine whether the main control circuit turns on the first power threshold and the third power threshold detection functions; If the first power threshold and the third power threshold detection functions are turned on, the remaining power of the first battery is respectively compared with the third power threshold. The relationship between the first power threshold and the third power threshold controls the discharge management circuit to start or stop charging the first battery; If the first power threshold value and the third power threshold value detection function are not enabled, the discharge management circuit is controlled to continuously charge the first battery.
8. The method according to claim 7, characterized in that Before obtaining the remaining power of the first battery, the method further includes: obtaining the remaining power of the second battery; Determine whether the main control circuit turns on the second power threshold and the fourth power threshold detection functions; If the second power threshold value and the fourth power threshold value detection functions are turned on, the charging management circuit is controlled to start or stop charging the second battery according to the relationship between the remaining power of the second battery and the second power threshold value and the fourth power threshold value respectively; If the second power threshold value and the fourth power threshold value detection function are not enabled, the charging management circuit is controlled to continuously charge the second battery.
9. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the automatic charging method for the smart door lock according to any one of claims 6 to 8 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the automatic charging method for the smart door lock according to any one of claims 6 to 8.
Citation Information
Patent Citations
Energy collection utilization system and method thereof
CN106602691A
Novel self-powered intelligent door lock
CN109138624A
Intelligent door lock and charging control method thereof
CN110689647A
Intelligent lock powered by double batteries and charging method
CN112910070A
Automatic charging equipment and method of intelligent door lock, computer equipment and storage medium
CN116365680A
