CN106532824B - Mobile terminal and charging method for handover control - Google Patents

Mobile terminal and charging method for handover control Download PDF

Info

Publication number
CN106532824B
CN106532824B CN201611036694.XA CN201611036694A CN106532824B CN 106532824 B CN106532824 B CN 106532824B CN 201611036694 A CN201611036694 A CN 201611036694A CN 106532824 B CN106532824 B CN 106532824B
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
CN201611036694.XA
Other languages
Chinese (zh)
Other versions
CN106532824A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201611036694.XA priority Critical patent/CN106532824B/en
Publication of CN106532824A publication Critical patent/CN106532824A/en
Application granted granted Critical
Publication of CN106532824B publication Critical patent/CN106532824B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J5/005
    • 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

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of mobile terminals, comprising: detection module, for when mobile terminal currently carries out wired charging and can be switched to wireless charging, whether the wired charging for detecting mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging;Control module opens wireless charging if the wired charging for mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging, and shields wired charging and disconnect reporting for generated USB extraction event;Detection module is also used to: in preset time, being detected whether to exist and is opened USB insertion event caused by wireless charging;Control module is also used to: if there are USB insertion events in preset time, being shielded reporting for USB insertion event, and is reported the charging modes of current mobile terminal.The invention also discloses a kind of charging method for handover control.The invention avoids generated adverse effects in charging modes handoff procedure, to allow user to feel seamless switching, and then promote user experience.

Description

Mobile terminal and charging method for handover control
Technical field
The present invention relates to mobile terminal charging technique field more particularly to mobile terminal and charging method for handover control.
Background technique
Usual mobile terminal is when carrying out wireless charging, if being inserted into USB simultaneously, at this time in order to guarantee that charging is safe, and one As can only select a kind of charging modes, for example use wired charging method (namely charging by USB interface).And it ought be simultaneously It there are in the case where wired charging and wireless charging, needs to be switched to wireless charging if extracting wired charger, and is switching It may generate in the process and generate low-current alarming prompt under bad user experience, such as low electric situation, under charged state of shutting down Generate cycle power etc..
Summary of the invention
The main purpose of the present invention is to provide a kind of mobile terminal and charging method for handover control, it is intended to solve how In the handoff procedure for carrying out charging modes, the technical issues of generating adverse effect and reducing user experience is avoided.
To achieve the above object, the present invention provides a kind of mobile terminal, has wired charging method and wireless charging mode, The mobile terminal includes:
Detection module, for when mobile terminal currently carries out wired charging and can be switched to wireless charging, detection to be moved Whether the wired charging of terminal disconnects and mobile terminal currently still can be switched to wireless charging;
Control module, if the wired charging for mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging Electricity then opens wireless charging, and shields wired charging and disconnect reporting for generated USB extraction event;
The detection module is also used to: in preset time, detecting whether that there is USB caused by unlatching wireless charging inserts Incoming event;
The control module is also used to: if there are the USB insertion event in the preset time, described in shielding USB insertion event reports, and reports the charging modes of current mobile terminal.
Optionally, the mobile terminal further include:
Monitoring modular, for when mobile terminal currently carries out wired charging, whether monitoring mobile terminal to be currently in nothing In line chargeable range, if so, determining that the charging modes of current mobile terminal can be switched to wireless charging.
Optionally, the control module is also used to:
If the wired charging of mobile terminal disconnects and mobile terminal is not within the scope of wireless charging currently, report wired Charging disconnects generated USB and extracts event.
Optionally, the control module is also used to:
If the USB insertion event is not present in the preset time, the USB is reported to extract event.
Optionally, the control module is also used to:
If reporting the charging modes of current mobile terminal to be there are the USB insertion event in the preset time Wireless charging mode, and start to carry out wireless charging.
Further, to achieve the above object, the present invention also provides a kind of charging method for handover control, applied to having The mobile terminal of line charging modes and wireless charging mode, the charging method for handover control include:
When mobile terminal currently carries out wired charging and can be switched to wireless charging, the wired charging of mobile terminal is detected Whether disconnect and mobile terminal currently still can be switched to wireless charging;
If the wired charging of mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging, wireless charging is opened Electricity, and shield wired charging and disconnect reporting for generated USB extraction event;
In preset time, detects whether to exist and open USB insertion event caused by wireless charging;
If there are the USB insertion events in the preset time, reporting for the USB insertion event is shielded, and Report the charging modes of current mobile terminal.
Optionally, the charging method for handover control includes:
When mobile terminal currently carries out wired charging, whether monitoring mobile terminal is currently within the scope of wireless charging, If so, determining that the charging modes of current mobile terminal can be switched to wireless charging.
Optionally, the charging method for handover control includes:
If the wired charging of mobile terminal disconnects and mobile terminal is not within the scope of wireless charging currently, report wired Charging disconnects generated USB and extracts event.
Optionally, the charging method for handover control includes:
If the USB insertion event is not present in the preset time, the USB is reported to extract event.
Optionally, the charging method for handover control includes:
If reporting the charging modes of current mobile terminal to be there are the USB insertion event in the preset time Wireless charging mode, and start to carry out wireless charging.
In the present invention, by detecting the present charge state of mobile terminal, and shields mobile terminal and carrying out wired charging And can be switched to generated USB in the state of wireless charging and extract reporting for event and USB insertion event, to avoid filling Generated various adverse effects in electric mode handoff procedure, and then user is promoted using wired and wireless charging mode to movement The usage experience that terminal charges.
Detailed description of the invention
Fig. 1 is the circuit connection diagram of charging module in mobile terminal of the present invention;
Fig. 2 accesses the switching of power supply corresponding to wired charging for mobile terminal of the present invention and is communicated during wireless charging Timing diagram;
Fig. 3 is the module diagram of mobile terminal first embodiment of the present invention;
Fig. 4 is the module diagram of mobile terminal second embodiment of the present invention;
Fig. 5 is the circuit diagram of one embodiment of mobile terminal of the present invention;
Fig. 6 is the flow diagram of present invention charging method for handover control first embodiment;
Fig. 7 is the flow diagram of present invention charging method for handover control second embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is the circuit connection diagram of charging module in mobile terminal of the present invention.
As shown in Figure 1, there are two types of charging modes for mobile terminal tool: one is set by USB port and external wired charging Standby connection carries out wired charging;Another kind be received by built-in wireless charging conversion circuit and external wireless charging equipment into Row wireless charging.
Wherein, Battery is battery of mobile terminal;Charger IC is the Charge Management integrated circuit of mobile terminal; PMIC is the power management integrated circuit of mobile terminal;Gator Board is a kind of wireless charging component;BUCK is buck change Change circuit;MCU is microprocessor, is mainly responsible for the wireless charging management of mobile terminal.
Charging module structure based on mobile terminal as shown in Figure 1, mobile terminal will necessarily be related to charging modes Selection and switching, it is specific as follows:
First is that the selection of single charging modes, for example or select USB wired charging method or select wireless charging Mode, the charging selection course under such situation is relatively simple, therefore does not do and excessively repeat.
Second is that two kinds of simultaneous selections of charging modes, for example selected by the height of priority, it is usually mobile It is preferential that terminal system defaults USB wired charging method.Under such situation, and can be according to the corresponding two kinds of feelings of the sequencing of charging Shape:
Situation one: wired charging method first charges, and then accesses wireless charging mode again.Due to there is line charge under such situation Electric mode priority is higher, therefore wireless charging mode accesses and will not succeed.
Situation two: wireless charging mode first charges, and then accesses wired charging method again.Under such situation, wired charging The access of mode can interrupt wireless charging process, access corresponding to wired charging during specific wireless charging as shown in Figure 2 Power supply switching and communication sequential chart.
As shown in Fig. 2, VRECT can get up when mobile terminal is placed on the charging panel of external wireless charging equipment, ICSTATE can enter REST state from OFF state, and after finishing the work such as a series of initialization, enable BUCK it It is preceding that mobile terminal can be notified by terminal INT_AP, and after obtaining the feedback for allowing to carry out enable BUCK of mobile terminal, In progress enable BUCK, and IC then enters WPT (wireless charging) stage at this time, and in WPT phase process, if it exists USB Access, then the corresponding VBUS of USB access can get up, simultaneously because the priority of IC default USB is high, then it can disable BUCK, and so that the external wired charging equipment of itself and access is shaken hands by terminal notification AP controller, and shaking hands into Corresponding USB charge circuit is opened by VBUS_EN_N after function, at this time IC due to there are wireless charging source (namely be in nothing In line chargeable range), therefore enter READY state.
Based on above-mentioned mobile terminal embodiment, each implementation of mobile terminal of the present invention and the method for handover control that charges is proposed Example.
It is the module diagram of mobile terminal first embodiment of the present invention referring to Fig. 3, Fig. 3.In the present embodiment, mobile terminal Wired charging is carried out with wired charging method and wireless charging mode, such as using USB connection type, and uses magnetic resonance side Formula carries out wireless charging.
Generated various dysgenic purposes in charging modes handoff procedure are avoided to realize, in the present embodiment, are moved Dynamic terminal includes:
Detection module 210, for when mobile terminal currently carries out wired charging and can be switched to wireless charging, detection to be moved Whether the wired charging of dynamic terminal disconnects and mobile terminal currently still can be switched to wireless charging;
It is unlimited for detecting the mode whether wired charging of mobile terminal disconnects in the present embodiment, for example, external wired Charging equipment is inserted into mobile terminal by USB interface, can if detection module 210 detects the current interruptions of USB interface Determine that wired charging disconnects.In addition, currently still can be switched to the mode of wireless charging in the present embodiment for detection mobile terminal It is unlimited, for example, by judge indirectly mobile terminal currently whether in external wireless charging equipment magnetic field range in can be corresponding Judge whether mobile terminal currently still can be switched to wireless charging.
Control module 220, if the wired charging for mobile terminal disconnects and mobile terminal currently still can be switched to wirelessly Charging, then open wireless charging, and shields wired charging and disconnect reporting for generated USB extraction event;
In the present embodiment, when the wired charging disconnection of the determining current mobile terminal of detection module 210 and mobile terminal is current It still can be switched to wireless charging, then open wireless charging.It should be noted that opening wireless charging is only merely to start to carry out nothing Initialization procedure before line charge electricity, and wireless charging can successfully be carried out by not representing.
Meanwhile wired charging disconnection will necessarily generate corresponding USB and extract event (mobile terminal see external charging equipment At being USB external equipment).And usually mobile terminal system be default need to systematic difference layer report USB extract event with USB insertion event, therefore, to avoid, USB extracts event or USB insertion event reports and in the various bad of application layer generation It influences, such as the extraction of prompt user's USB device or insertion etc., thus needs to shield USB caused by wired charging disconnection and extract Reporting for event, it is unlimited for shielding mode in the present embodiment, it is configured with specific reference to actual needs.
In addition, it should be further noted that shielding USB extracts event or USB insertion event and not only in the present embodiment It is merely to avoid that user's USB device is prompted to extract or be inserted on the application layer, while and further avoiding pulling out due to USB device Out or insertion and generate other adverse effects, such as in the case where mobile terminal be in low battery situation extraction wired charging equipment after Cause to generate low battery alarm prompt, or generates cycle power operation in the case where closing charger state.
Detection module 210 is also used to: in preset time, detecting whether that there is USB caused by unlatching wireless charging inserts Incoming event;
Control module 220 is also used to: if there are USB insertion events in preset time, shielding the upper of USB insertion event Report, and report the charging modes of current mobile terminal.
In the present embodiment, the charging of mobile terminal be all need by connection with external charging equipment (be wirelessly connected or Wired connection) and charge namely mobile terminal and external charging equipment establish charging connection or disconnect charging connection all Corresponding USB insertion event will be generated on mobile terminals or will extract event.
Meanwhile control module 220 needs certain time when opening wireless charging to complete to carry out the initial of wireless charging Change process, therefore, the needs of detection module 210 determine whether there is USB caused by unlatching wireless charging in preset time and insert Incoming event (namely external wireless charging equipment accesses mobile terminal), and if it exists, then determine that wireless charging is opened successfully.In addition, Be similarly avoid USB insertion event report and application layer generate various adverse effects, thus, control module 220 equally need Shield reporting for USB insertion event.
Since mobile terminal is in the handoff procedure from wired charging to wireless charging, control module 220 is to institute during this The USB of generation is extracted and insertion event is all shielded, consequently, to facilitate user understands the current charging side of mobile terminal Formula, control module 220 are also used to after successfully completing switching of the wired charging to wireless charging, report currently filling for mobile terminal Electric mode.
Optionally, control module 220 is also used to: if USB insertion event is not present in preset time, USB being reported to pull out Outgoing event.Namely when the wired charging of mobile terminal successfully disconnects but wireless charging is opened not successfully, then in such situations, Shielded USB before reporting will be delayed and extract event.
Optionally, control module 220 is also used to: if there are USB insertion events in preset time, reporting current movement The charging modes of terminal are wireless charging mode, and start to carry out wireless charging.USB insertion event if it exists then illustrates to switch Wireless charging after success, namely switching is successfully opened, therefore can report application layer: the current charging modes of mobile terminal For wireless charging mode.Meanwhile control module 220 will start to fill battery in mobile terminal using wireless charging mode Electricity.
In the present embodiment, by detecting the present charge state of mobile terminal, and shields mobile terminal and carrying out line charge Electricity and it can be switched to generated USB in the state of wireless charging and extract reporting for event and USB insertion event, to avoid Generated various adverse effects in charging modes handoff procedure, and then user is promoted using wired and wireless charging mode to shifting The usage experience that dynamic terminal charges.
It is the module diagram of mobile terminal second embodiment of the present invention referring to Fig. 4, Fig. 4.In the present embodiment, mobile terminal Further comprise:
Monitoring modular 230, for when mobile terminal currently carries out wired charging, whether monitoring mobile terminal to be currently in Within the scope of wireless charging, if so, determining that the charging modes of current mobile terminal can be switched to wireless charging.
In the present embodiment, only again when mobile terminal currently carries out wired charging, while being within the scope of wireless charging, Mobile terminal can carry out the switching of charging modes.Therefore, monitor whether mobile terminal is currently in nothing by monitoring modular 230 In line chargeable range, specific monitoring mode is unlimited, for example monitors whether the signal etc. broadcasted there are external wireless charging equipment, If it exists, then it can determine that mobile terminal is currently located in the switching that within the scope of wireless charging and can carry out charging modes.
Further alternative, control module 220 is also used to: if the wired charging of mobile terminal disconnects and mobile terminal is current It is not within the scope of wireless charging, then reports wired charging to disconnect generated USB and extract event.Namely work as monitoring modular 230 When determining that the charging modes of current mobile terminal are not changeable, namely when can only use wired charging method, if wired charging is disconnected Open and not can be carried out again charging modes switching when, at this time control module 220 will be considered to the USB under the situation extract event do not fill USB during cutting is changed extracts event, thus the USB under the situation can be extracted the system that event reports mobile terminal and answered With layer.
It is the circuit diagram of one embodiment of mobile terminal of the present invention referring to Fig. 5, Fig. 5.To be just described and illustrating, this reality It applies in example, is specifically illustrated with hardware corresponding to module each in mobile terminal.
In the present embodiment, mobile terminal mainly includes AP controller (Wireless Access Point Controller), wireless charging receives end of convert, wherein AP controller includes detection module 210, control module 220, and nothing It includes monitoring modular 230 that line charge electricity, which receives end of convert,.
As shown in figure 5, after mobile terminal is put into wireless charging transmitter by user, at this point, wireless charging receives End of convert be can monitor that mobile terminal has been within the scope of wireless charging, meanwhile, if mobile terminal is currently had Line charge electricity, then current mobile terminal can carry out the switching of wired charging method to wireless charging mode.Therefore, in such situation Under, wireless charging, which will receive end of convert, to notify AP controller to be within the scope of wireless charging by signal wire.
To understand various charged states convenient for AP controller, therefore, corresponding indexed variable can be arranged by AP controller, than If AP controller selects to charge using wired charger without the use of wireless charging, then indexed variable WIUSB=1 is set.
After wireless charging, which receives end of convert, detects that user extracts the wired charger of mobile terminal by detection line, nothing Line charge electricity receives end of convert will inform that AP controller, AP controller judge whether WIUSB is equal to 1 by signal wire, if it is not, then straight Connect processing be USB extract event, and if so, shield this USB extract event, do not report application layer.
Meanwhile AP controller notifies wireless charging to receive end of convert and open wireless charging by control bus.Then it sets again Timer is set, such as in timing in M seconds, if the USB insertion for detecting wireless charger access and generating, shields this USB insertion event, and the value of clear flag variable WIUSB and be re-set as WIUSB=0, and do not report this USB be inserted into thing Part is then log out timer to application layer.And if not detecting that USB is inserted into timing M seconds, it may be due to wireless Charging opens failure without generating corresponding USB insertion event, therefore, reports USB to extract event to application layer, and be arranged WIUSB=0.
It is the flow diagram of present invention charging method for handover control first embodiment referring to Fig. 6, Fig. 6.In the present embodiment, Charging method for handover control include:
Step S10 detects mobile terminal when mobile terminal currently carries out wired charging and can be switched to wireless charging Whether wired charging disconnects and mobile terminal currently still can be switched to wireless charging;
It is unlimited for detecting the mode whether wired charging of mobile terminal disconnects in the present embodiment, for example, external wired Charging equipment is inserted into mobile terminal by USB interface, can be true if mobile terminal detects the current interruptions of USB interface Determine wired charging disconnection.In addition, currently still can be switched to the mode of wireless charging not for detection mobile terminal in the present embodiment Limit, for example, by judge indirectly mobile terminal currently whether in external wireless charging equipment magnetic field range in can accordingly sentence Whether disconnected mobile terminal currently still can be switched to wireless charging.
Step S20 is opened if the wired charging of mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging Wireless charging is opened, and shields wired charging and disconnects reporting for generated USB extraction event;
In the present embodiment, when mobile terminal determine current mobile terminal wired charging disconnect and mobile terminal currently still may be used It is switched to wireless charging, then opens wireless charging.It should be noted that opening wireless charging is only merely to start to carry out wireless charging Initialization procedure before electricity, and wireless charging can successfully be carried out by not representing.
Meanwhile wired charging disconnection will necessarily generate corresponding USB and extract event (mobile terminal see external charging equipment At being USB external equipment).And usually mobile terminal system be default need to systematic difference layer report USB extract event with USB insertion event, therefore, to avoid, USB extracts event or USB insertion event reports and in the various bad of application layer generation It influences, such as the extraction of prompt user's USB device or insertion etc., thus needs to shield USB caused by wired charging disconnection and extract Reporting for event, it is unlimited for shielding mode in the present embodiment, it is configured with specific reference to actual needs.
In addition, it should be further noted that shielding USB extracts event or USB insertion event and not only in the present embodiment It is merely to avoid that user's USB device is prompted to extract or be inserted on the application layer, while and further avoiding pulling out due to USB device Out or insertion and generate other adverse effects, such as in the case where mobile terminal be in low battery situation extraction wired charging equipment after Cause to generate low battery alarm prompt, or generates cycle power operation in the case where closing charger state.
Step S30 is detected whether to exist and is opened USB insertion event caused by wireless charging in preset time;
Step S40 if shielding reporting for USB insertion event there are USB insertion event in preset time, and is reported The charging modes of current mobile terminal.
In the present embodiment, the charging of mobile terminal be all need by connection with external charging equipment (be wirelessly connected or Wired connection) and charge namely mobile terminal and external charging equipment establish charging connection or disconnect charging connection all Corresponding USB insertion event will be generated on mobile terminals or will extract event.
Meanwhile mobile terminal needs certain time when opening wireless charging to complete the initialization of progress wireless charging Process, therefore, mobile terminal needs determine whether there is in preset time opens USB insertion event caused by wireless charging (namely external wireless charging equipment accesses mobile terminal), and if it exists, then determine that wireless charging is opened successfully.In addition, being similarly Avoid USB insertion event from reporting and application layer generate various adverse effects, thus, mobile terminal also need shielding USB Insertion event reports.
Since mobile terminal is in the handoff procedure from wired charging to wireless charging, mobile terminal is to produced during this USB extract and insertion event all shielded, consequently, to facilitate user understand mobile terminal current charging modes, move Dynamic terminal is also used to after successfully completing switching of the wired charging to wireless charging, reports the current charging modes of mobile terminal.
Optionally, charge method for handover control further include: if USB insertion event is not present in preset time, reports USB extracts event.Namely when the wired charging of mobile terminal successfully disconnects but wireless charging is opened not successfully, then in such feelings Under shape, shielded USB before reporting will be delayed and extract event.
Optionally, charge method for handover control further include: if reporting and working as there are USB insertion event in preset time The charging modes of preceding mobile terminal are wireless charging mode, and start to carry out wireless charging.USB insertion event if it exists is then said Wireless charging after bright handover success, namely switching is successfully opened, therefore can report application layer: mobile terminal currently fills Electric mode is wireless charging mode.Meanwhile control module 220 will start using wireless charging mode to battery in mobile terminal into Row charging.
In the present embodiment, by detecting the present charge state of mobile terminal, and shields mobile terminal and carrying out line charge Electricity and it can be switched to generated USB in the state of wireless charging and extract reporting for event and USB insertion event, to avoid Generated various adverse effects in charging modes handoff procedure, and then user is promoted using wired and wireless charging mode to shifting The usage experience that dynamic terminal charges.
It is the flow diagram of present invention charging method for handover control second embodiment referring to Fig. 7, Fig. 7.In the present embodiment, Before above-mentioned steps S10, charging method for handover control includes:
Step S01, when mobile terminal currently carries out wired charging, whether monitoring mobile terminal is currently in wireless charging In range, if so, determining that the charging modes of current mobile terminal can be switched to wireless charging.
In the present embodiment, only again when mobile terminal currently carries out wired charging, while being within the scope of wireless charging, Mobile terminal can carry out the switching of charging modes.Therefore, monitor whether mobile terminal is currently in wirelessly by mobile terminal In chargeable range, specific monitoring mode is unlimited, for example monitors whether the signal etc. broadcasted there are external wireless charging equipment, if In the presence of then can determine that mobile terminal is currently located in the switching that within the scope of wireless charging and can carry out charging modes.
Further alternative, charge method for handover control further include: if the wired charging of mobile terminal disconnects and movement is whole End is not within the scope of wireless charging currently, then reports wired charging to disconnect generated USB and extract event.Namely when mobile whole When holding when determining that the charging modes of current mobile terminal are not changeable, namely wired charging method can only be used, if wired charging Disconnect and not can be carried out again charging modes switching when, at this time mobile terminal will be considered to the USB under the situation extract event do not fill USB during cutting is changed extracts event, thus the USB under the situation can be extracted the system that event reports mobile terminal and answered With layer.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (8)

1. a kind of mobile terminal has wired charging method and wireless charging mode, which is characterized in that the mobile terminal packet It includes:
Detection module, for detecting mobile terminal when mobile terminal currently carries out wired charging and can be switched to wireless charging Wired charging whether disconnect and mobile terminal currently still can be switched to wireless charging;
Control module, if the wired charging for mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging, Wireless charging is opened, and shields wired charging and disconnects reporting for generated USB extraction event;
The detection module is also used to: in preset time, being detected whether to exist and is opened the insertion thing of USB caused by wireless charging Part;
The control module is also used to: if there are the USB insertion events in the preset time, being shielded the USB and is inserted Incoming event reports, and reports the charging modes of current mobile terminal;
The control module is also used to: if the USB insertion event is not present in preset time, USB being reported to extract event.
2. mobile terminal as described in claim 1, which is characterized in that the mobile terminal further include:
Monitoring modular, for when mobile terminal currently carries out wired charging, whether monitoring mobile terminal to be currently in wireless charging In electric range, if so, determining that the charging modes of current mobile terminal can be switched to wireless charging.
3. mobile terminal as claimed in claim 2, which is characterized in that the control module is also used to:
If the wired charging of mobile terminal disconnects and mobile terminal is not within the scope of wireless charging currently, wired charging is reported USB caused by disconnecting extracts event.
4. mobile terminal as described in claim 1, which is characterized in that the control module is also used to:
If it is wireless for reporting the charging modes of current mobile terminal there are the USB insertion event in the preset time Charging modes, and start to carry out wireless charging.
5. a kind of charging method for handover control, applied to the mobile terminal with wired charging method Yu wireless charging mode, It is characterized in that, the charging method for handover control includes:
When mobile terminal currently carries out wired charging and can be switched to wireless charging, detect mobile terminal wired charging whether It disconnects and mobile terminal currently still can be switched to wireless charging;
If the wired charging of mobile terminal disconnects and mobile terminal currently still can be switched to wireless charging, wireless charging is opened, And it shields wired charging and disconnects reporting for generated USB extraction event;
In preset time, detects whether to exist and open USB insertion event caused by wireless charging;
If shielding reporting for the USB insertion event, and report there are the USB insertion event in the preset time The charging modes of current mobile terminal;
If the USB insertion event is not present in preset time, USB is reported to extract event.
6. charging method for handover control as claimed in claim 5, which is characterized in that the charging method for handover control includes:
When mobile terminal currently carries out wired charging, whether monitoring mobile terminal is currently within the scope of wireless charging, if so, Then determine that the charging modes of current mobile terminal can be switched to wireless charging.
7. charging method for handover control as claimed in claim 6, which is characterized in that the charging method for handover control includes:
If the wired charging of mobile terminal disconnects and mobile terminal is not within the scope of wireless charging currently, wired charging is reported USB caused by disconnecting extracts event.
8. charging method for handover control as claimed in claim 5, which is characterized in that the charging method for handover control includes:
If it is wireless for reporting the charging modes of current mobile terminal there are the USB insertion event in the preset time Charging modes, and start to carry out wireless charging.
CN201611036694.XA 2016-11-15 2016-11-15 Mobile terminal and charging method for handover control Active CN106532824B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611036694.XA CN106532824B (en) 2016-11-15 2016-11-15 Mobile terminal and charging method for handover control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611036694.XA CN106532824B (en) 2016-11-15 2016-11-15 Mobile terminal and charging method for handover control

Publications (2)

Publication Number Publication Date
CN106532824A CN106532824A (en) 2017-03-22
CN106532824B true CN106532824B (en) 2019-11-05

Family

ID=58356363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611036694.XA Active CN106532824B (en) 2016-11-15 2016-11-15 Mobile terminal and charging method for handover control

Country Status (1)

Country Link
CN (1) CN106532824B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108718360A (en) * 2018-04-25 2018-10-30 维沃移动通信有限公司 A kind of charging method and mobile terminal
CN115166538A (en) * 2022-06-30 2022-10-11 东莞新能安科技有限公司 Charging detection method, device, equipment and product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9178387B2 (en) * 2008-05-13 2015-11-03 Qualcomm Incorporated Receive antenna for wireless power transfer
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

Also Published As

Publication number Publication date
CN106532824A (en) 2017-03-22

Similar Documents

Publication Publication Date Title
CN105914839B (en) A kind of Double-battery mobile phone and its battery control method and system
CN103365388B (en) Power supply method of terminal device and terminal device
US10554060B2 (en) Systems and methods for charging via USB port
CN106385077B (en) Charge control method and device
CN103618356B (en) The charging system of a kind of mobile terminal and charging method thereof
CN104868604B (en) A kind of terminal, wireless charging system and method
KR20130048982A (en) Wired or wireless charging apparatus and display system therewith
CN104993534B (en) A kind of mobile terminal and its charge control method
CN105896655A (en) Method for charging electronic equipment, and electronic equipment
CN106532824B (en) Mobile terminal and charging method for handover control
CN105098932B (en) Charging method, charger and charging module
CN105068959A (en) Terminal and charging method and apparatus for terminal with data exchange function
CN103002158A (en) Terminal and terminal charging management method
CN106371938B (en) Smart delays auto shutdown system and its method
CN102324756B (en) Equipment charging control method and electric equipment
CN106936172A (en) A kind of intelligent charger and its control method and control device
CN104426186B (en) A kind of charge control method and electronic equipment
CN107134819B (en) The charging/discharging thereof of mobile power, charge-discharge system and charge-discharge system
CN105896639A (en) Charging control method and electronic equipment
CN105024422B (en) The power supply/charge setting method and system of user controllable mobile intelligent terminal
CN106549445A (en) Mobile terminal and charging method for handover control
CN108683236A (en) A kind of mobile terminal OTG charging methods and device
CN108181978B (en) Power control method and device for electronic equipment
CN106708232B (en) A kind of electronic equipment and control method
CN109256825B (en) Charging method and electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant