Charging control method and device, power supply control method and device, medium and electronic equipment
By detecting the connector port temperature and sending a shutdown command to the charger, the charger output voltage is reduced, and the problem of burn-in by the connector port is solved, and the anti-burn MOS switch is removed on the side of the charged device is realized, reducing hardware costs and ensuring safe charging.
Patent Information
- Application Number
- CN202410116128.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-26
- Publication Date
- 2025-07-29
AI Technical Summary
In the prior art, when the connector of the charger and the charged device short-circuit the foreign object causing the port temperature to rise, it is necessary to install an anti-burn MOS switch on the side of the charged device, which increases hardware cost and may cause the connector port to burn.
By detecting the connector port temperature, when the temperature is higher than the first temperature, a shutdown command is sent to the charger to reduce the charger output voltage to a voltage that will not cause the port to burn, avoid setting up an anti-burn MOS switch on the side of the charged device, and using different charging type identification and transmission methods to ensure that the command is effectively sent.
Effectively prevent the connector port from burning, reduce the hardware cost of the charged device, and ensure the safe output voltage of the charger at different temperatures and charging types to avoid port temperature rise.
Smart Images

Figure CN120389458A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of charging technology, and particularly to a charging control method, a power supply control method, a device, a medium, and an electronic device. Background Art
[0002] In the related art, when a device to be charged needs to be charged, a charger is connected to the device to be charged through a connector to charge the device to be charged. During the charging process, if there is a short-circuit foreign object at the port of the connector, it will induce the port temperature to rise. If it is detected that the temperature of the connector port is overheated (for example, the temperature exceeds 70 degrees Celsius), the anti-burning MOS switch in the device to be charged will be turned off, and the hardware path between the charger and the device to be charged will be cut off. At this time, the charger will automatically enter the overcurrent protection state, and the charger will enter the hiccup state. In this hiccup state, the temperature of the connector port will not continue to rise, thus playing a role in protecting the port. However, this anti-burning method will increase the hardware cost of the device to be charged. Summary of the Invention
[0003] To overcome the problems in the related art, the present disclosure provides a charging control method, a power supply control method, a device, a medium, and an electronic device.
[0004] According to a first aspect of an embodiment of the present disclosure, a charging control method is provided, including: obtaining the port temperature of a connector connecting a charger and a device to be charged; if the port temperature is higher than a first temperature, sending a shutdown instruction to the charger, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector to burn out.
[0005] Optionally, the charging control method further includes:
[0006] counting the number of times the shutdown instruction is sent;
[0007] determining the sending period of the shutdown instruction based on the count.
[0008] Optionally, the determining the sending period of the shutdown instruction based on the count includes:
[0009] if the count is less than or equal to a first count value, determining that the sending period of the shutdown instruction is a first period;
[0010] if the count is greater than the first count value, determining that the sending period of the shutdown instruction is a second period, where the second period is greater than the first period.
[0011] Optionally, if the port temperature is higher than the first temperature, sending a shutdown instruction to the charger includes:
[0012] If the port temperature is higher than the first temperature, obtain the output voltage of the charger;
[0013] If the output voltage of the charger is higher than the first voltage, send the shutdown instruction to the charger.
[0014] Optionally, the charging control method further includes:
[0015] Identify the charging type;
[0016] Based on the identified charging type, determine the sending manner of the shutdown instruction.
[0017] Optionally, the determining the sending manner of the shutdown instruction based on the identified charging type includes:
[0018] If the identified charging type is the programmable power supply protocol, determine to send the shutdown instruction in the manner of an unstructured vendor - defined message.
[0019] Optionally, the charging control method further includes:
[0020] After sending the shutdown instruction in the manner of the unstructured vendor - defined message, obtain the output voltage of the charger;
[0021] If the output voltage of the charger does not drop below the first voltage, continue to send the shutdown instruction in the manner of differential data transmission.
[0022] Optionally, the determining the sending manner of the shutdown instruction based on the identified charging type includes:
[0023] If the identified charging type is a charging type other than the programmable power supply protocol, determine to send the shutdown instruction in the manner of differential data transmission.
[0024] According to a second aspect of the embodiments of the present disclosure, a power supply control method is provided, including: receiving a shutdown instruction sent by a device to be charged, where the shutdown instruction is used to instruct a charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is an upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn; based on the shutdown instruction, reducing the output voltage of the charger to be lower than the first voltage.
[0025] According to a third aspect of the embodiments of the present disclosure, a charging control device is provided, including: an acquisition module, configured to acquire the port temperature of a connector connecting a charger and a device to be charged; a sending module, configured to send a shutdown instruction to the charger if the port temperature is higher than a first temperature, where the first temperature is a lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is an upper limit voltage that will not cause the port of the connector to burn out.
[0026] According to a fourth aspect of the embodiments of the present disclosure, a power supply control device is provided, including: a receiving module, configured to receive a shutdown instruction sent by a device to be charged, where the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is an upper limit voltage that will not cause the port of a connector connecting the charger and the device to be charged to burn out; a shutdown module, configured to, based on the shutdown instruction, reduce the output voltage of the charger to be lower than the first voltage.
[0027] According to a fifth aspect of the embodiments of the present disclosure, an electronic device is provided, including:
[0028] a processor;
[0029] a memory for storing instructions executable by the processor;
[0030] wherein the processor is configured to implement the steps of the method according to any one of the first aspect and the second aspect of the present disclosure when executing the instructions executable by the processor.
[0031] According to a sixth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the charging control method provided in the first aspect of the present disclosure or the steps of the power supply control method provided in the second aspect of the present disclosure are implemented.
[0032] By adopting the above technical solution, when the port temperature of the connector is higher than the first temperature, a shutdown instruction is sent to the charger. Herein, the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than the first voltage. The first voltage is the upper limit voltage that will not cause the port of the connector to burn out. In this way, on the one hand, it is not necessary to set an anti-burning MOS switch on the side of the device being charged to prevent the connector port from burning out. Therefore, the anti-burning MOS switch on the hardware side of the device being charged can be removed, reducing the hardware cost of the device being charged. On the other hand, when the port temperature of the connector is higher than the first temperature, by sending a shutdown instruction to the charger, the output voltage of the charger can be reduced to be lower than the upper limit voltage that causes the connector port to burn out, thereby effectively achieving the purpose of suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0033] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings
[0034] The accompanying drawings herein are incorporated into the specification and form a part of the specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0035] Figure 1 is a flowchart of a charging control method shown according to an exemplary embodiment.
[0036] Figure 2 is a flowchart of another charging control method shown according to an exemplary embodiment.
[0037] Figure 3 is a flowchart of a power supply control method according to an embodiment of the present disclosure.
[0038] Figure 4 is a schematic block diagram of a charging control device according to an embodiment of the present disclosure.
[0039] Figure 5 is a schematic block diagram of a power supply control device according to an embodiment of the present disclosure.
[0040] Figure 6 is a block diagram of a device for charging control shown according to an exemplary embodiment. Detailed Description of the Embodiments
[0041] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0042] It should be noted that all actions of obtaining signals, information, or data in the present disclosure are carried out on the premise of complying with the corresponding data protection regulations and policies of the country where it is located and with the authorization given by the owner of the corresponding device.
[0043] Figure 1 is a flowchart of a charging control method shown according to an exemplary embodiment. The charging control method can be applied to a device to be charged, such as a mobile phone, a tablet computer, etc. The charging control method can also be applied to various fast charging scenarios, for example, a fast charging scenario based on the Power Delivery (PD) protocol. As Figure 1 shown, the charging control method according to an embodiment of the present disclosure includes the following steps S11 to S12.
[0044] In step S11, obtain the port temperature of the connector connecting the charger and the device to be charged.
[0045] The port temperature of the connector can be detected by various temperature sensors, such as a Negative Temperature Coefficient (NTC) resistor, etc.
[0046] In step S12, if the port temperature is higher than a first temperature, send a shutdown instruction to the charger, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector to burn out.
[0047] For example, the first temperature can be 70 degrees Celsius or other preset temperatures. The first voltage can be 2.5V, 0V, or other values. In addition, there are many reasons why the port temperature of the connector is higher than the first temperature. For example, a serious short circuit occurs at the port of the connector, and the serious short circuit may be caused by foreign objects or corrosion at the port.
[0048] By adopting the above technical solution, when the port temperature of the connector is higher than the first temperature, a shutdown instruction is sent to the charger, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than the first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector to burn out. In this way, on the one hand, it is not necessary to set a burn-proof MOS switch on the side of the device to be charged to prevent the connector port from burning out, so the hardware burn-proof MOS switch can be removed on the side of the device to be charged, reducing the hardware cost of the device to be charged. On the other hand, when the port temperature of the connector is higher than the first temperature, by sending a shutdown instruction to the charger, the output voltage of the charger can be reduced to be lower than the upper limit voltage that causes the connector port to burn out, thereby effectively achieving the purpose of suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0049] In some embodiments, the charging control method according to the embodiments of the present disclosure may further include: counting the number of times the shutdown instruction is sent; determining the sending period of the shutdown instruction based on the count. For example, if the count is less than or equal to the first count value, it is determined that the sending period of the shutdown instruction is the first period; if the count is greater than the first count value, it is determined that the sending period of the shutdown instruction is the second period, where the second period is greater than the first period. The first count value, the first period, and the second period can all be set according to the actual application scenario. For example, the first count value can be set to 3, the first period can be set to 100 ms, the second period can be set to 30 s, and so on.
[0050] By adopting the above technical solution, on the one hand, the shutdown instruction can be sent to the charger periodically. On the other hand, at the initial stage of sending the shutdown instruction, the shutdown instruction can be sent to the charger at a high frequency to ensure that the charger can receive the shutdown instruction, avoiding the output voltage of the charger not being reduced to be lower than the first voltage due to abnormal sending of the shutdown instruction, and then being able to suppress the temperature rise of the connector port as soon as possible and effectively and prevent the connector port from burning out. In the middle and late stages of sending the shutdown instruction, since the shutdown instruction has been successfully sent to the charger, the sending of the shutdown instruction is no longer urgent. At this time, by extending the sending period of the shutdown instruction, energy can be effectively saved.
[0051] In some embodiments, in step S12, if the port temperature is higher than the first temperature, sending the shutdown instruction to the charger includes:
[0052] If the port temperature is higher than the first temperature, obtain the output voltage of the charger;
[0053] If the output voltage of the charger is higher than the first voltage, send the shutdown instruction to the charger.
[0054] That is, whether to send the shutdown instruction is related not only to the port temperature but also to the output voltage of the charger. When the output voltage of the charger is lower than the first voltage, there is no need to send the shutdown instruction to the charger.
[0055] By adopting the above technical solution, the shutdown instruction will be sent to the charger when the port temperature is higher than the first temperature and the output voltage of the charger is higher than the first voltage, and the shutdown instruction will not be sent to the charger in other cases, which can ensure the effective charging of the device being charged.
[0056] In some embodiments, the charging control method according to the embodiments of the present disclosure may further include: identifying the charging type; and determining the sending manner of the shutdown instruction based on the identified charging type. That is, different charging types will adopt different ways to send the shutdown instruction.
[0057] For example, if the identified charging type is Programmable Power Supply (PPS), it is determined to send the shutdown instruction in the form of an Unstructed Vendor Defined Message (UVDM). With the help of UVDM, users can customize various types of instructions. In addition, for the scenario where the connector port is not corroded or damaged, the device being charged can correctly identify the charging type, for example, it can correctly identify that the PPS charging type is currently used to charge the device being charged.
[0058] In addition, when the identified charging type is the PPS charging type, the shutdown instruction can be first sent to the charger in the form of UVDM, and after sending the shutdown instruction, the output voltage of the charger is obtained. If the output voltage of the charger does not drop below the first voltage, the shutdown instruction is continuously sent to the charger again in the form of UVDM. If the output voltage of the charger still does not drop below the first voltage after continuously sending the shutdown instruction to the charger N times (for example, 3 times) in the form of UVDM, the shutdown instruction can be sent to the charger by converting to the differential data transmission method. In this way, it is ensured that the shutdown instruction can be successfully sent to the charger. The differential data transmission method will be described in detail below.
[0059] For another example, if the identified charging type is a charging type other than the programmable power supply protocol, it is determined to send the shutdown instruction in a differential data transmission manner. For scenarios where the connector port is corroded or has foreign objects, the device being charged cannot correctly identify the PPS charging type, and the shutdown instruction is sent in a differential data transmission manner. The differential data transmission method can be to transmit the shutdown instruction through the Data+ pin and the Data- pin of the connector port. For example, N (such as 5) consecutive square wave signals can be generated on the Data+ pin and the Data- pin as the shutdown instruction.
[0060] By adopting the above technical solution, it is possible to send the shutdown instruction in different ways under different charging types, ensuring that the shutdown instruction can be successfully sent to the charger, thereby effectively suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0061] Figure 2 It is a flowchart of another charging control method shown according to an exemplary embodiment.
[0062] As Figure 2 shown, first, obtain the port temperature of the connector connecting the charger and the device being charged.
[0063] Then, determine whether the port temperature of the connector is higher than a first temperature, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out.
[0064] Then, if the port temperature of the connector is higher than the first temperature, determine whether the charging type is the PPS charging type.
[0065] Then, if the charging type is the PPS charging type, determine whether the output voltage of the charger is higher than a first voltage, where the first voltage is the upper limit voltage that will not cause the port of the connector to burn out. If the output voltage of the charger is higher than the first voltage, send the shutdown instruction to the charger in the UVDM manner and count the number of times the shutdown instruction is sent. Then, determine whether the count is less than a first count value. If the count is less than the first count value, determine the transmission period of the shutdown instruction as a first period (such as 200 ms). If the count is greater than the first count value, determine the transmission period of the shutdown instruction as a second period (such as 30 s), where the second period is greater than the first period. Then, determine whether the port temperature is lower than a second temperature (such as 60 degrees Celsius), where the second temperature is the upper limit temperature at which normal charging can be restored. If the port temperature is lower than the second temperature, the output voltage of the charger returns to normal and the device being charged resumes normal charging. If the port temperature is higher than the second temperature, return to the step of determining whether the output voltage of the charger is higher than the first voltage, or it is also possible to return to the step of determining whether the charging type is the PPS charging type.
[0066] In addition, if the charging type is not the PPS charging type, determine whether the output voltage of the charger is higher than a first voltage, where the first voltage is the upper limit voltage that will not cause the port of the connector to burn out. If the output voltage of the charger is higher than the first voltage, send a shutdown instruction to the charger in the form of differential data transmission and count the number of times the shutdown instruction is sent. Then, determine whether the count is less than a first count value. If the count is less than the first count value, determine the transmission period of the shutdown instruction as a third period (e.g., 100 ms). If the count is greater than the first count value, determine the transmission period of the shutdown instruction as a fourth period (e.g., 30 s), where the fourth period is greater than the third period. In addition, the first period may be greater than, equal to, or less than the third period, and the second period may be greater than, equal to, or less than the fourth period. Then, determine whether the port temperature is lower than a second temperature (e.g., 60 degrees Celsius), where the second temperature is the upper limit temperature at which normal charging can be restored. If the port temperature is lower than the second temperature, the output voltage of the charger returns to normal and the device being charged resumes normal charging. If the port temperature is higher than the second temperature, return to the step of determining whether the output voltage of the charger is higher than the first voltage, or alternatively, return to the step of determining whether the charging type is the PPS charging type.
[0067] Figure 2 The specific implementation manners of the operations performed in each step of the charging control method shown have been described in detail in the foregoing text and will not be elaborated herein.
[0068] By adopting the above technical solution, on the one hand, it is not necessary to set a burn-proof MOS switch on the device being charged to prevent the connector port from burning out. Therefore, the burn-proof MOS switch on the hardware side of the device being charged can be removed, reducing the hardware cost of the device being charged. On the other hand, when the port temperature of the connector is higher than the first temperature, the output voltage of the charger can be reduced to be lower than the upper limit voltage that causes the connector port to burn out by sending a shutdown instruction to the charger, thereby effectively achieving the purpose of suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0069] Figure 3 is a flowchart of a power supply control method according to an embodiment of the present disclosure. The power supply control method can be applied to a charger. The power supply control method can also be applied to various fast charging scenarios, for example, a fast charging scenario based on the PD protocol. As Figure 3 shown, the power supply control method according to an embodiment of the present disclosure may include the following steps S31 to S32.
[0070] In step S31, a shutdown instruction sent by the device to be charged is received, where the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn out.
[0071] Regarding the shutdown instruction, it has been described in detail above and will not be elaborated here.
[0072] In step S32, based on the shutdown instruction, the output voltage of the charger is reduced to be lower than the first voltage.
[0073] In addition, after the charger reduces the output voltage of the charger to be lower than the first voltage, the charger can start timing. If the charger does not receive the shutdown instruction from the device to be charged after the timing reaches a preset duration (for example, 1 minute), the charger can restore its output voltage to the normal charging voltage.
[0074] By adopting the above technical solution, since it is possible to receive the shutdown instruction sent by the device to be charged and, based on the shutdown instruction, reduce the output voltage of the charger to be lower than the first voltage, where the first voltage is the upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn out. In this way, on the one hand, it is not necessary to set a burn - proof MOS switch on the side of the device to be charged to prevent the connector port from burning out, so the hardware burn - proof MOS switch can be removed on the side of the device to be charged, reducing the hardware cost of the device to be charged. On the other hand, it is possible to make the output voltage of the charger drop below the upper limit voltage that causes the connector port to burn out based on the shutdown instruction, thereby effectively achieving the purpose of suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0075] Figure 4 It is a schematic block diagram of a charging control device according to an embodiment of the present disclosure. This charging control device can be applied to devices to be charged, such as mobile phones, tablet computers, etc. This charging control device can also be applied to various fast - charging scenarios, for example, fast - charging scenarios based on the Power Delivery (PD) protocol.
[0076] As Figure 4 shown, the charging control device according to an embodiment of the present disclosure includes: an acquisition module 41, configured to acquire the temperature of the port of the connector connecting the charger and the device to be charged; a sending module 42, configured to send a shutdown instruction to the charger if the port temperature is higher than a first temperature, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector to burn out.
[0077] By adopting the above technical solution, when the port temperature of the connector is higher than the first temperature, a shutdown instruction will be sent to the charger. Herein, the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than the first voltage. The first voltage is the upper limit voltage that will not cause the port of the connector to burn out. In this way, on the one hand, it is not necessary to set an anti-burning MOS switch on the side of the device being charged to prevent the connector port from burning out. Therefore, the anti-burning MOS switch on the hardware side of the device being charged can be removed, reducing the hardware cost of the device being charged. On the other hand, when the port temperature of the connector is higher than the first temperature, by sending a shutdown instruction to the charger, the output voltage of the charger can be reduced to be lower than the upper limit voltage that causes the connector port to burn out, thereby effectively achieving the purpose of suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0078] Optionally, the charging control device further includes:
[0079] A counting module for counting the number of times the shutdown instruction is sent;
[0080] A first determination module for determining the sending period of the shutdown instruction based on the count.
[0081] Optionally, the first determination module determines the sending period of the shutdown instruction based on the count, including:
[0082] If the count is less than or equal to the first count value, determine that the sending period of the shutdown instruction is the first period;
[0083] If the count is greater than the first count value, determine that the sending period of the shutdown instruction is the second period, where the second period is greater than the first period.
[0084] Optionally, the step of if the port temperature is higher than the first temperature, then sending a shutdown instruction to the charger includes:
[0085] If the port temperature is higher than the first temperature, obtain the output voltage of the charger;
[0086] If the output voltage of the charger is higher than the first voltage, then send the shutdown instruction to the charger.
[0087] Optionally, the charging control device further includes:
[0088] An identification module for identifying the charging type;
[0089] A second determination module for determining the sending mode of the shutdown instruction based on the identified charging type.
[0090] Optionally, the second determination module determines the sending manner of the shutdown instruction based on the recognized charging type, including:
[0091] If the recognized charging type is a programmable power supply protocol, it is determined to send the shutdown instruction in the form of an unstructured vendor - defined message.
[0092] Optionally, the second determination module is further configured to:
[0093] After sending the shutdown instruction in the form of the unstructured vendor - defined message, obtain the output voltage of the charger;
[0094] If the output voltage of the charger does not drop below the first voltage, it is determined to continue sending the shutdown instruction in the form of differential data transmission.
[0095] Optionally, the second determination module determines the sending manner of the shutdown instruction based on the recognized charging type, including:
[0096] If the recognized charging type is a charging type other than the programmable power supply protocol, it is determined to send the shutdown instruction in the form of differential data transmission.
[0097] The specific implementation manners of the operations performed by each module in the charging control device according to the embodiments of the present disclosure have been described in detail in the related charging control method, and will not be elaborated here.
[0098] Figure 5 FIG. is a schematic block diagram of a power supply control device according to an embodiment of the present disclosure. The power supply control device can be applied to a charger. The power supply control device can also be applied to various fast - charging scenarios, for example, a fast - charging scenario based on the PD protocol.
[0099] As Figure 5 shown, the power supply control device according to the embodiment of the present disclosure includes: a receiving module 51, configured to receive a shutdown instruction sent by a device to be charged, where the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger below a first voltage, and the first voltage is an upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn out; a shutdown module 52, configured to reduce the output voltage of the charger below the first voltage based on the shutdown instruction.
[0100] By adopting the above technical solution, since the charger can receive the shutdown instruction sent by the device to be charged and, based on the shutdown instruction, reduce the output voltage of the charger to be lower than the first voltage, where the first voltage is the upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn out. In this way, on the one hand, it is not necessary to set an anti-burning MOS switch on the device to be charged to prevent the connector port from burning out. Therefore, the anti-burning MOS switch can be removed from the hardware on the device to be charged, reducing the hardware cost of the device to be charged. On the other hand, based on the shutdown instruction, the output voltage of the charger can be reduced to be lower than the upper limit voltage that causes the connector port to burn out, thereby effectively achieving the purpose of suppressing the temperature rise of the connector port and preventing the connector port from burning out.
[0101] The specific implementation manners of the operations performed by each module in the power supply control device according to the embodiments of the present disclosure have been described in detail in the related power supply control method and will not be elaborated herein.
[0102] The present disclosure also provides an electronic device, including:
[0103] a processor;
[0104] a memory for storing processor-executable instructions;
[0105] Wherein, when the processor is configured to execute the processor-executable instructions, the steps of the charging control method and the power supply control method described in any one of the present disclosure are implemented.
[0106] The present disclosure also provides a computer-readable storage medium, on which computer program instructions are stored, and when the program instructions are executed by a processor, the steps of the charging control method and the power supply control method described in any one of the present disclosure are implemented.
[0107] Figure 6 FIG. 22 is a block diagram of a device 800 for charging control according to an exemplary embodiment. For example, the device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0108] Refer to Figure 6 , the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output interface 812, a sensor component 814, and a communication component 816.
[0109] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, telephone calls, data communication, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above-described methods. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0110] The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.
[0111] The power component 806 provides power to the various components of the device 800. The power component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0112] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can not only sense the boundaries of touch or swipe actions, but also detect the duration and pressure associated with the touch or swipe operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
[0113] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.
[0114] The input / output interface 812 provides an interface between the processing component 802 and peripheral interface modules, and the peripheral interface modules may be a keyboard, a click wheel, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a power button, and a lock button.
[0115] The sensor component 814 includes one or more sensors for providing status assessments of various aspects of the device 800. For example, the sensor component 814 can detect the on / off state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, the sensor component 814 can also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor component 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may further include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0116] The communication component 816 is configured to facilitate communication between the device 800 and other devices in a wired or wireless manner. The device 800 can access a wireless network based on communication standards, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0117] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components for performing the above-described charging control method or power supply control method.
[0118] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided. The above instructions may be executed by a processor 820 of the apparatus 800 to complete the above-described charging control method or power supply control method. For example, the non-transitory computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device, etc.
[0119] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program capable of being executed by a programmable apparatus. The computer program has a code portion for performing the above-described charging control method or power supply control method when executed by the programmable apparatus.
[0120] Those skilled in the art will readily conceive of other embodiments of the present disclosure after considering the specification and practicing the present disclosure. The present disclosure is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and embodiments are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0121] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. A charging control method, characterized in that, Comprising: Obtain the port temperature of the connector connecting the charger and the device to be charged; If the port temperature is higher than a first temperature, send a shutdown instruction to the charger, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector to burn out.
2. The charging control method according to claim 1, wherein The charging control method further comprises: Count the number of times the shutdown instruction is sent; Based on the count, determine the sending period of the shutdown instruction.
3. The charging control method according to claim 2, wherein The determining the sending period of the shutdown instruction based on the count includes: If the count is less than or equal to a first count value, determine that the sending period of the shutdown instruction is a first period; If the count is greater than the first count value, determine that the sending period of the shutdown instruction is a second period, where the second period is greater than the first period.
4. The charging control method according to claim 1, wherein The if the port temperature is higher than the first temperature, then send a shutdown instruction to the charger includes: If the port temperature is higher than the first temperature, obtain the output voltage of the charger; If the output voltage of the charger is higher than the first voltage, send the shutdown instruction to the charger.
5. The charging control method according to any one of claims 1 to 4, characterized in that The charging control method further comprises: Identify the charging type; Based on the identified charging type, determine the sending mode of the shutdown instruction.
6. The charging control method according to claim 5, wherein The determining the sending mode of the shutdown instruction based on the identified charging type includes: If the identified charging type is the programmable power supply protocol, determine to send the shutdown instruction in the form of an unstructured vendor-defined message.
7. The charging control method according to claim 6, wherein The charging control method further comprises: After sending the shutdown instruction in the form of the unstructured vendor-defined message, obtain the output voltage of the charger; If the output voltage of the charger has not been reduced to be lower than the first voltage, determine to continue to send the shutdown instruction in the form of differential data transmission.
8. The charging control method according to claim 5, wherein The determining the sending mode of the shutdown instruction based on the identified charging type includes: If the identified charging type is a charging type other than the programmable power supply protocol, determine to send the shutdown instruction in the form of differential data transmission.
9. A power supply control method, characterized in that Comprising: Receive the shutdown instruction sent by the device to be charged, where the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn out; Based on the shutdown instruction, reduce the output voltage of the charger to be lower than the first voltage.
10. A charging control device, characterized in that, Comprising: An obtaining module, configured to obtain the port temperature of the connector connecting the charger and the device to be charged; A sending module, configured to, if the port temperature is higher than a first temperature, send a shutdown instruction to the charger, where the first temperature is the lower limit temperature that can cause the port of the connector to burn out, and the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is the upper limit voltage that will not cause the port of the connector to burn out.
11. A power supply control device, characterized in that, Comprising: A receiving module, configured to receive a shutdown instruction sent by a device to be charged, where the shutdown instruction is used to instruct the charger to reduce the output voltage of the charger to be lower than a first voltage, and the first voltage is an upper limit voltage that will not cause the port of the connector connecting the charger and the device to be charged to burn out; A shutdown module, configured to reduce the output voltage of the charger to be lower than the first voltage based on the shutdown instruction.
12. An electronic device, characterized in that, Comprising: A processor; A memory for storing processor-executable instructions; Wherein, when the processor is configured to execute the processor-executable instructions, the steps of the method according to any one of claims 1 to 9 are implemented.
13. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When the program instructions are executed by the processor, the steps of the method according to any one of claims 1 to 9 are implemented.