Intelligent lock with battery encryption function
By setting a resistive element between the battery detection pin and the function pin, the problem of increased production costs caused by the additional encryption chip in smart locks is solved, and battery replacement identification and security are improved.
Patent Information
- Application Number
- CN202423060497.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2026-01-06
- Estimated Expiration
- 2034-12-10
AI Technical Summary
Existing smart locks require additional encryption chips for battery encryption, which increases production costs.
By setting a resistive element between the battery's detection pin and the function pin, the system uses the correlation between the encrypted value and the resistance value to determine whether the battery has been replaced, thereby reducing production costs and improving security.
This technology enables effective battery replacement detection without increasing production costs, thus improving the security and compatibility of smart locks.
Smart Images

Figure CN223767306U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of smart lock electronic technology, and in particular to a smart lock with battery encryption. Background Technology
[0002] Smart locks are locks that differ from traditional mechanical locks, offering greater intelligence in user identification, security, and management. They are the locking mechanism in access control systems, and their intelligence is manifested in their ability to be linked and operated via mobile phone. Most mature smart locks on the market rely on battery power. Since batteries are universal, they can be replaced with defective ones, posing a security risk. Therefore, battery encryption is necessary to detect battery replacement. Current solutions involve adding an encryption chip to the battery to detect battery replacement. This method requires an additional encryption chip, increasing production costs.
[0003] Currently, no effective solution has been proposed to address the issue of increasing production costs due to the need for additional encryption chips in related technologies. Utility Model Content
[0004] In view of this, it is necessary to provide a smart lock with battery encryption to solve the problem that related technologies require additional encryption chips, which increases production costs.
[0005] This utility model provides a smart lock with battery encryption, including a processor, a switch module and a battery;
[0006] The battery includes functional pins and at least one detection pin; a resistive element is disposed between the detection pin and any one of the functional pins;
[0007] The processor is connected to the detection pin of the battery via the switching module, and is used to connect the detection pin through the switching module to form a power-on circuit; so as to obtain an encrypted value through the detection pin; the encrypted value is related to the resistance value of the resistive element.
[0008] In this embodiment, a resistive element located between the detection pin and any functional pin in the battery is used to attach an encryption value. Since this encryption value corresponds to the battery, if the battery is replaced, the encryption value will change, thereby enabling the user to know whether the battery has been replaced. This reduces the production cost and improves the security of use.
[0009] In one embodiment, the functional pins include a power supply positive pin, a power supply negative pin, a charging positive pin, and a charging negative pin.
[0010] In this embodiment, power supply and charging functions are provided by four pins, thereby realizing the cyclical use of the battery in the smart lock. Furthermore, the five-pin smart lock battery is a commonly used battery, which improves the adaptability and versatility of the solution in this application.
[0011] In one embodiment, the detection pin is connected to the power supply negative pin or the charging negative pin via the resistive element; the input terminal of the switching module is connected to an external power supply.
[0012] This embodiment allows for flexible selection of functional pins and coordination with an external power supply, improving adaptability.
[0013] In one embodiment, the detection pin is connected to the power supply positive pin or the charging positive pin via the resistive element; the output terminal of the switching module is grounded.
[0014] This embodiment allows for flexible selection of functional pins and coordination with an external power supply, improving adaptability.
[0015] In one embodiment, the resistive element includes at least one resistor R1.
[0016] In this embodiment, at least one resistor is used to form a resistive element, thereby greatly reducing production costs.
[0017] In one embodiment, the resistance of the resistor R1 is between 1K and 500K.
[0018] This embodiment expands the scope of application and makes it easier to use.
[0019] In one embodiment, the switching module includes a transistor and a resistor R2;
[0020] The control terminal of the transistor is connected to the processor; the first terminal of the transistor is connected to an external power supply or grounded; the second terminal of the transistor is connected to one end of the resistor R2; the other end of the resistor R2 is connected to the processor and the detection pin respectively.
[0021] This embodiment demonstrates how to implement a switching module using simple components, thereby improving operational stability.
[0022] In one embodiment, the transistor is one or more combinations of a bipolar junction transistor (BJT) and a field-effect transistor (FET).
[0023] This embodiment expands the scope of application and makes it easier to use.
[0024] In one embodiment, the smart lock further includes an alarm module;
[0025] The alarm module is connected to the processor; it is used to trigger an alarm under the control of the processor when the encrypted value is inconsistent with the pre-stored reference value.
[0026] This embodiment provides various forms of alarms to improve the user experience.
[0027] In one embodiment, the alarm module is one or more of a buzzer, a communication module, and an indicator light.
[0028] This embodiment provides various forms of alarms to improve the user experience.
[0029] This utility model provides a smart lock with battery encryption, comprising a processor, a switch module, and a battery. The battery includes functional pins and at least one detection pin. A resistive element is disposed between the detection pin and any one of the functional pins. The processor is connected to the detection pin of the battery through the switch module, and is used to connect the detection pin through the switch module to form a power circuit, so as to obtain an encryption value through the detection pin. The encryption value is related to the resistance value of the resistive element. This application utilizes a resistive element disposed in the battery between the detection pin and any one of the functional pins to attach an encryption value. Since this encryption value corresponds to the battery, if the battery is replaced, the encryption value will change, thereby enabling the user to know whether the battery has been replaced, thus reducing the production cost and improving the security of use. Attached Figure Description
[0030] Figure 1 A structural block diagram of a smart lock with battery encryption provided in an embodiment of this utility model;
[0031] Figure 2 This is a structural block diagram of a battery provided in an embodiment of the present invention;
[0032] Figure 3 A structural block diagram of a smart lock with battery encryption provided for another embodiment of the present invention;
[0033] Figure 4 This is a structural block diagram of a smart lock with battery encryption provided for another embodiment of the present invention.
[0034] Reference numerals: 10, processor; 20, switch module; 30, battery; 31, resistive component. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the application is described and illustrated below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the application. All other embodiments obtained by those skilled in the art based on the embodiments provided in this application without inventive effort are within the scope of protection of this application. Furthermore, it is understood that although the efforts made in such a development process may be complex and lengthy, for those skilled in the art related to the content disclosed in this application, modifications to design, manufacturing, or production based on the technical content disclosed in this application are merely conventional technical means and should not be construed as insufficient disclosure of the content of this application.
[0036] In this application, the reference to "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment that is mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments without conflict.
[0037] Unless otherwise defined, the technical or scientific terms used in this application shall have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. When an element is referred to as being "located" on another element, it may be directly disposed on the other element or may have an intervening element. When an element is considered to be "disposed on" another element, it may be directly disposed on the other element or may have an intervening element present. When an element is considered to be "fixed to" another element, it may be directly fixed to the other element or may have an intervening element present. The terms "first," "second," "third," etc., used in this application are merely to distinguish similar objects and do not represent a specific order of objects. The terminology used in the specification of this application is for the purpose of describing particular embodiments only and is not intended to limit this application. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0038] Please see Figure 1 This utility model provides a smart lock with battery encryption, including a processor 10, a switch module 20 and a battery 30;
[0039] Battery 30 includes a function pin and at least one detection pin; a resistive element 31 is disposed between the detection pin and any one of the function pins;
[0040] The processor 10 is connected to the detection pin of the battery 30 via the switch module 20, and is used to connect the detection pin through the switch module 20 to form a power-on circuit; so as to obtain the encryption value through the detection pin; the encryption value is related to the resistance value of the resistive element 31.
[0041] It should be noted that the battery 30 includes, but is not limited to, ternary lithium batteries, polymer lithium batteries, nickel-cadmium batteries, and nickel-metal hydride batteries. The functional pins of the battery 30 include, but are not limited to, charging / discharging pins and power supply pins; the types and prices of different batteries 30 vary, resulting in different types of functional pins. However, the battery 30 of this application must have at least one detection pin; a detection pin refers to an unused pin. A resistive element 31 is then placed between the detection pin and any functional pin, connecting the resistive element 31 into the detection circuit. For example, the detection pin is connected to the positive charging pin; or, the detection pin is connected to the negative power supply pin, etc. Examples are not provided for each case. In other embodiments, one unused functional pin can also be selected as the detection pin; this is not a limitation.
[0042] The switch module 20 is mainly used to connect the detection pin under the control of the processor 10, forming a power-on circuit. For example, the processor 10 transmits high and low level signals to the switch module 20; then, the high level signal in the high and low level signals opens the switch module 20 to connect the detection pin and form a power-on circuit; or, the low level signal in the high and low level signals closes the switch module 20 to cut off the detection of the detection pin, at which time the battery 30 is not detected. In other embodiments, the control methods of the high and low level signals can be interchanged, and the low level signal is used to open the switch module 20, which is not limited. The switch module 20 can take various forms, such as an electronic switch, a transistor, etc., combined with additional circuitry.
[0043] The processor 10 can be, but is not limited to, a microprocessor (MCU) or a programmable logic device (FPGA). Since the resistive element 31 is pre-set at the factory, its resistance value remains unchanged after setting, and the encryption value is related to the resistance value of the resistive element 31, thus the encryption value is fixed. During the use of the battery 30, before running its built-in program (which is an existing smart lock-related control program to implement the smart lock's functions), the processor 10 connects the detection pin by controlling the on / off state of the switch module 20, forming a power circuit. After forming the circuit, the encryption value can be obtained through the detection pin. If this encryption value is inconsistent with the encryption value detected at the factory, it indicates that the battery 30 has been replaced, thereby improving security.
[0044] In related technologies, an encryption chip is added to the battery 30 to encrypt the battery 30 and detect whether the battery 30 has been replaced. This method requires an additional encryption chip, increasing production costs. In this embodiment, the smart lock with battery 30 encryption includes a processor 10, a switch module 20, and a battery 30. The battery 30 includes functional pins and at least one detection pin. A resistive element 31 is disposed between the detection pin and any one of the functional pins. The processor 10 is connected to the detection pin of the battery 30 through the switch module 20 to connect the detection pin and form a power circuit, so as to obtain the encryption value through the detection pin. The encryption value is related to the resistance value of the resistive element 31. In this embodiment, the encryption value is added by the resistive element 31 disposed in the battery 30 between the detection pin and any one of the functional pins. Since this encryption value corresponds to the battery 30, if the battery 30 is replaced, the encryption value will change, thereby detecting whether the battery 30 has been replaced, thus reducing the production cost and improving the security of use.
[0045] The following is a detailed description of each of the above components:
[0046] In one embodiment, such as Figure 2 As shown, the functional pins include a power supply positive pin, a power supply negative pin, a charging positive pin, and a charging negative pin.
[0047] The battery 30 provided in this embodiment has five pins, four of which are functional pins and one is a detection pin. The four functional pins are the power supply positive pin, the power supply negative pin, the charging positive pin, and the charging negative pin, respectively.
[0048] In this embodiment, these pins are used to provide power supply and charging functions, thereby enabling the cyclic use of the battery 30 in the smart lock. Furthermore, the five-pin smart lock battery 30 is a commonly used battery 30, improving the adaptability and versatility of the solution in this application.
[0049] In one embodiment, the switching module 20 includes a transistor and a resistor R2;
[0050] The control terminal of the transistor is connected to the processor 10; the first terminal of the transistor is connected to an external power supply or grounded; the second terminal of the transistor is connected to one end of the resistor R2; the other end of the resistor R2 is connected to the processor 10 and the detection pin respectively.
[0051] Specifically, the switching module 20 includes a transistor and a resistor R2. The transistor is one or more combinations of a bipolar junction transistor (BJT) and a field-effect transistor (FET).
[0052] For example, the transistor is a triode. In one embodiment, the control terminal is the base, the first terminal is the collector, and the second terminal is the emitter. The triode is connected as follows: the base of the triode is connected to the processor 10; the collector of the triode is connected to the external power supply; the emitter of the triode is connected to one end of the resistor R2; and the other end of the resistor R2 is connected to the processor 10 and the detection pin respectively.
[0053] For example, the transistor is a MOSFET. In one embodiment, the control terminal is the gate, the first terminal is the source, and the second terminal is the drain. The transistor is connected as follows: the gate of the MOSFET is connected to the processor 10; the source of the MOSFET is connected to the external power supply; the drain of the MOSFET is connected to one end of resistor R2; and the other end of resistor R2 is connected to both the processor 10 and the detection pin. In other embodiments, more peripheral circuits can be provided, such as a resistor R3 connected in series after resistor R2, which will not be described further.
[0054] This embodiment utilizes simple components to implement the switch module 20, thereby improving operational stability.
[0055] In one embodiment, the detection pin is connected to the power supply negative pin or the charging negative pin via resistive element 31; the input terminal of the switch module 20 is connected to an external power supply.
[0056] Specifically, the detection pin is connected to the negative power supply pin or the negative charging pin via resistive element 31. After the switching module 20 is turned on, the battery 30 forms a power-on circuit through the detection pin, the switching circuit, the external power supply, and the processor 10. The voltage of the external power supply can be from 3V to 10V, and it can be selected according to the application scenario without limitation.
[0057] like Figure 3 As shown, the detection pin is connected to the negative power supply pin via resistive element 31. After the switching module 20 is connected, the power supply circuit is: external power supply - switching module 20 - processor 10; external power supply - switching module 20 - detection pin - resistive element 31 - negative power supply pin (grounded). The switching module 20 includes a transistor and resistor R2. The connection method of the switching module 20 will not be described again here.
[0058] This embodiment allows for flexible selection of functional pins and coordination with an external power supply, improving adaptability.
[0059] In one embodiment, the detection pin is connected to the power supply positive pin or the charging positive pin via resistive element 31; the output of the switching module 20 is grounded.
[0060] Specifically, the detection pin is connected to the positive power supply pin or the positive charging pin via resistive element 31. After the switching module 20 is turned on, the battery 30 forms a power-on loop through the detection pin, the switching circuit, and the processor 10. The output terminal of the switching module 20 is grounded.
[0061] like Figure 4 As shown, the detection pin is connected to the charging positive pin via resistive element 31. After the switching module 20 is connected, the power supply loop is: power supply positive pin - resistive element 31 - detection pin - output terminal of switching module 20 grounded; the power supply positive pin - resistive element 31 - detection pin - processor 10. The switching module 20 includes a transistor and resistor R2. The connection method of the switching module 20 will not be described again here.
[0062] This embodiment allows for flexible selection of functional pins and coordination with an external power supply, improving adaptability.
[0063] In one embodiment, resistive element 31 includes at least one resistor R1.
[0064] Specifically, the resistive element 31 can take various forms, each with a fixed resistance value. Furthermore, the resistive element 31 can be constructed from resistors, thereby reducing its cost. Preferably, the resistive element 31 includes at least one resistor R1. The resistance value of R1 can range from 1K to 500K. It can be selected based on the application scenario and is not limited thereto.
[0065] In this embodiment, at least one resistor is used to form the resistive element 31, thereby greatly reducing production costs.
[0066] In one embodiment, the smart lock also includes an alarm module;
[0067] The alarm module is connected to the processor 10; it is used to trigger an alarm under the control of the processor 10 when the encrypted value is inconsistent with the pre-stored reference value.
[0068] Specifically, the reference value can be the encrypted value collected by production tools (such as mobile apps) at the time of manufacture. If the resistive component 31 is resistor R1, the switching module 20 includes a transistor and resistor R2, and the connection method is as follows: Figure 3As shown. Therefore, the reference value VR1 = VCC × R1 / (R1 + R2). This reference value can be stored in memory. In other embodiments, the reference value can also be the encrypted value collected at the factory plus an error value. If the difference between the encrypted value and the reference value meets a preset difference threshold, the encrypted value is considered inconsistent with the pre-stored reference value, and the battery 30 is considered unqualified. The processor 10 will generate an alarm signal for the alarm module, causing the alarm module to sound an alarm based on the alarm signal, thereby achieving encryption of the battery 30. The difference threshold can be set according to the usage scenario and is not limited thereto.
[0069] After replacing the battery with a qualified one (battery 30), the reference values can be collected and stored again using production tools, which will not be explained again here.
[0070] The smart lock also includes a memory; reference values and existing built-in computer programs related to the smart lock are stored in this memory. The processor 10 performs various functional applications and data processing by running the existing computer programs stored in the memory. The memory may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory remotely located relative to the processor 10, which can be connected to the terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
[0071] This embodiment enables the rapid detection of replaced batteries 30 and timely notification, reducing the probability of danger. Furthermore, the processor 10 can lock its built-in smart lock program based on alarm signals; that is, the smart lock only functions properly when the encrypted value matches a pre-stored reference value, indicating a qualified battery 30. This prevents security incidents caused by battery 30 quality issues.
[0072] In one embodiment, the alarm module is one or more of a buzzer, a communication module, and an indicator light.
[0073] In this embodiment, different alarm modules are used to provide multiple alarm methods. Furthermore, the alarm signals generated by different alarm modules can also be different. For example, the alarm signal from the communication module can be a voice signal, sent to the user's APP via voice to remind the user. The alarm signal from the buzzer can be a high or low level signal, emitting a buzzing sound to remind the user. The alarm signal from the indicator light can also be a high or low level signal, flashing a specified color (e.g., red) to remind the user. In other embodiments, the alarm module can also be a voice module, etc., and there is no limitation on this.
[0074] This embodiment provides multiple forms of alarms, enabling timely notification to users and improving the user experience.
[0075] The technical features of the above-described embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0076] Those skilled in the art should recognize that the above embodiments are only used to illustrate the present utility model and are not intended to limit the present utility model. Any appropriate changes and variations made to the above embodiments within the scope of the essential spirit of the present utility model shall fall within the scope of protection claimed by the present utility model.
Claims
1. A smart lock with battery encryption, characterized by, The smart lock comprises a processor, a switch module and a battery. The battery comprises a functional pin and at least one detection pin; a resistive element is arranged between the detection pin and any one of the functional pins. The processor is connected with the detection pin of the battery through the switch module, and is configured to connect the detection pin through the switch module to form a power supply loop, and obtain an encrypted value through the detection pin; the encrypted value is related to the resistance of the resistive element.
2. The smart lock with battery encryption of claim 1, wherein, The functional pin comprises a power supply positive pin, a power supply negative pin, a charging positive pin and a charging negative pin.
3. The smart lock with battery encryption of claim 2, wherein, The detection pin is connected with the power supply negative pin or the charging negative pin through the resistive element; an input end of the switch module is connected with an external power supply.
4. The smart lock with battery encryption of claim 2, wherein, The detection pin is connected with the power supply positive pin or the charging positive pin through the resistive element; an output end of the switch module is grounded.
5. The smart lock with battery encryption of claim 1, wherein, The resistive element comprises at least one resistor R1.
6. The smart lock with battery encryption of claim 5, wherein, The resistance of the resistor R1 is 1K to 500K.
7. The smart lock with battery encryption of claim 1, wherein, The switch module comprises a transistor and a resistor R2. A control end of the transistor is connected with the processor; a first end of the transistor is connected with an external power supply or grounded; a second end of the transistor is connected with one end of the resistor R2; the other end of the resistor R2 is connected with the processor and the detection pin respectively.
8. The smart lock with battery encryption of claim 7, wherein, The transistor is one or more combinations of a triode and a field effect transistor.
9. The smart lock with battery encryption of claim 1, wherein, The smart lock further comprises an alarm module. The alarm module is connected with the processor; and is configured to alarm under the control of the processor when the encrypted value is inconsistent with a pre-stored reference value.
10. The smart lock with battery encryption of claim 9, wherein, The alarm module is one or more combinations of a buzzer, a communication module and an indicator light.