CN108270256A - A kind of charging method and mobile terminal - Google Patents
A kind of charging method and mobile terminal Download PDFInfo
- Publication number
- CN108270256A CN108270256A CN201611270288.XA CN201611270288A CN108270256A CN 108270256 A CN108270256 A CN 108270256A CN 201611270288 A CN201611270288 A CN 201611270288A CN 108270256 A CN108270256 A CN 108270256A
- Authority
- CN
- China
- Prior art keywords
- power supply
- wiring interface
- mobile terminal
- source
- supply wiring
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/0029—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
- H02J7/0036—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits using connection detecting circuits
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Manufacturing & Machinery (AREA)
- Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- General Chemical & Material Sciences (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
An embodiment of the present invention provides a kind of charging method and mobile terminal, the method includes:When detected the first power supply and/or, when second source accesses, determine the power supply wiring interface that is connected with first power supply or second source respectively, the power supply wiring interface includes the first power supply wiring interface and second source wiring interface;It is that mobile terminal charges using the first power supply wiring interface and second source wiring interface, by being that mobile terminal is powered by two power supplys, improves the charging rate of mobile terminal, solve the problems, such as time-consuming longer for mobile terminal charging in prior art.
Description
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of charging method and mobile terminals.
Background technology
USB (Universal Serial Bus, universal serial bus) is an external bus standard, for specification electricity
Being connected and communicate with for the terminal devices such as brain, mobile phone and external equipment, is a kind of interfacing applied in the communications field, includes
The interface type of a variety of different models such as USB Type-C or specification.USB Type-C are one kind popular in current industry
The development side of I/O (Input/Output, the input/output) interface of terminal devices such as USB interface and follow-up computer, mobile phone
To USB Type-C can support tow sides to plug, and the signal for transmitting data is stronger.
Using the mobile terminal of USB Type-C interface standards, due to the limitation of Type-C per-interface space structures, Ge Gejie
The width of mouth is generally relatively narrow, so as to limit the withstanding current capability of interface so that maximum excess current can only achieve 5A, Wu Faman
The requirement of foot mobile terminal quick charge at present.
Invention content
The embodiment of the present invention provides a kind of charging method and mobile terminal, to solve mobile terminal charging speed in prior art
The problem of degree is slower.
In a first aspect, an embodiment of the present invention provides a kind of charging method, including:
When detected the first power supply and/or, second source access when, respectively determine with first power supply or second
The power supply wiring interface that power supply is connected, the power supply wiring interface includes the first power supply wiring interface and second source wiring connects
Mouthful;
Using the first power supply wiring interface and second source wiring interface, charge for mobile terminal.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
Determining module, for detected the first power supply and/or, when second source accesses, determine respectively and described the
The power supply wiring interface that one power supply or second source are connected, the power supply wiring interface include the first power supply wiring interface and the
Two power supply wiring interfaces;
Charging module for using the first power supply wiring interface and second source wiring interface, is filled for mobile terminal
Electricity.
In this way, in embodiments of the present invention, when detected the first power supply and/or, when second source accesses, Ke Yitong
The first power supply wiring interface and the second source wiring interface for determining to be connected with first power supply or second source respectively are crossed,
Then it using the first power supply wiring interface and second source wiring interface, charges for mobile terminal, by by two power supplys
Power for mobile terminal, improve the charging rate of mobile terminal, solve in prior art for mobile terminal charging take compared with
The problem of long.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these attached drawings
Obtain other attached drawings.
Fig. 1 is the flow chart of the charging method of first embodiment of the invention;
Fig. 2 is the power supply of the present invention and the connection diagram of mobile terminal;
Fig. 3 A are the structure diagrams of Type-C female seats;
Fig. 3 B are the structure diagrams of Type-C male connectors;
Fig. 4 is the flow chart of the charging method of second embodiment of the invention;
Fig. 5 A-5C are the block diagrams of the mobile terminal of third embodiment of the invention;
Fig. 6 is the block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 7 is the structure diagram of the mobile terminal of fifth embodiment of the invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is part of the embodiment of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
First embodiment
With reference to Fig. 1, the flow chart of the charging method of first embodiment of the invention is shown, can specifically include following step
Suddenly:
Step 101, when detected the first power supply and/or, second source access when, respectively determine with described first electricity
The power supply wiring interface that source or second source are connected, the power supply wiring interface include the first power supply wiring interface and the second electricity
Source wiring interface;
In embodiments of the present invention, the first power supply and second source can be used to be attached simultaneously with mobile terminal.
In the concrete realization, the circumscribed USB Type-C interfaces of mobile terminal can be connect with a Type-C Hub.Hub
It is a kind of hub, can be applied in the network using stelliform connection topology configuration, multiple computers or the network equipment can be connected.
Type-C Hub are that a USB Type-C Interface Expanding can be multiple, and these interfaces can be made used at the same time by one kind
Device.
As shown in Fig. 2, it is the power supply of the present invention and the connection diagram of mobile terminal.Shown each equipment in fig. 2
In, interface is Type-C interfaces, can after the circumscribed USB Type-C interfaces of mobile terminal are connect with a Type-C Hub
The first power supply and second source are inserted into respectively in two interfaces of the Type-C Hub, so as to form a complete charging
Device.
In general, USB Type-C interfaces can include Type-C female seats and Type-C male connectors, as shown in figs.3 a and 3b, respectively
It is the structure diagram of Type-C female seats and Type-C male connectors.Type C female seats include 24 pins (PIN), wherein 4
Vbus pins, 4 TX pins (2 TX- pins and 2 TX+ pins), 4 RX pins (2 RX- pins and 2 RX+ pins)
With two CC pins;And Type C male connectors are then to include 22 pins, reduce a pair of of D+/D- pins compared with Type C female seats,
Type C male connectors also include 4 vbus pins, 4 TX pins, 4 RX pins and two CC pins.
In embodiments of the present invention, the Type-C interfaces on mobile terminal in fig. 2 can be a Type-C female seat,
And the Type-C Hub being directly connected then include a Type-C male connector and two Type-C female seats.Specifically, it is mobile whole
The Type-C female seats of end side are connected with a Type-C male connector on Type-C Hub, and the Type-C male connectors are with being built in
Two Type-C female seats in Type-C Hub are connected, and two Type-C female seats connect respectively with the first power supply and second source
It connects.
In embodiments of the present invention, it when having detected that the first power supply and second source access, can determine respectively and institute
State the power supply wiring interface that the first power supply or second source are connected.
In general, different power supplys can be connected from different power supply wiring interfaces, it is logical so as to form a complete charging
Road, for example, the first power supply can be connect with the first power supply wiring interface, and second source is then connect with second source interface.
In embodiments of the present invention, 4 vbus pins in Type-C female seats and Type-C male connectors can be divided into two groups,
Wherein every group includes 2 vbus pins, then respectively answers every group of 2 vbus pins with 1 TX- pin and 1 RX- pin
With the first power supply wiring interface of acquisition and second source wiring interface.For example, for the Type-C female seats in Fig. 3 A, can incite somebody to action
Two vbus pins of A4, B9 position and the TX1- pins of A3 positions and the RX1- pin multiplexings of B10 positions, form the first power supply
Wiring interface, and two vbus pins of A9, B4 position are answered with the RX2- pins of A10 positions and the TX2- pins of B3 positions
With formation second source wiring interface.Likewise, for the Type-C male connectors in Fig. 3 B, it can be by two of A4, B9 position
Vbus pins and the TX1- pins of A3 positions and the RX1- pin multiplexings of B10 positions, the first power supply wiring interface of formation, and incite somebody to action
Two vbus pins of A9, B4 position and the RX2- pins of A10 positions and the TX2- pin multiplexings of B3 positions, form second source
Wiring interface.
Step 102, it using the first power supply wiring interface and second source wiring interface, charges for mobile terminal.
In embodiments of the present invention, when the first power supply wiring interface for determining the connection of the first power supply, second source connection
Second source wiring interface after, the first power supply and second source can be used to charge for mobile terminal.
In the concrete realization, the mode of poll may be used with second source for the first power supply, and timesharing is charged for mobile terminal.
Poll (Polling) is how one kind is set by CPU (Central Processing Unit, central processing unit) decision for periphery
The standby mode that service is provided, also known as " program-controlled import and export " (Programmed I/O).The concept of polling method is sent out by CPU timings
Go out inquiry, sequentially inquire whether each peripheral equipment needs its service, have to give and service, inquired again after service next
A periphery, then constantly in cycles.
In embodiments of the present invention, when detected the first power supply and/or, second source access when, difference can be passed through
It determines the first power supply wiring interface being connected with first power supply or second source and second source wiring interface, then adopts
It with the first power supply wiring interface and second source wiring interface, charges for mobile terminal, by being movement by two power supplys
Terminal is powered, and improves the charging rate of mobile terminal, is solved in prior art and is taken longer ask for mobile terminal charging
Topic.
Second embodiment
With reference to Fig. 4, the flow chart of the charging method of second embodiment of the invention is shown, can specifically include following step
Suddenly:
Step 401,4 vbus pins of Type-C interfaces are divided into two groups, wherein every group includes 2 vbus pins;
In general, USB Type-C interfaces can include Type-C female seats and Type-C male connectors, Type C female seats include 24
Pin (PIN), wherein 4 vbus pins, 4 TX pins (2 TX- pins and 2 TX+ pins), 4 RX pins (2
RX- pins and 2 RX+ pins) and two CC pins;And Type C male connectors are then to include 22 pins, compared with Type C female seats
Reduce a pair of of D+/D- pins, Type C male connectors are also drawn including 4 vbus pins, 4 TX pins, 4 RX pins and two CC
Foot.
In embodiments of the present invention, 4 vbus pins in Type-C female seats and Type-C male connectors can be divided into two groups,
Wherein every group includes 2 vbus pins.Specifically, 2 vbus adjacent in Type-C female seats and Type-C male connectors can be drawn
Foot is divided in same grouping.For example, two vbus pins of A4, B9 position in Fig. 3 A are divided into one group, by A9, B4 position
Two vbus pins be divided into one group;Two vbus pins of A4, B9 position in Fig. 3 B are divided into one group, by A9, B4 position
Two vbus pins be divided into one group.
Step 402, every group of 2 vbus pins and 1 TX- pin and 1 RX- pin multiplexing are obtained first respectively
Power supply wiring interface and second source wiring interface;
Then every group of 2 vbus pins and 1 TX- pin and 1 RX- pin multiplexing are obtained into the first power supply respectively
Wiring interface and second source wiring interface.For example, for the Type-C female seats in Fig. 3 A, it can be by two of A4, B9 position
Vbus pins and the TX1- pins of A3 positions and the RX1- pin multiplexings of B10 positions, the first power supply wiring interface of formation, and incite somebody to action
Two vbus pins of A9, B4 position and the RX2- pins of A10 positions and the TX2- pin multiplexings of B3 positions, form second source
Wiring interface.Likewise, for the Type-C male connectors in Fig. 3 B, it can be by two vbus pins of A4, B9 position and A3 positions
TX1- pins and B10 positions RX1- pin multiplexings, the first power supply wiring interface is formed, and by two of A9, B4 position
Vbus pins and the RX2- pins of A10 positions and the TX2- pin multiplexings of B3 positions, form second source wiring interface.
Step 403, when having detected the first plant-grid connection, the power supply wiring for determining to be connected with first power supply connects
Mouth is the first power supply wiring interface;
In embodiments of the present invention, the USB Type-C interfaces of mobile terminal side can be a Type-C female seats, by this
Type-C female seats can be connect with the Type-C male connectors in Type-C Hub, and the Type-C male connectors are further with being built in Type-C
Two Type-C female seats in Hub are connected, power supply can by two Type-C female seats being inserted into Type-C Hub, so as to
A complete charging path is formed with mobile terminal.
In the concrete realization, when in the interface that some power supply is inserted into Type-C Hub, it is believed that be the electricity
Source inserts a Type-C female seat in Type-C Hub, therefore, may further determine that and is connected with the Type-C female seats
Power supply wiring interface.
In general, the power supply of insertion can be identified by the CC pins on Type-C interfaces, so that it is determined that specifically
Power supply wiring interface for example, when the first power supply is inserted into Type-C Hub, can be identified by the CC pins on Type-C interfaces
The power supply wiring interface for going out first power supply is the first power supply wiring interface.
Step 404, when having detected second source access, the power supply wiring for determining to be connected with the second source connects
Mouth is second source wiring interface;
It is similar with the first power supply insertion Type-C Hub, when second source is inserted into Type-C Hub, Type-C interfaces
On CC pins can identify the second source power supply wiring interface be second source wiring interface.
Step 405, it using the first power supply wiring interface, is charged by first power supply for mobile terminal;
In embodiments of the present invention, when being only inserted into there are one power supply, the power supply and corresponding power supply wiring can be used
Interface charges for mobile terminal, and when the first power supply and second source access simultaneously, the mode of poll may be used, timesharing is
Mobile terminal charges.
In the concrete realization, it is described to use the first power supply wiring interface, it is mobile terminal charging by first power supply
Step can specifically include following sub-step:
S11 switches to the change-over switch of mobile terminal and the corresponding first position of the first power supply wiring interface;
S12 adjusts the charge parameter of the first reduction voltage circuit to first object parameter;
S13 uses the first object parameter to charge for the mobile terminal.
In embodiments of the present invention, when the first power supply is inserted into Type C Hub, the male connector of Type C Hub and movement
The CC pins of the Type C female seats of terminal can detect the access of the first power supply, so as to processor communication, by first
The message of plant-grid connection is sent to processor, and processor can control the conversion of mobile terminal to open after above-mentioned message is received
(Switch IC) is closed to be switched to and at the first corresponding first position of power supply wiring interface, i.e. the D of switching Switch IC ±
Switch is connected to D1+ and D1- positions;Then, processor can further adjust (the buck electricity of the first reduction voltage circuit in mobile terminal
Road) charge parameter, charge so as to fulfill by the first power supply for mobile terminal.
Step 406, it using second source wiring interface, is charged by the second source for mobile terminal.
In the concrete realization, it is described to use second source wiring interface, it is mobile terminal charging by the second source
Step can specifically include following sub-step:
S21 switches to the change-over switch of mobile terminal and the corresponding second position of second source wiring interface;
S22 adjusts the charge parameter of the second reduction voltage circuit to the second target component;
S23 uses second target component to charge for the mobile terminal.
When second source is inserted into Type C Hub, the male connector of Type C Hub and the Type C Hub of mobile terminal are female
The CC pins of seat can detect the access of second source, so as to processor communication, the message that second source is accessed
It is sent to processor.
Similar with the charging process of the first power supply, processor can control the change-over switch (Switch IC) of mobile terminal
Be switched to the corresponding second place of second source wiring interface, that is, switch Switch IC D ± switches be connected to D2+ and
D2- positions;Then, processor can further adjust the charge parameter of the second reduction voltage circuit in mobile terminal (buck circuits),
It charges so as to fulfill by second source for mobile terminal.
In embodiments of the present invention, by by the vbus pins in Type C interface and TX pins and RX pin multiplexings, energy
Enough conveyance capacities of increase Type C so that the first power supply and second source can be filled using larger electric current for mobile terminal
Electricity further improves the charging rate of mobile terminal, and the charging for reducing mobile terminal takes.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group
It closes, but those skilled in the art should know, the embodiment of the present invention is not limited by described sequence of movement, because according to
According to the embodiment of the present invention, certain steps may be used other sequences or be carried out at the same time.Secondly, those skilled in the art also should
Know, embodiment described in this description belongs to preferred embodiment, and the involved action not necessarily present invention is implemented
Necessary to example.
3rd embodiment
With reference to Fig. 5 A, one of block diagram of mobile terminal of third embodiment of the invention is shown, the mobile terminal 500 has
Body can include following module:
Determining module 501, for detected the first power supply and/or, second source access when, respectively determine and institute
The power supply wiring interface that the first power supply or second source are connected is stated, the power supply wiring interface can include the first power supply wiring
Interface and second source wiring interface;
Charging module 502 is mobile terminal for using the first power supply wiring interface and second source wiring interface
Charging.
In embodiments of the present invention, the mobile terminal can have a Type-C interfaces, and the Type-C interfaces include 4
Vbus pins, 2 TX- pins and 2 RX- pins, the first power supply wiring interface and second source wiring interface can be with
By the way that following module is called to obtain:
Interface packets module 503, for the 4 of Type-C interfaces vbus pins to be divided into two groups, wherein every group includes 2
Vbus pins;
Interface duplex module 504, for respectively answering every group of 2 vbus pins with 1 TX- pin and 1 RX- pin
With the first power supply wiring interface of acquisition and second source wiring interface.
In embodiments of the present invention, the determining module 501 can specifically include following submodule:
First determination sub-module 5011, for when having detected the first plant-grid connection, determining and the first power supply phase
The power supply wiring interface of connection is the first power supply wiring interface;
Second determination sub-module 5012, for when having detected second source access, determining and the second source phase
The power supply wiring interface of connection is second source wiring interface.
In embodiments of the present invention, the charging module 502 can specifically include following submodule:
First charging submodule 5021 is mobile terminal by first power supply for using the first power supply wiring interface
Charging;
Second charging submodule 5022 is mobile terminal by the second source for using second source wiring interface
Charging.
On the basis of Fig. 5 A, optionally, referring to Fig. 5 B, the block diagram of the mobile terminal of third embodiment of the invention is shown
Two, the first charging submodule 5021 can specifically include such as lower unit:
First switch unit 211, for the change-over switch of mobile terminal to be switched to and the first power supply wiring interface
Corresponding first position;
The first adjustment unit 212, for adjusting the charge parameter of the first reduction voltage circuit to first object parameter;
First charhing unit 213, for the first object parameter to be used to charge for the mobile terminal.
On the basis of Fig. 5 A, optionally, referring to Fig. 5 C, the block diagram of the mobile terminal of third embodiment of the invention is shown
Three, the second charging submodule 5022 can specifically include such as lower unit:
Second switch unit 221, for after preset first time interval, the change-over switch of mobile terminal to be switched to
With the corresponding second position of second source wiring interface;
Second adjustment unit 222, for adjusting the charge parameter of the second reduction voltage circuit to the second target component;
Second charhing unit 223, for second target component to be used to charge for the mobile terminal.
Mobile terminal 500 can realize each process that mobile terminal is realized in the embodiment of the method for Fig. 1 to Fig. 4, to keep away
Exempt to repeat, which is not described herein again.When detected the first power supply and/or, second source access when, can be by determining respectively
The the first power supply wiring interface and second source wiring interface being connected with first power supply or second source, then using institute
The first power supply wiring interface and second source wiring interface are stated, is charged for mobile terminal, by being mobile terminal by two power supplys
Power supply improves the charging rate of mobile terminal, solves the problems, such as time-consuming longer for mobile terminal charging in prior art.
Fourth embodiment
Fig. 6 is a kind of block diagram of mobile terminal of fourth embodiment of the invention.Mobile terminal 600 shown in fig. 6 includes:Extremely
A few processor 601, memory 602, at least one network interface 604 and user interface 603.It is each in mobile terminal 600
A component is coupled by bus system 605.It is understood that bus system 605 is used to implement the connection between these components
Communication.Bus system 605 further includes power bus, controlling bus and status signal bus in addition in addition to including data/address bus.But
For the sake of clear explanation, various buses are all designated as bus system 605 in figure 6.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-
OnlyMemory, ROM), programmable read only memory (ProgrammableROM, PROM), Erasable Programmable Read Only Memory EPROM
(ErasablePROM, EPROM), electrically erasable programmable read-only memory (ElectricallyEPROM, EEPROM) dodge
It deposits.Volatile memory can be random access memory (RandomAccessMemory, RAM), be used as external slow at a high speed
It deposits.By exemplary but be not restricted explanation, the RAM of many forms can be used, such as static RAM
(StaticRAM, SRAM), dynamic random access memory (DynamicRAM, DRAM), Synchronous Dynamic Random Access Memory
(SynchronousDRAM, SDRAM), double data speed synchronous dynamic RAM (DoubleDataRate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (SynchlinkDRAM, SLDRAM) and direct rambus random access memory
(DirectRambusRAM, DRRAM).The memory 602 of the system and method for description of the embodiment of the present invention is intended to include but unlimited
In the memory of these and any other suitable type.
In some embodiments, memory 602 stores following element, executable modules or data structures or
Their subset of person or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021 comprising various system programs, such as ccf layer, core library layer, driving layer etc., are used for
Realize various basic businesses and the hardware based task of processing.Application program 6022 includes various application programs, such as media
Player (MediaPlayer), browser (Browser) etc., are used to implement various applied business.Realize embodiment of the present invention side
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 602, specifically, can be application
The program stored in program 6022 or instruction, processor 601 be used for when detect the first power supply and/or, second source access
When, the power supply wiring interface being connected with first power supply or second source is determined respectively, and the power supply wiring interface includes
First power supply wiring interface and second source wiring interface;It is connect using the first power supply wiring interface and second source wiring
Mouthful, it charges for mobile terminal.
The method that the embodiments of the present invention disclose can be applied to realize in processor 601 or by processor 601.
Processor 601 may be a kind of IC chip, have the processing capacity of signal.During realization, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (DigitalSignalProcessor, DSP), application-specific integrated circuit
(ApplicationSpecific IntegratedCircuit, ASIC), ready-made programmable gate array
(FieldProgrammableGateArray, FPGA) either other programmable logic device, discrete gate or transistor logic
Device, discrete hardware components.It can realize or perform disclosed each method, step and the box in the embodiment of the present invention
Figure.General processor can be microprocessor or the processor can also be any conventional processor etc..With reference to the present invention
The step of method disclosed in embodiment, can be embodied directly in hardware decoding processor and perform completion or use decoding processor
In hardware and software module combination perform completion.Software module can be located at random access memory, and flash memory, read-only memory can
In the storage medium of this fields such as program read-only memory or electrically erasable programmable memory, register maturation.The storage
Medium is located at memory 602, and processor 601 reads the information in memory 602, and the step of the above method is completed with reference to its hardware
Suddenly.
It is understood that the embodiment of the present invention description these embodiments can use hardware, software, firmware, middleware,
Microcode or combination is realized.For hardware realization, processing unit can be realized in one or more application-specific integrated circuits
(ApplicationSpecificIntegratedCircuits, ASIC), digital signal processor
(DigitalSignalProcessing, DSP), digital signal processing appts (DSPDevice, DSPD), programmable logic device
(ProgrammableLogicDevice, PLD), field programmable gate array (Field-ProgrammableGateArray,
FPGA), general processor, controller, microcontroller, microprocessor, other electronics lists for performing function of the present invention
In first or combination.
For software implementations, can by perform the module (such as process, function etc.) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and is performed by processor.Memory can
With portion realizes in the processor or outside the processor.
Optionally, the processor 601 is additionally operable to:4 vbus pins of Type-C interfaces are divided into two groups, wherein every group
Including 2 vbus pins;Respectively by every group of 2 vbus pins and 1 TX- pin and 1 RX- pin multiplexing, first is obtained
Power supply wiring interface and second source wiring interface.
Optionally, the processor 601 is additionally operable to:When having detected the first plant-grid connection, determine and the described first electricity
The power supply wiring interface that source is connected is the first power supply wiring interface;When having detected second source access, determine with it is described
The power supply wiring interface that second source is connected is second source wiring interface.
Optionally, the processor 601 is additionally operable to:It is movement by first power supply using the first power supply wiring interface
Terminal charge;Using second source wiring interface, charged by the second source for mobile terminal.
Optionally, the processor 601 is additionally operable to:The change-over switch of mobile terminal is switched to and is connect with first power supply
The corresponding first position of line interface;The charge parameter of the first reduction voltage circuit is adjusted to first object parameter;Using described first
Target component charges for the mobile terminal.
Optionally, the processor 601 is additionally operable to:The change-over switch of mobile terminal is switched to and is connect with the second source
The corresponding second position of line interface;The charge parameter of the second reduction voltage circuit is adjusted to the second target component;Using described second
Target component charges for the mobile terminal.
Mobile terminal 600 can realize each process that mobile terminal is realized in previous embodiment, be repeated to avoid, here
It repeats no more.The embodiment of the present invention when detect the first power supply and/or, second source access when, can be by determining respectively
The the first power supply wiring interface and second source wiring interface being connected with first power supply or second source, then using institute
The first power supply wiring interface and second source wiring interface are stated, is charged for mobile terminal, by being mobile terminal by two power supplys
Power supply improves the charging rate of mobile terminal, solves the problems, such as time-consuming longer for mobile terminal charging in prior art.
5th embodiment
Fig. 7 is the structure diagram of the mobile terminal of fifth embodiment of the invention.Specifically, the mobile terminal 700 in Fig. 7
Can be mobile phone, tablet computer, personal digital assistant (PersonalDigital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal 700 in Fig. 7 includes radio frequency (RadioFrequency, RF) circuit 710, memory 720, input list
Member 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (WirelessFidelity) module 780 and power supply
790。
Wherein, input unit 730 can be used for receiving number input by user or character information and generation and mobile terminal
The related signal input of 700 user setting and function control.Specifically, in the embodiment of the present invention, which can
To include touch panel 731.Touch panel 731, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses the operations of any suitable object or attachment on touch panel 731 such as finger, stylus), and according to advance
The formula of setting drives corresponding attachment device.Optionally, touch panel 731 may include touch detecting apparatus and touch controller
Two parts.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, by signal
Send touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate,
The processor 760 is given again, and can be received the order that processor 760 is sent and be performed.Furthermore, it is possible to using resistance-type,
The multiple types such as condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input unit
730 can also include other input equipments 732, other input equipments 732 can include but is not limited to physical keyboard, function key
It is one or more in (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
Wherein, display unit 740 can be used for display by information input by user or be supplied to information and the movement of user
The various menu interfaces of terminal 700.Display unit 740 may include display panel 741, optionally, LCD or organic hairs may be used
Display panel 741 is configured in the forms such as optical diode (OrganicLight-EmittingDiode, OLED).
It should be noted that touch panel 731 can cover display panel 741, touch display screen is formed, when the touch display screen is examined
It measures and on it or after neighbouring touch operation, sends processor 760 to determine the type of touch event, be followed by subsequent processing device
760 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and common control viewing area.The Application Program Interface viewing area
And arrangement mode of the common control viewing area does not limit, can be arranged above and below, left-right situs etc. can distinguish two it is aobvious
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface elements such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
Or the empty interface not comprising any content.The common control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as button, interface number, scroll bar, phone directory icon etc. are set.
Wherein processor 760 is the control centre of mobile terminal 700, utilizes various interfaces and connection whole mobile phone
Various pieces are stored by running or performing the software program being stored in first memory 721 and/or module and call
Data in second memory 722 perform the various functions of mobile terminal 700 and processing data, so as to mobile terminal 700
Carry out integral monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by calling store the first memory 721 in software program and/or module and/
Or the data in the second memory 722, processor 760 be used for when detect the first power supply and/or, second source access
When, the power supply wiring interface being connected with first power supply or second source is determined respectively, and the power supply wiring interface includes
First power supply wiring interface and second source wiring interface;It is connect using the first power supply wiring interface and second source wiring
Mouthful, it charges for mobile terminal.
Optionally, the processor 760 is additionally operable to:4 vbus pins of Type-C interfaces are divided into two groups, wherein every group
Including 2 vbus pins;Respectively by every group of 2 vbus pins and 1 TX- pin and 1 RX- pin multiplexing, first is obtained
Power supply wiring interface and second source wiring interface.
Optionally, the processor 760 is additionally operable to:When having detected the first plant-grid connection, determine and the described first electricity
The power supply wiring interface that source is connected is the first power supply wiring interface;When having detected second source access, determine with it is described
The power supply wiring interface that second source is connected is second source wiring interface.
Optionally, the processor 760 is additionally operable to:It is movement by first power supply using the first power supply wiring interface
Terminal charge;Using second source wiring interface, charged by the second source for mobile terminal.
Optionally, the processor 760 is additionally operable to:The change-over switch of mobile terminal is switched to and is connect with first power supply
The corresponding first position of line interface;The charge parameter of the first reduction voltage circuit is adjusted to first object parameter;Using described first
Target component charges for the mobile terminal.
Optionally, the processor 760 is additionally operable to:The change-over switch of mobile terminal is switched to and is connect with the second source
The corresponding second position of line interface;The charge parameter of the second reduction voltage circuit is adjusted to the second target component;Using described second
Target component charges for the mobile terminal.
As it can be seen that the embodiment of the present invention when detect the first power supply and/or, second source access when, difference can be passed through
It determines the first power supply wiring interface being connected with first power supply or second source and second source wiring interface, then adopts
It with the first power supply wiring interface and second source wiring interface, charges for mobile terminal, by being movement by two power supplys
Terminal is powered, and improves the charging rate of mobile terminal, is solved in prior art and is taken longer ask for mobile terminal charging
Topic.
Those of ordinary skill in the art may realize that the embodiment with reference to disclosed in the embodiment of the present invention describes each
Exemplary unit and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed actually with hardware or software mode, specific application and design constraint depending on technical solution.Profession
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit can refer to the corresponding process in preceding method embodiment, and details are not described herein.
In embodiment provided by the present invention, it should be understood that disclosed device and method can pass through others
Mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or
Person is desirably integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, device or unit
It connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is independent product sale or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially in other words
The part contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be
People's computer, server or network equipment etc.) perform all or part of the steps of the method according to each embodiment of the present invention.
And aforementioned storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in change or replacement, should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (12)
1. a kind of charging method, which is characterized in that including:
When detected the first power supply and/or, second source access when, respectively determine with first power supply or second source
The power supply wiring interface being connected, the power supply wiring interface include the first power supply wiring interface and second source wiring interface;
Using the first power supply wiring interface and second source wiring interface, charge for mobile terminal.
2. according to the method described in claim 1, it is characterized in that, the mobile terminal have a Type-C interfaces, it is described
Type-C interfaces include 4 vbus pins, 2 TX- pins and 2 RX- pins, the first power supply wiring interface and the second electricity
Source wiring interface obtains in the following way:
4 vbus pins of Type-C interfaces are divided into two groups, wherein every group includes 2 vbus pins;
Respectively by every group of 2 vbus pins and 1 TX- pin and 1 RX- pin multiplexing, the first power supply wiring interface is obtained
With second source wiring interface.
3. according to the method described in claim 1, it is characterized in that, it is described when detect the first power supply and/or, second electricity
When source is accessed, determine to include the step of the power supply wiring interface being connected with first power supply or second source respectively:
When having detected the first plant-grid connection, it is the first power supply to determine the power supply wiring interface being connected with first power supply
Wiring interface;
When having detected second source access, it is second source to determine the power supply wiring interface being connected with the second source
Wiring interface.
4. according to any methods of claim 1-3, which is characterized in that it is described using the first power supply wiring interface and
Second source wiring interface includes for the step of mobile terminal charging:
Using the first power supply wiring interface, charged by first power supply for mobile terminal;
Using second source wiring interface, charged by the second source for mobile terminal.
5. according to the method described in claim 4, it is characterized in that, described use the first power supply wiring interface, by described first
The step of power supply charges for mobile terminal includes:
The change-over switch of mobile terminal is switched to and the corresponding first position of the first power supply wiring interface;
The charge parameter of the first reduction voltage circuit is adjusted to first object parameter;
The first object parameter is used to charge for the mobile terminal.
6. according to the method described in claim 4, it is characterized in that, described use second source wiring interface, by described second
The step of power supply charges for mobile terminal includes:
The change-over switch of mobile terminal is switched to and the corresponding second position of second source wiring interface;
The charge parameter of the second reduction voltage circuit is adjusted to the second target component;
Second target component is used to charge for the mobile terminal.
7. a kind of mobile terminal, which is characterized in that including:
Determining module, for detected the first power supply and/or, second source access when, respectively determine with described first electricity
The power supply wiring interface that source or second source are connected, the power supply wiring interface include the first power supply wiring interface and the second electricity
Source wiring interface;
Charging module for using the first power supply wiring interface and second source wiring interface, charges for mobile terminal.
8. mobile terminal according to claim 7, which is characterized in that the mobile terminal has a Type-C interfaces, institute
It states Type-C interfaces and includes 4 vbus pins, 2 TX- pins and 2 RX- pins, the first power supply wiring interface and second
Power supply wiring interface is by calling following module to obtain:
Interface packets module, for the 4 of Type-C interfaces vbus pins to be divided into two groups, wherein every group is drawn including 2 vbus
Foot;
Interface duplex module, for by every group of 2 vbus pins and 1 TX- pin and 1 RX- pin multiplexing, obtaining respectively
First power supply wiring interface and second source wiring interface.
9. mobile terminal according to claim 7, which is characterized in that the determining module includes:
First determination sub-module, for when having detected the first plant-grid connection, determining the electricity being connected with first power supply
Wiring interface in source is the first power supply wiring interface;
Second determination sub-module, for when having detected second source access, determining the electricity being connected with the second source
Wiring interface in source is second source wiring interface.
10. according to any mobile terminals of claim 7-9, which is characterized in that the charging module includes:
First charging submodule for using the first power supply wiring interface, is charged by first power supply for mobile terminal;
Second charging submodule for using second source wiring interface, is charged by the second source for mobile terminal.
11. mobile terminal according to claim 10, which is characterized in that the first charging submodule includes:
First switch unit, it is corresponding with the first power supply wiring interface for switching to the change-over switch of mobile terminal
First position;
The first adjustment unit, for adjusting the charge parameter of the first reduction voltage circuit to first object parameter;
First charhing unit, for the first object parameter to be used to charge for the mobile terminal.
12. mobile terminal according to claim 10, which is characterized in that the second charging submodule includes:
Second switch unit, it is corresponding with the second source wiring interface for switching to the change-over switch of mobile terminal
The second position;
Second adjustment unit, for adjusting the charge parameter of the second reduction voltage circuit to the second target component;
Second charhing unit, for second target component to be used to charge for the mobile terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611270288.XA CN108270256B (en) | 2016-12-30 | 2016-12-30 | A kind of charging method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611270288.XA CN108270256B (en) | 2016-12-30 | 2016-12-30 | A kind of charging method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108270256A true CN108270256A (en) | 2018-07-10 |
CN108270256B CN108270256B (en) | 2019-11-29 |
Family
ID=62771308
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611270288.XA Active CN108270256B (en) | 2016-12-30 | 2016-12-30 | A kind of charging method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108270256B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204597534U (en) * | 2015-04-13 | 2015-08-26 | 深圳市爱生百利科技有限公司 | Trickle charge selecting type charging system is filled soon with port |
CN204669001U (en) * | 2015-05-27 | 2015-09-23 | 深圳万思佳电器有限公司 | Quick charge connector |
CN105328648A (en) * | 2014-06-30 | 2016-02-17 | 南京德朔实业有限公司 | Electric tool and charger adapted to same |
CN105656115A (en) * | 2015-11-30 | 2016-06-08 | 东莞酷派软件技术有限公司 | Dual channel charging method, system and terminal thereof |
CN106253400A (en) * | 2016-08-25 | 2016-12-21 | 维沃移动通信有限公司 | A kind of charging method, mobile terminal and charger |
-
2016
- 2016-12-30 CN CN201611270288.XA patent/CN108270256B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105328648A (en) * | 2014-06-30 | 2016-02-17 | 南京德朔实业有限公司 | Electric tool and charger adapted to same |
CN204597534U (en) * | 2015-04-13 | 2015-08-26 | 深圳市爱生百利科技有限公司 | Trickle charge selecting type charging system is filled soon with port |
CN204669001U (en) * | 2015-05-27 | 2015-09-23 | 深圳万思佳电器有限公司 | Quick charge connector |
CN105656115A (en) * | 2015-11-30 | 2016-06-08 | 东莞酷派软件技术有限公司 | Dual channel charging method, system and terminal thereof |
CN106253400A (en) * | 2016-08-25 | 2016-12-21 | 维沃移动通信有限公司 | A kind of charging method, mobile terminal and charger |
Also Published As
Publication number | Publication date |
---|---|
CN108270256B (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844265B (en) | A kind of control method and mobile terminal of general-purpose serial bus USB interface | |
CN106126034B (en) | A kind of keypress function setting method and mobile terminal | |
CN107819922B (en) | A kind of relaying method of adjustment, wireless headset and the mobile terminal of wireless headset | |
CN108268389A (en) | The insertion detection method and mobile terminal of a kind of equipment | |
CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
CN107295218B (en) | A kind of image processing method and mobile terminal | |
CN108268395A (en) | A kind of method and mobile terminal of data communication | |
CN108271093A (en) | The processing method and mobile terminal of a kind of access device | |
CN108270253A (en) | A kind of charging method and mobile terminal | |
CN108268411A (en) | The method and mobile terminal of a kind of data transmission | |
CN108268397A (en) | The processing method and mobile terminal of a kind of access device | |
CN108268402A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
CN108268405A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
CN106684967B (en) | A kind of charging method and mobile terminal of mobile terminal | |
CN108270256B (en) | A kind of charging method and mobile terminal | |
CN108271092B (en) | Processing method of access equipment and mobile terminal | |
CN108270255B (en) | A kind of charging method and mobile terminal | |
CN108268396A (en) | The processing method and mobile terminal of a kind of access device | |
CN108268393A (en) | The processing method and mobile terminal of a kind of access device | |
CN108270042B (en) | A kind of charging method and mobile terminal | |
CN108233468A (en) | A kind of charging method and mobile terminal | |
CN108268090A (en) | A kind of interface protector, mobile terminal and method | |
CN108268089A (en) | A kind of interface protector, mobile terminal and method | |
CN108268399A (en) | A kind of method and mobile terminal of data communication | |
CN107482736B (en) | A kind of method for preventing USB interface short circuit from burning and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |