Charging processing method, terminal device and storage medium

US11205906B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11205906-B2
Application numberUS-201916548300-A
CountryUS
Kind codeB2
Filing dateAug 22, 2019
Priority dateAug 22, 2018
Publication dateDec 21, 2021
Grant dateDec 21, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure relates to a charging processing method, a terminal device and a storage medium. The charging processing method, applied to a terminal device, includes determining whether the terminal device is in a upstream facing port (UFP) mode; when the terminal device is in the UFP mode, determining whether a cable is connected to the terminal device; when the cable is connected to the terminal device, determining whether the cable is a standard cable or a non-standard cable, wherein the terminal device is connected to a charging device via the cable; and when the cable is the non-standard cable, controlling, via the cable, the charging device to provide a standard voltage of non-quickly-charging input voltage to charge the terminal device.

First claim

Opening claim text (preview).

What is claimed is: 1. A charging processing method, applied to a terminal device, comprising: determining whether the terminal device is in a upstreamfacing port (UFP) mode; when the terminal device is in the UFP mode, determining whether a cable is connected to the terminal device; when the cable is connected to the terminal device, determining whether the cable is a standard cable or a non-standard cable, wherein the terminal device is connected to a charging device via the cable; and when the cable is the non-standard cable, controlling, via the cable, the charging device to provide a standard voltage of non-quickly-charging input voltage to charge the terminal device, wherein determining whether the cable connected to the terminal device is the standard cable or the non-standard cable comprises: switching a CC pin of the terminal device connected to a first resistor of a C interface of the cable to an ADC module in the terminal device by a preset frequency; when the CC pin is connected to the ADC module, triggering the ADC module to acquire a first voltage value provided via the cable through a second resistor of the terminal device; and determining whether the cable is the standard cable or the non-standard cable based on first voltage value. 2. The method according to claim 1 , further comprising: when the cable is the standard cable, controlling, via the cable, the charging device to provide a quickly-charging input voltage to charge the terminal device. 3. The method according to claim 1 , further comprising: when the cable is the non-standard cable, displaying an alert message that is configured to indicate that the cable is the non-standard cable. 4. The method according to claim 1 , wherein determining whether the cable is the standard cable or the non-standard cable based on the first voltage value comprises: determining whether the first voltage value exceeds a preset voltage threshold; when the first voltage value exceeds the preset voltage threshold, increasing a number of times that the first voltage value exceeds the preset voltage threshold by one; determining an accumulated number of times that the first voltage value exceeds the preset voltage threshold; and when the accumulated number of times that the first voltage value exceeds the preset voltage threshold is greater than or equal to a preset number of times, determining that the cable is the non-standard cable. 5. The method according to claim 4 , further comprising: when the accumulated number of times that the first voltage value exceeds the preset voltage threshold is less than the preset number of times, determining that the cable is the standard cable. 6. The method according to claim 2 , wherein controlling, via the cable, the charging device to provide the quickly-charging input voltage to charge the terminal device comprises: adopting a quickly-charging protocol to control the charging device to boost a voltage output by the charging device via the cable to charge the terminal device by adopting the quickly-charging input voltage. 7. The method according to claim 1 , wherein determining whether the terminal device is in the UFP mode comprises: determining whether a CC pin of the terminal device is pulled down to a first resistor of a C interface of the cable; and when the CC pin of the terminal device is pulled down to the first resistor of the C interface of the cable, determining that the terminal device is in the UFP mode. 8. The method according to claim 7 , further comprising: determining whether the CC pin of the terminal device is pulled up to a current source of the terminal device; and when the CC pin is pulled up to the current source of the terminal device, determining that the terminal device is in a downstream facing port (DFP) mode. 9. A terminal device, comprising: a processor; and a memory configured to store instructions executable by the processor, wherein the processor is configured to: determine whether the terminal device is in a upstream facing port (UFP) mode; when the terminal device is in the UFP mode, determine whether a cable is connected to the terminal device; when the cable is connected to the terminal device, determine whether the cable is a standard cable or a non-standard cable, wherein the terminal device is connected to a charging device via the cable; and when the cable is the non-standard cable, control, via the cable, the charging device to provide a standard voltage of non-quickly-charging input voltage to charge the terminal device, wherein, when determining whether the cable connected to the terminal device is the standard cable or the non-standard cable, the processor is further configured to: switch a CC pin of the terminal device connected to a first resistor of a C interface of the cable to an ADC module in the terminal device by a preset frequency; when the CC pin is connected to the ADC module, trigger the ADC module to acquire a first voltage value provided via the cable through a second resistor of the terminal device; and determine whether the cable is the standard cable or the non-standard cable based on the first voltage value. 10. The terminal device according to claim 9 , wherein the processor is further configured to: when the cable is the standard cable, control, via the cable, the charging device to provide a quickly-charging input voltage to charge the terminal device. 11. The terminal device according to claim 9 , wherein the processor is further configured to: when the cable is the non-standard cable, display an alert message that is configured to indicate that the cable is the non-standard cable. 12. The terminal device according to claim 9 , wherein, when determining whether the cable is the standard cable or the non-standard cable based on the first voltage value, the processor is further configured to: determine whether the first voltage value exceeds a preset voltage threshold; when the first voltage value exceeds the preset voltage threshold, increase a number of times that the first voltage value exceeds the preset voltage threshold by one; determine an accumulated number of times that the first voltage value exceeds the preset voltage threshold; and when the accumulated number of times that the first voltage value exceeds the preset voltage threshold is greater than or equal to a preset number of times, determine that the cable is the non-standard cable. 13. The terminal device according to claim 12 , wherein the processor is further configured to: when the accumulated number of times that the first voltage value exceeds the preset voltage threshold is less than the preset number of times, determine that the cable is the standard cable. 14. The terminal device according to claim 10 , wherein, when controlling, via the cable, the charging device to provide the quickly-charging input voltage to charge the terminal device, the processor is further configured to: adopt a quickly-charging protocol to control the charging device to boost a voltage output by the charging device via the cable, to charge the terminal device by adopting the quickly-charging input voltage. 15. The terminal device according to claim 9 , wherein, when determining whether the terminal device is in the UFP mode, the processor is further configured to: determine whether a CC pin of the terminal device is pulled down to a first resistor of a C interface of the cable; and when the CC pin of the terminal device is pulled down to the first resistor of the C interface of the cable, determine that the terminal device is in the UFP mode.

Assignees

Inventors

Classifications

  • Portable electronic devices · CPC title

  • with electronic devices having internal batteries, e.g. mobile phones · CPC title

  • using circuits for correcting or protecting against reverse-polarity · CPC title

  • Arrangements for checking compatibility or authentication between one component, e.g. a battery or a battery charger, and another component, e.g. a power source · CPC title

  • H02J7/933Primary

    the cycle being controlled or terminated in response to electric parameters · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11205906B2 cover?
The present disclosure relates to a charging processing method, a terminal device and a storage medium. The charging processing method, applied to a terminal device, includes determining whether the terminal device is in a upstream facing port (UFP) mode; when the terminal device is in the UFP mode, determining whether a cable is connected to the terminal device; when the cable is connected to …
Who is the assignee on this patent?
Beijing Xiaomi Mobile Software Co Ltd
What technology area does this patent fall under?
Primary CPC classification H02J7/933. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Dec 21 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 4 related publications on this page (citations in our corpus or others sharing the same primary CPC).