Battery, electronic equipment and battery detection processing method
By introducing a voltage generator and a power-on reset circuit into the battery, generating and converting specific voltage signals, the problem of difficulty in identifying original batteries in electronic devices is solved, and safe and reliable battery identification and use are achieved.
Patent Information
- Application Number
- CN202411791860.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-02-18
AI Technical Summary
The prior art is difficult to effectively identify and distinguish between original batteries and non-original batteries used in electronic devices, resulting in safety hazards.
By introducing a voltage generator into the battery, a second voltage of a preset size is generated, and the first reset signal is converted into a second reset signal through the power-on reset circuit of the electronic device to determine whether the battery is an original battery.
The hidden identification of electronic equipment batteries is achieved, ensuring that only original batteries are used and safety accidents are avoided.
Smart Images

Figure CN119481377A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply, and in particular to a battery, an electronic device and a battery detection and processing method. Background Art
[0002] With the rapid development of mobile terminals, especially the explosive growth of electronic devices such as mobile phones and tablet computers, the safety issues of electronic devices have gradually been put on the agenda while these electronic devices fully meet the needs of users in terms of functions. For example, the battery protection issue has become increasingly important.
[0003] Take mobile phones as an example. Many manufacturers will make and sell some imitation batteries. Compared with original batteries, the biggest advantage of these imitation batteries is that they are cheaper. In order to save money, many users usually buy an imitation battery as a spare battery, or buy an imitation battery when the original battery is damaged.
[0004] In order to save costs, most manufacturers of imitation batteries produce imitation batteries of much lower quality than original batteries. Users cannot tell the quality of batteries simply from the appearance of the battery. If the above electronic devices use poor quality non-original batteries, it is very likely to damage the motherboard of the electronic device and even cause safety accidents such as explosion of the electronic device, endangering personal safety.
[0005] Therefore, it is necessary to identify the batteries used in electronic devices to avoid safety accidents caused by the use of non-original batteries in electronic devices. Summary of the invention
[0006] The main technical problem solved by the present invention is how to improve the concealment of detecting original batteries. The present invention provides a battery, an electronic device and a battery detection and processing method.
[0007] According to the first aspect, an embodiment provides a battery, wherein the battery includes a rechargeable power source, and the rechargeable power source is used to supply power to an electronic device, including:
[0008] a voltage generating unit, configured to generate a second voltage of a preset magnitude according to the first voltage of the chargeable and dischargeable power source, and provide the second voltage to the electronic device;
[0009] The electronic device determines whether the battery is an original battery by identifying whether the value of the second voltage is within a preset range, or the electronic device determines whether the battery is an original battery by determining whether the second voltage can be used to convert a first reset signal generated after the electronic device is powered on into a second reset signal; the first reset signal is used to reset the electronic device, and the second reset signal is used for the startup procedure of the electronic device.
[0010] In one embodiment, the voltage generating unit is a low dropout regulator.
[0011] In one embodiment, the voltage generating unit includes a first resistor, a voltage zener diode and a first capacitor; wherein the positive electrode of the chargeable and dischargeable power source is electrically connected to one end of the first resistor, the negative electrode of the voltage zener diode and one end of the first capacitor are both electrically connected to the other end of the first resistor, the positive electrode of the voltage zener diode and the other end of the first capacitor are both grounded, and the other end of the first resistor outputs the second voltage.
[0012] In one embodiment, the battery also includes a second resistor; wherein the output end of the voltage generating unit is electrically connected to a reset pin of the electronic device through the second resistor, a common end point of the second resistor and the reset pin is electrically connected to one end of a second capacitor, the other end of the second capacitor is grounded, and the reset pin is used to output a first reset signal or a second reset signal to the CPU.
[0013] In one embodiment, the second voltage is equal to a preset voltage required to convert the first reset signal into the second reset signal; wherein the first reset signal is a low level and the second reset signal is a high level; or, the first reset signal is a high level and the second reset signal is a low level.
[0014] According to a second aspect, an embodiment provides an electronic device, which can be powered by a battery, the battery can generate a second voltage of a preset magnitude according to its own first voltage, and provide the second voltage to a power-on reset circuit of the electronic device, the electronic device comprising:
[0015] The power-on reset circuit is used to convert a first reset signal generated after the electronic device is powered on into a second reset signal using the second voltage; wherein the first reset signal is used to reset the electronic device, and the second reset signal is used for a startup procedure of the electronic device;
[0016] The CPU is used to determine whether the battery is an original battery by determining whether the power-on reset circuit can use the second voltage to convert a first reset signal generated after the electronic device is powered on into a second reset signal.
[0017] In one embodiment, the second voltage is equal to a preset voltage required to convert the first reset signal into the second reset signal; wherein the first reset signal is a low level and the second reset signal is a high level; or, the first reset signal is a high level and the second reset signal is a low level.
[0018] According to a fourth aspect, an embodiment provides a battery detection processing method, including:
[0019] Connecting the battery to be tested to an electronic device; wherein, if the battery to be tested is an original battery, the battery to be tested can generate a second voltage of a preset magnitude according to its own first voltage, and provide the second voltage to the electronic device;
[0020] The first reset signal generated after the electronic device is powered on is converted into a second reset signal by using the second voltage; wherein the first reset signal is used to reset the electronic device;
[0021] When and only when the second reset signal is obtained by utilizing the second voltage, the electronic device can complete the booting procedure by utilizing the second reset signal; otherwise, the electronic device cannot complete the booting procedure.
[0022] In one embodiment, the step of using the second voltage to convert a first reset signal generated after the electronic device is powered on into a second reset signal includes:
[0023] The power-on reset circuit of the electronic device uses the second voltage to convert a first reset signal generated after the electronic device is powered on into a second reset signal; wherein the power-on reset circuit includes a second resistor located in the battery.
[0024] According to a fourth aspect, an embodiment provides a computer-readable storage medium, wherein the computer-readable storage medium includes a program, wherein the program can be executed by a processor to implement a method as described in any embodiment of the present invention.
[0025] The beneficial effects of this application are:
[0026] 1) The above-mentioned battery includes: a voltage generating unit, which is used to generate a second voltage of a preset magnitude and provide the second voltage to the electronic device; that is, only a battery that can generate a second voltage of a preset magnitude according to the first voltage (VBAT) of the rechargeable power source and can provide the second voltage to the electronic device can be regarded as the original battery mentioned in this application;
[0027] 2) The electronic device includes: the power-on reset circuit, which is used to convert the first reset signal into the second reset signal by using the second voltage; and the CPU, which is used to determine whether the battery is an original battery by determining whether the power-on reset circuit can convert the first reset signal into the second reset signal by using the second voltage; that is, only when the battery connected to the electronic device is an original battery, the battery connected to the electronic device can send the second voltage to the electronic device (such as the CPU), and the electronic device uses the second voltage and the new power-on reset circuit to convert the first reset signal into the second reset signal, and then uses the second reset signal to complete the normal startup procedure;
[0028] 3) The above method includes: connecting the battery to be detected to an electronic device; using a second voltage to convert a first reset signal into a second reset signal; when and only when the second reset signal is obtained using the second voltage, the electronic device can use the second reset signal to complete the startup procedure; otherwise, the electronic device cannot complete the startup procedure, so as to avoid safety accidents caused by the use of non-original batteries in the electronic device; that is, this method determines whether the battery is an original battery by judging whether the electronic device can use the second voltage sent by the battery to be detected to convert the first reset signal generated after the electronic device is powered on into the second reset signal, and ensures that only original batteries can be used in the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of a battery module according to an embodiment;
[0030] Figure 2 is a structural schematic diagram of a voltage generating unit according to an embodiment;
[0031] Figure 3 A schematic diagram of the structure of a power-on reset circuit according to an embodiment;
[0032] Figure 4 A schematic diagram of a module of an electronic device according to an embodiment;
[0033] Figure 5 The figure is a flowchart of a battery detection processing method according to an embodiment. DETAILED DESCRIPTION
[0034] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0035] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0036] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0037] The technical solution of the present application will be described in detail below in conjunction with embodiments.
[0038] This application provides a battery. Please refer to Figure 1 The battery includes a rechargeable power source 100, which is used to supply power to the electronic device, including:
[0039] The voltage generating unit 200 is used to generate a second voltage of a preset magnitude according to the first voltage of the chargeable and dischargeable power source 100, and provide the second voltage to the electronic device.
[0040] It should be noted that the above-mentioned electronic device (such as the central processing unit (CPU) of the electronic device) can determine whether the battery is an original battery by identifying whether the value of the second voltage is within a preset range, or the electronic device determines whether the battery is an original battery by determining whether the second voltage can be used to convert the first reset signal generated after the electronic device is powered on into the second reset signal. The first reset signal is used to reset the electronic device; the second reset signal is used for the startup procedure of the electronic device. In other words, during the power-on process of the electronic device, the first reset signal always resets the circuit of the electronic device until the voltage of the power-on reset circuit reaches a certain amplitude (such as the above-mentioned second voltage) and is then released to restore the freedom of the circuit and perform the preset startup procedure.
[0041] It should be noted that the specific configuration of the rechargeable power source belongs to the prior art in this field.
[0042] In some embodiments, only batteries that can generate a second voltage of a preset magnitude according to the first voltage of the rechargeable power source and can provide the second voltage to the electronic device can be regarded as the original batteries mentioned in this application.
[0043] In some embodiments, the battery may further include a battery chip. The battery chip is used to detect whether the rechargeable power source 100 is supplying power to the electronic device.
[0044] In some embodiments, the voltage generating unit 200 is a low dropout regulator. For example, the input end of the low dropout regulator is electrically connected to the positive electrode of the chargeable and dischargeable power source 100, and the output end of the low dropout regulator outputs the second voltage. A low dropout regulator (LDO) is a voltage regulator whose main function is to stabilize the unstable DC voltage of the power supply input to a fixed and controllable output voltage value.
[0045] It should be noted that, since the low-dropout voltage regulator belongs to the prior art in this field, the specific process of how the low-dropout voltage regulator generates the second voltage will not be described in detail herein.
[0046] For some examples, please refer to Figure 2 The voltage generating unit 200 includes a first resistor R1, a voltage zener diode D1 and a first capacitor C1. The positive electrode VBAT of the chargeable and dischargeable power source 100 is electrically connected to one end of the first resistor R1, the negative electrode of the voltage zener diode D1 and one end of the first capacitor C1 are both electrically connected to the other end of the first resistor R1, the positive electrode of the voltage zener diode D1 and the other end of the first capacitor C1 are both grounded, and the other end of the first resistor R1 outputs a second voltage (such as Figure 2 OUT_TEST). The first resistor R1 is used for current limiting. The first capacitor C1 is a filter capacitor, which is used to stabilize the waveform of the generated second voltage, thereby facilitating detection by an electronic device such as a CPU of the electronic device.
[0047] In some embodiments, the person skilled in the art selects a suitable type of Zener diode D1 to make the second voltage within a preset range. For example, assuming that the nominal stable voltage Vz of a certain type of Zener diode D1 is 3.0V, if the first voltage VBAT of the battery is greater than 3.0V, the portion of the first voltage greater than 3.0V will be released to the ground through the Zener diode D1, that is, the second voltage output from the other end of the first resistor R1 will be lower than 3.0V at this time; if the first voltage VBAT of the battery is less than 3.0V, the second voltage output from the other end of the first resistor R1 is still lower than 3.0V. Among them, the person skilled in the art can determine the preset range and the specific model of the Zener diode D1 according to actual needs. For example, the preset range can be lower than 3.0V. When an electronic device such as a CPU of an electronic device detects that the second voltage is within the preset range, it is determined that the battery is an original battery; otherwise, it is determined that the battery is a non-original battery.
[0048] In some embodiments, if the battery is determined to be a non-original battery, the battery stops supplying power to the electronic device or the use of the electronic device is restricted, such as failing to connect to the network normally after being turned on, the electronic device enters shutdown or flight mode and / or sounds an alarm.
[0049] For some examples, please refer to Figure 3, the battery also includes a second resistor R2. Wherein, the output end of the voltage generating unit 200 is electrically connected to the reset pin NRST of the electronic device through the second resistor R2, the common endpoint of the second resistor R2 and the reset pin is electrically connected to one end of the second capacitor C2, the other end of the second capacitor C2 is grounded, and the reset pin is used to output the first reset signal or the second reset signal to the CPU. In other words, the application provides a new power-on reset circuit, which includes a second resistor R2 located in the battery, a second capacitor C2 located in the electronic device or the battery, and a reset pin located in the electronic device. The original power-on reset circuit on the electronic device can be replaced by the new power-on reset circuit. It can be understood that the second resistor R2 serves as a pull-up resistor.
[0050] In some embodiments, the second resistor R2 and the second capacitor C2 may both belong to the electronic device, that is, the electronic device may further include the second resistor R2 and the second capacitor C2. That is, the power-on reset circuit of the present application includes the second resistor R2 located in the electronic device, the second capacitor C2 located in the electronic device, and the reset pin located in the electronic device. For example, when the reset pin outputs the first reset signal such as a low level to the CPU, the circuit of the electronic device is always in a reset state; when the reset pin outputs the second reset signal such as a high level to the CPU, the circuit of the electronic device can enter a normal working state such as a boot program. That is to say, the circuit is reset by the first reset signal until the voltage of the power-on reset circuit reaches a certain amplitude such as the second voltage mentioned above, and the circuit is released to restore the freedom of the circuit.
[0051] In some embodiments, the second voltage is equal to a preset voltage required to transform the first reset signal into the second reset signal, wherein the first reset signal is at a low level and the second reset signal is at a high level; or, the first reset signal is at a high level and the second reset signal is at a low level.
[0052] It can be seen that in some embodiments, the battery provided in the present application can generate a second voltage of a preset magnitude according to the first voltage VBAT of the rechargeable power source 100 and can provide the second voltage to the electronic device. In addition, only batteries that can generate a second voltage of a preset magnitude according to the first voltage VBAT of the rechargeable power source 100 and can provide the second voltage to the electronic device can be regarded as the original battery mentioned in the present application.
[0053] It can be seen that in some embodiments, only when the battery connected to the electronic device is an original battery, can the battery connected to the electronic device send the second voltage to the electronic device such as the CPU, and the electronic device uses the second voltage and converts the first reset signal into the second reset signal through the above-mentioned new power-on reset circuit, and then uses the second reset signal to complete the normal startup procedure; otherwise, the CPU of the electronic device cannot receive the reset signal that meets the requirements, and thus cannot complete the startup procedure.
[0054] The above is some description about a battery. Figure 4 In some embodiments of the present application, an electronic device is also disclosed. The electronic device can be powered by a battery. The battery can generate a second voltage of a preset magnitude according to its own first voltage, and provide the second voltage to a power-on reset circuit 300 of the electronic device. The electronic device includes:
[0055] The power-on reset circuit 300 is used to convert the first reset signal generated after the electronic device is powered on into a second reset signal using the second voltage; wherein the first reset signal is used for resetting the electronic device, and the second reset signal is used for the startup procedure of the electronic device;
[0056] CPU (such as Figure 4 400), which is used to determine whether the battery is an original battery by determining whether the power-on reset circuit 300 can use the second voltage to convert the first reset signal generated after the electronic device is powered on into a second reset signal.
[0057] It is understandable that during the power-on process of the electronic device, the first reset signal always resets the circuit of the electronic device until the voltage reaches a certain amplitude such as the second voltage, and then is released to restore the freedom of the circuit and perform the preset power-on procedure.
[0058] In some embodiments, the second voltage is generated by a voltage generating unit of the battery. Since the voltage generating unit has been discussed above, it will not be described again here.
[0059] In some embodiments, the second voltage is equal to a preset voltage required to convert the first reset signal into the second reset signal; wherein the first reset signal is a low level and the second reset signal is a high level; or, the first reset signal is a high level and the second reset signal is a low level.
[0060] In some embodiments, the electronic device may be a mobile terminal such as a mobile phone, a tablet computer, or a smart watch.
[0061] In some embodiments, the electronic device may also be an electronic product other than a mobile terminal.
[0062] For some examples, please refer to Figure 3, the battery also includes a second resistor R2; wherein the output end of the voltage generating unit is electrically connected to the reset pin NRST of the electronic device through the second resistor R2, the common endpoint of the second resistor R2 and the reset pin is electrically connected to one end of the second capacitor C2 of the electronic device, the other end of the second capacitor C2 is grounded, and the reset pin is used to output a first reset signal or a second reset signal to the CPU. In other words, the present application provides a new power-on reset circuit, which includes a second resistor R2 located in the battery, a second capacitor C2 located in the electronic device or the battery, and a reset pin located in the electronic device. The original power-on reset circuit on the electronic device can be replaced by the new power-on reset circuit. It can be understood that the second resistor R2 acts as a pull-up resistor.
[0063] In some embodiments, the second resistor R2 and the second capacitor C2 may both belong to the electronic device, that is, the electronic device may further include the second resistor R2 and the second capacitor C2. That is to say, the power-on reset circuit of the present application includes the second resistor R2 located in the electronic device, the second capacitor C2 located in the electronic device, and the reset pin located in the electronic device. For example, when the reset pin outputs the first reset signal such as a low level to the CPU, the circuit of the electronic device is always in a reset state; when the reset pin outputs the second reset signal such as a high level to the CPU, the circuit of the electronic device can enter a normal working state such as a boot program. That is to say, the circuit is reset by the first reset signal until the voltage reaches a certain amplitude such as the second voltage mentioned above, and the circuit is released to restore the freedom of the circuit.
[0064] It can be seen that in some embodiments, the present application adjusts the power-on reset circuit of the electronic device, and then the new power-on reset circuit can detect whether the battery connected to the electronic device is an original battery, that is, only when the battery connected to the electronic device is an original battery, the battery connected to the electronic device can send the second voltage to the electronic device such as the CPU, and the electronic device uses the second voltage and converts the first reset signal into the second reset signal through the above-mentioned new power-on reset circuit, and then uses the second reset signal to complete the normal startup procedure; otherwise, the CPU of the electronic device cannot receive the reset signal that meets the requirements, and thus cannot start up normally.
[0065] The above is some description about an electronic device. Figure 5 In some embodiments of the present application, a battery detection processing method is also disclosed, including:
[0066] Step S100: Powering up the electronic device using the battery to be tested;
[0067] Step S200: transforming the first reset signal into a second reset signal using a second voltage;
[0068] Step S300: When and only when the second reset signal is obtained by utilizing the second voltage, the electronic device can complete the booting procedure by utilizing the second reset signal.
[0069] Specifically, step S100: connect the battery to be detected to the electronic device; wherein, if the battery to be detected is an original battery, the battery to be detected can generate a second voltage of a preset magnitude according to its own first voltage, and provide the second voltage to the electronic device.
[0070] Specifically, step S200: when the electronic device receives a second voltage, the first reset signal generated after the electronic device is powered on is converted into a second reset signal using the second voltage; wherein the first reset signal is used to reset the electronic device; and the second reset signal is used for the startup procedure of the electronic device.
[0071] Specifically, step S300: if and only if the second reset signal is obtained by using the second voltage, the electronic device can use the second reset signal to complete the boot procedure; otherwise, the electronic device cannot complete the boot procedure. That is to say, only if the electronic device can use the second voltage to convert the first reset signal generated after the electronic device is powered on into the second reset signal, the battery to be detected is determined to be an original battery.
[0072] It is understandable that during the power-on process of the electronic device, the first reset signal always resets the circuit of the electronic device until the voltage of the power-on reset circuit reaches a certain amplitude such as the second voltage mentioned above, and then is released to restore the freedom of the circuit and perform the preset startup procedure.
[0073] It is understandable that if the electronic device does not receive the second voltage or cannot use the second voltage to transform the first reset signal into the second reset signal after the battery to be detected is connected to the electronic device, it is determined that the battery is a non-original battery.
[0074] In some embodiments, if the battery is determined to be a non-original battery, the battery stops supplying power to the electronic device or the use of the electronic device is restricted, such as failing to connect to the network normally after being turned on, the electronic device enters shutdown or flight mode and / or sounds an alarm.
[0075] In some embodiments, step S200: using the second voltage to convert a first reset signal generated after the electronic device is powered on into a second reset signal includes:
[0076] The power-on reset circuit of the electronic device converts a first reset signal generated after the electronic device is powered on into a second reset signal using the second voltage;
[0077] In some embodiments, the power-on reset circuit includes a second resistor R2 located in the battery, a second capacitor C2 located in the electronic device or the battery, and a reset pin located in the electronic device.
[0078] It should be noted that, since the power-on reset circuit of the present application has been discussed above, it will not be described again here.
[0079] It is understandable that those skilled in the art may also use other forms of power-on reset circuits to convert the first reset signal into the second reset signal.
[0080] In some embodiments, the second voltage is equal to a preset voltage required to convert the first reset signal into the second reset signal. It is understandable that the second voltage may be the same as the pull-up voltage required by the reset pin of the CPU.
[0081] It can be seen that in some embodiments, the battery detection processing method of the present application determines whether the battery is an original battery by judging whether the electronic device can use the second voltage sent by the battery to be detected to convert the first reset signal generated after the electronic device is powered on into a second reset signal, that is, only when the battery connected to the electronic device is an original battery, the battery connected to the electronic device can provide the second voltage to the electronic device such as the CPU, and the electronic device can use the second voltage and convert the first reset signal into the second reset signal through the above-mentioned new power-on reset circuit, and then use the second reset signal to complete the normal startup procedure and determine that the battery connected to the electronic device is an original battery; otherwise, the CPU of the electronic device cannot receive the reset signal that meets the requirements, and thus cannot start normally to avoid safety accidents, etc. and ensure that the electronic device can only use original batteries, and determine that the battery connected to the electronic device is a non-original battery. In addition, it can also be seen that the battery detection processing method of the present application is relatively concealed and has high protection performance.
[0082] Some embodiments of the present application further disclose a computer-readable storage medium, including a program, which can be executed by a processor to implement a method as described in any embodiment of the present invention.
[0083] This document is described with reference to various exemplary embodiments. However, those skilled in the art will recognize that changes and modifications may be made to the exemplary embodiments without departing from the scope of this document. For example, various operating steps and components for performing the operating steps may be implemented in different ways depending on the specific application or considering any number of cost functions associated with the operation of the system. For example, one or more steps may be deleted, modified, or combined with other steps.
[0084] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. In addition, as understood by those skilled in the art, the principles of this article can be reflected in a computer program product on a computer-readable storage medium, which is pre-installed with a computer-readable program code. Any tangible, non-temporary computer-readable storage medium can be used, including magnetic storage devices hard disks, floppy disks, etc., optical storage devices CD to ROM, DVD, Blu Ray disks, etc., flash memory and / or the like. These computer program instructions can be loaded onto a general-purpose computer, a special-purpose computer or other programmable data processing device to form a machine, so that these instructions executed on a computer or other programmable data processing device can generate a device that implements a specified function. These computer program instructions can also be stored in a computer-readable memory, which can instruct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory can form a manufactured product, including an implementation device that implements a specified function. Computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on a computer or other programmable device to generate a computer-implemented process, so that the instructions executed on a computer or other programmable device can provide steps for implementing a specified function.
[0085] Although the principles of this invention have been shown in various embodiments, many modifications of structures, arrangements, proportions, elements, materials and components particularly suitable for specific environments and operational requirements can be used without departing from the principles and scope of this invention. The above modifications and other changes or amendments will be included in the scope of this invention.
[0086] The foregoing specific description has been described with reference to various embodiments. However, those skilled in the art will recognize that various modifications and changes can be made without departing from the scope of the present disclosure. Therefore, the consideration of the present disclosure will be illustrative rather than restrictive, and all these modifications will be included in its scope. Similarly, the advantages, other advantages and solutions to the problems of various embodiments have been described above. However, the benefits, advantages, solutions to the problems and any elements that can produce these, or make them more clear, should not be interpreted as critical, necessary or necessary. The term "include" and any other variants used in this article are all non-exclusive inclusions, so that the process, method, article or device including the list of elements not only includes these elements, but also includes other elements that are not explicitly listed or do not belong to the process, method, system, article or device. In addition, the term "coupled" and any other variants used in this article refer to physical connections, electrical connections, magnetic connections, optical connections, communication connections, functional connections and / or any other connections.
[0087] Those skilled in the art will appreciate that many changes may be made to the details of the above-described embodiments without departing from the basic principles of the invention. Therefore, the scope of the present invention should be determined solely by the claims.
Claims
1. A battery, comprising a rechargeable power source, the rechargeable power source being used to supply power to an electronic device, characterized in that: include: a voltage generating unit, configured to generate a second voltage of a preset magnitude according to the first voltage of the chargeable and dischargeable power source, and provide the second voltage to the electronic device; The electronic device determines whether the battery is an original battery by identifying whether the value of the second voltage is within a preset range, or the electronic device determines whether the battery is an original battery by determining whether the second voltage can be used to convert a first reset signal generated after the electronic device is powered on into a second reset signal; the first reset signal is used to reset the electronic device, and the second reset signal is used for the startup procedure of the electronic device.
2. The battery according to claim 1, characterized in that The voltage generating unit is a low dropout regulator.
3. The battery according to claim 1, characterized in that The voltage generating unit includes a first resistor, a voltage stabilizing diode and a first capacitor; Among them, the positive electrode of the chargeable and dischargeable power supply is electrically connected to one end of the first resistor, the negative electrode of the voltage-stabilizing diode and one end of the first capacitor are electrically connected to the other end of the first resistor, the positive electrode of the voltage-stabilizing diode and the other end of the first capacitor are grounded, and the other end of the first resistor outputs the second voltage.
4. The battery according to claim 2 or 3, characterized in that The battery also includes a second resistor; Among them, the output end of the voltage generating unit is electrically connected to the reset pin of the electronic device through the second resistor, the common end point of the second resistor and the reset pin is electrically connected to one end of the second capacitor, the other end of the second capacitor is grounded, and the reset pin is used to output a first reset signal or a second reset signal to the CPU.
5. The battery according to claim 1, characterized in that The second voltage is equal to a preset voltage required to transform the first reset signal into the second reset signal; The first reset signal is at a low level, and the second reset signal is at a high level; or the first reset signal is at a high level, and the second reset signal is at a low level.
6. An electronic device capable of being powered by a battery, characterized in that: The battery is capable of generating a second voltage of a preset magnitude according to its own first voltage, and providing the second voltage to a power-on reset circuit of the electronic device, the electronic device comprising: The power-on reset circuit is used to convert a first reset signal generated after the electronic device is powered on into a second reset signal using the second voltage; wherein the first reset signal is used to reset the electronic device, and the second reset signal is used for a startup procedure of the electronic device; The CPU is used to determine whether the battery is an original battery by determining whether the power-on reset circuit can use the second voltage to convert a first reset signal generated after the electronic device is powered on into a second reset signal.
7. The electronic device according to claim 6, characterized in that: The second voltage is equal to a preset voltage required to transform the first reset signal into the second reset signal; The first reset signal is at a low level, and the second reset signal is at a high level; or the first reset signal is at a high level, and the second reset signal is at a low level.
8. A battery detection processing method, characterized in that: include: Connecting the battery to be tested to an electronic device; wherein, if the battery to be tested is an original battery, the battery to be tested can generate a second voltage of a preset magnitude according to its own first voltage, and provide the second voltage to the electronic device; The first reset signal generated after the electronic device is powered on is converted into a second reset signal by using the second voltage; wherein the first reset signal is used to reset the electronic device; When and only when the second reset signal is obtained by utilizing the second voltage, the electronic device can complete the booting procedure by utilizing the second reset signal; otherwise, the electronic device cannot complete the booting procedure.
9. The method according to claim 8, characterized in that The method of using the second voltage to convert the first reset signal generated after the electronic device is powered on into the second reset signal includes: The power-on reset circuit of the electronic device uses the second voltage to convert a first reset signal generated after the electronic device is powered on into a second reset signal; wherein the power-on reset circuit includes a second resistor located in the battery.
10. A computer-readable storage medium, characterized in that: The method comprises a program which can be executed by a processor to implement the method according to any one of claims 8 to 9.