Charging Method, Device, Equipment and Readable Storage Medium

By monitoring and controlling the charging voltage value and the threshold value of the overvoltage protection circuit, the problem of frequent disappearance of mobile phone charging icons when the power grid is unstable is solved, improving the user experience and reducing the risk of misjudgment of mobile phone damage.

CN113013957BActive Publication Date: 2025-06-13VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110391984.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-12
Publication Date
2025-06-13
Estimated Expiration
2041-06-13

AI Technical Summary

Technical Problem

When the power grid is unstable, the charging icon on the phone frequently disappears, resulting in a decrease in user experience and may mistakenly believe that the phone is damaged.

Method used

By obtaining the charging voltage value of the electronic device, the duration of the charging voltage value is zero is monitored. When the duration is within the preset time range, the charger is controlled to lower the current supply voltage value or raise the voltage threshold of the overvoltage protection circuit.

Benefits of technology

It reduces the possibility that the charging path between the charger and the mobile phone is frequently disconnected, improves the stability of the charging icon, and reduces the possibility that users mistakenly believe that the mobile phone is damaged, thereby improving the user's experience of using the phone.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113013957B_ABST
    Figure CN113013957B_ABST
Patent Text Reader

Abstract

The present application discloses a charging method, device, equipment and readable storage medium, belonging to the technical field of charging. The method is applied to an electronic device and includes: obtaining a charging voltage value of the electronic device; when the charging voltage value is zero, monitoring the duration for which the charging voltage value is zero; and when the duration is within a preset duration range, controlling a charger connected to the electronic device to reduce the current power supply voltage value, and / or controlling an overvoltage protection circuit in the electronic device to increase the current voltage threshold value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of charging, and particularly relates to a charging method, a charging device, an electronic device, and a readable storage medium. Background Art

[0002] Currently, in some areas with unstable power grids, when a user charges a mobile phone using a charger, the output voltage Vbus of the charger frequently spikes instantaneously.

[0003] For a situation where Vbus spikes instantaneously once, when the peak voltage corresponding to Vbus is greater than the threshold value of the mobile phone charging voltage, the overvoltage protection (OVP; overvoltage protection) circuit set in the mobile phone is triggered. At this time, the OVP circuit disconnects the charging path between the charger and the mobile phone for a period of time. In this way, the charging icon on the mobile phone disappears during this period of time. And, after this period of time, the OVP circuit restores the charging path between the charger and the mobile phone, so that the charging icon on the mobile phone appears again.

[0004] Combined with the above content, it can be seen that when Vbus frequently spikes instantaneously, the OVP circuit is frequently triggered, which causes the charging path between the charger and the mobile phone to be frequently disconnected. On this basis, the charging icon on the mobile phone will frequently disappear, which reduces the user experience of using the mobile phone. In addition, the continuous and frequent disconnection of the charging path between the charger and the mobile phone may cause the charging path between the charger and the mobile phone not to be restored, and at this time the charging icon will not be restored either, unless the user replugs the charger, which will cause the user to misbelieve that the mobile phone is damaged, thereby further reducing the user experience of using the mobile phone. Summary of the Invention

[0005] The purpose of the embodiments of this application is to provide a charging method, device, equipment, and readable storage medium, which can solve the problem of reduced user experience of using the mobile phone caused by the frequent disappearance of the charging icon on the mobile phone when the power grid is unstable, and the problem of reduced user experience of using the mobile phone caused by the user misbelieving that the mobile phone is damaged when the charging icon is no longer restored.

[0006] In a first aspect, the embodiments of this application provide a charging method, which is applied to an electronic device and includes:

[0007] Obtain the charging voltage value of the electronic device;

[0008] When the charging voltage value is zero, monitor the duration for which the charging voltage value remains zero;

[0009] When the duration is within the preset duration range, control the charger connected to the electronic device to reduce the current power supply voltage value, and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

[0010] In a second aspect, an embodiment of the present application provides a charging device, including:

[0011] An acquisition module, configured to acquire the charging voltage value of the electronic device;

[0012] A monitoring module, configured to monitor the duration when the charging voltage value is zero when the charging voltage value is zero;

[0013] A control module, configured to control the charger connected to the electronic device to reduce the current power supply voltage value, and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value when the duration is within the preset duration range.

[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor. When the program or instruction is executed by the processor, the steps of the charging method described in the first aspect are implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the charging method described in the first aspect are implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor, and the processor is configured to run a program or instruction to implement the method described in the first aspect.

[0017] In an embodiment of the present application, a charging method is provided. The method is applied to an electronic device and includes: obtaining a charging voltage value of the electronic device; when the charging voltage value is zero, monitoring the duration for which the charging voltage value remains zero; and when the duration is within a preset duration range, controlling the charger connected to the electronic device to reduce the current power supply voltage value, and / or controlling the overvoltage protection circuit in the electronic device to increase the current voltage threshold value. By this method, when the power grid is unstable, the possibility of frequent disconnection of the charging path between the charger and the mobile phone can be reduced. On the one hand, this can reduce the possibility of the charging icon on the electronic device disappearing frequently, thereby improving the user experience of using the device. On the other hand, it can reduce the possibility that the charging path between the charger and the mobile phone will no longer recover due to continuous frequent disconnection of the charging path between the charger and the mobile phone, which reduces the possibility that the charging icon will no longer recover, and thus reduces the possibility that the user mistakenly believes that the mobile phone is damaged, thereby improving the user experience of using the device. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] Figure 1 is a flowchart of a charging method provided by an embodiment of the present application;

[0019] Figure 2 is a flowchart of another charging method provided by an embodiment of the present application;

[0020] Figure 3 is a schematic structural diagram of a charging device provided by an embodiment of the present application;

[0021] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

[0022] Figure 5 is a schematic hardware structure diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0023] The following will clearly describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application belong to the scope of protection of the present application.

[0024] The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of this application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the description and claims means at least one of the connected objects, and the character " / ", generally represents an "or" relationship between the associated objects before and after.

[0025] The following will combine the accompanying drawings and specifically illustrate the charging method, device, equipment and storage medium provided by the embodiments of this application through specific embodiments and their application scenarios.

[0026] The embodiments of this application provide a charging method, which is applied to an electronic device. As Figure 1 shown, the charging method provided by the embodiments of this application includes the following S1100-S1300:

[0027] S1100. Obtain the charging voltage value of the electronic device.

[0028] In this embodiment, the charging voltage value is the voltage value of the voltage applied to the positive electrode of the battery in the electronic device.

[0029] In this embodiment, the obtaining in S1100 above can be obtained at a fixed period, or obtained in real time, etc., and this application does not make any limitations on this.

[0030] S1200. When the charging voltage value is zero, monitor the duration for which the charging voltage value remains zero.

[0031] In this embodiment, when the charging voltage value is zero, it means that the electronic device is in one of the following three scenarios:

[0032] Scenario 1: The user does not charge the electronic device, or the user repeatedly plugs and unpluggs the charger.

[0033] Scenario 2: Due to unstable power grid, the power supply voltage provided by the charger to the electronic device fluctuates, resulting in the power supply voltage value provided by the charger to the electronic device exceeding the voltage threshold of OVP, and then causing OVP to disconnect the charging path between the charger and the electronic device.

[0034] Scenario 3: Instantaneous mis-acquisition.

[0035] It can be understood that, for the above three scenarios, the duration during which the charging voltage value is zero is different for each, and the difference is large. Specifically, for Scenario 1, the duration during which the charging voltage value is zero is usually at least several hundred milliseconds or more. For Scenario 2, the duration during which the charging voltage value is zero is usually several tens of milliseconds. For Scenario 3, the duration during which the charging voltage value is zero is usually at the nanosecond level. On this basis, the embodiments of the present application determine which of the above three scenarios the zero charging voltage value belongs to based on the duration during which the charging voltage value is zero.

[0036] In this embodiment, it can be understood that, before the above S1200, the charging method provided by the embodiments of the present application further includes: a step of detecting whether the charging voltage value is zero.

[0037] S1300. When the duration is within the preset duration range, control the charger connected to the electronic device to reduce the current power supply voltage value, and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

[0038] In this embodiment, the preset duration range is the range of the duration required for the overvoltage protection circuit to restore the charging circuit between the electronic device and the charger from being disconnected to being conductive. This preset duration range can be set according to experience or determined through experiments.

[0039] In one embodiment, when the preset duration range is determined through experiments, the specific process of this experiment can be: select the longest duration T1 required for the test overvoltage protection circuit to restore from the disconnected circuit to the conductive circuit, and select the shortest duration T2 required for the test overvoltage protection circuit to restore from the disconnected circuit to the conductive circuit. At the same time, considering the setting of the margin △T, set the preset duration range as [T2 + △T, T1 + △T]. Among them, the margin △T can be set according to experience. The test overvoltage protection circuit is an overvoltage protection circuit with a voltage threshold value similar to that of the overvoltage protection circuit in this embodiment.

[0040] In this embodiment, it can be understood that, before the above S1300, the charging method provided by the embodiments of the present application further includes: a step of detecting whether the duration is within the preset duration range.

[0041] In this embodiment, the charger can automatically adjust the output voltage value under the control of the electronic device to output power supply voltages of multiple gears. And, the overvoltage protection circuit can adjust the voltage threshold value within a certain range under the control of the electronic device.

[0042] In this embodiment, when the duration is within the preset duration range, it is explained that the charging voltage value being zero is caused by the above-mentioned Scenario 2. On this basis, the charger is controlled to reduce the current power supply voltage value. In this way, when the power grid is unstable, the possibility that the power supply voltage value provided by the charger to the electronic device exceeds the OVP threshold value is reduced, that is, the possibility that the charging path between the charger and the electronic device is frequently disconnected is reduced.

[0043] Among them, controlling the charger to reduce the current power supply voltage value can specifically be to reduce the current power supply voltage value of the charger to the power supply voltage value of the next lower gear, or to reduce the current power supply voltage value of the charger to the lowest gear power supply voltage value, etc. On this basis, it can be known that controlling the charger connected to the electronic device to reduce the current power supply voltage value in the above S1300 can specifically be:

[0044] Controlling the charger connected to the electronic device to reduce the current power supply voltage value to the power supply voltage value of the next lower gear.

[0045] In addition, the overvoltage protection circuit in the electronic device can also be controlled to increase the current voltage threshold value. For example, the current voltage threshold value of the overvoltage protection circuit is increased to the voltage threshold value of the next higher gear. In this way, when the power grid is unstable, the possibility that the power supply voltage value provided by the charger to the electronic device exceeds the OVP threshold value is reduced, that is, the possibility that the charging path between the charger and the electronic device is frequently disconnected is reduced.

[0046] Corresponding to the above S1300, when the duration is not within the preset duration range, it is determined that the electronic device is in the above-mentioned Scenario 1 or Scenario 2. At this time, the electronic device can do nothing.

[0047] In the embodiment of the present application, a charging method is provided. This method is applied to an electronic device and includes: obtaining the charging voltage value of the electronic device; when the charging voltage value is zero, monitoring the duration for which the charging voltage value is zero; when the duration is within the preset duration range, controlling the charger connected to the electronic device to reduce the current power supply voltage value, and / or controlling the overvoltage protection circuit in the electronic device to increase the current voltage threshold value. Through this method, when the power grid is unstable, the possibility that the charging path between the charger and the mobile phone is frequently disconnected can be reduced. On the one hand, this can reduce the possibility that the charging icon on the electronic device frequently disappears, thereby improving the user's experience of using the device. On the other hand, it can reduce the possibility that the charging path between the charger and the mobile phone is continuously and frequently disconnected and then the charging path between the charger and the mobile phone no longer resumes, which reduces the possibility that the charging icon no longer resumes, thereby reducing the possibility that the user mistakenly believes that the mobile phone is damaged, and further improving the user's experience of using the device.

[0048] In one embodiment, corresponding to S1200 above, the charging method provided by the embodiments of the present application further includes the following S1410:

[0049] S1400. When the charging voltage value is not zero, control the current power supply voltage value of the charger to remain unchanged.

[0050] In this embodiment, when the charging voltage value is not zero, it indicates that the charger can normally charge the battery of the electronic device. At this time, the current power supply voltage value of the charger can be controlled to remain unchanged.

[0051] In another embodiment, corresponding to S1200 above, the charging method provided by the embodiments of the present application further includes the following S1420:

[0052] S1420. When the charging voltage is not zero, control the charger to increase the current power supply voltage value.

[0053] In this embodiment, when the charging voltage value is not zero, it indicates that the charger can normally charge the battery of the electronic device. At this time, the current power supply voltage value of the charger can be controlled to increase, for example, increasing the current power supply voltage value of the charger to the power supply voltage value of the next higher gear, or increasing the current power supply voltage value of the charger to the power supply voltage value of the highest gear, etc. In this way, the charging speed of the electronic device can be increased.

[0054] In one embodiment, after S1300 in the charging method provided by the embodiments of the present application, it further includes the following S1500:

[0055] S1500. Repeatedly obtain the charging voltage value of the electronic device.

[0056] In this embodiment, after controlling the charger connected to the electronic device to reduce the current power supply voltage value, the charging voltage value of the battery of the electronic device is obtained again to repeatedly execute S1100 - S1300 above. In this way, the problem that the power supply voltage value provided by the charger to the electronic device exceeds the OVP threshold value can be directly avoided.

[0057] In one embodiment of the present application, the specific implementation of controlling the charger connected to the electronic device to reduce the current power supply voltage value in S1300 when the continuous duration is within the preset duration range can be as follows S1310:

[0058] S1310. When the continuous duration is within the preset duration range and the current power supply voltage value is greater than the first voltage value of the charger, control the charger connected to the electronic device to reduce the current power supply voltage value.

[0059] In this embodiment, the first voltage value can be the minimum power supply voltage value of the charger. When the duration is within the preset duration range and the current power supply voltage value is greater than the first voltage value of the charger, it indicates that the current power supply voltage value can still be reduced. At this time, control the charger connected to the electronic device to reduce the current power supply voltage value.

[0060] Corresponding to S1310 above, when the duration is within the preset duration range and the current power supply voltage value is equal to the first voltage value of the charger, it indicates that the current power supply voltage value cannot be reduced. At this time, control the charger connected to the electronic device to output a prompt message to prompt the user that the charging voltage value is caused by Scenario 2 above. This can prevent the user from mistakenly thinking that the electronic device is damaged, thereby improving the user's experience of using the device.

[0061] In an embodiment of the present application, the specific implementation of controlling the overvoltage protection circuit in the electronic device in S1300 to increase the current voltage threshold value can be as follows in S1320:

[0062] S1320: When the current voltage threshold value is less than the target voltage threshold value, control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

[0063] Among them, the target voltage threshold value is the voltage value of the maximum voltage that the battery can withstand.

[0064] In this embodiment, when the current voltage threshold value is less than the target voltage threshold value, it indicates that the current voltage threshold value can still be increased. At this time, control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

[0065] Correspondingly, when the current voltage threshold value is equal to the target voltage threshold value, it indicates that the current voltage threshold value cannot be increased. At this time, control the charger connected to the electronic device to output a prompt message to prompt the user that the charging voltage value is zero is caused by Scenario 2 above. This can prevent the user from mistakenly thinking that the electronic device is damaged, thereby improving the user's experience of using the device.

[0066] Combining the above content, in an embodiment, as Figure 2 shown, the charging method provided by the embodiment of the present application includes the following S2100 - S2600:

[0067] S2100: Obtain the charging voltage value of the electronic device, and then execute S2200 below.

[0068] S2200: Detect whether the charging voltage value is zero. If it is, execute S2300 below; if not, execute S2400 below;

[0069] S2300. Monitor the duration for which the charging voltage value is zero, and then execute S2500 below.

[0070] S2400. Control the charger to maintain the current power supply voltage value and end.

[0071] S2500. Detect whether the duration is within a preset duration range. If so, execute S2600 below; if not, end.

[0072] S2600. Control the charger connected to the electronic device to reduce the current power supply voltage value to the power supply voltage value of the next level, and then execute S2100 above.

[0073] It should be noted that for the charging method provided in the embodiments of the present application, the execution subject can be a charging device, or a control module in the charging device for executing the charging method. In the embodiments of the present application, the charging device executing the charging method is taken as an example to illustrate the charging device provided in the embodiments of the present application.

[0074] Embodiments of the present application provide a charging device 300, as Figure 3 shown. The charging device 300 includes an acquisition module 310, a monitoring module 320, and a control module 330. Among them:

[0075] The acquisition module 310 is used to acquire the charging voltage value of the electronic device.

[0076] The monitoring module 320 is used to monitor the duration for which the charging voltage value is zero when the charging voltage value is zero.

[0077] The control module 330 is used to control the charger connected to the electronic device to reduce the current power supply voltage value and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value when the duration is within the preset duration range.

[0078] Among them, the preset duration range is the range of the duration required for the overvoltage protection circuit to restore the charging connection path between the electronic device and the charger from being disconnected to being conductive.

[0079] In one embodiment, the control module 330 is further used to control the current power supply voltage value of the charger to remain unchanged when the charging voltage value is not zero.

[0080] In one embodiment, the device 300 further includes a repetition module, and the repetition module is used to repeat the acquisition of the charging voltage value of the electronic device.

[0081] In one embodiment, the control module 330 is specifically used to control the charger connected to the electronic device to reduce the current power supply voltage value to the power supply voltage value of the next level.

[0082] In one embodiment, the control module 330 is specifically configured to control the charger connected to the electronic device to reduce the current supply voltage value when the duration is within a preset duration range and the current supply voltage value is greater than the first voltage value of the charger.

[0083] In one embodiment, the control module 330 is specifically configured to control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value when the current voltage threshold value is less than the target voltage threshold value.

[0084] In an embodiment of the present application, a charging device is provided. The charging device includes an acquisition module 310, a monitoring module, and a control module. Among them: the acquisition module is used to acquire the charging voltage value of the electronic device; the monitoring module is used to monitor the duration when the charging voltage value is zero when the charging voltage value is zero; the control module is used to control the charger connected to the electronic device to reduce the current supply voltage value when the duration is within a preset duration range, and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value. Through this device, the possibility of frequent disconnection of the charging path between the charger and the mobile phone can be reduced when the power grid is unstable. On the one hand, this can reduce the possibility of the charging icon on the electronic device disappearing frequently, thereby improving the user experience of using the device. On the other hand, it can reduce the possibility that the charging path between the charger and the mobile phone will no longer recover due to continuous frequent disconnection of the charging path between the charger and the mobile phone, which reduces the possibility that the charging icon will no longer recover, thereby reducing the possibility that the user misjudges the mobile phone as damaged, and further improving the user experience of using the device.

[0085] The charging device in the embodiment of the present application can be a device, or a component, an integrated circuit, or a chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc. The embodiment of the present application does not make specific limitations.

[0086] The charging device in the embodiments of the present application can be a device with an operating system. The operating system can be the Android operating system, the iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

[0087] The charging device provided in the embodiments of the present application can implement Figure 1 and Figure 2 each process implemented by the method embodiments. To avoid repetition, it will not be described in detail here.

[0088] Optionally, as Figure 4 shown, the embodiments of the present application further provide an electronic device 400, including a processor 401, a memory 402, a program or instruction stored on the memory 402 and executable on the processor 401. When the program or instruction is executed by the processor 401, it implements each process of the above-mentioned charging method embodiments and can achieve the same technical effects. To avoid repetition, it will not be described in detail here.

[0089] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0090] Figure 5 is a schematic diagram of the hardware structure of an electronic device provided by the embodiments of the present application.

[0091] The electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510 and other components.

[0092] Those skilled in the art can understand that the electronic device 500 may further include a power supply (such as a battery) for supplying power to each component. The power supply can be logically connected to the processor 110 through a power management system, so as to realize functions such as management of charging, discharging, and power consumption management through the power management system. Figure 5 The structure of the electronic device shown in

[0093] does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be described in detail here.

[0094] wherein, the processor 510 is used to obtain the charging voltage value of the electronic device;

[0095] When the duration is within the preset duration range, control the charger connected to the electronic device to reduce the current power supply voltage value, and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

[0096] In the embodiment of the present application, the processor is configured to: obtain the charging voltage value of the electronic device; when the charging voltage value is zero, monitor the duration for which the charging voltage value is zero; when the duration is within the preset duration range, control the charger connected to the electronic device to reduce the current power supply voltage value, and / or control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value. In this way, when the power grid is unstable, the possibility of frequent disconnection of the charging path between the charger and the mobile phone can be reduced. On the one hand, this can reduce the possibility of the charging icon on the electronic device disappearing frequently, thereby improving the user experience of using the device. On the other hand, it can reduce the possibility that the charging path between the charger and the mobile phone will no longer recover due to frequent disconnection, which reduces the possibility that the charging icon will no longer recover, thereby reducing the possibility that the user mistakenly believes that the mobile phone is damaged, and further improving the user experience of using the device.

[0097] Optionally, the processor 510 is further configured to, when the charging voltage value is not zero, control the current power supply voltage value of the charger to remain unchanged.

[0098] Optionally, the processor 510 is further configured to repeat the obtaining of the charging voltage value of the electronic device.

[0099] Optionally, the processor 510 is specifically configured to control the charger connected to the electronic device to reduce the current power supply voltage value to the power supply voltage value of the next gear.

[0100] Optionally, the processor 510 is specifically configured to, when the duration is within the preset duration range and the current power supply voltage value is greater than the first voltage value of the charger, control the charger connected to the electronic device to reduce the current power supply voltage value.

[0101] Optionally, the processor 510 is specifically configured to, when the current voltage threshold value is less than the target voltage threshold value, control the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

[0102] It should be understood that in the embodiments of the present application, the input unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042. The GPU 5041 processes the image data of static pictures or videos obtained by an image capturing device (such as a camera) in the video capturing mode or the image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and other input devices 5072. The touch panel 5071 is also known as a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. The other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, power on / off keys, etc.), a trackball, a mouse, and a joystick, which will not be elaborated here. The memory 509 can be used to store software programs and various data, including but not limited to application programs and operating systems. The processor 510 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, application programs, etc., and the modem processor mainly processes wireless communications. It can be understood that the above-mentioned modem processor may not be integrated into the processor 510.

[0103] The embodiments of the present application further provide a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements each process of the above-mentioned charging method embodiments and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0104] Among them, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer Read-Only Memory (ROM), Random Access Memory (RAM), magnetic disks, or optical discs, etc.

[0105] The embodiments of the present application further provide a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run a program or instruction to implement each process of the above-mentioned charging method embodiments and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0106] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0107] It should be noted that in this text, the term "including", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of additional identical elements in the process, method, article or device including that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0108] From the description of the above embodiments, those skilled in the art can clearly understand that the above-described example methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present application.

[0109] The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the purpose of the present application and the scope protected by the claims, can still make many forms, all of which fall within the protection scope of the present application.

Claims

1. A charging method, characterized in that, the method is applied to an electronic device and includes: obtaining a charging voltage value of the electronic device, where the charging voltage value is the voltage value of the voltage applied to the positive electrode of the battery in the electronic device; when the charging voltage value is zero, monitoring the duration for which the charging voltage value remains zero; when the duration is within a preset duration range, controlling the charger connected to the electronic device to reduce the current power supply voltage value, and / or controlling the overvoltage protection circuit in the electronic device to increase the current voltage threshold value, where the preset duration range is the range of the duration required for the overvoltage protection circuit to restore the charging connection path between the electronic device and the charger from being disconnected to being connected.

2. The method according to claim 1, characterized in that, the method further includes: when the charging voltage value is not zero, controlling the current power supply voltage value of the charger to remain unchanged.

3. The method according to claim 1, characterized in that, after controlling the charger connected to the electronic device to reduce the current power supply voltage value when the duration is within a preset duration range, it further includes: repeating the obtaining of the charging voltage value of the electronic device.

4. The method according to claim 1, characterized in that, controlling the charger connected to the electronic device to reduce the current power supply voltage value includes: controlling the charger connected to the electronic device to reduce the current power supply voltage value to the power supply voltage value of the next level.

5. The method according to claim 1, characterized in that, controlling the charger connected to the electronic device to reduce the current power supply voltage value when the duration is within a preset duration range includes: when the duration is within a preset duration range and the current power supply voltage value is greater than the first voltage value of the charger, controlling the charger connected to the electronic device to reduce the current power supply voltage value.

6. The method according to claim 1, characterized in that, controlling the overvoltage protection circuit in the electronic device to increase the current voltage threshold value includes: when the current voltage threshold value is less than the target voltage threshold value, controlling the overvoltage protection circuit in the electronic device to increase the current voltage threshold value.

7. A charging device, characterized in that, it includes: an obtaining module for obtaining a charging voltage value of an electronic device, where the charging voltage value is the voltage value of the voltage applied to the positive electrode of the battery in the electronic device; a monitoring module for monitoring the duration for which the charging voltage value remains zero when the charging voltage value is zero; a control module for controlling the charger connected to the electronic device to reduce the current power supply voltage value, and / or controlling the overvoltage protection circuit in the electronic device to increase the current voltage threshold value when the duration is within a preset duration range, where the preset duration range is the range of the duration required for the overvoltage protection circuit to restore the charging connection path between the electronic device and the charger from being disconnected to being connected.

8. The device according to claim 7, characterized in that, The device further includes a repetition module, and the repetition module is configured to: Repeat obtaining the charging voltage value of the electronic device.

9. An electronic device, characterized in that it includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, and when the program or instruction is executed by the processor, the steps of the charging method according to any one of claims 1-6 are implemented.

10. A readable storage medium, characterized in that a program or instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the charging method according to any one of claims 1-6 are implemented.

Citation Information

Patent Citations

  • Power supplying method and device thereof

    US20180019596A1

  • Charging method and charger

    US20210006087A1