CN106549445B - Mobile terminal and charging switching control method - Google Patents

Mobile terminal and charging switching control method Download PDF

Info

Publication number
CN106549445B
CN106549445B CN201610979373.7A CN201610979373A CN106549445B CN 106549445 B CN106549445 B CN 106549445B CN 201610979373 A CN201610979373 A CN 201610979373A CN 106549445 B CN106549445 B CN 106549445B
Authority
CN
China
Prior art keywords
mobile terminal
charging
wireless charging
usb
wired
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610979373.7A
Other languages
Chinese (zh)
Other versions
CN106549445A (en
Inventor
王帅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huizhou Yili Technology Co ltd
Original Assignee
Taicang Haobo Technical Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taicang Haobo Technical Service Co Ltd filed Critical Taicang Haobo Technical Service Co Ltd
Priority to CN201610979373.7A priority Critical patent/CN106549445B/en
Publication of CN106549445A publication Critical patent/CN106549445A/en
Application granted granted Critical
Publication of CN106549445B publication Critical patent/CN106549445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J7/025
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2207/00Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J2207/40Indexing scheme relating to details of circuit arrangements for charging or depolarising batteries or for supplying loads from batteries adapted for charging from various sources, e.g. AC, DC or multivoltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Abstract

The invention discloses a mobile terminal, comprising: the switching module is used for closing the wireless charging and starting the wired charging when the mobile terminal is currently in wireless charging and wired charging access exists; the control module is used for judging whether the mobile terminal is switched from wired charging to wireless charging when the mobile terminal is detected to have a USB pull-out event currently, and shielding the USB pull-out event if the mobile terminal is switched from wired charging to wireless charging; when the current USB plug-in event of the mobile terminal is detected, judging whether the mobile terminal is switched from wireless charging to wired charging or not, if so, shielding the USB plug-in event, and reporting the current charging mode of the mobile terminal. The invention also discloses a charging switching control method. The invention avoids the adverse effect generated in the charging mode switching process, so that the user feels seamless switching, and the use experience of the user is further improved.

Description

Mobile terminal and charging switching control method
Technical Field
The invention relates to the technical field of mobile terminal charging, in particular to a mobile terminal and a charging switching control method.
Background
Generally, when a mobile terminal is wirelessly charged, if a USB is plugged in, in order to ensure charging safety, only one charging mode is generally selected, for example, a wired charging mode (that is, charging is performed through a USB interface) is adopted, and then wireless charging needs to be switched to wired charging. And poor user experience may be generated in the switching process, for example, a low power alarm prompt is generated under a low power condition, and shutdown and restart are generated under a shutdown and charging state.
Disclosure of Invention
The invention mainly aims to provide a mobile terminal and a charging switching control method, and aims to solve the technical problem that the use experience of a user is reduced due to the fact that adverse effects are avoided in the switching process of a charging mode.
In order to achieve the above object, the present invention provides a mobile terminal having a wired charging mode and a wireless charging mode, the mobile terminal comprising:
the switching module is used for closing the wireless charging and starting the wired charging when the mobile terminal is currently in wireless charging and wired charging access exists;
the control module is used for judging whether the mobile terminal is switched from wired charging to wireless charging when the mobile terminal is detected to have a USB pull-out event currently, and shielding the USB pull-out event if the mobile terminal is switched from wired charging to wireless charging; when the current USB plug-in event of the mobile terminal is detected, judging whether the mobile terminal is switched from wireless charging to wired charging or not, if so, shielding the USB plug-in event, and reporting the current charging mode of the mobile terminal.
Optionally, the control module is further configured to:
when a USB pull-out event of the mobile terminal is detected, monitoring whether the mobile terminal is still in a wireless charging range or not, and if yes, determining that the mobile terminal is switched from wired charging to wireless charging; when detecting that the mobile terminal has a current USB plug-in event, monitoring whether the mobile terminal is still in a wireless charging range currently and the USB plug-in event is generated by starting wired charging, and if so, determining that the mobile terminal is switched from wireless charging to wired charging currently.
Optionally, the control module is further configured to:
and if the mobile terminal does not switch from wired charging to wireless charging currently, reporting the USB pull-out event.
Optionally, the control module is further configured to:
and if the mobile terminal does not switch from wireless charging to wired charging currently, reporting the USB insertion event.
Optionally, the control module is further configured to:
and if the mobile terminal has a USB insertion event currently and the wireless charging is switched to the wired charging, reporting that the current charging mode of the mobile terminal is the wired charging mode, and starting the wired charging.
Further, to achieve the above object, the present invention further provides a charging switching control method applied to a mobile terminal having a wired charging mode and a wireless charging mode, the charging switching control method comprising:
when the mobile terminal is currently charged wirelessly and wired charging is accessed, the wireless charging is closed and the wired charging is started;
when the USB pulling-out event of the mobile terminal is detected to exist currently, judging whether the mobile terminal is switched from wired charging to wireless charging currently, and if so, shielding the USB pulling-out event;
when the current USB plug-in event of the mobile terminal is detected, judging whether the mobile terminal is switched from wireless charging to wired charging or not, if so, shielding the USB plug-in event, and reporting the current charging mode of the mobile terminal.
Optionally, when it is detected that the USB unplugging event currently exists in the mobile terminal, the determining whether the mobile terminal currently performs the switching from the wired charging to the wireless charging includes:
when a USB pull-out event of the mobile terminal is detected, monitoring whether the mobile terminal is still in a wireless charging range or not, and if yes, determining that the mobile terminal is switched from wired charging to wireless charging;
when the USB plug-in event of the mobile terminal is detected to exist at present, the step of judging whether the mobile terminal is switched from wireless charging to wired charging or not currently comprises the following steps:
when detecting that the mobile terminal has a current USB plug-in event, monitoring whether the mobile terminal is still in a wireless charging range currently and the USB plug-in event is generated by starting wired charging, and if so, determining that the mobile terminal is switched from wireless charging to wired charging currently.
Optionally, the charge switching control method further includes:
and if the mobile terminal does not switch from wired charging to wireless charging currently, reporting the USB pull-out event.
Optionally, the charge switching control method further includes:
and if the mobile terminal does not switch from wireless charging to wired charging currently, reporting the USB insertion event.
Optionally, the charge switching control method includes:
and if the mobile terminal has a USB insertion event currently and the wireless charging is switched to the wired charging, reporting that the current charging mode of the mobile terminal is the wired charging mode, and starting the wired charging.
According to the method and the device, the reporting of the USB pulling-out event and the USB inserting event generated when the mobile terminal is in the state of switching the wireless charging mode into the wired charging mode is shielded according to the current charging state of the mobile terminal, so that various adverse effects generated in the switching process of the charging mode are avoided, and the use experience of a user in charging the mobile terminal by using the wired and wireless charging modes is further improved.
Drawings
Fig. 1 is a schematic circuit connection diagram of a charging module in a mobile terminal according to the present invention;
fig. 2 is a timing diagram of power switching and communication corresponding to wired charging when the mobile terminal of the present invention is accessed to a wireless charging process;
FIG. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention;
FIG. 4 is a schematic circuit diagram of a mobile terminal according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a charging switching control method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a circuit connection diagram of a charging module in a mobile terminal according to the present invention.
As shown in fig. 1, the mobile terminal has two charging modes: one is to connect with the external wired charging equipment through a USB port for wired charging; the other is to wirelessly charge with an external wireless charging device through a built-in wireless charging receiving and converting circuit.
Wherein, Battery is the mobile terminal Battery; the charge IC is a charging management integrated circuit of the mobile terminal; the PMIC is a power management integrated circuit of the mobile terminal; the Gator Board is a wireless charging component; BUCK is a voltage-reducing conversion circuit; the MCU is a microprocessor and is mainly responsible for wireless charging management of the mobile terminal.
Based on the charging module structure of the mobile terminal shown in fig. 1, the mobile terminal will necessarily involve the selection and switching of the charging mode, which is as follows:
firstly, the selection of a single charging mode, such as either selecting a USB wired charging mode or selecting a wireless charging mode, is simple in the charging selection process under such situations, and therefore, redundant description is not given.
Secondly, the two charging modes are selected simultaneously, for example, the selection is performed according to the priority level, and usually the default USB wired charging mode of the mobile terminal system is preferred. Under the situation, the charging sequence can correspond to two situations:
the first situation is as follows: the wired charging mode is firstly charged, and then the wireless charging mode is accessed. In such a situation, the wireless charging mode access will not be successful because the priority of the wired charging mode is higher.
Case two: the wireless charging mode is firstly charged, and then the wired charging mode is accessed. In such a situation, the access of the wired charging mode interrupts the wireless charging process, specifically, as shown in fig. 2, the power switching and communication timing diagram corresponding to the access of the wired charging mode in the wireless charging process.
As shown in fig. 2, when the mobile terminal is placed on the charging board of the external wireless charging device, VRECT will get up, IC State will enter REST State from OFF State, and after a series of initialization and other work, the mobile terminal will be informed through terminal INT _ AP before enable buck, and after obtaining the feedback of enable buck allowed to be performed by the mobile terminal, enable buck is performed, and at this time, the IC will enter WPT (wireless charging) stage, and during WPT stage, if there is USB access, VBUS corresponding to the USB access will get up, and at the same time, since the priority of IC defaults to USB is high, the USB buck will be disabled, and the AP controller will be informed through the terminal to handshake with the accessed external wired charging device, and after the handshake is successful, the corresponding USB charging loop will be opened through VBUS _ EN, at this time, the IC has wireless charging source (in wireless charging range), thus entering the READY state.
Based on the above embodiments of the mobile terminal, embodiments of the mobile terminal and the charging switching control method of the present invention are provided.
Referring to fig. 3, fig. 3 is a block diagram of a mobile terminal according to an embodiment of the present invention. In this embodiment, the mobile terminal has a wired charging mode and a wireless charging mode, for example, the wired charging mode is performed by using a USB connection mode, and the wireless charging mode is performed by using a magnetic resonance mode.
In order to avoid various adverse effects generated in the charging mode switching process, in this embodiment, the mobile terminal includes:
the switching module 210 is configured to close wireless charging and open wired charging when the mobile terminal is currently in wireless charging and wired charging access exists;
the control module 220 is configured to, when it is detected that a USB pull-out event currently exists in the mobile terminal, determine whether the mobile terminal currently performs a switch from wired charging to wireless charging, and if so, shield the USB pull-out event; when the current USB plug-in event of the mobile terminal is detected, judging whether the mobile terminal is switched from wireless charging to wired charging or not, if so, shielding the USB plug-in event, and reporting the current charging mode of the mobile terminal.
Wired charging is generally more efficient than wireless charging, and therefore, a mobile terminal system generally prefers wired charging by default. Therefore, in this embodiment, when the mobile terminal is currently performing wireless charging and there is wired charging access, the switching module 210 defaults to performing wired charging and needs to perform a switching process of the charging mode. It should be noted that, the charging mode switching in this embodiment is a process, and includes closing and exiting of wireless charging and accessing and opening of wired charging.
In this embodiment, the charging of the mobile terminal needs to be performed through connection (wireless connection or wired connection) with the external charging device, that is, the corresponding USB plug-in event or USB plug-out event is generated on the mobile terminal when the charging connection is established or disconnected between the mobile terminal and the external charging device. However, the USB pull-out event and the USB insertion event need to be reported to the application layer of the system by default, so that various adverse effects generated in the application layer for reporting the USB pull-out event or the USB insertion event, such as prompting a user to pull out or insert the USB device, etc., are avoided, and therefore the reporting of the USB pull-out event generated by disconnection of wired charging needs to be shielded.
In addition, it should be further described in this embodiment that shielding the USB pulling-out event or the USB inserting event does not only avoid that the USB device of the user is pulled out or inserted on the application layer, but also further avoids other adverse effects caused by the pulling-out or the inserting of the USB device, such as a low power alarm prompt generated after the wired charging device is pulled out when the mobile terminal is in a low power state, or a shutdown restart operation generated in a state where the charging machine is turned off.
Since the control module 220 shields the USB plug-out and plug-in events generated during the process of switching the mobile terminal from the wireless charging to the wired charging, the control module 220 is further configured to report the current charging mode of the mobile terminal after the switching from the wireless charging to the wired charging is successfully completed, so that a user can know the current charging mode of the mobile terminal.
Optionally, the control module 220 is further configured to: and if the mobile terminal has a USB insertion event currently and the wireless charging is switched to the wired charging, reporting that the current charging mode of the mobile terminal is the wired charging mode, and starting the wired charging. That is, if there is a USB insertion event generated by wired charging access in the switching process, it indicates that the switching is successful, so the application layer can be reported: the current charging mode of the mobile terminal is a wired charging mode. At the same time, the control module 220 will start to charge the battery in the mobile terminal in a wired charging manner.
In this embodiment, according to the current charging state of the mobile terminal, reporting of a USB pull-out event and a USB plug-in event generated when the mobile terminal is in a state where wireless charging is switched to wired charging is shielded, so that various adverse effects generated in a charging mode switching process are avoided, and the use experience of a user in charging the mobile terminal by using wired and wireless charging modes is further improved.
Further optionally, in another embodiment of the mobile terminal of the present invention, the control module 220 is specifically configured to:
when a USB pull-out event of the mobile terminal is detected, monitoring whether the mobile terminal is still in a wireless charging range or not, and if yes, determining that the mobile terminal is switched from wired charging to wireless charging; when detecting that the mobile terminal has a current USB plug-in event, monitoring whether the mobile terminal is still in a wireless charging range currently and the USB plug-in event is generated by starting wired charging, and if so, determining that the mobile terminal is switched from wireless charging to wired charging currently.
In this embodiment, only when the mobile terminal is currently performing wireless charging and has access to wired charging, and is within the wireless charging range, the mobile terminal can perform wireless-to-wired charging mode switching.
Considering that there may be a transition state during the switching process, such as wireless charging currently being performed and wired charging access, if there is an external influence during the switching process and the wireless charging is suddenly interrupted, in such a case, there are two charging operations: the first time is wireless charging, and the second time is wired charging after the wireless charging is interrupted by the outside world, that is, an active switching process from wireless charging to wired charging does not exist under the condition (that is, the wireless charging is actively cut off and the wired charging is started).
Therefore, whether the mobile terminal is currently in the wireless charging range or not is monitored, the specific monitoring mode is not limited, for example, whether a signal broadcasted by an external wireless charging device exists or not is monitored, and if the signal exists, the current switching from the wireless charging to the wired charging of the mobile terminal can be determined.
Further optionally, the control module 220 is further configured to: if the mobile terminal does not switch from wired charging to wireless charging currently, reporting the USB pulling-out event; and if the mobile terminal does not switch from wireless charging to wired charging currently, reporting the USB insertion event. Since the USB pull-out event and the USB plug-in event are not generated by switching the charging modes, the USB pull-out event and the USB plug-in event under the above situation can be reported to the system application layer of the mobile terminal.
Referring to fig. 4, fig. 4 is a schematic circuit diagram of a mobile terminal according to an embodiment of the present invention. For convenience of description and illustration, in this embodiment, hardware corresponding to each module in the mobile terminal is specifically illustrated.
In this embodiment, the mobile terminal mainly includes an AP Controller (Wireless Access Point Controller) and a Wireless charging receiving and converting terminal, where the AP Controller includes a switching module 210 and a control module 220.
As shown in fig. 4, in the process of wireless charging of the mobile terminal, when a wired USB is inserted, the receiving converter detects that a USB is inserted through the detection line, and then notifies the AP controller of the USB insertion through the signal line, and after receiving the notification, the AP controller sets a flag variable, for example, the set variable USBIN is 1, and then notifies the receiving converter to turn off the wireless charging through the control bus, and turns on the switch K to turn on the wired charging.
In the process that the receiving conversion terminal closes the wireless charging and opens the wired charging, the voltage output of an OUT line for performing the wireless charging is correspondingly closed, the USB voltage input for performing the wired charging is correspondingly opened by closing the switch K, and then a corresponding USB pull-OUT event and a corresponding USB plug-in event are generated on the AP controller, and a USB plug-in prompt is generated after the USB plug-OUT prompt is reported to an application layer, even the mobile terminal is shut down and restarted to influence the user experience, so that the USB pull-OUT event and the USB plug-in event which cause the adverse effects are required to be shielded.
When the AP controller detects a USB pull-out event, whether USBIN is equal to 1 or not is judged, namely whether the current mobile terminal switches from wireless charging to wired charging or not is judged, if yes, the USB pull-out event of the application layer is not reported, and therefore corresponding prompt or operation cannot be generated on the application layer of the mobile terminal. Similarly, when the AP controller further detects a USB insertion event, it first determines whether the USB is equal to 1, and if so, does not report the USB insertion event of the application layer, and does not generate a corresponding prompt or operation on the application layer of the mobile terminal. Finally, the flag variable is cleared, for example, setting USBIN to 0. In addition, since the charging type of the current mobile terminal is changed, the charging type of the current mobile terminal needs to be reported to the application layer. Meanwhile, the AP controller starts to charge the battery in the mobile terminal in a wired charging mode.
Referring to fig. 5, fig. 5 is a flowchart illustrating a charging switching control method according to an embodiment of the present invention. In this embodiment, the charge switching control method includes:
step S10, when the mobile terminal is currently in wireless charging and wired charging access exists, the wireless charging is closed and the wired charging is started;
step S20, when detecting that the mobile terminal has a USB pull-out event currently, judging whether the mobile terminal switches from wired charging to wireless charging currently, if so, shielding the USB pull-out event;
wired charging is generally more efficient than wireless charging, and therefore, a mobile terminal system generally prefers wired charging by default. Therefore, in this embodiment, when the mobile terminal is currently performing wireless charging and there is wired charging access, it is determined that wired charging is performed and a process of switching the charging method is required. It should be noted that, the charging mode switching in this embodiment is a process, and includes closing and exiting of wireless charging and accessing and opening of wired charging.
In this embodiment, the charging of the mobile terminal needs to be performed through connection (wireless connection or wired connection) with the external charging device, that is, the corresponding USB plug-in event or USB plug-out event is generated on the mobile terminal when the charging connection is established or disconnected between the mobile terminal and the external charging device. However, the USB pull-out event and the USB insertion event need to be reported to the application layer of the system by default, so that various adverse effects generated in the application layer for reporting the USB pull-out event or the USB insertion event, such as prompting a user to pull out or insert the USB device, etc., are avoided, and therefore the reporting of the USB pull-out event generated by disconnection of wired charging needs to be shielded.
In addition, it should be further described in this embodiment that shielding the USB pulling-out event or the USB inserting event does not only avoid that the USB device of the user is pulled out or inserted on the application layer, but also further avoids other adverse effects caused by the pulling-out or the inserting of the USB device, such as a low power alarm prompt generated after the wired charging device is pulled out when the mobile terminal is in a low power state, or a shutdown restart operation generated in a state where the charging machine is turned off.
Step S30, when detecting that the mobile terminal has a USB plug-in event at present, judging whether the mobile terminal switches from wireless charging to wired charging at present, if so, shielding the USB plug-in event, and reporting the charging mode of the current mobile terminal.
In the process of switching the mobile terminal from wireless charging to wired charging, the mobile terminal shields USB plug-out and plug-in events generated in the process, so that a user can know the current charging mode of the mobile terminal conveniently, and the charging mode of the current mobile terminal is reported after the switching from wireless charging to wired charging is completed successfully.
Optionally, the charging switching control method further includes: and if the mobile terminal has a USB insertion event currently and the wireless charging is switched to the wired charging, reporting that the current charging mode of the mobile terminal is the wired charging mode, and starting the wired charging. That is, if there is a USB insertion event generated by wired charging access in the switching process, it indicates that the switching is successful, so the application layer can be reported: the current charging mode of the mobile terminal is a wired charging mode. Meanwhile, the mobile terminal will start to charge the battery in the mobile terminal in a wired charging mode.
In this embodiment, according to the current charging state of the mobile terminal, reporting of a USB pull-out event and a USB plug-in event generated when the mobile terminal is in a state where wireless charging is switched to wired charging is shielded, so that various adverse effects generated in a charging mode switching process are avoided, and the use experience of a user in charging the mobile terminal by using wired and wireless charging modes is further improved.
Further, a flow chart of another embodiment of the charging switching control method of the present invention is schematically shown. In this embodiment, the step S20 includes: when a USB pull-out event of the mobile terminal is detected, monitoring whether the mobile terminal is still in a wireless charging range or not, and if yes, determining that the mobile terminal is switched from wired charging to wireless charging;
the step S30 includes: when the current USB inserting event of the mobile terminal is detected, whether the mobile terminal is still in a wireless charging range or not is monitored, and the USB inserting event is generated by starting wired charging, and if yes, the mobile terminal is determined to be switched from the wireless charging to the wired charging currently.
In this embodiment, only when the mobile terminal is currently performing wireless charging and has access to wired charging, and is within the wireless charging range, the mobile terminal can perform wireless-to-wired charging mode switching.
Considering that there may be a transition state during the switching process, such as wireless charging currently being performed and wired charging access, if there is an external influence during the switching process and the wireless charging is suddenly interrupted, in such a case, there are two charging operations: the first time is wireless charging, and the second time is wired charging after the wireless charging is interrupted by the outside world, that is, an active switching process from wireless charging to wired charging does not exist under the condition (that is, the wireless charging is actively cut off and the wired charging is started).
Therefore, whether the mobile terminal is currently in the wireless charging range or not is monitored, the specific monitoring mode is not limited, for example, whether a signal broadcasted by an external wireless charging device exists or not is monitored, and if the signal exists, the current switching from the wireless charging to the wired charging of the mobile terminal can be determined.
Further optionally, the charge switching control method further includes: if the mobile terminal does not switch from wireless charging to wired charging currently, reporting a USB pull-out event; and if the mobile terminal does not switch from wireless charging to wired charging currently, reporting a USB insertion event. Since the USB pull-out event and the USB plug-in event are not generated by switching the charging modes, the USB pull-out event and the USB plug-in event under the condition can be reported to the system application layer of the mobile terminal.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (8)

1. A mobile terminal having a wired charging mode and a wireless charging mode, the mobile terminal comprising:
the switching module is used for closing the wireless charging and starting the wired charging when the mobile terminal is currently in wireless charging and wired charging access exists;
the control module is used for judging whether the mobile terminal is switched from wired charging to wireless charging when the mobile terminal is detected to have a USB pull-out event currently, and shielding the USB pull-out event if the mobile terminal is switched from wired charging to wireless charging; when a USB insertion event exists in the mobile terminal at present, judging whether the mobile terminal is switched from wireless charging to wired charging at present, if so, shielding the USB insertion event, and reporting the charging mode of the current mobile terminal;
the control module is specifically configured to:
when a USB pull-out event of the mobile terminal is detected, monitoring whether the mobile terminal is still in a wireless charging range or not, and if yes, determining that the mobile terminal is switched from wired charging to wireless charging; when detecting that the mobile terminal has a current USB plug-in event, monitoring whether the mobile terminal is still in a wireless charging range currently and the USB plug-in event is generated by starting wired charging, and if so, determining that the mobile terminal is switched from wireless charging to wired charging currently.
2. The mobile terminal of claim 1, wherein the control module is further configured to:
and if the mobile terminal does not switch from wired charging to wireless charging currently, reporting the USB pull-out event.
3. The mobile terminal of claim 1, wherein the control module is further configured to:
and if the mobile terminal does not switch from wireless charging to wired charging currently, reporting the USB insertion event.
4. The mobile terminal of any of claims 1-3, wherein the control module is further to:
and if the mobile terminal has a USB insertion event currently and the wireless charging is switched to the wired charging, reporting that the current charging mode of the mobile terminal is the wired charging mode, and starting the wired charging.
5. A charging switching control method is applied to a mobile terminal with a wired charging mode and a wireless charging mode, and is characterized by comprising the following steps:
when the mobile terminal is currently charged wirelessly and wired charging is accessed, the wireless charging is closed and the wired charging is started;
when a USB pull-out event of the mobile terminal is detected, monitoring whether the mobile terminal is still in a wireless charging range, if so, determining that the mobile terminal is switched from wired charging to wireless charging currently, and shielding the USB pull-out event;
when detecting that the current mobile terminal has a USB plug-in event, monitoring whether the current mobile terminal is still in a wireless charging range and the USB plug-in event is generated by starting wired charging, if so, determining that the current mobile terminal switches from wireless charging to wired charging, shielding the USB plug-in event, and reporting the charging mode of the current mobile terminal.
6. The charge switching control method according to claim 5, characterized by further comprising:
and if the mobile terminal does not switch from wired charging to wireless charging currently, reporting the USB pull-out event.
7. The charge switching control method according to claim 5, characterized by further comprising:
and if the mobile terminal does not switch from wireless charging to wired charging currently, reporting the USB insertion event.
8. The charge switching control method according to any one of claims 5 to 7, characterized by comprising:
and if the mobile terminal has a USB insertion event currently and the wireless charging is switched to the wired charging, reporting that the current charging mode of the mobile terminal is the wired charging mode, and starting the wired charging.
CN201610979373.7A 2016-10-28 2016-10-28 Mobile terminal and charging switching control method Active CN106549445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610979373.7A CN106549445B (en) 2016-10-28 2016-10-28 Mobile terminal and charging switching control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610979373.7A CN106549445B (en) 2016-10-28 2016-10-28 Mobile terminal and charging switching control method

Publications (2)

Publication Number Publication Date
CN106549445A CN106549445A (en) 2017-03-29
CN106549445B true CN106549445B (en) 2020-11-27

Family

ID=58394622

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610979373.7A Active CN106549445B (en) 2016-10-28 2016-10-28 Mobile terminal and charging switching control method

Country Status (1)

Country Link
CN (1) CN106549445B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019242020A1 (en) 2018-06-22 2019-12-26 Oppo广东移动通信有限公司 Charging device, mobile terminal, and charging control method
CN110707494B (en) * 2019-09-06 2021-11-26 华乙半导体(深圳)有限公司 USB charging wire, USB charging system and desk lamp

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196098A (en) * 2011-05-20 2011-09-21 深圳桑菲消费通信有限公司 Intelligent switching method for new event reminding modes of wireless charging state of mobile phone
CN103164355A (en) * 2011-12-13 2013-06-19 联想(北京)有限公司 Switch method and electronic equipment
CN104115365A (en) * 2011-12-14 2014-10-22 诺基亚公司 Method and apparatus for optimizing standby power consumption and providing user indications in WPC based wireless charging system
CN105449769A (en) * 2015-12-22 2016-03-30 惠州Tcl移动通信有限公司 Method and system for preventing intelligent terminal from being pulled out in charging process
CN105930073A (en) * 2015-02-27 2016-09-07 三星电子株式会社 Method And Apparatus For Supporting Communication In Electronic Device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104065145B (en) * 2013-03-20 2018-06-19 深圳富泰宏精密工业有限公司 Wireless charging device and its charging method
CN105634145A (en) * 2014-12-01 2016-06-01 联想(北京)有限公司 Electronic equipment and charging prompting method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196098A (en) * 2011-05-20 2011-09-21 深圳桑菲消费通信有限公司 Intelligent switching method for new event reminding modes of wireless charging state of mobile phone
CN103164355A (en) * 2011-12-13 2013-06-19 联想(北京)有限公司 Switch method and electronic equipment
CN104115365A (en) * 2011-12-14 2014-10-22 诺基亚公司 Method and apparatus for optimizing standby power consumption and providing user indications in WPC based wireless charging system
CN105930073A (en) * 2015-02-27 2016-09-07 三星电子株式会社 Method And Apparatus For Supporting Communication In Electronic Device
CN105449769A (en) * 2015-12-22 2016-03-30 惠州Tcl移动通信有限公司 Method and system for preventing intelligent terminal from being pulled out in charging process

Also Published As

Publication number Publication date
CN106549445A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
US10554060B2 (en) Systems and methods for charging via USB port
CN107834657B (en) Charging method, terminal equipment and power adapter
CN103618356B (en) The charging system of a kind of mobile terminal and charging method thereof
CN105811506B (en) Method for charging electronic device and electronic device
CN103532211B (en) Terminal and charge control method
KR20140007194A (en) Method for charging battery and an electronic device thereof
CN103002158A (en) Terminal and terminal charging management method
CN106549445B (en) Mobile terminal and charging switching control method
CN111246199B (en) Control method and device for camera test, terminal equipment and storage medium
CN103869927A (en) Information processing method and electronic device
CN104144251A (en) Bluetooth control method and device of mobile terminal
CN108181978B (en) Power control method and device for electronic equipment
US9812882B2 (en) Internet device and automatic switching method, apparatus and circuit for charging interface of internet device
US20170093181A1 (en) Charging control method and apparatus, terminal and computer storage medium
CN106532824B (en) Mobile terminal and charging method for handover control
US10481576B2 (en) Method and device for implementing connection control
CN104536314B (en) Start control circuit, method and electronic equipment based on near-field communication NFC
US9831698B2 (en) Mobile power supply terminal and power supply method thereof
JP6412420B2 (en) Electronic device, control method and program
CN105762884B (en) Method for charging electronic device and electronic device
CN105553049A (en) Charging operation control method and device
CN117294132B (en) Power supply circuit and switching method thereof
CN116901775B (en) Charging gun detection method and related equipment
CN211792002U (en) Control circuit, wireless earphone and system
KR102053277B1 (en) IN-CABLE CONTROL BOX, CONTROLLING METHOD OF THE IN-CABLE CONTROL BOX, And A RECORDING MEDIUM HAVING COMPUTER READABLE PROGRAM FOR EXECUTING THE METHOD

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20201026

Address after: Room 306, building 1, Jingxiu family, Huangjing Town, Taicang City, Suzhou City, Jiangsu Province

Applicant after: Taicang Haobo Technical Service Co.,Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240130

Address after: 516000, 2nd Floor, Building 1, Building 197, East of Xinhua Avenue, Tongqiao Town, Zhongkai High tech Zone, Huizhou City, Guangdong Province

Patentee after: Huizhou Yili Technology Co.,Ltd.

Guo jiahuodiqu after: Zhong Guo

Address before: Room 306, building 1, Jingxiu family, Huangjing Town, Taicang City, Suzhou City, Jiangsu Province

Patentee before: Taicang Haobo Technical Service Co.,Ltd.

Guo jiahuodiqu before: Zhong Guo

TR01 Transfer of patent right