CN108270254A - The method of supplying power to and mobile terminal of a kind of terminal device - Google Patents
The method of supplying power to and mobile terminal of a kind of terminal device Download PDFInfo
- Publication number
- CN108270254A CN108270254A CN201611265797.3A CN201611265797A CN108270254A CN 108270254 A CN108270254 A CN 108270254A CN 201611265797 A CN201611265797 A CN 201611265797A CN 108270254 A CN108270254 A CN 108270254A
- Authority
- CN
- China
- Prior art keywords
- terminal equipment
- power
- interface
- terminal
- mobile terminal
- 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.)
- Pending
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
- H02J7/0013—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries acting upon several batteries simultaneously or sequentially
-
- 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
- H01M10/441—Methods for charging or discharging for several batteries or cells simultaneously or sequentially
-
- 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
-
- 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
Abstract
An embodiment of the present invention provides the method for supplying power to and mobile terminal of a kind of terminal device, the method includes:When detecting first terminal equipment and/or second terminal equipment access mobile terminal, the power interface being connected with the first terminal equipment or second terminal equipment is determined respectively, the power interface includes the first power interface and second source interface;Using first power interface, power for the first terminal equipment;It using the second source interface, powers for the second terminal equipment, solves the problems, such as that mobile terminal can not simultaneously power to multiple exterior terminal equipment in the prior art, improve the efficiency of mobile terminal supplying power for outside.
Description
Technical field
Method of supplying power to and movement the present embodiments relate to field of communication technology more particularly to a kind of terminal device is whole
End.
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, can by connecting other-end equipment come expanded function,
For example, after the terminal devices such as connection USB fans, by fan being made to rotate or be moved eventually with other to USB fans power supply
End connection, charges to the mobile terminal.But existing mobile terminal is when to external power terminal equipment, can only with it is a certain
A terminal device connection, can not connect and power to multiple terminal devices simultaneously.
Invention content
The embodiment of the present invention provides a kind of method of supplying power to and mobile terminal of terminal device, to solve to move in the prior art
The problem of terminal can not simultaneously power to multiple exterior terminal equipment.
In a first aspect, an embodiment of the present invention provides a kind of method of supplying power to of terminal device, including:
When detecting first terminal equipment and/or second terminal equipment access mobile terminal, determine respectively and described the
The power interface that one terminal device or second terminal equipment are connected, the power interface include the first power interface and the second electricity
Source interface;
Using first power interface, power for the first terminal equipment;
Using the second source interface, power for the second terminal equipment.
Second aspect, the embodiment of the present invention additionally provide a kind of mobile terminal, including:
Determining module, for when detecting first terminal equipment and/or second terminal equipment access mobile terminal, distinguishing
Determine the power interface being connected with the first terminal equipment or second terminal equipment, the power interface includes the first power supply
Interface and second source interface;
First power supply module for using first power interface, is powered for the first terminal equipment;
Second power supply module for using the second source interface, is powered for the second terminal equipment.
In this way, in embodiments of the present invention, when detecting that first terminal equipment and/or the access of second terminal equipment are mobile eventually
During end, the power interface being connected with the first terminal equipment or second terminal equipment can be determined respectively, and the power supply connects
Mouth includes the first power interface and second source interface, is the first terminal equipment then using first power interface
Power supply using the second source interface, is powered, solving mobile terminal in the prior art can not for the second terminal equipment
The problem of powering simultaneously to multiple exterior terminal equipment improves the efficiency of mobile terminal supplying power for outside.
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 a kind of flow chart of the method for supplying power to of terminal device of first embodiment of the invention;
Fig. 2 is the terminal device 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 a kind of flow chart of the method for supplying power to of terminal device 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, show a kind of flow chart of the method for supplying power to of terminal device of first embodiment of the invention, specifically may be used
To include the following steps:
Step 101, it when detecting first terminal equipment and/or second terminal equipment access mobile terminal, determines respectively
The power interface being connected with the first terminal equipment or second terminal equipment, the power interface include the first power interface
With second source interface;
It in embodiments of the present invention, can be by multiple terminal devices with being attached with mobile terminal, for example, by first eventually
End equipment and second terminal equipment are connect simultaneously with mobile terminal.
In embodiments of the present invention, the mobile terminal can be mobile phone, the tablet computer using USB Type-C interfaces
Wait electronic equipments;The first terminal equipment and second terminal equipment can be then other kinds of using USB Type-C interfaces
Electronic equipment, for example, USB fans, USB electric lights etc..It, can be in general, electronic equipment as this kind of such as USB fans, USB electric lights
It is followed by being powered by other equipment connecting with other equipment, so as to complete certain specific functions.For example, USB fans are even
After connecing mobile terminal and receiving the power supply of mobile terminal, flabellum can be rotated and enjoyed the cool use for user;USB electric lights are moved in connection
Terminal and after receiving the power supply of mobile terminal, can light light bulb and be used as illumination.
It should be noted that in embodiments of the present invention, first terminal equipment and second terminal equipment can also be and it
The identical electronic equipment of the mobile terminal style that is connected, for example, when mobile terminal is mobile phone, the first terminal equipment
Can also be mobile phone (the first mobile phone and the second mobile phone) with second terminal equipment, so as to which connected mobile phone can be to the first mobile phone
It powers with the second mobile phone, is embodied as the effect of the first mobile phone and the charging of the second mobile phone.
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, be the terminal device of the present invention and the connection diagram of mobile terminal, it is shown each in fig. 2
In equipment, interface is Type-C interfaces, when the circumscribed USB Type-C interfaces of mobile terminal are connect with a Type-C Hub
Afterwards, first terminal equipment and second terminal equipment can be inserted into respectively in two interfaces of the Type-C Hub.
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 2 CC
Pin;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 are public
Head also includes 2 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, two Type-C female seats respectively with first terminal equipment and second terminal
Equipment connects.
In embodiments of the present invention, when detecting that first terminal equipment and/or second terminal equipment access, can distinguish
Determine the power interface being connected with the first terminal equipment or second terminal equipment.
In the concrete realization, since first terminal equipment and second terminal equipment are to access to move by Type-C interfaces
Terminal, in Type-C interface protocols, CC pins can be used for detection connection, to identify main equipment and slave device.It therefore, can be with
When the CC pins of Type-C interfaces detect pull down resistor, judge that the Type-C interfaces have terminal device access.
In general, different terminal devices can be connected from different power interfaces, it is logical so as to form a complete power supply
Road, for example, first terminal equipment can be connect with the first power interface, and second terminal equipment then connects with second source interface
It connects.
Step 102, it using first power interface, powers for the first terminal equipment;
Step 103, it using the second source interface, powers for the second terminal equipment.
In embodiments of the present invention, when the first power interface for determining the connection of first terminal equipment, second terminal equipment
Can be respectively that the first terminal equipment and second terminal equipment are supplied by mobile terminal after the second source interface of connection
Electricity.
Specifically, electricity can be exported by the first power interface and give first terminal equipment, pass through second by mobile terminal
Electricity is exported and gives second terminal equipment by power interface, is set simultaneously for more exterior terminals so as to fulfill by a mobile terminal
Available electricity.
In embodiments of the present invention, when detecting first terminal equipment and/or second terminal equipment access mobile terminal,
The power interface being connected with the first terminal equipment or second terminal equipment can be determined respectively, and the power interface includes
First power interface and second source interface then using first power interface, are powered for the first terminal equipment, are adopted
It with the second source interface, powers for the second terminal equipment, solving mobile terminal in the prior art can not be right simultaneously
The problem of multiple exterior terminal equipment power supplies, improves the efficiency of mobile terminal supplying power for outside.
Second embodiment
With reference to Fig. 4, show a kind of flow chart of the method for supplying power to of terminal device of second embodiment of the invention, specifically may be used
To include the following steps:
Step 401, it when detecting first terminal equipment and/or second terminal equipment access mobile terminal, determines respectively
The power interface being connected with the first terminal equipment or second terminal equipment, the power interface include the first power interface
With second source interface;
In embodiments of the present invention, the circumscribed USB Type-C interfaces of mobile terminal and a Type-C Hub can be connected
It connects, and first terminal equipment and second terminal equipment is inserted into respectively in two interfaces of the Type-C Hub.
The USB Type-C interfaces of mobile terminal side can be a Type-C female seats, can be with by the Type-C female seats
Type-C male connectors connection in Type-C Hub, the Type-C male connectors further be built in Type-C Hub two
Type-C female seats are connected, terminal device can by two Type-C female seats being inserted into Type-C Hub, so as to movement
Terminal forms a complete supply access.
In the concrete realization, when in the interface that some terminal device is inserted into Type-C Hub, it is believed that be
The terminal device inserts a Type-C female seat in Type-C Hub, therefore, may further determine that and Type-C mothers
The power interface that seat is connected.
Further, when the CC pins of Type-C interfaces detect pull down resistor, it can be determined that the Type-C interfaces
There is a terminal device access, and the corresponding power interface of the CC pins being connected with the terminal device is determined as the terminal device
The power interface of power supply.
For example, when detecting the access of first terminal equipment, it may be determined that the CC being connected with the first terminal equipment
The corresponding power interface of pin is the first power interface;When detecting the access of second terminal equipment, determine with described second eventually
The corresponding power interface of CC pins that end equipment is connected is second source interface.
Step 402, the change-over switch of mobile terminal is switched to and the corresponding first position of the first power interface;
Step 403, the power supply parameter of the first booster circuit of adjustment is to first object parameter;
Step 404, the first object parameter is used to power for the first terminal equipment;
In embodiments of the present invention, when first terminal equipment is inserted into Type C Hub, the male connector of Type C Hub and
The CC pins of the Type C female seats of mobile terminal can detect the access of first terminal equipment, so as to lead to processor
Letter, is sent to processor, processor can control movement after above-mentioned message is received by the message that first terminal equipment accesses
The change-over switch (Switch IC) of terminal is switched to at the corresponding first position of the first power interface, that is, switching Switch
D ± the switches of IC are connected to D1+ and D1- positions;Then, processor can further adjust the first booster circuit in mobile terminal
The power supply parameter of (boost circuits) makes the power supply parameter of the first booster circuit meet the power reguirements of first terminal equipment, so as to
It realizes and is powered by mobile terminal for first terminal equipment.
Step 405, the change-over switch of mobile terminal is switched to and the corresponding second position of second source interface;
Step 406, the power supply parameter of the second booster circuit of adjustment is to the second target component;
Step 407, second target component is used to power for the second terminal equipment.
In embodiments of the present invention, when second terminal equipment is inserted into Type C Hub, the male connector of Type C Hub and
The CC pins of the Type C female seats of mobile terminal can detect the access of second terminal equipment, so as to lead to processor
Letter, processor is sent to by the message that second terminal equipment accesses.
Similar with the process powered for first terminal equipment, processor can control the change-over switch of mobile terminal
(Switch IC) is switched to be connected to the corresponding second place of second source interface, that is, the D ± switches for switching SwitchIC
D2+ and D2- positions;Then, processor can further adjust the power supply of the second booster circuit in mobile terminal (boost circuits)
Parameter makes the power supply parameter of the second booster circuit meet the power reguirements of second terminal equipment, is so as to fulfill by mobile terminal
Second terminal equipment is powered.
In embodiments of the present invention, by the way that mobile terminal is connect with Type C Hub, so by the Type C Hub with
Multiple exterior terminal equipment connections, realize the connection between mobile terminal and multiple exterior terminal equipment indirectly, so as to
By being respectively that each terminal device determines corresponding power interface, mobile terminal can simultaneously supply multiple exterior terminal equipment
Electricity improves the efficiency of mobile terminal supplying power for outside.
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, the block diagram of the mobile terminal of third embodiment of the invention is shown, the mobile terminal 500 specifically may be used
To include following module:
Determining module 510, for detect first terminal equipment and/or second terminal equipment access mobile terminal when,
The power interface being connected with the first terminal equipment or second terminal equipment is determined respectively, and the power interface can include
First power interface and second source interface;
First power supply module 520 for using first power interface, is powered for the first terminal equipment;
Second power supply module 530 for using the second source interface, is powered for the second terminal equipment.
In embodiments of the present invention, the first terminal equipment and/or second terminal equipment can pass through Type-C respectively
Interface accesses mobile terminal, and the Type-C interfaces include CC pins;It can be set by the way that following module is called to detect first terminal
Standby and/or second terminal equipment access:
Detection module 540, for when the CC pins of Type-C interfaces detect pull down resistor, judging that the Type-C connects
Mouth has terminal device access.
In embodiments of the present invention, the determining module 510 can specifically include following submodule:
First determination sub-module 511, for when detecting the access of first terminal equipment, determining to set with the first terminal
The standby corresponding power interface of CC pins being connected is the first power interface;
Second determination sub-module 512, for when detecting the access of second terminal equipment, determining to set with the second terminal
The standby corresponding power interface of CC pins being connected is second source interface.
On the basis of Fig. 5 A, optionally, referring to Fig. 5 B, be third embodiment of the invention mobile terminal block diagram it
Two, first power supply module 520 can specifically include following submodule:
First switching submodule 521, for the change-over switch of mobile terminal to be switched to and the first power interface phase
Corresponding first position;
The first adjustment submodule 522, for adjusting the power supply parameter of the first booster circuit to first object parameter;
First power supply submodule 523, for the first object parameter to be used to power for the first terminal equipment.
On the basis of Fig. 5 A, optionally, referring to Fig. 5 C, be third embodiment of the invention mobile terminal block diagram it
Three, second power supply module 530 can specifically include following submodule:
Second switching submodule 531, for the change-over switch of mobile terminal to be switched to and the second source interface phase
The corresponding second position;
Second adjustment submodule 532, for adjusting the power supply parameter of the second booster circuit to the second target component;
Second power supply submodule 533, for second target component to be used to power for the second terminal equipment.
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.In the embodiment of the present invention, when detect first terminal equipment and/or second terminal equipment access
During mobile terminal, the power interface being connected with the first terminal equipment or second terminal equipment can be determined respectively, it is described
Power interface includes the first power interface and second source interface, is described first whole then using first power interface
End equipment is powered, and using the second source interface, is powered for the second terminal equipment, is solved mobile whole in the prior art
The problem of end can not simultaneously power to multiple exterior terminal equipment improves the efficiency of mobile terminal supplying power for outside.
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, which is used to work as, detects first terminal equipment and/or second terminal equipment
When accessing mobile terminal, the power interface being connected with the first terminal equipment or second terminal equipment is determined respectively, it is described
Power interface includes the first power interface and second source interface;Using first power interface, set for the first terminal
Available electricity;Using the second source interface, power for the second terminal equipment.
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:When the CC pins of Type-C interfaces detect pull down resistor, judge
The Type-C interfaces have terminal device access.
Optionally, the processor 601 is additionally operable to:When detecting the access of first terminal equipment, determine and described first
The corresponding power interface of CC pins that terminal device is connected is the first power interface;When detect second terminal equipment access
When, it is second source interface to determine power interface corresponding with the CC pins that the second terminal equipment is connected.
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 mouth;The power supply parameter of the first booster circuit is adjusted to first object parameter;Using the first object
Parameter is powered for the first terminal equipment.
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 mouth;The power supply parameter of the second booster circuit is adjusted to the second target component;Using second target
Parameter is powered for the second terminal equipment.
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, can be with when detecting first terminal equipment and/or second terminal equipment access mobile terminal
The power interface being connected with the first terminal equipment or second terminal equipment is determined respectively, and the power interface includes first
Power interface and second source interface then using first power interface, are powered, using institute for the first terminal equipment
Second source interface is stated, is powered for the second terminal equipment, solving mobile terminal in the prior art can not be simultaneously to multiple
The problem of exterior terminal equipment is powered improves the efficiency of mobile terminal supplying power for outside.
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, which is used to work as, detects first terminal equipment and/or second terminal equipment
When accessing mobile terminal, the power interface being connected with the first terminal equipment or second terminal equipment is determined respectively, it is described
Power interface includes the first power interface and second source interface;Using first power interface, set for the first terminal
Available electricity;Using the second source interface, power for the second terminal equipment.
Optionally, the processor 760 is additionally operable to:When the CC pins of Type-C interfaces detect pull down resistor, judge
The Type-C interfaces have terminal device access.
Optionally, the processor 760 is additionally operable to:When detecting the access of first terminal equipment, determine and described first
The corresponding power interface of CC pins that terminal device is connected is the first power interface;When detect second terminal equipment access
When, it is second source interface to determine power interface corresponding with the CC pins that the second terminal equipment is connected.
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 mouth;The power supply parameter of the first booster circuit is adjusted to first object parameter;Using the first object
Parameter is powered for the first terminal equipment.
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 mouth;The power supply parameter of the second booster circuit is adjusted to the second target component;Using second target
Parameter is powered for the second terminal equipment.
As it can be seen that the embodiment of the present invention when detect first terminal equipment and/or second terminal equipment access mobile terminal when,
The power interface being connected with the first terminal equipment or second terminal equipment can be determined respectively, and the power interface includes
First power interface and second source interface then using first power interface, are powered for the first terminal equipment, are adopted
It with the second source interface, powers for the second terminal equipment, solving mobile terminal in the prior art can not be right simultaneously
The problem of multiple exterior terminal equipment power supplies, improves the efficiency of mobile terminal supplying power for outside.
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 (10)
1. a kind of method of supplying power to of terminal device, which is characterized in that including:
When detecting first terminal equipment and/or second terminal equipment access mobile terminal, determined respectively with described first eventually
The power interface that end equipment or second terminal equipment are connected, the power interface includes the first power interface and second source connects
Mouthful;
Using first power interface, power for the first terminal equipment;
Using the second source interface, power for the second terminal equipment.
2. according to the method described in claim 1, it is characterized in that, the first terminal equipment and/or second terminal equipment point
Mobile terminal is not accessed by Type-C interfaces, the Type-C interfaces include CC pins;Detection first is whole in the following way
The access of end equipment and/or second terminal equipment:
When the CC pins of Type-C interfaces detect pull down resistor, judge that the Type-C interfaces have terminal device access.
3. according to the method described in claim 2, it is characterized in that, described ought detect first terminal equipment and/or second eventually
When end equipment accesses mobile terminal, the power interface being connected with the first terminal equipment or second terminal equipment is determined respectively
The step of include:
When detecting the access of first terminal equipment, power supply corresponding with the CC pins that the first terminal equipment is connected is determined
Interface is the first power interface;
When detecting the access of second terminal equipment, power supply corresponding with the CC pins that the second terminal equipment is connected is determined
Interface is second source interface.
4. according to the method described in claim 1, it is characterized in that, the use first power interface, is described first
The step of power terminal equipment, includes:
The change-over switch of mobile terminal is switched to and the corresponding first position of the first power interface;
The power supply parameter of the first booster circuit is adjusted to first object parameter;
The first object parameter is used to power for the first terminal equipment.
5. according to the method described in claim 4, it is characterized in that, the use second source interface, is described second
The step of power terminal equipment, includes:
The change-over switch of mobile terminal is switched to and the corresponding second position of second source interface;
The power supply parameter of the second booster circuit is adjusted to the second target component;
Second target component is used to power for the second terminal equipment.
6. a kind of mobile terminal, which is characterized in that including:
Determining module, for when detecting first terminal equipment and/or second terminal equipment access mobile terminal, determining respectively
The power interface being connected with the first terminal equipment or second terminal equipment, the power interface include the first power interface
With second source interface;
First power supply module for using first power interface, is powered for the first terminal equipment;
Second power supply module for using the second source interface, is powered for the second terminal equipment.
7. mobile terminal according to claim 6, which is characterized in that the first terminal equipment and/or second terminal are set
Back-up does not access mobile terminal by Type-C interfaces, and the Type-C interfaces include CC pins;By the way that following module is called to examine
Survey the access of first terminal equipment and/or second terminal equipment:
Detection module, for when the CC pins of Type-C interfaces detect pull down resistor, judging that the Type-C interfaces have end
End equipment accesses.
8. mobile terminal according to claim 7, which is characterized in that the determining module includes:
First determination sub-module, for when detecting the access of first terminal equipment, determining to be connected with the first terminal equipment
The logical corresponding power interface of CC pins is the first power interface;
Second determination sub-module, for when detecting the access of second terminal equipment, determining to be connected with the second terminal equipment
The logical corresponding power interface of CC pins is second source interface.
9. mobile terminal according to claim 6, which is characterized in that first power supply module includes:
First switching submodule, for the change-over switch of mobile terminal to be switched to and first power interface corresponding
One position;
The first adjustment submodule, for adjusting the power supply parameter of the first booster circuit to first object parameter;
First power supply submodule, for the first object parameter to be used to power for the first terminal equipment.
10. mobile terminal according to claim 9, which is characterized in that second power supply module includes:
Second switching submodule, for the change-over switch of mobile terminal to be switched to and the second source interface corresponding
Two positions;
Second adjustment submodule, for adjusting the power supply parameter of the second booster circuit to the second target component;
Second power supply submodule, for second target component to be used to power for the second terminal equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265797.3A CN108270254A (en) | 2016-12-30 | 2016-12-30 | The method of supplying power to and mobile terminal of a kind of terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611265797.3A CN108270254A (en) | 2016-12-30 | 2016-12-30 | The method of supplying power to and mobile terminal of a kind of terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108270254A true CN108270254A (en) | 2018-07-10 |
Family
ID=62771115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611265797.3A Pending CN108270254A (en) | 2016-12-30 | 2016-12-30 | The method of supplying power to and mobile terminal of a kind of terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108270254A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016101215A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | System and device for identifying usb otg device |
CN105975039A (en) * | 2016-04-29 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and device for controlling power supply of Type-C interface, and electronic equipment |
CN106201951A (en) * | 2016-07-19 | 2016-12-07 | 青岛海信电器股份有限公司 | Terminal unit based on USB Type C interface, external equipment and electric power system |
-
2016
- 2016-12-30 CN CN201611265797.3A patent/CN108270254A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016101215A1 (en) * | 2014-12-25 | 2016-06-30 | 华为技术有限公司 | System and device for identifying usb otg device |
CN105975039A (en) * | 2016-04-29 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and device for controlling power supply of Type-C interface, and electronic equipment |
CN106201951A (en) * | 2016-07-19 | 2016-12-07 | 青岛海信电器股份有限公司 | Terminal unit based on USB Type C interface, external equipment and electric power system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106844265B (en) | A kind of control method and mobile terminal of general-purpose serial bus USB interface | |
CN106843739B (en) | A kind of display control method and mobile terminal of mobile terminal | |
CN108268388B (en) | A kind of Type-C interface protective circuit and method, mobile terminal | |
CN108268389A (en) | The insertion detection method and mobile terminal of a kind of equipment | |
CN105824459B (en) | A kind of duplication of text and method of attaching and mobile terminal | |
CN106208206B (en) | A kind of wireless charging method and mobile terminal | |
CN107295218B (en) | A kind of image processing method and mobile terminal | |
CN108268403A (en) | A kind of Type-C interface protective circuits and method, mobile terminal | |
CN108268395A (en) | A kind of method and mobile terminal of data communication | |
CN108270253A (en) | A kind of charging method and mobile terminal | |
CN108268411A (en) | The method and mobile terminal of a kind of data transmission | |
CN108268405A (en) | Protection circuit, guard method and the mobile terminal of Type-C interfaces | |
CN106227612B (en) | A kind of method and mobile terminal of word processing | |
CN108268397A (en) | The processing method and mobile terminal of a kind of access device | |
CN106684967B (en) | A kind of charging method and mobile terminal of mobile terminal | |
CN108270254A (en) | The method of supplying power to and mobile terminal of a kind of terminal device | |
CN108268396B (en) | Processing method of access equipment 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 | |
CN108270255B (en) | A kind of charging method and mobile terminal | |
CN107369126A (en) | A kind of face image processing process and device | |
CN108268399A (en) | A kind of method and mobile terminal of data communication | |
CN108271092A (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 | |
CN108270256B (en) | A kind of charging method and mobile terminal |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180710 |
|
RJ01 | Rejection of invention patent application after publication |