Disclosure of Invention
The invention mainly aims to provide a battery charging method, a heat induction wearable device and a computer readable storage medium, and aims to solve the technical problems that the existing battery charging method is easy to fail in charging or easy to cause door lock damage in the charging process and the door lock manufacturing cost is high.
In order to achieve the above object, the present invention provides a battery charging method comprising the steps of:
when a temperature difference exists between a cold end and a hot end in the thermal induction wearable equipment, converting heat energy of the hot end into electric energy through a semiconductor thermoelectric power generation module in the thermal induction wearable equipment based on the temperature difference;
charging a lithium battery of the thermal induction wearable device with the electric energy so that the lithium battery contains electric quantity;
and after the heat induction wearable equipment is connected with the door lock, the lithium battery is used for charging the door lock battery.
Preferably, a charging interface is provided in the heat-sensitive wearable device, and when the heat-sensitive wearable device is connected with a door lock, the step of charging the door lock battery through the lithium battery includes:
and after the heat induction wearable equipment is connected with the door lock through the charging interface, the lithium battery is used for charging the door lock battery.
Preferably, the part of the heat-sensitive wearing device contacting with the human body is a hot end, the part of the heat-sensitive wearing device contacting with air is a cold end, the semiconductor thermoelectric power generation module is made of semiconductor thermoelectric materials, and when the temperature difference exists between the cold end and the hot end in the heat-sensitive wearing device, the step of converting the heat energy of the hot end into the electric energy through the semiconductor thermoelectric power generation module in the heat-sensitive wearing device based on the temperature difference comprises:
when a temperature difference exists between a cold end and a hot end in the thermal induction wearable device, holes and electrons in the semiconductor thermoelectric material are controlled to diffuse to the cold end through the temperature difference so as to form thermoelectromotive force;
and converting the thermoelectric electromotive force into current through the semiconductor thermoelectric power generation module, so that the heat energy of the hot end is converted into electric energy through the semiconductor thermoelectric power generation module.
Preferably, after the step of charging the lithium battery of the heat-sensing wearable device with the electric energy to make the lithium battery contain electric quantity, the method further includes:
detecting whether the lithium battery is fully charged;
and after the lithium battery is fully charged, the heat-sensitive wearable device outputs prompt information, and prompts that the lithium battery is fully charged according to the prompt information.
Preferably, the semiconductor temperature difference power generation module is composed of a preset number of semiconductor temperature difference power generation units, each semiconductor temperature difference power generation unit is composed of a couple arm composed of semiconductor thermoelectric materials, and the upper surface and the lower surface of each couple arm are covered with heat conduction covering layers of ceramic materials;
the cold end of the heat induction wearable device is made of a metal material with heat conductivity.
In addition, in order to achieve the above purpose, the invention also provides a heat induction wearable device, which comprises a cold end, a hot end, a semiconductor thermoelectric generation module and a power management module; the cold end is a part of the thermal induction wearing equipment, which is in air contact, and the hot end is a part of the thermal induction wearing equipment, which is in contact with a human body; the cold end and the hot end are connected with the semiconductor thermoelectric power generation module through heat conduction glue, the semiconductor thermoelectric power generation module is connected with the power management module, and a lithium battery is arranged in the power management module.
In addition, in order to achieve the above purpose, the invention also provides a heat induction wearable device, which comprises a cold end, a hot end, a semiconductor thermoelectric generation module and a power management module; the cold end is a part of the thermal induction wearing equipment, which is in air contact, and the hot end is a part of the thermal induction wearing equipment, which is in contact with a human body; the cold end and the hot end are connected with the semiconductor thermoelectric power generation module through heat conduction glue, the semiconductor thermoelectric power generation module is connected with the power management module, and a lithium battery is arranged in the power management module.
Preferably, the semiconductor temperature difference power generation module is composed of a preset number of semiconductor temperature difference power generation units, each semiconductor temperature difference power generation unit is composed of a couple arm composed of semiconductor thermoelectric materials, and the upper surface and the lower surface of each couple arm are covered with heat conduction covering layers of ceramic materials;
the cold end of the heat induction wearable device is made of a metal material with heat conductivity.
Preferably, the heat-sensitive wearable device further comprises a charging interface, and the charging interface is connected with the power management module.
Preferably, the heat induction wearable device further comprises a voltage stabilizing circuit and a protection circuit; the semiconductor thermoelectric power generation module, the voltage stabilizing circuit, the protection circuit and the power management module are sequentially connected in series.
In addition, to achieve the above object, the present invention also provides a heat-sensitive wearable device including a memory, a processor, and a battery charging program stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the battery charging method as described above.
In addition, in order to achieve the above object, the present invention also provides a computer-readable storage medium having stored thereon a battery charging program which, when executed by a processor, implements the steps of the battery charging method as described above.
According to the invention, the lithium battery of the heat-sensitive wearable device is charged through the semiconductor thermoelectric power generation module in the heat-sensitive wearable device, when the electric quantity of the door lock battery is insufficient, the electric quantity stored by the lithium battery is used for charging the door lock battery, so that the situation that a user cannot open the door due to the insufficient electric quantity of the door lock battery is avoided, and the problem of power supply of the door lock when the electric quantity of the door lock battery is insufficient is solved. Compared with the existing method for charging the door lock battery through the solar energy collection module or the kinetic energy collection module, the heat induction wearable device is adopted for charging the door lock battery, the problem of a light source is not needed to be considered, the success rate of charging the door lock battery is improved, the solar energy collection module or the kinetic energy collection module is not needed to be installed on the door lock, the manufacturing cost of the door lock is reduced, and the kinetic energy collection module is not needed to be installed on the door lock, so that the manufacturing cost of the door lock is reduced.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The solution of the embodiment of the invention mainly comprises the following steps: when a temperature difference exists between a cold end and a hot end in the thermal induction wearable equipment, converting heat energy of the hot end into electric energy through a semiconductor thermoelectric power generation module in the thermal induction wearable equipment based on the temperature difference; charging a lithium battery of the thermal induction wearable device with the electric energy so that the lithium battery contains electric quantity; and after the heat induction wearable equipment is connected with the door lock, the lithium battery is used for charging the door lock battery. The method solves the problems that the existing battery charging method is easy to fail in charging or easy to cause door lock damage in the charging process, and the door lock manufacturing cost is high.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the door lock system may include: a processor 1001, such as a CPU, a user interface 1003, a memory 1005, and a communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display, an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may further include a standard wired interface, a wireless interface. The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Optionally, the door lock system may further include a camera, an RF (Radio Frequency) circuit, a sensor, an audio circuit, a WiFi module, and the like.
It will be appreciated by those skilled in the art that the door lock system structure shown in fig. 1 is not limiting of the door lock system and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system and a battery charging program may be included in a memory 1005, which is one type of computer storage medium. The operating system is a program for managing and controlling hardware and software resources of the door lock system, and supports the running of battery charging programs and other software and/or programs.
In the door lock system shown in fig. 1, the user interface 1003 may be used to connect USB (Universal Serial Bus ) to charge a door lock battery, etc. And the processor 1001 may be configured to invoke the battery charging program stored in the memory 1005 and perform the following operations:
when a temperature difference exists between a cold end and a hot end in the thermal induction wearable equipment, converting heat energy of the hot end into electric energy through a semiconductor thermoelectric power generation module in the thermal induction wearable equipment based on the temperature difference;
charging a lithium battery of the thermal induction wearable device with the electric energy so that the lithium battery contains electric quantity;
and after the heat induction wearable equipment is connected with the door lock, the lithium battery is used for charging the door lock battery.
Further, a charging interface is provided in the heat-sensitive wearable device, and when the heat-sensitive wearable device is connected with a door lock, the step of charging the door lock battery through the lithium battery comprises the following steps:
and after the heat induction wearable equipment is connected with the door lock through the charging interface, the lithium battery is used for charging the door lock battery.
Further, the part of the heat induction wearing device contacting with the human body is a hot end, the part of the heat induction wearing device contacting with the air is a cold end, the semiconductor thermoelectric power generation module is made of semiconductor thermoelectric materials, when the temperature difference exists between the cold end and the hot end in the heat induction wearing device, the step of converting the heat energy of the hot end into the electric energy through the semiconductor thermoelectric power generation module in the heat induction wearing device based on the temperature difference comprises the following steps:
when a temperature difference exists between a cold end and a hot end in the thermal induction wearable device, holes and electrons in the semiconductor thermoelectric material are controlled to diffuse to the cold end through the temperature difference so as to form thermoelectromotive force;
and converting the thermoelectric electromotive force into current through the semiconductor thermoelectric power generation module, so that the heat energy of the hot end is converted into electric energy through the semiconductor thermoelectric power generation module.
Further, after the step of charging the lithium battery of the heat-sensing wearable device with the electric energy to make the lithium battery contain electric energy, the processor 1001 may further be configured to invoke a battery charging program stored in the memory 1005, and perform the following steps:
detecting whether the lithium battery is fully charged;
and after the lithium battery is fully charged, the heat-sensitive wearable device outputs prompt information, and prompts that the lithium battery is fully charged according to the prompt information.
Further, the semiconductor temperature difference power generation module consists of a preset number of semiconductor temperature difference power generation units, each semiconductor temperature difference power generation unit consists of a couple arm formed by semiconductor thermoelectric materials, and the upper surface and the lower surface of each couple arm are covered with heat conduction covering layers made of ceramic materials;
the cold end of the heat induction wearable device is made of a metal material with heat conductivity.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a heat sensing wearable device according to an embodiment of the invention. The thermal induction wearable device comprises a cold end, a hot end, a semiconductor thermoelectric generation module and a power management module; the cold end is a part of the thermal induction wearing equipment, which is in air contact, and the hot end is a part of the thermal induction wearing equipment, which is in contact with a human body; the cold end and the hot end are connected with the semiconductor thermoelectric power generation module through heat conduction glue, the semiconductor thermoelectric power generation module is connected with the power management module, and a lithium battery is arranged in the power management module.
The semiconductor temperature difference power generation module is composed of a preset number of semiconductor temperature difference power generation units, and each semiconductor temperature difference power generation unit is composed of a couple arm composed of semiconductor thermoelectric materials. Specifically, a plurality of pairs of PN structures of the semiconductor thermoelectric material form a couple arm, and a semiconductor temperature difference generating unit is formed by the couple arms to perform heat energy and electric energy conversion. The preset number may be set according to specific needs, for example, may be set to 50, 80, 300, or the like.
Referring to fig. 3, solder layers of p-type semiconductor thermoelectric material and N-type semiconductor thermoelectric material are connected together by conductor electrodes to form a pair of couple arms, upper and lower surfaces of which are covered with heat conductive covering layers of ceramic material. When one end of the heat-conducting cover layer is communicated with a heat source and the other end is communicated with a cold source, a temperature difference is generated due to the existence of the heat source and the cold source. It is understood that the heat source is the energy generated by the hot end and the cold source is the energy generated by the cold end. Under the effect of the temperature gradient of the heat source and the cold source, holes in the P-type semiconductor thermoelectric material and electrons in the N-type semiconductor thermoelectric material diffuse towards the cold end, so that thermoelectromotive force is formed, corresponding current is generated after the thermoelectromotive force is converted through a load loop, and the semiconductor thermoelectric power generation module is used for directly converting heat energy input by the hot end into electric energy through the temperature difference between the hot end and the cold end. The generated electric energy is proportional to the magnitude of the temperature difference, that is, the larger the temperature difference is, the larger the output electric energy is.
In the process of generating a temperature difference between the hot end and the cold end, the cold end generates an open-circuit voltage delta U which is a thermoelectric electromotive force, and is also called Seebeck electromotive force. By male meansThe formula: Δu=α s ×ΔT=α s ×(T H -T L ) It can be seen that the thermoelectromotive force DeltaU is proportional to the temperature difference DeltaT, where alpha s Is the Seebeck coefficient, which is expressed in units of V/K or u V/K. The seebeck coefficient is determined by the electron band structure of the semiconductor thermoelectric material itself. T (T) H T is the temperature of the hot end L Is the temperature of the cold end.
The cold end of the heat sensing wearing device is made of a metal material with heat conductivity, and in the implementation process, the metal material can be an aluminum sheet. In other embodiments, the metal material may be other metals with thermal conductivity, which is not limited herein. In certain cases, other refrigeration objects can be used for directly cooling the cold end.
And a lithium battery and a control management unit are arranged in a power management module connected with the semiconductor thermoelectric power generation module. The lithium battery is electrically connected with the control management unit, and the control management unit is used for executing power supply operation and charging operation of the heat induction wearable device. The current generated by the semiconductor thermoelectric generation module charges the lithium battery through the power management module. The control management unit is a microprocessor, an MCU (Microcontroller Unit, a micro control unit) or a control chip.
Further, the power management module further comprises a protection unit for realizing overtime protection, overcurrent protection and high-temperature protection, so that the lithium battery can be charged under the condition of maximum voltage, and the lithium battery cannot be damaged due to overvoltage charging.
Further, referring to fig. 4, the heat sensing wearable device further includes a charging interface, and the charging interface is connected with the power management module. The thermal sensing wearable device is connected with the door lock through the charging interface, and the battery of the door lock is charged through electric energy stored in the lithium battery. It will be appreciated that when the heat sensing wearable device is connected to the door lock via the charging interface, there is also a charging interface in the door lock. The charging interface includes, but is not limited to, a USB interface and a Type C interface.
Further, if the heat-sensitive wearable device does not include the charging interface, at this time, the heat-sensitive wearable device may be wirelessly connected with the door lock, and at this time, the heat-sensitive wearable device charges the door lock through the wireless charging protocol QI. Specifically, the wireless charging method includes an electromagnetic induction type, a magnetic resonance type, a radio wave type, an electric field coupling type, and the like.
When the thermal sensing wearing equipment is in wireless connection with the door lock, the distance between the thermal sensing wearing equipment and the door lock is smaller than the preset distance, and the thermal sensing wearing equipment can charge the door lock. The preset distance may be set according to specific needs, and is not limited herein.
Further, referring to fig. 4, the heat induction wearable device further includes a voltage stabilizing circuit and a protection circuit; the semiconductor thermoelectric power generation module, the voltage stabilizing circuit, the protection circuit and the power management module are sequentially connected in series.
The voltage stabilizing circuit is used for expanding the voltage input by the semiconductor thermoelectric power generation module and stabilizing the voltage amplitude output by the semiconductor thermoelectric power generation module in a numerical value. It can be understood that the semiconductor thermoelectric generation module inputs the voltage in the voltage stabilizing circuit to convert the current obtained by the voltage stabilizing circuit.
The protection circuit is used for preventing backflow and static electricity by the semiconductor thermoelectric power generation module.
It should be noted that the heat sensing wearable device may be worn on a wrist, ankle, arm, or other portion of the user. When the heat-sensitive wearing equipment is worn on a user, the hot end is in contact with the human body, and heat generated by the human body is used as a heat source of the semiconductor thermoelectric power generation module; the cold end contacts with air to generate low temperature and is used as a cold source of the semiconductor thermoelectric power generation module. At this time, a temperature difference exists between the hot end and the cold end, and the semiconductor thermoelectric power generation module can convert heat energy in the environment into direct current electric energy and charge the lithium battery through the direct current electric energy. In certain cases, other heat-generating objects may be used to directly heat the hot end.
Further, after the lithium battery is fully charged, the heat-sensitive wearable device can output prompt information to prompt a user according to the prompt information, and the lithium battery in the heat-sensitive wearable device is fully charged. The presentation form of the prompt information can be a prompt tone, an indicator light, or the like. In order to avoid the lithium cell of thermal-induction wearing equipment to be full of the back, still charging always, reduced the life-span of lithium cell and thermal-induction wearing equipment.
Further, an indicator lamp is further arranged in the heat induction wearable device and connected with the power management module. The indicator light can display the electric quantity information of the lithium battery, such as the indicator light is displayed in a specific color or in a full grid state after the lithium battery is fully charged. The indicator light may be an LED (Light Emitting Diode ) light.
Furthermore, the heat induction wearable device can charge mobile devices such as a mobile phone and an iPad besides the door lock.
The lithium battery of the thermal-induction wearable device is charged through the semiconductor thermoelectric power generation module in the thermal-induction wearable device, when the electric quantity of the door lock battery is insufficient, the electric quantity stored by the lithium battery is used for charging the door lock battery, so that the situation that a user cannot open a door due to the insufficient electric quantity of the door lock battery is avoided, and the problem of power supply of the door lock when the electric quantity of the door lock battery is insufficient is solved. Compared with the existing method for charging the door lock battery through the solar energy collection module or the kinetic energy collection module, the heat induction wearable device is adopted to charge the door lock battery, the problem of a light source is not needed to be considered, the success rate of charging the door lock battery is improved, the solar energy collection module or the kinetic energy collection module is not needed to be installed on the door lock, the manufacturing cost of the door lock is reduced, and the kinetic energy collection module is not needed to be installed on the door lock, so that the door lock is prevented from being damaged in the process of charging the door lock battery through the kinetic energy collection module, and the service life of the door lock is prolonged.
Based on the above-described structure, various embodiments of a battery charging method are presented.
Referring to fig. 5, fig. 5 is a flowchart illustrating a battery charging method according to a first embodiment of the present invention.
Embodiments of the present invention provide embodiments of battery charging methods, it being noted that although a logic sequence is shown in the flow diagrams, in some cases the steps shown or described may be performed in a different order than that shown or described herein.
The battery charging method includes:
step S10, when a temperature difference exists between a cold end and a hot end in the thermal induction wearable device, based on the temperature difference, converting heat energy of the hot end into electric energy through a semiconductor thermoelectric power generation module in the thermal induction wearable device.
When the temperature difference exists between the cold end and the hot end of the thermal induction wearable device, the semiconductor thermoelectric power generation module in the thermal induction wearable device converts heat energy generated by the hot end into electric energy through the temperature difference. It should be noted that, when the heat-sensitive wearing device is worn by a user, the hot end of the heat-sensitive wearing device contacts with the user to generate heat, and the cold end contacts with air, at this time, a temperature difference is generated between the cold end and the hot end. In specific cases, other refrigerating objects can be used for directly cooling the cold end or other heating objects can be used for directly heating the hot end. It is understood that the heat sensing wearable device may be a bracelet, or the like.
Further, the part of the heat induction wearable device, which is in contact with the human body, is a hot end, the part of the heat induction wearable device, which is in contact with air, is a cold end, and the semiconductor thermoelectric power generation module is made of semiconductor thermoelectric materials, and step S10 includes:
and a step a, when a temperature difference exists between a cold end and a hot end in the heat induction wearable device, controlling holes and electrons in the semiconductor thermoelectric material to diffuse to the cold end through the temperature difference so as to form thermoelectromotive force.
And b, converting the thermoelectric electromotive force into current through the semiconductor thermoelectric power generation module, so that the heat energy of the hot end is converted into electric energy through the semiconductor thermoelectric power generation module.
The part of the thermal sensing wearing equipment contacted with the human body is a hot end, and the part contacted with the air is a cold end. The semiconductor thermoelectric power generation module is composed of semiconductor thermoelectric materials. Specifically, the semiconductor temperature difference power generation module is composed of a preset number of semiconductor temperature difference power generation units, and each semiconductor temperature difference power generation unit is composed of a couple arm composed of semiconductor thermoelectric materials. The semiconductor thermoelectric material has several pairs of PN structure forming couple arms, and the semiconductor temperature difference generating unit is formed by the couple arms to convert heat energy and electric energy. The preset number may be set according to specific needs, for example, may be set to 50, 80, 300, or the like.
Further, the cold end of the heat sensing wearable device is made of a metal material with thermal conductivity, and in the implementation process, the metal material can be an aluminum sheet. In other embodiments, the metal material may be other metals with thermal conductivity, which is not limited herein. In certain cases, other refrigeration objects can be used for directly cooling the cold end.
Referring to fig. 3, solder layers of p-type semiconductor thermoelectric material and N-type semiconductor thermoelectric material are connected together by conductor electrodes to form a pair of couple arms, upper and lower surfaces of which are covered with heat conductive covering layers of ceramic material. When one end of the heat-conducting cover layer is communicated with a heat source and the other end is communicated with a cold source, a temperature difference is generated due to the existence of the heat source and the cold source. It is understood that the heat source is the energy generated by the hot end and the cold source is the energy generated by the cold end. Under the effect of the temperature gradient of the heat source and the cold source, holes in the P-type semiconductor thermoelectric material and electrons in the N-type semiconductor thermoelectric material diffuse towards the cold end, so that thermoelectromotive force is formed, corresponding current is generated after the thermoelectromotive force is converted through a load loop, and the semiconductor thermoelectric power generation module is used for directly converting heat energy input by the hot end into electric energy through the temperature difference between the hot end and the cold end. The generated electric energy is proportional to the magnitude of the temperature difference, that is, the larger the temperature difference is, the larger the output electric energy is.
In the process of generating a temperature difference between the hot end and the cold end, the cold end generates an open-circuit voltage delta U which is a thermoelectric electromotive force, and is also called Seebeck electromotive force. The formula is: Δu=α s ×ΔT=α s ×(T H -T L ) It can be seen that the thermoelectromotive force DeltaU is proportional to the temperature difference DeltaT, where alpha s Is the Seebeck coefficient, which is expressed in units of V/K or u V/K. The seebeck coefficient is determined by the electron band structure of the semiconductor thermoelectric material itself. T (T) H T is the temperature of the hot end L Is the temperature of the cold end.
And step S20, charging a lithium battery of the thermal induction wearable device through the electric energy so that the lithium battery contains electric quantity.
When electric energy is obtained, the semiconductor thermoelectric generation module in the thermal induction wearable equipment charges the lithium battery through the electric energy, so that the lithium battery in the thermal induction wearable equipment contains electric quantity.
Further, the thermal induction wearable device further comprises a voltage stabilizing circuit and a protection circuit. The voltage stabilizing circuit is used for expanding the voltage input by the semiconductor thermoelectric power generation module and stabilizing the voltage amplitude output by the semiconductor thermoelectric power generation module in a numerical value. It can be understood that the semiconductor thermoelectric generation module inputs the voltage in the voltage stabilizing circuit to convert the current obtained by the voltage stabilizing circuit. The protection circuit is used for preventing backflow and static electricity by the semiconductor thermoelectric power generation module.
It should be noted that, because the temperature difference generated between the cold end and the hot end is unstable, the voltage output by the semiconductor thermoelectric generation module is also unstable, so the voltage output by the semiconductor thermoelectric generation module needs to be stabilized by the voltage stabilizing circuit to obtain a stable voltage.
And step S30, after the heat induction wearable device is connected with a door lock, the lithium battery is used for charging the door lock battery.
After the lithium battery in the thermal induction wearable device is charged, and after the thermal induction wearable device is connected with the door lock, the battery of the door lock is charged through the electric energy stored by the lithium battery. The heat induction wearable device can be connected with the door lock in a wireless mode, and the battery of the door lock is charged through a wireless charging protocol QI. Wireless charging modes include electromagnetic induction, magnetic resonance, radio wave, electric field coupling, and the like.
In this embodiment, when the battery in the door lock is dead, the battery of the door lock is charged by the electric energy stored in the lithium battery in the heat-sensitive wearable device to unlock the door lock.
Further, the door lock can detect the electric quantity of the battery in real time or at regular time, and when the electric quantity of the battery of the door lock is smaller than the preset electric quantity, a user can open the door by using the door card corresponding to the door lock. The preset electric quantity can be set according to specific requirements, for example, the preset electric quantity can be set to 3% of the total electric quantity, 5% of the total electric quantity, or set to 0. It is understood that when the preset power is set to 0, that is, whether the power of the door lock battery is exhausted is detected. When the door lock detects its battery power at the time of timing, the frequency of detecting its battery power by the door lock may be set according to specific needs, for example, it may be set to detect the battery power of the door lock every 10 minutes, or detect the battery power of the door lock every 30 minutes, etc.
When the electric quantity of the door lock battery is smaller than the preset electric quantity, the door lock can output prompt information to prompt a user that the electric quantity of the door lock battery is insufficient. Specifically, the door lock can output prompt information when detecting a signal output by a corresponding door card after the battery electric quantity of the door lock is smaller than the preset electric quantity, so that a user is prompted that the battery electric quantity of the door lock is insufficient. The prompting manner of the prompting information is not limited herein.
Further, a charging interface is provided in the heat-sensitive wearable device, and step S30 includes:
and a step a of charging the door lock battery through the lithium battery after the heat induction wearable device is connected with the door lock through the charging interface.
Further, a charging interface may be provided in the heat-sensitive wearable device. When the door lock battery is required to be charged, the thermal sensing wearable device is connected with the door lock through the charging interface, and the battery of the door lock is charged through electric energy stored in the lithium battery. It will be appreciated that when the heat sensing wearable device is connected to the door lock via the charging interface, there is also a charging interface in the door lock. The charging interface includes, but is not limited to, a USB interface and a Type C interface.
According to the embodiment, when the temperature difference exists between the cold end and the hot end in the thermal induction wearable equipment, the heat energy of the hot end is converted into electric energy through the semiconductor thermoelectric power generation module in the thermal induction wearable equipment based on the temperature difference; charging a lithium battery of the thermal induction wearable device with the electric energy so that the lithium battery contains electric quantity; and after the heat induction wearable equipment is connected with the door lock, the lithium battery is used for charging the door lock battery. The battery charging device has the advantages that when the electric quantity of the battery of the door lock is insufficient, the battery of the door lock is charged through the electric quantity stored by the lithium battery, the situation that a user cannot open the door due to the insufficient electric quantity of the battery of the door lock is avoided, and the problem of power supply of the door lock when the electric quantity of the battery of the door lock is insufficient is solved. Compared with the existing method for charging the door lock battery through the solar energy collection module or the kinetic energy collection module, the heat induction wearable device is adopted to charge the door lock battery, the problem of a light source is not needed to be considered, the success rate of charging the door lock battery is improved, the solar energy collection module or the kinetic energy collection module is not needed to be installed on the door lock, the manufacturing cost of the door lock is reduced, and the kinetic energy collection module is not needed to be installed on the door lock, so that the door lock is prevented from being damaged in the process of charging the door lock battery through the kinetic energy collection module, and the service life of the door lock is prolonged.
Further, a second embodiment of the battery charging method of the present invention is presented.
The second embodiment of the battery charging method differs from the first embodiment of the battery charging method in that, referring to fig. 6, the battery charging method further includes:
step S40, detecting whether the lithium battery is fully charged;
and S50, after the lithium battery is fully charged, the heat induction wearable device outputs prompt information, and prompts that the lithium battery is fully charged according to the prompt information.
After the lithium battery is charged through the semiconductor thermoelectric power generation module, the thermal sensing wearable device triggers a detection instruction, and whether the lithium battery is fully charged or not is detected according to the detection instruction. After the lithium battery is fully charged, the heat induction wearable device outputs prompt information, and the user is prompted that the lithium battery is fully charged according to the prompt information. Specifically, an indicator light may be provided in the heat sensing wearable device, through which a specific color is displayed, or the indicator light may be blinked to prompt the user that the lithium battery is fully charged. The indicator light may be an LED light. If the lithium battery is not fully charged, continuously detecting whether the lithium battery is fully charged or not according to the detection instruction.
Further, the detection instruction can be triggered after charging the lithium battery for a preset time period, and also can be triggered at regular time. The preset duration and the time interval for triggering the detection command at fixed time can be set according to specific needs, and are not limited herein.
Furthermore, the heat induction wearable device can charge mobile devices such as a mobile phone and an iPad besides the door lock.
In this embodiment, by detecting whether the lithium battery is fully charged, after the lithium battery is fully charged, a prompt is output to prompt the user that the lithium battery is fully charged. The situation that the lithium battery is damaged is avoided when the lithium battery is fully charged and is charged continuously, and therefore the service life of the heat induction wearable device is prolonged.
In addition, an embodiment of the present invention further provides a computer readable storage medium, where a battery charging program is stored, and when the battery charging program is executed by a processor, the following steps are implemented:
when a temperature difference exists between a cold end and a hot end in the thermal induction wearable equipment, converting heat energy of the hot end into electric energy through a semiconductor thermoelectric power generation module in the thermal induction wearable equipment based on the temperature difference;
charging a lithium battery of the thermal induction wearable device with the electric energy so that the lithium battery contains electric quantity;
and after the heat induction wearable equipment is connected with the door lock, the lithium battery is used for charging the door lock battery.
Further, a charging interface is provided in the heat-sensitive wearable device, and when the heat-sensitive wearable device is connected with a door lock, the step of charging the door lock battery through the lithium battery comprises the following steps:
and after the heat induction wearable equipment is connected with the door lock through the charging interface, the lithium battery is used for charging the door lock battery.
Further, the part of the heat induction wearing device contacting with the human body is a hot end, the part of the heat induction wearing device contacting with the air is a cold end, the semiconductor thermoelectric power generation module is made of semiconductor thermoelectric materials, when the temperature difference exists between the cold end and the hot end in the heat induction wearing device, the step of converting the heat energy of the hot end into the electric energy through the semiconductor thermoelectric power generation module in the heat induction wearing device based on the temperature difference comprises the following steps:
when a temperature difference exists between a cold end and a hot end in the thermal induction wearable device, holes and electrons in the semiconductor thermoelectric material are controlled to diffuse to the cold end through the temperature difference so as to form thermoelectromotive force;
and converting the thermoelectric electromotive force into current through the semiconductor thermoelectric power generation module, so that the heat energy of the hot end is converted into electric energy through the semiconductor thermoelectric power generation module.
Further, after the step of charging the lithium battery of the heat-sensitive wearable device with the electric energy so that the lithium battery contains electric quantity, the battery charging program when executed by the processor implements the following steps:
detecting whether the lithium battery is fully charged;
and after the lithium battery is fully charged, the heat-sensitive wearable device outputs prompt information, and prompts that the lithium battery is fully charged according to the prompt information.
Further, the semiconductor temperature difference power generation module consists of a preset number of semiconductor temperature difference power generation units, each semiconductor temperature difference power generation unit consists of a couple arm formed by semiconductor thermoelectric materials, and the upper surface and the lower surface of each couple arm are covered with heat conduction covering layers made of ceramic materials;
the cold end of the heat induction wearable device is made of a metal material with heat conductivity.
The specific implementation of the computer readable storage medium of the present invention is substantially the same as the above embodiments of the battery charging method, and will not be described herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.