CN111432069A - Starting control method and device of terminal equipment and related equipment - Google Patents

Starting control method and device of terminal equipment and related equipment Download PDF

Info

Publication number
CN111432069A
CN111432069A CN202010173426.2A CN202010173426A CN111432069A CN 111432069 A CN111432069 A CN 111432069A CN 202010173426 A CN202010173426 A CN 202010173426A CN 111432069 A CN111432069 A CN 111432069A
Authority
CN
China
Prior art keywords
battery
voltage
temperature
place
detecting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010173426.2A
Other languages
Chinese (zh)
Inventor
裴健学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010173426.2A priority Critical patent/CN111432069A/en
Publication of CN111432069A publication Critical patent/CN111432069A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/24Arrangements for testing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Secondary Cells (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a startup control method and device of terminal equipment, the terminal equipment and a storage medium. The method can comprise the following steps: responding to the starting request, and detecting the voltage of a temperature detection pin of a battery in the terminal equipment; detecting the voltage of a pin according to the temperature of the battery, and detecting whether the battery is in place; and when the battery is detected to be in place, the terminal equipment is started. Because the detection of the temperature detection pin position of the battery is a software behavior, the embodiment of the application detects whether the battery is in place or not by turning off the battery identification position on software, and detects whether the battery is in place or not by changing the temperature detection pin position of the battery into the detection function of detecting whether the battery is in place or not, so that the voltage for detecting whether the battery is in place or not is more accurate, the condition that the electrified rising edge is slowed down can be effectively avoided, and therefore the battery with the capacitor can be compatible with the purpose of detecting the battery without the capacitor, and further the terminal equipment can be ensured to be effectively started.

Description

Starting control method and device of terminal equipment and related equipment
Technical Field
The present application relates to the field of terminal device technologies, and in particular, to a method and an apparatus for controlling a power-on of a terminal device, and a computer-readable storage medium.
Background
With the increasing popularization of smart phones, users have higher and higher requirements for battery capacity, wherein the smart phones can be compatible with different batteries, and further can identify the batteries through BAT-ID (battery identification bits).
In the related art, in designing a battery, in order to prevent a peak value and electrostatic discharge which exceed a stable value instantaneously, a capacitor needs to be added to the BAT-ID, but the addition of the capacitor causes a rise and a fall of a detection level to be slowed down, which causes a BAT-ID identification type error, and thus the startup of a terminal device cannot be well realized, and therefore, how to realize the startup of the terminal device becomes a problem to be solved urgently.
Disclosure of Invention
The present application aims to solve at least one of the technical problems in the related art to some extent.
In a first aspect, an embodiment of the present application provides a method for controlling a terminal device to start up, including the following steps: responding to a starting request, and detecting the voltage of a temperature detection pin of a battery in the terminal equipment; detecting the voltage of a pin according to the temperature of the battery, and detecting whether the battery is in place; and when the battery is detected to be in place, the terminal equipment is started.
In a second aspect, an embodiment of the present application provides a power-on control apparatus for a terminal device, including: the first voltage detection module is used for responding to the starting request and detecting the voltage of a temperature detection pin of a battery in the terminal equipment; the battery on-position detection module is used for detecting the voltage of a pin position according to the temperature of the battery and detecting whether the battery is on position; and the starting control module is used for starting when the battery is detected to be in place.
In a third aspect, an embodiment of the present application provides a terminal device, including: the terminal device comprises a temperature detection pin, a battery identification bit, a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the terminal device startup control method is realized.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the power-on control method of the terminal device according to the embodiment of the first aspect of the present application.
According to the technical scheme of the embodiment of the application, the starting request can be responded, the voltage of the temperature detection pin of the battery in the terminal equipment is detected, then whether the battery is in place or not is detected according to the voltage of the temperature detection pin of the battery, and then the terminal equipment is started when the battery is detected to be in place. Because the detection of the temperature detection pin position of the battery is a software behavior, the embodiment of the application detects whether the battery is in place or not by turning off the battery identification position on software, and detects whether the battery is in place or not by changing the temperature detection pin position of the battery into the detection function of detecting whether the battery is in place or not, so that the voltage for detecting whether the battery is in place or not is more accurate, the condition that the electrified rising edge is slowed down can be effectively avoided, and therefore the battery with the capacitor can be compatible with the purpose of detecting the battery without the capacitor, and further the terminal equipment can be ensured to be effectively started.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a flowchart of a power-on control method of a terminal device according to an embodiment of the present application.
FIG. 2 is a schematic diagram of detected waveforms for a non-capacitive cell and a capacitive cell in accordance with one embodiment of the present application.
Fig. 3 is a flowchart of a power-on control method of a terminal device according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a power-on control apparatus of a terminal device according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a power-on control apparatus of a terminal device according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a startup control method and apparatus for a terminal device, and a storage medium according to embodiments of the present application with reference to the drawings.
Fig. 1 is a flowchart of a power-on control method of a terminal device according to an embodiment of the present application. It should be noted that the power-on control method of the terminal device in the embodiment of the present application can be applied to the power-on control apparatus of the terminal device in the embodiment of the present application, and the apparatus can be configured on the terminal device. In the embodiment of the present application, the terminal device may be a mobile terminal, such as a smart phone, a tablet computer, and the like.
As shown in fig. 1, the power-on control method of the terminal device may include:
and S110, responding to the starting request, and detecting the voltage of a temperature detection pin of a battery in the terminal equipment.
In the embodiment of the application, when a user presses a power-on key in the terminal device or clicks a power-on button in the terminal device, the operating system of the terminal device may receive a power-on request, and at this time, may respond to the power-on request and detect the voltage of the temperature detection pin of the battery in the terminal device after the first detection time. Wherein the temperature detection pin can be understood as BAT-THEM pin. In addition, in this embodiment, the purpose of starting to detect the voltage of the temperature detection pin by delaying the first detection time is to ensure the accuracy of monitoring the voltage of the temperature detection pin with the capacitor, and avoid the inaccuracy of immediately detecting the voltage of the temperature detection pin connected with the capacitor when the power-on request is received.
It should be noted that, sometimes, different batteries are compatible with the same terminal device, so the batteries are identified by the BAT-ID pin. Some batteries are designed to be protected against surge and ESD, and some batteries are designed to be protected against surge and ESD, but some batteries are not designed to be protected against surge and ESD. Therefore, in practical application, some batteries have capacitors on BAT-ID pins and BAT-THEM pins, and some batteries have no capacitors. However, increasing the capacitance causes the detection level to rise and fall, resulting in a battery identification type error. In order to be compatible with a startup scene of a battery with a capacitor on a BAT-ID pin and a BAT-THEM pin and without the capacitor on the BAT-ID pin and the BAT-THEM pin, the battery ID identification process is changed to achieve the purpose of being compatible with the battery with the capacitor and without the capacitor.
That is, if the BAT-ID pin and BAT-thiem pin on the battery have capacitors, the rising and falling edges of the detection level will be slowed, that is, the time for the BAT-ID pin and BAT-thiem pin to reach the target level will be lengthened, so in the embodiment of the present application, for the purpose of being able to be compatible with the capacitor and capacitor-less battery, the voltage of the temperature detection pin (e.g., BAT-thiem pin) of the battery starts to be detected after a certain time (i.e., the first detection time) in response to the power-on request.
It should be noted that, in the embodiment of the present application, the temperature detection pin (e.g., BAT-thiem pin) is used instead to detect whether the battery is in place, and at this time, the BAT-ID pin needs to be turned off in software to detect whether the battery is in place. And because the detection behavior of the temperature detection pin is a software behavior, the detection time can be increased by changing the code of the detection flow of the temperature detection pin, and the BAT-THEM generally does not have a capacitor, and even if the BAT-THEM has a capacitor, the detection time can be increased in a software mode, so that the influence of the power-on rising edge is avoided. So that it can be detected whether the battery is in place or not by BAT-THEM. Therefore, the purpose of starting to detect the voltage of the temperature detection pin of the battery after the first detection time is to ensure that the level of the temperature detection pin can reach the target level after the first detection time so as to ensure that the detection result is accurate and the detection of the battery without the capacitor and the capacitor can be compatible.
And S120, detecting the voltage of the pin according to the temperature of the battery, and detecting whether the battery is in place.
It should be noted that, as shown in fig. 2, when the detection waveform of the battery without a capacitor on the BAT-thiem pin is a standard square wave, and the detection waveform of the battery with a capacitor is a non-standard square wave, if the voltage of the BAT-thiem pin is detected immediately after receiving a power-on request, the detection result is not accurate, and therefore the detection result of whether the battery is in place is not accurate. Therefore, after the power-on request is received, the voltage of the temperature detection pin of the battery needs to be detected after waiting for the first detection time, and when the voltage of the temperature detection pin of the battery is detected, whether the battery is in place can be detected according to the voltage of the temperature detection pin of the battery.
In one embodiment of the present application, an in-place voltage reference range for the battery may be determined, whether the voltage of the temperature detection pin of the battery is within the in-place voltage reference range may be determined, and if the voltage of the temperature detection pin is within the in-place voltage reference range, it may be determined that the battery is in place. Wherein, the battery is in place can be understood as the battery is in the battery groove.
In another embodiment of the present application, the voltage of the pin is detected according to the temperature of the battery, and the specific implementation process of detecting whether the battery is in place may be as follows: detecting whether the heat generated by the temperature-sensitive resistor is within a preset temperature range; the temperature-sensitive resistor is connected with the temperature detection pin, and when the temperature generated by the temperature-sensitive resistor is detected to be within a preset temperature range, the battery is judged to be in place. In the embodiment of the application, the resistance value of the temperature-sensitive resistor can be calculated according to the voltage of the temperature detection pin, then the temperature value corresponding to the resistance value of the temperature-sensitive resistor is determined from the relation curve graph of the preset resistance value and the temperature value, then whether the corresponding temperature value is within the preset temperature range is detected, and if yes, the battery can be judged to be in place; otherwise, the battery is judged not to be in place.
That is, the temperature detection pin can be connected with a temperature sensitive resistor, and whether the battery is in place can be determined by detecting the heat generated by the temperature sensitive resistor. It can be understood that the temperature detection pin is connected with the temperature sensitive resistor, so that when the battery is not in place, the temperature detection pin is not conducted, the resistance of the temperature sensitive resistor is increased, the voltage is large, the generated heat is large, and the temperature exceeds the preset range. When the battery is in place, the temperature detection pin is conducted, the voltage of the temperature-sensitive resistor is not conducted relative to the temperature detection pin, the time is prolonged, the resistance is small, heat is generated in a preset range, the whole circuit is in a safe state, and the start-up is controlled at the moment.
And S130, when the battery is detected to be in place, the terminal equipment is started.
That is to say, when the battery is detected to be in place, the temperature detection pin is turned on, wherein the voltage of the temperature detection pin is smaller than that when the temperature detection pin is not turned on, and further the resistance value of the temperature sensitive resistor is smaller, the heat generated by the temperature sensitive resistor is smaller and within a preset range, which indicates that the whole circuit is in a safe state, and at this time, the terminal equipment can be controlled to be turned on.
According to the startup control method of the terminal equipment, the startup request can be responded, the voltage of the temperature detection pin of the battery in the terminal equipment is detected, then whether the battery is in place or not is detected according to the voltage of the temperature detection pin of the battery, and when the battery is detected to be in place, the terminal equipment is started. Because the detection of the temperature detection pin position of the battery is a software behavior, the embodiment of the application detects whether the battery is in place or not by turning off the battery identification position on software, and detects whether the battery is in place or not by changing the temperature detection pin position of the battery to realize effective startup of the terminal equipment, so that the voltage for detecting whether the battery is in place or not is more accurate, the condition that the electrified rising edge is slowed down can be effectively avoided, the detection of the battery with the capacitor can be compatible with the detection of the battery without the capacitor, and further the terminal equipment can be ensured to be effectively started.
Fig. 3 is a flowchart of a power-on control method of a terminal device according to an embodiment of the present application, and as shown in fig. 3, the power-on control method of the terminal device may include:
s310, responding to the starting request, and detecting the voltage of the temperature detection pin of the battery in the terminal equipment.
In the embodiment of the application, the voltage of the temperature detection pin of the battery in the terminal equipment is detected after the first detection time in response to the starting request.
For example, when a user presses a power-on key in the terminal device or clicks a power-on button in the terminal device, the operating system of the terminal device may receive a power-on request, and may respond to the power-on request at this time, and after 30 seconds, that is, the level of the temperature detection pin may reach a target level, detect the voltage of the temperature detection pin of the battery in the terminal device. Wherein the temperature detection pin can be understood as BAT-THEM pin.
And S320, detecting the voltage of the pin according to the temperature of the battery, and detecting whether the battery is in place.
In one embodiment of the present application, an in-place voltage reference range for the battery may be determined, and then the BAT-THEM may determine whether a voltage of a temperature detection pin of the battery is within the in-place voltage reference range, and determine that the battery is in place if the voltage of the temperature detection pin is within the in-place voltage reference range. Wherein, the battery is in place can be understood as the battery is in the battery groove.
In another embodiment of the present application, the voltage of the pin is detected according to the temperature of the battery, and the specific implementation process of detecting whether the battery is in place may be as follows: detecting whether the heat generated by the temperature-sensitive resistor is within a preset temperature range; the temperature-sensitive resistor is connected with the temperature detection pin, and when the temperature generated by the temperature-sensitive resistor is detected to be within a preset temperature range, the battery is judged to be in place. In the embodiment of the application, the resistance value of the temperature-sensitive resistor can be calculated according to the voltage of the temperature detection pin, then the temperature value corresponding to the resistance value of the temperature-sensitive resistor is determined from the relation curve graph of the preset resistance value and the temperature value, then whether the corresponding temperature value is within the preset temperature range is detected, and if yes, the battery can be judged to be in place; otherwise, the battery is judged not to be in place.
S330, when the battery is detected to be in place, the terminal equipment is started.
And S340, when the startup control flow of the terminal equipment enters the battery identification bit and is controlled by software, detecting the voltage of the battery identification bit of the battery after the second detection time.
In the embodiment of the application, when the battery is detected to be in place and the heat generated by the temperature-sensitive resistor is within the preset temperature range, the operating system of the terminal device can control the terminal device to be in a starting state, wherein when the starting control flow of the terminal device enters the state that the battery identification bit is controlled by software, the voltage of the battery identification bit of the battery is detected after the second detection time. Wherein the battery identification bit can be understood as BAT-ID pin.
In the process that the terminal device enters the power-on state, hardware devices such as a Central Processing Unit (CPU) need a certain reaction time, and after the processes of the hardware devices such as the CPU are completed, the BAT-ID pin can be controlled by software.
It should be noted that, in the embodiment of the present application, when the power-on control flow of the terminal device enters the battery identification bit and is controlled by software, it may be understood that the BAT-ID pin detection function that was turned off before is turned on in the software, that is, the BAT-thom pin is adjusted to be the BAT-ID pin, so that the BAT-ID pin detects the voltage of the battery identification bit of the battery after the second detection time.
That is, when the terminal device is powered on under the control of the terminal device operating system control, and the battery identification bit is controlled by software, if the BAT-ID pin and the BAT-thiem pin on the battery have capacitances, the rising and falling edges of the detection level will be slowed, that is, the time for the BAT-ID pin and the BAT-thiem pin to reach the target level will be lengthened, so that the voltage of the battery identification bit (for example, the BAT-ID pin) of the battery can be detected after a certain time (that is, after the second detection time) for the purpose of being compatible with the capacitive and non-capacitive batteries. Therefore, the purpose of starting to detect the voltage of the battery identification bit of the battery after the second detection time is to ensure that the level of the battery identification bit can reach the target level after the second detection time so as to ensure that the detection result is accurate and compatible with the detection of the battery with or without the capacitor.
And S350, determining the type of the battery according to the voltage of the battery identification bit.
And S360, determining corresponding battery parameters according to the type of the battery.
That is to say, different types of batteries can be matched with different battery parameters, so that after the terminal equipment is started, the management control is performed on the batteries according to the determined battery parameters, and therefore the batteries can be protected, and the service life of the batteries can be prolonged.
And S370, when the battery is not in place, the computer is not started.
In the embodiment of the application, when the BAT-THEM determines that the voltage of the temperature detection pin of the battery is not in the in-place voltage reference range (for example, the temperature detection pin is in a suspended state) according to the in-place voltage reference range of the battery, it is determined that the battery is not in place, and then the battery is not started. The term "battery out of position" means that the battery is not in the battery well or that the battery is in poor contact.
In the embodiment of the application, when the battery is detected to be out of position, the BAT-THEM pin is not conducted, the voltage of the temperature detection pin is larger, and further the resistance value of the temperature-sensitive resistor is larger, the heat generated by the temperature-sensitive resistor is larger and exceeds the preset range, the whole circuit is in an unsafe state, and at the moment, the terminal equipment is not started.
According to the startup control method of the terminal device of the embodiment of the application, the startup request can be responded, the voltage of the temperature detection pin of the battery in the terminal device is detected, then the voltage of the temperature detection pin of the battery is detected according to the temperature of the battery, whether the battery is in place or not is detected, when the battery is detected to be in place, the terminal device is started, when the startup control flow of the terminal device enters the battery identification bit and is controlled by software, the voltage of the battery identification bit of the battery is detected after the second detection time, then the type of the battery is determined according to the voltage of the battery identification bit, then the corresponding battery parameter is determined according to the type of the battery, so that after the terminal device is started, the current source detection time of the battery identification bit is adjusted through the software, the detection time is prolonged, the voltage is detected until the voltage rises to the highest level, and the type identification of the battery with or without the capacitor, the accuracy of identifying the battery type can be effectively improved. Because the detection of the temperature detection pin position of the battery is a software behavior, the embodiment of the application detects whether the battery is in place or not by turning off the battery identification position on software, the battery is detected whether in place or not by changing the temperature detection pin position of the battery, the voltage for detecting whether the battery is in place or not is more accurate, the condition that the electrified rising edge is slowed down can be effectively avoided being influenced by the battery with a capacitor, the detection purpose of the battery with the capacitor and the battery without the capacitor can be compatible, the terminal equipment can be ensured to be effectively started, and meanwhile, when the starting control flow of the terminal equipment enters the battery identification position and is controlled by the software, the battery is protected, so that the service life of the battery is prolonged.
It should be noted that, in the prior art, the power-on control method of the terminal device is as follows: responding to the starting request, detecting whether the battery is in place or not through the hardware function of the BAT-ID, if the battery is in place and the temperature of the battery is within a preset temperature range, starting the terminal equipment, and managing and controlling the battery through the software flow of the BAT-ID in the starting process.
In the design of the battery, in order to prevent the peak value exceeding the stable value instantly and static electricity discharge, a capacitor needs to be added on the BAT-ID, but the increase of the capacitor can lead to the rise and fall of the detection level to be slowed down, and the identification type of the BAT-ID is wrong, so that the prior art cannot identify the battery with the capacitor, and cannot realize the compatibility of the battery with the capacitor and the battery without the capacitor.
In order to solve the related problems in the prior art, the following is proposed: the method comprises the steps of responding to a starting request, in order to be compatible with a battery with a capacitor and a battery without a capacitor, starting to detect the voltage of a temperature detection pin (such as a BAT-THEM pin) of the battery after a period of time (namely a first detection time), so that the level of the temperature detection pin can reach a target level after the first detection time to ensure that a detection result is accurate and the detection of the battery with the capacitor and without the capacitor can be compatible, detecting whether the battery is in place or not according to the voltage of the temperature detection pin of the battery, and starting up the terminal equipment when the battery is detected to be in place, wherein when a starting control flow of the terminal equipment enters a battery identification position and is controlled by software, the BAT-THEM is converted into BAT-ID, and the battery can be managed and controlled by the software flow of the BAT-ID.
Therefore, the battery with the capacitor can be compatible with the battery without the capacitor, the voltage value of the temperature detection pin of the battery in the terminal equipment can be accurately read, the battery with the capacitor is enabled to avoid the influence of the power-on rising edge, the terminal equipment is started, and meanwhile, the battery is protected in the starting process so as to prolong the service life of the battery.
Corresponding to the terminal device boot control methods provided in the foregoing several embodiments, an embodiment of the present application further provides a terminal device boot control apparatus, and since the terminal device boot control apparatus provided in the embodiment of the present application corresponds to the terminal device boot control methods provided in the foregoing several embodiments, the implementation manner of the terminal device boot control method is also applicable to the terminal device boot control apparatus provided in the embodiment, and is not described in detail in this embodiment. Fig. 4 is a schematic structural diagram of a power-on control apparatus of a terminal device according to an embodiment of the present application.
As shown in fig. 4, the power-on control 400 of the terminal device includes: a first voltage detection module 410, a battery presence detection module 420 and a start-up control module 430. Wherein:
the first voltage detection module 410 is configured to detect a voltage of a temperature detection pin of a battery in the terminal device in response to the power-on request. As an example, the first voltage detection module 410 may detect the voltage of a temperature detection pin of a battery in the terminal device after a first detection time.
The battery presence detecting module 420 is configured to detect whether the battery is in place according to a voltage of a pin of the battery temperature detecting module. As an example, the battery presence detection module 420 is specifically configured to: determining an in-place voltage reference range for the battery; judging whether the voltage of the temperature detection pin of the battery is within the on-site voltage reference range; and if the voltage of the temperature detection pin is within the in-place voltage reference range, judging that the battery is in place.
As another example, the battery presence detecting module 420 detects a voltage of a pin according to a temperature of the battery, and a specific implementation process of detecting that the battery is in place may be as follows: detecting whether the heat generated by the temperature-sensitive resistor is within a preset temperature range; the temperature-sensitive resistor is connected with the temperature detection pin; and when the temperature generated by the temperature-sensitive resistor is detected to be within the preset temperature range, determining that the battery is in place.
The startup control module 430 is used for performing startup when the battery is detected to be in place.
In order to increase the service life of the battery, in an embodiment of the present application, as shown in fig. 5, the power-on control device of the terminal device further includes: a second voltage detection module 440, a battery type determination module 450, and a battery parameter determination module 460. The second voltage detection module 440 is configured to detect a voltage of the battery identification bit of the battery after a second detection time when the power-on control flow of the terminal device enters the battery identification bit and is controlled by software; the battery type determining module 450 is configured to determine the type of the battery according to the voltage of the battery identification bit; the battery parameter determining module 460 is configured to determine corresponding battery parameters according to the type of the battery.
According to the startup control device of the terminal equipment, the startup request can be responded, the voltage of the temperature detection pin of the battery in the terminal equipment is detected, then the voltage of the temperature detection pin of the battery is detected according to the temperature of the battery, whether the battery is in place or not is detected, and the terminal equipment is started when the battery is detected to be in place. Because the detection of the temperature detection pin position of the battery is a software behavior, the embodiment of the application detects whether the battery is in place or not by turning off the battery identification position on software, and detects whether the battery is in place or not by changing the temperature detection pin position of the battery into the detection function of detecting whether the battery is in place or not, so that the voltage for detecting whether the battery is in place or not is more accurate, the condition that the electrified rising edge is slowed down can be effectively avoided, and therefore the battery with the capacitor can be compatible with the purpose of detecting the battery without the capacitor, and further the terminal equipment can be ensured to be effectively started.
In order to implement the above embodiment, the present application further provides a terminal device.
Fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present application. As shown in fig. 6, the terminal device 600 may include: the temperature detection pin 610, the battery identification bit 620, the memory 630, the processor 640, and the computer program 650 stored in the memory 630 and capable of running on the processor 640 implement the power-on control method of the terminal device according to any of the above-mentioned embodiments when the processor 640 executes the program.
In order to implement the foregoing embodiments, the present application further provides a computer-readable storage medium, where the computer program is executed by a processor to implement the power-on control method of the terminal device described in any one of the foregoing embodiments. .
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (12)

1. A startup control method of terminal equipment is characterized by comprising the following steps:
responding to a starting request, and detecting the voltage of a temperature detection pin of a battery in the terminal equipment;
detecting the voltage of a pin according to the temperature of the battery, and detecting whether the battery is in place;
and when the battery is detected to be in place, the terminal equipment is started.
2. The method of claim 1, wherein detecting the voltage of a temperature detection pin of a battery in the terminal device comprises:
and detecting the voltage of a temperature detection pin of a battery in the terminal equipment after the first detection time.
3. The method of claim 1, wherein detecting whether the battery is in place by detecting a voltage at a pin based on a temperature of the battery comprises:
determining an in-place voltage reference range for the battery;
judging whether the voltage of the temperature detection pin of the battery is within the on-site voltage reference range;
and if the voltage of the temperature detection pin is within the in-place voltage reference range, judging that the battery is in place.
4. The method of claim 1, wherein detecting the battery presence based on a voltage of a temperature detection pin of the battery comprises:
detecting whether the heat generated by the temperature-sensitive resistor is within a preset temperature range; the temperature-sensitive resistor is connected with the temperature detection pin;
and when the temperature generated by the temperature-sensitive resistor is detected to be within the preset temperature range, determining that the battery is in place.
5. The method according to any one of claims 1 to 4, further comprising:
when a starting-up control flow of the terminal equipment enters a battery identification bit and is controlled by software, detecting the voltage of the battery identification bit of the battery after second detection time;
determining the type of the battery according to the voltage of the battery identification bit;
and determining corresponding battery parameters according to the type of the battery.
6. A startup control device of a terminal device is characterized by comprising:
the first voltage detection module is used for responding to the starting request and detecting the voltage of a temperature detection pin of a battery in the terminal equipment;
the battery on-position detection module is used for detecting the voltage of a pin position according to the temperature of the battery and detecting whether the battery is on position;
and the starting control module is used for starting when the battery is detected to be in place.
7. The apparatus of claim 6, wherein the first voltage detection module is specifically configured to:
and detecting the voltage of a temperature detection pin of a battery in the terminal equipment after the first detection time.
8. The apparatus of claim 6, wherein the battery presence detection module is specifically configured to:
determining an in-place voltage reference range for the battery;
judging whether the voltage of the temperature detection pin of the battery is within the on-site voltage reference range;
and if the voltage of the temperature detection pin is within the in-place voltage reference range, judging that the battery is in place.
9. The apparatus of claim 6, wherein the battery presence detection module is specifically configured to:
detecting whether the heat generated by the temperature-sensitive resistor is within a preset temperature range; the temperature-sensitive resistor is connected with the temperature detection pin;
and when the temperature generated by the temperature-sensitive resistor is detected to be within the preset temperature range, determining that the battery is in place.
10. The apparatus of any one of claims 6 to 9, further comprising:
the second voltage detection module is used for detecting the voltage of the battery identification bit of the battery after second detection time when the startup control flow of the terminal equipment enters the battery identification bit and is controlled by software;
the battery type determining module is used for determining the type of the battery according to the voltage of the battery identification bit;
and the battery parameter determining module is used for determining corresponding battery parameters according to the type of the battery.
11. A terminal device, comprising: temperature detection pin, battery identification bit, memory, processor and computer program stored on the memory and capable of running on the processor, wherein the processor implements the power-on control method of the terminal device according to any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, the computer program, when being executed by a processor, implementing a power-on control method of a terminal device according to any one of claims 1 to 5.
CN202010173426.2A 2020-03-12 2020-03-12 Starting control method and device of terminal equipment and related equipment Pending CN111432069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010173426.2A CN111432069A (en) 2020-03-12 2020-03-12 Starting control method and device of terminal equipment and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010173426.2A CN111432069A (en) 2020-03-12 2020-03-12 Starting control method and device of terminal equipment and related equipment

Publications (1)

Publication Number Publication Date
CN111432069A true CN111432069A (en) 2020-07-17

Family

ID=71547824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010173426.2A Pending CN111432069A (en) 2020-03-12 2020-03-12 Starting control method and device of terminal equipment and related equipment

Country Status (1)

Country Link
CN (1) CN111432069A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102183315A (en) * 2011-02-28 2011-09-14 惠州Tcl移动通信有限公司 Circuit and method for detecting identity (ID) and temperature of battery by using common detection pin
CN204679559U (en) * 2015-04-24 2015-09-30 上海与德通讯技术有限公司 A kind of negative tempperature coefficient thermistor circuit
CN105353317A (en) * 2013-04-09 2016-02-24 青岛海信移动通信技术股份有限公司 Battery type detection method and mobile terminal
WO2017166573A1 (en) * 2016-04-01 2017-10-05 福建联迪商用设备有限公司 Method and apparatus for detecting battery temperature and id
CN109507593A (en) * 2018-12-21 2019-03-22 惠州Tcl移动通信有限公司 Enabled method, relevant apparatus and the storage medium of battery of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102183315A (en) * 2011-02-28 2011-09-14 惠州Tcl移动通信有限公司 Circuit and method for detecting identity (ID) and temperature of battery by using common detection pin
CN105353317A (en) * 2013-04-09 2016-02-24 青岛海信移动通信技术股份有限公司 Battery type detection method and mobile terminal
CN204679559U (en) * 2015-04-24 2015-09-30 上海与德通讯技术有限公司 A kind of negative tempperature coefficient thermistor circuit
WO2017166573A1 (en) * 2016-04-01 2017-10-05 福建联迪商用设备有限公司 Method and apparatus for detecting battery temperature and id
CN109507593A (en) * 2018-12-21 2019-03-22 惠州Tcl移动通信有限公司 Enabled method, relevant apparatus and the storage medium of battery of mobile terminal

Similar Documents

Publication Publication Date Title
KR102069404B1 (en) Apparatuses, systems, and methods for detecting and reacting to exposure of an electronic device to moisture
BR112017011439B1 (en) Load protection method and apparatus
CN111352534B (en) Touch key touch threshold correction method, wire controller, electric appliance and computer readable storage medium
CN112805987B (en) Startup process control method, startup process control device, terminal equipment and computer readable storage medium
US20230228820A1 (en) Battery capacity display method and device, electronic equipment and storage medium
US20090171601A1 (en) Battery detection device and method thereof
CN106814324B (en) Method and device for monitoring the operating state of a battery pack
KR900008610B1 (en) Information process
CN108463797A (en) Prevent from touching the method and device of platen edge maloperation
CN113113960A (en) Short-circuit protection method in charging process and charger
CN117110913A (en) Battery detection circuit, electronic device, and battery detection method
CN109002216B (en) Touch screen repairing method and device and electronic equipment
CN112378331B (en) Electronic device, battery deformation detection method, and readable storage medium
CN111432069A (en) Starting control method and device of terminal equipment and related equipment
CN112783354A (en) Control method, device and equipment of touch device and storage medium
US9632795B2 (en) Electronic device and method for monitoring battery module of the same
CN103546638A (en) Method for no-load recovery of flash memory card and mobile terminal of flash memory card
CN116805497A (en) Auxiliary power supply circuit, electronic device, and method of operating auxiliary power supply circuit
US9368993B2 (en) Method and apparatus for a multiplexed contact between electrical devices
CN107179911B (en) Method and equipment for restarting management engine
US20220209573A1 (en) Auxiliary power management device and electronic system including the same
CN110501554B (en) Detection method and device for installation of memory chip
CN218524856U (en) Chip reset detection circuit and power consumption equipment
CN104569843A (en) Battery management method and device for low-power equipment
CN105634038B (en) Electric signal output and power determination method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200717