Charging adaptation module and charging method thereof, electronic equipment and storage medium
By using the charging adapter module in a portable mobile terminal, detecting the connection status of the charging adapter and dynamically adjusting the charging power, the problem of inequality in interchangeable use of charging adapters of different brands or models is solved, and charging compatibility and stable charging of the portable mobile terminal are achieved.
Patent Information
- Application Number
- CN202510008662.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-04-22
AI Technical Summary
The charging adapter of portable mobile terminals has significant differences in maximum power due to factors such as design differences, power consumption requirements and battery capacity, which limits charging compatibility, resulting in the inability to use adapters of different brands or models directly interchangeably and cannot be charged normally.
A charging adapter module is provided, including an adapter detection module and a charging adjustment module. When the portable mobile terminal is connected to the charging adapter, the adapter detection module acquires the connection status and dynamically adjusts the charging power through the charging adjustment module until the maximum power threshold of the charging adapter is matched to ensure stable charging.
Improve the charging compatibility of portable mobile terminals, ensuring stable charging can be achieved even between charging adapters of different brands or models, and avoiding the phenomenon of inability to charge normally due to power mismatch.
Smart Images

Figure CN119864905A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electronic device charging, and in particular to a charging adapter module and a charging method thereof, an electronic device and a storage medium. Background Art
[0002] Portable mobile terminals can be understood as computer devices used on the move, including but not limited to mobile phones, notebooks, tablet computers, POS machines and even car computers. With the continuous development of electronic device charging technology, users have put forward higher requirements for the charging compatibility of portable mobile terminals.
[0003] At present, portable mobile terminals have become an indispensable tool in people's daily lives. However, the charging adapters carried by each portable mobile terminal have significant differences in maximum power due to design differences, power consumption requirements, battery capacity and other factors. This difference means that even if the physical specifications of the interface are the same, adapters of different models cannot be directly interchangeable, which greatly limits the charging compatibility of portable mobile terminals. For example, when a user is out, if the power of the user's portable mobile terminal is exhausted, and there are only adapters of other brands or models around, then even if the physical interfaces of these adapters match the portable mobile terminal, the portable mobile terminal may not be charged normally due to power mismatch.
[0004] In summary, how to improve the charging compatibility of portable mobile terminals so as to adapt to different charging adapters for normal charging is a technical problem that needs to be solved urgently.
[0005] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art.
[0006] Application Contents
[0007] The main purpose of the present application is to provide a charging adapter module and a charging method thereof, an electronic device and a storage medium, aiming to improve the charging compatibility of a portable mobile terminal so as to adapt to different charging adapters for normal charging.
[0008] To achieve the above objectives, the present application provides a charging adapter module, the charging adapter module comprising:
[0009] An adapter detection module, the adapter detection module is used to obtain the connection status of the charging adapter when the portable mobile terminal is connected to the charging adapter, and determine the power determination result of the portable mobile terminal according to the connection status;
[0010] A charging adjustment module, wherein the charging adjustment module is connected to the adapter detection module, and is used to receive the power determination result sent by the adapter detection module, and adjust the current charging power of the portable mobile terminal according to the power determination result, until the adjusted charging power matches the maximum power threshold of the charging adapter, and the portable mobile terminal is stably charged through the charging adapter.
[0011] In one embodiment, the charging adapter module includes:
[0012] A power supply channel control module, wherein the power supply channel control module is used to determine that the power supply channel of the portable mobile terminal is the adapter power supply path when the portable mobile terminal is connected to the charging adapter, and when the adapter power supply path and the preset battery power supply path are turned on at the same time, provide charging power to the portable mobile terminal through the adapter power supply path.
[0013] In addition, to achieve the above-mentioned purpose, the present application provides a charging method of a charging adapter module, the charging method of the charging adapter module is applied to the above-mentioned charging adapter module, and the charging method of the charging adapter module includes:
[0014] When the portable mobile terminal is connected to the charging adapter, the connection status of the charging adapter is obtained through the adapter detection module, and the power determination result of the portable mobile terminal is determined according to the connection status;
[0015] The power determination result sent by the adapter detection module is received through the charging adjustment module, and the current charging power of the portable mobile terminal is adjusted according to the power determination result until the adjusted charging power matches the maximum power threshold of the charging adapter, and the portable mobile terminal is stably charged through the charging adapter.
[0016] In one embodiment, the step of obtaining the connection status of the charging adapter through the adapter detection module includes:
[0017] Determining, by the adapter detection module, whether the charging adapter is disconnected from the portable mobile terminal within a preset detection time;
[0018] If the charging adapter is not disconnected from the portable mobile terminal within the detection time, the connection state of the charging adapter is determined to be a power-not-exceeding state.
[0019] In one embodiment, after the step of determining by the adapter detection module whether the charging adapter is disconnected from the portable mobile terminal within a preset detection time, the charging method further comprises:
[0020] If the charging adapter is disconnected from the portable mobile terminal within the detection time, detecting whether the charging adapter is connected to the portable mobile terminal within a preset retest time;
[0021] When the charging adapter is connected to the portable mobile terminal within the retest time, determining that the connection state of the charging adapter is a power over-limit state;
[0022] When the charging adapter is not connected to the portable mobile terminal within the retest time, it is determined that the charging adapter is in a disconnected state.
[0023] In one embodiment, the step of determining the power determination result of the portable mobile terminal according to the connection state includes:
[0024] When the connection state of the charging adapter is a power-not-exceeding-standard state, determining that the power determination result is that the maximum power threshold of the charging adapter satisfies the current charging power of the portable mobile terminal;
[0025] When the connection state of the charging adapter is a power-exceeding state, it is determined that the power determination result is that the maximum power threshold of the charging adapter does not meet the current charging power of the portable mobile terminal.
[0026] In one embodiment, the step of adjusting the current charging power of the portable mobile terminal according to the power determination result includes:
[0027] When the power determination result is that the maximum power threshold of the charging adapter meets the current charging power of the portable mobile terminal, a preset power increase value is added to the current charging power to obtain a first updated power, and it is detected whether the first updated power has reached the tolerance threshold interval allowed by the maximum power threshold;
[0028] If the first updated power does not reach the tolerance threshold interval, the first updated power is used as the next current charging power, and the process returns to the step of superimposing the preset power increase value on the current charging power to obtain the first updated power, until the first updated power reaches the tolerance threshold interval, and the first updated power is used as the adjusted charging power.
[0029] In one embodiment, the step of adjusting the current charging power of the portable mobile terminal according to the power determination result includes:
[0030] When the power determination result is that the maximum power threshold of the charging adapter does not meet the current charging power of the portable mobile terminal, determining a second updated power according to a power difference between a preset power reduction value and the current charging power, and detecting whether the second updated power has reached a tolerance threshold interval allowed by the maximum power threshold;
[0031] If the second updated power does not reach the tolerance threshold range, the second updated power is used as the next current charging power, and the process returns to the step of determining the second updated power based on the power difference between the preset power reduction value and the current charging power, until the second updated power reaches the tolerance threshold range, and the second updated power is used as the adjusted charging power.
[0032] In addition, to achieve the above-mentioned purpose, the present application provides an electronic device, the electronic device comprising the above-mentioned display panel; or,
[0033] The electronic device includes a processor, a memory, and a charging method program for a charging adapter module stored in the memory and executable by the processor, wherein when the charging method program for the charging adapter module is executed by the processor, the steps of the charging method for the above-mentioned charging adapter module are implemented.
[0034] In addition, to achieve the above-mentioned purpose, the present application provides a storage medium, which is a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by the processor, the steps of the charging method of the above-mentioned charging adapter module are implemented.
[0035] In summary, the present application provides a charging adapter module and its charging method, electronic device and storage medium, which significantly improve the charging compatibility of portable mobile terminals. Specifically, the present application is provided with an adapter detection module and a charging adjustment module in the charging adapter module. When the portable mobile terminal is connected to the charging adapter, the adapter detection module can quickly obtain the connection status of the charging adapter, and can accurately obtain the power determination result of the portable mobile terminal according to the connection status; next, according to the connection between the adapter detection module and the charging adjustment module, the charging adjustment module dynamically adjusts the current charging power of the portable mobile terminal according to the power determination result sent by the adapter detection module, until the adjusted charging power matches the maximum power threshold of the charging adapter, ensuring that the portable mobile terminal can achieve stable charging even between charging adapters of different brands or models, avoiding the phenomenon that the portable mobile terminal cannot be charged normally due to power mismatch of the charging adapter, thereby significantly improving the charging compatibility of the portable mobile terminal to adapt to different charging adapters for normal charging. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 This is a schematic diagram of the overall structure of the charging adapter module of this application;
[0037] Figure 2 It is a flowchart of an embodiment of a charging method of a charging adapter module of the present application;
[0038] Figure 3 is a connection status determination flow chart involved in an embodiment of the present application;
[0039] Figure 4 It is a schematic diagram of charging power adjustment involved in an embodiment of the present application;
[0040] Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in this application.
[0041] Description of Figure Numbers:
[0042] 100. Portable mobile terminal; 200. Charging adapter; 10. Adapter detection module; 20. Charging adjustment module.
[0043] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0044] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0046] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0047] In this application, unless otherwise clearly specified and limited, the terms "connection", "fixation", etc. should be understood in a broad sense. For example, "fixation" can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0048] In addition, in this application, descriptions such as "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in this field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0049] Portable mobile terminals can be understood as computer devices used on the move, including but not limited to mobile phones, notebooks, tablet computers, POS machines and even car computers. With the continuous development of electronic device charging technology, users have put forward higher requirements for the charging compatibility of portable mobile terminals.
[0050] At present, portable mobile terminals have become an indispensable tool in people's daily lives. However, the charging adapters carried by each portable mobile terminal have significant differences in maximum power due to design differences, power consumption requirements, battery capacity and other factors. This difference means that even if the physical specifications of the interface are the same, adapters of different models cannot be directly interchangeable, which greatly limits the charging compatibility of portable mobile terminals. For example, when a user is out, if the power of the user's portable mobile terminal is exhausted, and there are only adapters of other brands or models around, then even if the physical interfaces of these adapters match the portable mobile terminal, the portable mobile terminal may not be charged normally due to power mismatch.
[0051] In summary, in order to improve the charging compatibility of portable mobile terminals so as to adapt to different charging adapters for normal charging, the present application provides a charging adapter module and a charging method thereof, an electronic device and a storage medium.
[0052] The present application provides a charging adapter module. In one embodiment of the present application, refer to Figure 1 As shown, Figure 1 This is a schematic diagram of the overall structure of the charging adapter module of this application, which includes:
[0053] The adapter detection module 10 is used to obtain the connection status of the charging adapter 200 when the portable mobile terminal 100 is connected to the charging adapter 200, and determine the power determination result of the portable mobile terminal 100 according to the connection status.
[0054] In this embodiment, when the portable mobile terminal 100 is connected to the charging adapter 200, the AC voltage of the charging adapter 200 is detected by the adapter detection module 10 to determine the connection status of the charging adapter 200; then, based on the accurate power determination result of the portable mobile terminal 100, an efficient, safe and compatible charging process is achieved between the charging adapter 200 and the portable mobile terminal 100.
[0055] It should be noted that the portable mobile terminal 100 includes but is not limited to a portable computer, a notebook, a tablet, etc. The connection state of the charging adapter 200 can be a power within-limited state, a power exceeding-limited state, or a disconnected state.
[0056] Exemplarily, if the charging adapter 200 is not disconnected from the portable mobile terminal 100 within the preset detection time, that is, the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is not disconnected within the preset detection time, then it is determined that the connection state of the charging adapter 200 is a power-not-exceeding state; if the charging adapter 200 is disconnected from the portable mobile terminal 100 within the preset detection time and the charging adapter 200 is reconnected to the portable mobile terminal 100 within the preset retest time, that is, after the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is disconnected within the preset detection time and within the preset retest time, then it is determined that the connection state of the charging adapter 200 is a power-not-exceeding state. If the AC voltage is provided to the portable mobile terminal 100 again within the preset retest time, it is determined that the connection state of the charging adapter 200 is in the power over-standard state; if the charging adapter 200 is disconnected from the portable mobile terminal 100 within the preset detection time and the charging adapter 200 is not reconnected with the portable mobile terminal 100 within the preset retest time, that is, after the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is disconnected within the preset detection time and the AC voltage is not provided to the portable mobile terminal 100 within the preset retest time, it is determined that the connection state of the charging adapter 200 is in the disconnected state.
[0057] A charging adjustment module 20, wherein the charging adjustment module 20 is connected to the adapter detection module 10, and is used to receive the power determination result sent by the adapter detection module 10, and adjust the current charging power of the portable mobile terminal 100 according to the power determination result, until the adjusted charging power matches the maximum power threshold of the charging adapter 200, and the portable mobile terminal 100 is stably charged through the charging adapter 200.
[0058] In this embodiment, the battery power supply path forcibly opened by the power supply channel control module is used to power the charging regulation module 20, ensuring that the charging regulation module 20 will not interrupt operation when the charging adapter 200 is powered off; next, according to the connection between the charging regulation module 20 and the adapter detection module 10, after the charging regulation module 20 receives the power determination result sent by the adapter detection module 10, the charging regulation module 20 dynamically adjusts the current charging power of the portable mobile terminal 100 according to the power determination result until the adjusted charging power matches the maximum power threshold of the charging adapter 200, ensuring that the portable mobile terminal 100 can be stably charged even between charging adapters 200 of different brands or models, avoiding the phenomenon that the portable mobile terminal 100 cannot be charged normally due to power mismatch of the charging adapter 200, thereby improving the charging compatibility of the portable mobile terminal 100 to adapt to different charging adapters 200 for normal charging.
[0059] Further, in some feasible embodiments, the charging adapter module includes:
[0060] A power supply channel control module, wherein the power supply channel control module is used to determine that the power supply channel of the portable mobile terminal 100 is the adapter power supply path when the portable mobile terminal 100 is connected to the charging adapter 200, and when the adapter power supply path and the preset battery power supply path are turned on at the same time, the portable mobile terminal 100 is provided with charging power through the adapter power supply path.
[0061] In this embodiment, the charging adapter module provided in the present application further includes a power supply channel control module, which is configured to control the power supply channel of the portable mobile terminal 100. Exemplarily, the power supply channel of the portable mobile terminal 100 has two power supply paths, one of the two power supply paths is a connection path for the charging adapter 200 to provide an AC voltage to the portable mobile terminal 100 (i.e., an adapter power supply path); the other of the two power supply paths is a connection path for the battery module (e.g., a battery pack or a battery pack) to provide a battery voltage to the portable mobile terminal 100 (i.e., a preset battery power supply path).
[0062] It should be noted that the adapter power supply path has a higher priority than the preset battery power supply path.
[0063] In a specific embodiment, when the portable mobile terminal 100 is connected to the charging adapter 200, the adapter power supply path with the highest priority is automatically opened to provide AC voltage for charging the portable mobile terminal 100; and the battery power supply path provided in the present application is controlled by EC (EMBEDDED CONTROLLER), and the priority of the battery power supply path is lower than that of the adapter power supply path, that is, when the adapter power supply path and the preset battery power supply path are turned on at the same time, the embedded controller turns off the battery power supply path according to the AC power signal provided by the adapter power supply path, and gives priority to using the adapter power supply path to provide charging power for the portable mobile terminal 100.
[0064] In addition, it should be noted that the adapter detection module 10, the charging regulation module 20 and the power supply channel control module provided in the present application can be understood as EC programs running on the embedded controller.
[0065] Based on the above embodiments of the charging adapter module, a first embodiment of the charging method of the charging adapter module of the present application is proposed. The charging method of the charging adapter module is applied to the above-mentioned charging adapter module, with reference to Figure 2 , Figure 2 It is a flow chart of an embodiment of a charging method of a charging adapter module of the present application, wherein the charging method of the charging adapter module comprises steps S10 to S20.
[0066] Step S10: when the portable mobile terminal 100 is connected to the charging adapter 200, the connection status of the charging adapter 200 is acquired through the adapter detection module 10, and the power determination result of the portable mobile terminal 100 is determined according to the connection status.
[0067] In this embodiment, when the portable mobile terminal 100 is connected to the charging adapter 200, the AC voltage of the charging adapter 200 is detected by the adapter detection module 10 to determine the connection status of the charging adapter 200; next, based on the accurate power determination result of the portable mobile terminal 100, an efficient, safe and compatible charging process is achieved between the charging adapter 200 and the portable mobile terminal 100.
[0068] Step S20: The power determination result sent by the adapter detection module 10 is received through the charging adjustment module 20, and the current charging power of the portable mobile terminal 100 is adjusted according to the power determination result until the adjusted charging power matches the maximum power threshold of the charging adapter 200, and the portable mobile terminal 100 is stably charged through the charging adapter 200.
[0069] In this embodiment, the battery power supply path forcibly opened by the power supply channel control module is used to power the charging regulation module 20, ensuring that the charging regulation module 20 will not interrupt operation when the charging adapter 200 is powered off; next, according to the connection between the charging regulation module 20 and the adapter detection module 10, after the charging regulation module 20 receives the power determination result sent by the adapter detection module 10, the charging regulation module 20 dynamically adjusts the current charging power of the portable mobile terminal 100 according to the power determination result until the adjusted charging power matches the maximum power threshold of the charging adapter 200, ensuring that the portable mobile terminal 100 can be stably charged even between charging adapters 200 of different brands or models, avoiding the phenomenon that the portable mobile terminal 100 cannot be charged normally due to power mismatch of the charging adapter 200, thereby improving the charging compatibility of the portable mobile terminal 100 to adapt to different charging adapters 200 for normal charging.
[0070] Further, in some feasible embodiments, referring to Figure 3 , Figure 3 The above step S10: obtaining the connection status of the charging adapter 200 through the adapter detection module 10 may also include steps S101 to S102.
[0071] Step S101: The adapter detection module 10 determines whether the charging adapter 200 is disconnected from the portable mobile terminal 100 within a preset detection time.
[0072] Step S102: If the charging adapter 200 is not disconnected from the portable mobile terminal 100 within the detection time, it is determined that the connection state of the charging adapter 200 is a power-not-exceeding state.
[0073] In this embodiment, refer to Figure 3 The adapter detection module 10 detects the AC voltage of the charging adapter 200. If the charging adapter 200 is not disconnected from the portable mobile terminal 100 within the preset detection time, that is, the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is not disconnected within the preset detection time, it is determined that the connection state of the charging adapter 200 is a power-not-exceeding state.
[0074] It should be noted that the preset detection time can be 2 seconds, or it can be customized according to user needs. This application does not impose any restrictions here.
[0075] Furthermore, in some other feasible embodiments, after the above step S101: determining by the adapter detection module 10 whether the charging adapter 200 is disconnected from the portable mobile terminal 100 within a preset detection time, the charging method of the charging adapter module also includes steps A10 to A30.
[0076] Step A10: If the charging adapter 200 is disconnected from the portable mobile terminal 100 within the detection time, then detecting whether the charging adapter 200 is connected to the portable mobile terminal 100 within a preset retest time.
[0077] In this embodiment, if the charging adapter 200 is electrically disconnected from the portable mobile terminal 100 within the detection time, that is, the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is disconnected within the preset detection time, that is, the charging adapter 200 may be automatically disconnected because the provided AC voltage exceeds the tolerance range of the portable mobile terminal 100, or is disconnected manually, so it is necessary to further detect whether the charging adapter 200 is connected to the portable mobile terminal 100 within the preset retest time to improve the accuracy of obtaining the connection status of the charging adapter 200.
[0078] It should be noted that the preset retest time is less than the preset detection time. The preset retest time can be 200 milliseconds, or it can be customized according to user needs. This application does not impose any restrictions here.
[0079] Step A20: When the charging adapter 200 is connected to the portable mobile terminal 100 within the retest time, it is determined that the connection state of the charging adapter 200 is a power over-limit state.
[0080] In this embodiment, if the charging adapter 200 is electrically disconnected from the portable mobile terminal 100 within a preset detection time and the charging adapter 200 is reconnected to the portable mobile terminal 100 within a preset retest time, that is, after the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is disconnected within the preset detection time and the AC voltage is provided to the portable mobile terminal 100 again within the preset retest time, it is determined that the connection state of the charging adapter 200 is in a power over-standard state.
[0081] Step A30: When the charging adapter 200 is not connected to the portable mobile terminal 100 within the retest time, it is determined that the charging adapter 200 is in a disconnected state.
[0082] In this embodiment, if the charging adapter 200 is electrically disconnected from the portable mobile terminal 100 within a preset detection time and the charging adapter 200 is not reconnected to the portable mobile terminal 100 within a preset retest time, that is, after the AC voltage provided by the charging adapter 200 to the portable mobile terminal 100 is disconnected within the preset detection time and the AC voltage is not provided to the portable mobile terminal 100 within the preset retest time, it is determined that the connection state of the charging adapter 200 is in the disconnected state.
[0083] Furthermore, in some feasible embodiments, the above step S10: determining the power determination result of the portable mobile terminal 100 according to the connection state, also includes steps B10 to B20.
[0084] Step B10 : when the connection state of the charging adapter 200 is a power-not-exceeding-standard state, determining the power determination result is that the maximum power threshold of the charging adapter 200 satisfies the current charging power of the portable mobile terminal 100 .
[0085] In this embodiment, the current charging power set in the present application can be understood as the intermediate value of the charging power of the portable mobile terminal 100. Exemplarily, when the connection state of the charging adapter 200 is a power-not-exceeding state, it can be determined that the maximum power threshold of the charging adapter 200 is greater than or equal to the current charging power of the portable mobile terminal 100, that is, the power judgment result is that the maximum power threshold of the charging adapter 200 meets the current charging power of the portable mobile terminal 100, that is, the current charging power of the portable mobile terminal 100 does not exceed the adapter power consumption of the charging adapter 200.
[0086] Step B20 : when the connection state of the charging adapter 200 is a power-exceeding state, it is determined that the power determination result is that the maximum power threshold of the charging adapter 200 does not meet the current charging power of the portable mobile terminal 100 .
[0087] In this embodiment, the current charging power set in the present application can be understood as the intermediate value of the charging power of the portable mobile terminal 100. Exemplarily, when the connection state of the charging adapter 200 is a power-exceeding state, it is determined that the maximum power threshold of the charging adapter 200 is less than the current charging power of the portable mobile terminal 100, that is, the power judgment result is that the maximum power threshold of the charging adapter 200 does not meet the current charging power of the portable mobile terminal 100, that is, the current charging power of the portable mobile terminal 100 exceeds the adapter power consumption of the charging adapter 200.
[0088] Further, in some other feasible embodiments, referring to Figure 4 , Figure 4The above step S20: adjusting the current charging power of the portable mobile terminal 100 according to the power determination result, also includes steps S201 to S202.
[0089] Step S201: When the power judgment result is that the maximum power threshold of the charging adapter 200 meets the current charging power of the portable mobile terminal 100, the preset power increase value is superimposed on the current charging power to obtain a first updated power, and it is detected whether the first updated power has reached the tolerance threshold interval allowed by the maximum power threshold.
[0090] In this embodiment, the battery power supply path forcibly opened by the power supply channel control module is used to supply power to the charging adjustment module 20, ensuring that the charging adjustment module 20 will not be interrupted when the charging adapter 200 is powered off. When the charging adjustment module 20 receives the power determination result sent by the adapter detection module 10 that the maximum power threshold of the charging adapter 200 meets the current charging power of the portable mobile terminal 100 (that is, the current charging power of the portable mobile terminal 100 does not exceed the adapter power consumption of the charging adapter 200), the preset power increase value is added to the current charging power to obtain the first updated power, thereby achieving the purpose of gradually increasing the charging power to meet the possible higher charging requirements of the portable mobile terminal 100; and detecting whether the first updated power has reached the tolerance threshold interval allowed by the maximum power threshold, so as to ensure the safety and stability of the charging process and prevent damage to the portable mobile terminal 100 or the charging adapter 200 due to excessive power.
[0091] Step S202: If the first updated power does not reach the tolerance threshold range, the first updated power is used as the next current charging power, and the process returns to the step of superimposing the preset power increase value on the current charging power to obtain the first updated power, until the first updated power reaches the tolerance threshold range, and the first updated power is used as the adjusted charging power.
[0092] In this embodiment, if the first updated power has not yet reached the tolerance threshold interval allowed by the maximum power threshold of the charging adapter 200, the first updated power is used as the next current charging power, and the power increase operation is performed cyclically, that is, returning to execute the step of superimposing the preset power increase value on the current charging power to obtain the first updated power, until the first updated power reaches the tolerance threshold interval, the first updated power is determined as the adjusted charging power, ensuring that the charging process is both safe and efficient, and can maximize the use of the power supply capacity of the charging adapter 200 without damaging the portable mobile terminal 100, so as to provide the portable mobile terminal 100 with stable and sufficient power.
[0093] Further, in some other feasible embodiments, referring to Figure 4 , the above-mentioned step S20: adjusting the current charging power of the portable mobile terminal 100 according to the power determination result, also includes steps C10 to C20.
[0094] Step C10: When the power judgment result is that the maximum power threshold of the charging adapter 200 does not meet the current charging power of the portable mobile terminal 100, the second updated power is determined based on the power difference between the preset power reduction value and the current charging power, and it is detected whether the second updated power has reached the tolerance threshold interval allowed by the maximum power threshold.
[0095] In this embodiment, the battery power supply path forcibly opened by the power supply channel control module is used to supply power to the charging adjustment module 20, ensuring that the charging adjustment module 20 will not be interrupted when the charging adapter 200 is powered off. When the charging adjustment module 20 receives the power determination result sent by the adapter detection module 10 that the maximum power threshold of the charging adapter 200 does not meet the current charging power of the portable mobile terminal 100 (that is, the current charging power of the portable mobile terminal 100 exceeds the adapter power consumption of the charging adapter 200), the power difference between the preset power reduction value and the current charging power is used as the second updated power, and the second updated power is detected to see whether it has reached the tolerance threshold interval allowed by the maximum power threshold, so as to ensure the safety and stability of the charging process and prevent the portable mobile terminal 100 or the charging adapter 200 from being damaged due to excessive power.
[0096] Step C20: If the second updated power does not reach the tolerance threshold range, the second updated power is used as the next current charging power, and the process returns to the step of determining the second updated power based on the power difference between the preset power reduction value and the current charging power, until the second updated power reaches the tolerance threshold range, and the second updated power is used as the adjusted charging power.
[0097] In this embodiment, if the second updated power fails to reach the tolerance threshold interval set by the maximum power threshold of the charging adapter 200, the charging adapter module provided in this application will adopt an iterative adjustment strategy: taking the current second updated power as a new benchmark, the next second updated power is calculated again based on the difference between the preset power reduction value and the current charging power, and repeating this process until a power value that meets the higher charging requirements of the portable mobile terminal 100 and does not exceed the tolerance threshold interval is found. It is ensured that when the current charging power of the portable mobile terminal 100 exceeds the adapter power, the current charging power of the portable mobile terminal 100 can be automatically and gradually adjusted until a safe and effective charging level is reached, thereby ensuring the charging efficiency of the portable mobile terminal 100 while maintaining the safe and stable operation of the portable mobile terminal 100 and the charging adapter 200.
[0098] In summary, the present application provides a charging adapter module and a charging method thereof, an electronic device and a storage medium, which significantly improve the charging compatibility of the portable mobile terminal 100. Specifically, the present application is provided with an adapter detection module 10 and a charging adjustment module 20 in the charging adapter module. When the portable mobile terminal 100 is connected to the charging adapter 200, the adapter detection module 10 can quickly obtain the connection status of the charging adapter 200, and can accurately obtain the power determination result of the portable mobile terminal 100 according to the connection status; next, according to the connection between the adapter detection module 10 and the charging adjustment module 20, the charging adjustment module 20 dynamically adjusts the current charging power of the portable mobile terminal 100 according to the power determination result sent by the adapter detection module 10, until the adjusted charging power matches the maximum power threshold of the charging adapter 200, ensuring that the portable mobile terminal 100 can achieve stable charging even between charging adapters 200 of different brands or models, avoiding the phenomenon that the portable mobile terminal 100 cannot be charged normally due to power mismatch of the charging adapter 200, thereby greatly improving the charging compatibility of the portable mobile terminal 100 to adapt to different charging adapters 200 for normal charging.
[0099] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the charging method of the charging adapter module of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0100] In addition, the present application also provides an electronic device. Figure 5 , Figure 5 The electronic device of the embodiment of the present application is a schematic diagram of the structure of the electronic device involved in the embodiment of the present application. The electronic device of the embodiment of the present application can be a device for locally running the charging method program of the charging adapter module.
[0101] The present application provides an electronic device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the charging method of the charging adapter module in the above-mentioned embodiment one.
[0102] Reference below Figure 5 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic devices in the embodiments of the present application may include but are not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0103] like Figure 5 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input system 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0104] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0105] The electronic device provided by the present application adopts the charging method of the charging adapter module in the above embodiment, which can solve the problem of performance degradation of the LCD screen due to low temperature in a cold environment while ensuring the economic efficiency of the LCD screen. Compared with the prior art, the beneficial effects of the electronic device provided by the present application are the same as the beneficial effects of the charging method of the charging adapter module provided by the above embodiment, and the other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0106] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0107] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0108] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the charging method of the charging adapter module in the above-mentioned embodiment.
[0109] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0110] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0111] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by an electronic device, the electronic device:
[0112] When the portable mobile terminal is connected to the charging adapter, the connection status of the charging adapter is obtained through the adapter detection module, and the power determination result of the portable mobile terminal is determined according to the connection status;
[0113] The power determination result sent by the adapter detection module is received through the charging adjustment module, and the current charging power of the portable mobile terminal is adjusted according to the power determination result until the adjusted charging power matches the maximum power threshold of the charging adapter, and the portable mobile terminal is stably charged through the charging adapter.
[0114] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0115] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0116] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0117] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the charging method of the above-mentioned charging adapter module, and can solve the technical problem that the intelligence of computer power on / off control is not high. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the charging method of the charging adapter module provided in the above-mentioned embodiment, and will not be repeated here.
[0118] The present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the charging method of the charging adapter module as described above.
[0119] The computer program product provided by the present application can solve the technical problem that the computer power on / off control is not intelligent enough. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the charging method of the charging adapter module provided by the above embodiment, which will not be elaborated here.
[0120] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A charging adapter module, characterized in that: The charging adapter module includes: An adapter detection module, the adapter detection module is used to obtain the connection status of the charging adapter when the portable mobile terminal is connected to the charging adapter, and determine the power determination result of the portable mobile terminal according to the connection status; A charging adjustment module, wherein the charging adjustment module is connected to the adapter detection module, and is used to receive the power determination result sent by the adapter detection module, and adjust the current charging power of the portable mobile terminal according to the power determination result, until the adjusted charging power matches the maximum power threshold of the charging adapter, and the portable mobile terminal is stably charged through the charging adapter.
2. The charging adapter module according to claim 1, characterized in that: The charging adapter module includes: A power supply channel control module, wherein the power supply channel control module is used to determine that the power supply channel of the portable mobile terminal is the adapter power supply path when the portable mobile terminal is connected to the charging adapter, and when the adapter power supply path and the preset battery power supply path are turned on at the same time, provide charging power to the portable mobile terminal through the adapter power supply path.
3. A charging method for a charging adapter module, characterized in that: The charging method of the charging adapter module is applied to the charging adapter module according to claims 1 to 2, and the charging method of the charging adapter module includes: When the portable mobile terminal is connected to the charging adapter, the connection status of the charging adapter is obtained through the adapter detection module, and the power determination result of the portable mobile terminal is determined according to the connection status; The power determination result sent by the adapter detection module is received through the charging adjustment module, and the current charging power of the portable mobile terminal is adjusted according to the power determination result until the adjusted charging power matches the maximum power threshold of the charging adapter, and the portable mobile terminal is stably charged through the charging adapter.
4. The charging method of the charging adapter module according to claim 3, characterized in that: The step of obtaining the connection status of the charging adapter through the adapter detection module includes: Determining, by the adapter detection module, whether the charging adapter is disconnected from the portable mobile terminal within a preset detection time; If the charging adapter is not disconnected from the portable mobile terminal within the detection time, the connection state of the charging adapter is determined to be a power-not-exceeding state.
5. The charging method of the charging adapter module according to claim 4, characterized in that: After the step of determining, by the adapter detection module, whether the charging adapter is disconnected from the portable mobile terminal within a preset detection time, the charging method further comprises: If the charging adapter is disconnected from the portable mobile terminal within the detection time, detecting whether the charging adapter is connected to the portable mobile terminal within a preset retest time; When the charging adapter is connected to the portable mobile terminal within the retest time, determining that the connection state of the charging adapter is a power over-limit state; When the charging adapter is not connected to the portable mobile terminal within the retest time, it is determined that the charging adapter is in a disconnected state.
6. The charging method of the charging adapter module according to claim 3, characterized in that: The step of determining the power determination result of the portable mobile terminal according to the connection state comprises: When the connection state of the charging adapter is a power-not-exceeding-standard state, determining that the power determination result is that the maximum power threshold of the charging adapter satisfies the current charging power of the portable mobile terminal; When the connection state of the charging adapter is a power-exceeding state, it is determined that the power determination result is that the maximum power threshold of the charging adapter does not meet the current charging power of the portable mobile terminal.
7. The charging method of the charging adapter module according to claim 3, characterized in that: The step of adjusting the current charging power of the portable mobile terminal according to the power determination result includes: When the power determination result is that the maximum power threshold of the charging adapter meets the current charging power of the portable mobile terminal, a preset power increase value is added to the current charging power to obtain a first updated power, and it is detected whether the first updated power has reached the tolerance threshold interval allowed by the maximum power threshold; If the first updated power does not reach the tolerance threshold interval, the first updated power is used as the next current charging power, and the process returns to the step of superimposing the preset power increase value on the current charging power to obtain the first updated power, until the first updated power reaches the tolerance threshold interval, and the first updated power is used as the adjusted charging power.
8. The charging method of the charging adapter module according to claim 3, characterized in that: The step of adjusting the current charging power of the portable mobile terminal according to the power determination result includes: When the power determination result is that the maximum power threshold of the charging adapter does not meet the current charging power of the portable mobile terminal, determining a second updated power according to a power difference between a preset power reduction value and the current charging power, and detecting whether the second updated power has reached a tolerance threshold interval allowed by the maximum power threshold; If the second updated power does not reach the tolerance threshold range, the second updated power is used as the next current charging power, and the process returns to the step of determining the second updated power based on the power difference between the preset power reduction value and the current charging power, until the second updated power reaches the tolerance threshold range, and the second updated power is used as the adjusted charging power.
9. An electronic device, characterized in that: The electronic device comprises the charging adapter module according to claims 1 to 2; or, The electronic device includes a processor, a memory, and a charging method program of a charging adapter module stored in the memory and executable by the processor, wherein when the charging method program of the charging adapter module is executed by the processor, the steps of the charging method of the charging adapter module as described in any one of claims 3 to 8 are implemented.
10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the charging method of the charging adapter module according to any one of claims 3 to 8 are implemented.
Citation Information
Cited By
Charging power adjusting method and device and storage medium
CN120896300A
Charging power adjustment method, device, and storage medium
CN120896300B