CN107562166A - Connection method, mobile terminal and the computer-readable recording medium of external equipment - Google Patents
Connection method, mobile terminal and the computer-readable recording medium of external equipment Download PDFInfo
- Publication number
- CN107562166A CN107562166A CN201710743258.4A CN201710743258A CN107562166A CN 107562166 A CN107562166 A CN 107562166A CN 201710743258 A CN201710743258 A CN 201710743258A CN 107562166 A CN107562166 A CN 107562166A
- Authority
- CN
- China
- Prior art keywords
- power module
- external equipment
- current value
- booster power
- 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
Landscapes
- Telephone Function (AREA)
Abstract
The embodiments of the invention provide a kind of connection method of external equipment, mobile terminal and computer-readable recording medium, methods described includes:When detecting external equipment access, start the booster power module and the external equipment is powered;The first current value of the booster power module output is obtained, judges whether first current value is more than pre-set current value;If first current value is more than the pre-set current value, the booster power module is restarted.When detecting that external equipment accesses mobile terminal; start booster power module to be powered external equipment; overcurrent protection not can be blindly triggered when the first current value for detecting the output of booster power module is more than pre-set current value; but the trigger flag of Compulsory Removal overcurrent protection; restarting booster power module is powered the load capacity that can improve power initiation moment to external equipment; so as to improve compatibility of the mobile terminal to external equipment, strengthen the usage experience of user.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of connection method of external equipment, mobile terminal and meter
Calculation machine readable storage medium storing program for executing.
Background technology
Constantly increase now with mobile storage medium capacity, user is more and more to mobile office demand, and mobile phone etc. moves
Dynamic terminal highlights all the more as the importance of mobile office carrier.In order to reduce the overall volume of mobile terminal, most of movements
Terminal has cancelled the support to TF (Trans-flash Card, TF card) storage card, is presently mainly connect by OTG external equipments
Mouthful external equipment is connected to meet storage demand, wherein, external equipment can be USB flash disk, mobile hard disk, card-reading apparatus etc..
At present, on the different OTG external equipments and even filter capacitor of high capacitance, electric capacity summation up to tens methods even
Up to a hundred methods.Large bulk capacitance can be charged in the moment of connection mobile terminal, electric current on quick extraction supply path, and then
The overcurrent protection of supply voltage triggering mobile terminal can be dragged down moment, mobile terminal can not normally identify external equipment, influence to use
The usage experience at family.
The content of the invention
The invention provides a kind of connection method of external equipment, mobile terminal and computer-readable recording medium, with solution
When certainly accessing the connection equipment of high capacitance with mobile terminal present in prior art, triggering mobile terminal overcurrent protection causes it
The problem of external equipment can not normally be identified.
In order to solve the above problems, the invention discloses a kind of connection method of external equipment, methods described includes:Work as inspection
When measuring external equipment access, start the booster power module and the external equipment is powered;Obtain the boosting electricity
First current value of source module output, judges whether first current value is more than pre-set current value;If first current value
More than the pre-set current value, the booster power module is restarted.
In order to solve the above problems, the invention also discloses a kind of mobile terminal, the mobile terminal includes booster power
Module and electric source line interface, it is characterised in that the mobile terminal also includes:Starting module, external set is detected for working as
During standby access, start the booster power module and the external equipment is powered;First acquisition module, it is described for obtaining
First current value of booster power module output, judges whether first current value is more than pre-set current value;Restart module, use
If being more than the pre-set current value in first current value, the booster power module is restarted.
In order to solve the above problems, the invention also discloses a kind of mobile terminal, mobile terminal, it is characterised in that including:
Memory, processor and the program for being stored in the external equipment connection that can be run on the memory and on the processor,
The external equipment linker is realized the step of connection method of described external equipment during the computing device.
It is described computer-readable the invention also discloses a kind of computer-readable recording medium in order to solve the above problems
The program of external equipment connection is stored with storage medium, when the external equipment linker is executed by processor described in realization
External equipment connection method the step of.
Compared with prior art, the present invention has advantages below:
External equipment connection scheme provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal, open
Dynamic booster power module is powered to external equipment, is preset when the first current value for detecting the output of booster power module is more than
Can not be blindly triggering overcurrent protection during current value, but the trigger flag of Compulsory Removal overcurrent protection, restarting boosting are electric
Source module is powered the load capacity that can improve power initiation moment to external equipment, so as to improve mobile terminal to external
The compatibility of equipment, strengthen the usage experience of user.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of the connection method of external equipment of the embodiment of the present invention one;
Fig. 2 is a kind of step flow chart of the connection method of external equipment of the embodiment of the present invention two;
Fig. 3 is electric capacity charge graph of the embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention three;
Fig. 5 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention four;
Fig. 6 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention five;
Fig. 7 is a kind of structured flowchart of mobile terminal of the embodiment of the present invention six.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
Embodiment one
Reference picture 1, show a kind of step flow chart of the connection method of external equipment of the embodiment of the present invention one.
The connection method of external equipment provided in an embodiment of the present invention comprises the following steps:
Booster power module and electric source line interface are arranged in mobile terminal.
Step 101:When detecting external equipment access, start booster power module and external equipment is powered.
Booster power module inside mobile terminal provides power supply for external equipment.When the central processing unit of mobile terminal is examined
When measuring external equipment access, booster power module can charge moment to external device.
It should be noted that external device can be following arbitrary equipment:USB flash disk, mobile hard disk, card-reading apparatus etc., this hair
External equipment is not specifically limited in bright embodiment.
Step 102:The first current value of booster power module output is obtained, judges whether the first current value is more than default electricity
Flow valuve.
Those skilled in the art can be configured according to actual conditions to pre-set current value, could be arranged to 0.5A, 1A
Deng being not specifically limited in the embodiment of the present invention to this.When the first current value is more than pre-set current value, it is determined that meet triggering
Overcurrent protection condition, mobile terminal can be protected by overcurrent protection;It is mobile whole when the first current value is less than pre-set current value
Hold and the external equipment connected is identified.
Step 103:If the first current value is more than pre-set current value, booster power module is restarted.
In the embodiment of the present invention, when the first current value is more than pre-set current value, though judge to meet triggering overcurrent protection bar
Part, but simultaneously non-executing overcurrent protection operates, but the triggering of Compulsory Removal overcurrent protection, booster power module is restarted, is led to
Cross and repeatedly booster power module is restarted, reduce the first current value of booster power module output so that mobile terminal success
External equipment is identified.
The connection method of external equipment provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal,
Start booster power module to be powered external equipment, when the first current value for detecting the output of booster power module is more than in advance
If not can blindly trigger overcurrent protection during current value, but the trigger flag of Compulsory Removal overcurrent protection, restarting boosting
Electric power source pair of module external equipment is powered the load capacity that can improve power initiation moment, external so as to improve mobile terminal
The compatibility of equipment is connect, strengthens the usage experience of user.
Embodiment two
Reference picture 2, a kind of step flow chart of the connection method of external equipment of the embodiment of the present invention two is shown.
The connection method of external equipment provided in an embodiment of the present invention comprises the following steps:
Step 201:When detecting external equipment access, start booster power module, control the defeated of booster power module
Go out voltage to be powered external equipment according to default step-length is incremental.
Wherein, the voltage of booster power module output is less than or equal to the voltage of electric source line interface.
Start booster power module to power to external equipment, booster power module is connect according to stepping up to power line
Mouthful voltage, i.e., the voltage that booster voltage module exports is risen into the voltage of power supply wiring interface such as in a manner of progressively incremental
5V.By electric capacity charging curve as shown in Figure 3, charging voltage is lower, and charging current is smaller within the identical charging interval, adopts
With the incremental mode of default step-length, external equipment electric capacity moment can be avoided to extract larger current, so as to avoid mobile terminal from touching
Send out overcurrent protection.
Step 202:The first current value of booster power module output is obtained, judges whether the first current value is more than default electricity
Flow valuve;If so, then perform step 203;If it is not, then perform predetermined registration operation.
During specific implementation, the first of output the electricity can be detected by obtaining the register value of booster power module
Flow valuve, by compared with pre-set current value, judging whether the first current value to trigger overcurrent protection.
Wherein, predetermined registration operation could be arranged to when the first current value is less than or equal to pre-set current value, mobile terminal pair
The external equipment connected is identified.
Step 203:Restart booster power module and obtain the second current value of booster power module output, and judge second
Whether current value is more than pre-set current value;If so, step 204 is then performed, if it is not, then performing predetermined registration operation.
Step 204:If the second current value is more than pre-set current value, judgement restarts whether number is less than default unlatching time
Number;Step 203 is performed if so, then returning;If it is not, then perform step 205.
If currently restarting number is less than default opening times, returns and perform step 203 to step 204, by right several times
Booster power module is restarted, and releases overcurrent protection state.
Referring to electric capacity charging curve as shown in Figure 3 to by repeatedly restarting booster power module, being moved so as to release
The operation principle of dynamic terminal overcurrent protection illustrates:
Abscissa represents the time in Fig. 3, and ordinate represents magnitude of voltage, and dotted line represents slope of a curve.V0For on electric capacity
Initial voltage value;VuFinal voltage value is full of for electric capacity;VtFor any time t, the magnitude of voltage on electric capacity, Vt=V0+(Vu-V0)*
[1-exp(-t/RC)]。
If the battery that voltage is E is charged by the resistance R electric capacity C for being 0 to initial value, V0=0, charging limit Vu=E.
Therefore any time t, the voltage on electric capacity are:Vt=E* [1-exp (- t/RC)], t=RCLn [E/ (E-Vt)]。
As t=RC, capacitance voltage=0.63E;
As t=2RC, capacitance voltage=0.86E;
As t=3RC, capacitance voltage=0.95E;
As t=4RC, capacitance voltage=0.98E;
As t=5RC, capacitance voltage=0.99E;
In summary, when the electric capacity of external equipment is completely filled with, VtIt is infinitely great close to E, time.
From the above results, after being restarted by 3~5 times, the voltage of booster power module output levels off to 1, by more
Secondary to restart, the capacitance voltage rise of external equipment, then output current value can be reduced gradually, so as to release overcurrent protection state, be moved
Dynamic terminal-pair external equipment is identified.
A kind of preferable mode is, when detecting external equipment access restarting booster power module, to make for the first time
The number of restarting of used time default configuration is 5, and after this end of identification, number is restarted in preservation.When the external equipment subsequently connects again
When entering mobile terminal, the preferential loading last time successfully identifies that what is preserved after the access device restarts number, if loading is last
Restart number for 3, then when mobile terminal is connected with external equipment, it is only necessary to restart 3 times or secondary less than three times
Number, overcurrent protection state is released, without restarting 4 times, so as to shorten external equipment identification duration.
Step 205:If restarting number is equal to default opening times, it is determined that electric source line interface short circuit.
If restarting number reaches default opening times, mobile terminal is still within overcurrent protection state, then judges power line
Interface short circuit.
The connection method of external equipment provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal,
Start booster power module to be powered external equipment, when the first current value for detecting the output of booster power module is more than in advance
If not can blindly trigger overcurrent protection during current value, but the trigger flag of Compulsory Removal overcurrent protection, restarting boosting
Electric power source pair of module external equipment is powered the load capacity that can improve power initiation moment, external so as to improve mobile terminal
The compatibility of equipment is connect, strengthens the usage experience of user.
Embodiment three
Reference picture 4, a kind of structured flowchart of mobile terminal of the embodiment of the present invention three is shown.
Mobile terminal provided in an embodiment of the present invention includes:Mobile terminal includes booster power module and power line connects
Mouthful, the mobile terminal also includes:Starting module 301, for when detecting external equipment access, starting the booster power
Module is powered to the external equipment;First acquisition module 302, for obtaining the first of the booster power module output
Current value, judges whether first current value is more than pre-set current value;Module 303 is restarted, if for first current value
More than the pre-set current value, the booster power module is restarted.
Mobile terminal provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal, start boosting electricity
Source module is powered to external equipment, when the first current value for detecting the output of booster power module is more than pre-set current value
Can not be blindly triggering overcurrent protection, but the trigger flag of Compulsory Removal overcurrent protection, restart booster power module pair
External equipment is powered the load capacity that can improve power initiation moment, so as to improve mobile terminal to the simultaneous of external equipment
Capacitive, strengthen the usage experience of user.
Example IV
Reference picture 5, a kind of structured flowchart of mobile terminal of the embodiment of the present invention four is shown.
Mobile terminal provided in an embodiment of the present invention includes:Mobile terminal includes booster power module and power line connects
Mouthful, the mobile terminal also includes:Starting module 401, for when detecting external equipment access, starting the booster power
Module is powered to the external equipment;First acquisition module 402, for obtaining the first of the booster power module output
Current value, judges whether first current value is more than pre-set current value;Module 403 is restarted, if for first current value
More than the pre-set current value, the booster power module is restarted.
Preferably, it is described to restart module 403 and include:First judging submodule 4031, for restarting the booster power mould
Block and the second current value for obtaining the booster power module output, and it is described default to judge whether second current value is more than
Current value;Second judging submodule 4032, if the judged result for first judging submodule is yes, judgement is restarted secondary
Whether number is less than default opening times;Submodule 4033 is returned, if restarting number for described and being less than the default opening times,
Then return to the step of restarting the booster power module described in performing.
Preferably, the mobile terminal also includes:Determining module 404, for judging weight in second judging submodule
Open whether number is equal to after the default opening times of the booster power module, restart number if described and be equal to described default open
Open number, it is determined that the electric source line interface short circuit.
Preferably, the starting module 401 is specifically used for:Start the booster power module, control the booster power
The output voltage of module is incremented by according to default step-length to be powered to the external equipment, wherein, the booster power module is defeated
The voltage gone out is less than or equal to the voltage of the electric source line interface.
Mobile terminal provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal, start boosting electricity
Source module is powered to external equipment, when the first current value for detecting the output of booster power module is more than pre-set current value
Can not be blindly triggering overcurrent protection, but the trigger flag of Compulsory Removal overcurrent protection, restart booster power module pair
External equipment is powered the load capacity that can improve power initiation moment, so as to improve mobile terminal to the simultaneous of external equipment
Capacitive, strengthen the usage experience of user.
Embodiment five
Reference picture 6, show a kind of structured flowchart of mobile terminal of the embodiment of the present invention five.
The mobile terminal 800 of the embodiment of the present invention includes:At least one processor 801, memory 802, at least one net
Network interface 804 and other users interface 803.Each component in mobile terminal 800 is coupled by bus system 805.
It is understood that bus system 805 is used to realize the connection communication between these components.Bus system 805 except include data/address bus it
Outside, in addition to power bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, in figure 6 will be various total
Line is all designated as bus system 805.
Wherein, user interface 803 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 802 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or it may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (ErasablePROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data
RateSDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (EnhancedSDRAM, ESDRAM), synchronously connect
Connect dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 802 of the system and method for description of the embodiment of the present invention is intended to include but not
It is limited to the memory of these and any other suitable type.
In some embodiments, memory 802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 8021 and application program 8022.
Wherein, operating system 8021, comprising various system programs, such as ccf layer, core library layer, driving layer etc., it is used for
Realize various basic businesses and the hardware based task of processing.Application program 8022, include various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 8022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 802, specifically, can be application
The program stored in program 8022 or instruction, processor 801 are used for:When detecting external equipment access, start the boosting
External equipment is powered described in electric power source pair of module;The first current value of booster power module output is obtained, described in judgement
Whether the first current value is more than pre-set current value;If first current value is more than the pre-set current value, the boosting is restarted
Power module.
The method that the embodiments of the present invention disclose can apply in processor 801, or be realized by processor 801.
Processor 801 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 801 or the instruction of software form.Above-mentioned processing
Device 801 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application SpecificIntegrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, flash memory, read-only storage, may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 802, processor 801 read the information in memory 802, with reference to the step of its hardware completion above method.
It is understood that embodiments described herein can use hardware, software, firmware, middleware, microcode or its
Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application
Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,
DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic
Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,
In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realized for software, can be by performing the module (such as process, function etc.) of function described in the embodiment of the present invention
To realize the technology described in the embodiment of the present invention.Software code is storable in memory and passes through computing device.Storage
Device can be realized within a processor or outside processor.
Alternatively, processor 801 is additionally operable to:Restart the booster power module and obtain the booster power module output
The second current value, and judge whether second current value is more than the pre-set current value;If so, then judge that restarting number is
It is no to be less than default opening times;Restart number if described and be less than the default opening times, return restart described in performing it is described
The step of booster power module.
Alternatively, processor 801 is additionally operable to:Judging to restart whether number is opened equal to the default of booster power module
After the step of opening number, methods described also includes:Restart number if described and be equal to the default opening times, it is determined that be described
Electric source line interface short circuit.
Alternatively, processor 801 is additionally operable to:It is described when detect external equipment access when, start the booster power mould
The step of block is powered to the external equipment, including:Start the booster power module, control the booster power module
Output voltage be incremented by according to default step-length the external equipment be powered, wherein, booster power module output
Voltage is less than or equal to the voltage of the electric source line interface.Mobile terminal 800 can realize that mobile terminal is realized in previous embodiment
Each process, to avoid repeating, repeat no more here.
By mobile terminal provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal, start and rise
Piezoelectricity source module externally connects equipment and is powered, when the first current value for detecting the output of booster power module is more than predetermined current
Can not be blindly triggering overcurrent protection during value, but the trigger flag of Compulsory Removal overcurrent protection, restart booster power mould
Block is powered the load capacity that can improve power initiation moment to external equipment, so as to improve mobile terminal to external equipment
Compatibility, strengthen the usage experience of user.
Embodiment six
Reference picture 7, show a kind of structured flowchart of mobile terminal of the embodiment of the present invention six.
Mobile terminal in the embodiment of the present invention can be mobile phone, tablet personal computer, personal digital assistant (Personal
Digital Assistant, PDA) or vehicle-mounted computer etc..
Mobile terminal in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block
930th, display unit 940, processor 960, voicefrequency circuit 970, WiFi (WirelessFidelity) module 980 and power supply 990.
Wherein, input block 930 can be used for the numeral or character information for receiving user's input, and generation and mobile terminal
User set and function control it is relevant signal input.Specifically, in the embodiment of the present invention, the input block 930 can be with
Including contact panel 931.Contact panel 931, also referred to as touch-screen, collect touch operation (ratio of the user on or near it
Such as user uses the operation of finger, any suitable object of stylus or annex on contact panel 931), and according to setting in advance
Fixed formula drives corresponding attachment means.Optionally, contact panel 931 may include touch detecting apparatus and touch controller two
Individual part.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, signal is passed
Give touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then
Give the processor 960, and the order sent of reception processing device 960 and can be performed.Furthermore, it is possible to using resistance-type, electricity
The polytypes such as appearance formula, infrared ray and surface acoustic wave realize contact panel 931.Except contact panel 931, input block 930
Can also include other input equipments 932, other input equipments 932 can include but is not limited to physical keyboard, function key (such as
Volume control button, switch key etc.), trace ball, mouse, the one or more in action bars etc..
Wherein, display unit 940 can be used for display by the information of user's input or be supplied to information and the movement of user
The various menu interfaces of terminal.Display unit 940 may include display panel 941, optionally, can use LCD or organic light emission
The forms such as diode (Organic Light-Emitting Diode, OLED) configure display panel 941.
It should be noted that contact panel 931 can cover display panel 941, touch display screen is formed, when the touch display screen is examined
After measuring the touch operation on or near it, processor 960 is sent to determine the type of touch event, is followed by subsequent processing device
960 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 conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional 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 element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 960 is the control centre of mobile terminal, utilizes each of various interfaces and connection whole mobile phone
Individual part, by running or performing the software program and/or module that are stored in first memory 921, and call and be stored in
Data in second memory 922, the various functions and processing data of mobile terminal are performed, it is overall so as to be carried out to mobile terminal
Monitoring.Optionally, processor 960 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 921 in software program and/or module and/
Or the data in the second memory 922, processor 960 are used for:When detecting external equipment access, start the boosting electricity
Source module is powered to the external equipment;The first current value of booster power module output is obtained, judges described the
Whether one current value is more than pre-set current value;If first current value is more than the pre-set current value, the boosting electricity is restarted
Source module.
Alternatively, processor 960 is additionally operable to:Restart the booster power module and obtain the booster power module output
The second current value, and judge whether second current value is more than the pre-set current value;If so, then judge that restarting number is
It is no to be less than default opening times;Restart number if described and be less than the default opening times, return restart described in performing it is described
The step of booster power module.
Alternatively, processor 960 is additionally operable to:Judging to restart whether number is opened equal to the default of booster power module
After the step of opening number, methods described also includes:Restart number if described and be equal to the default opening times, it is determined that be described
Electric source line interface short circuit.
Alternatively, processor 960 is additionally operable to:It is described when detect external equipment access when, start the booster power mould
The step of block is powered to the external equipment, including:Start the booster power module, control the booster power module
Output voltage be incremented by according to default step-length the external equipment be powered, wherein, booster power module output
Voltage is less than or equal to the voltage of the electric source line interface.
By mobile terminal provided in an embodiment of the present invention, when detecting that external equipment accesses mobile terminal, start and rise
Piezoelectricity source module externally connects equipment and is powered, when the first current value for detecting the output of booster power module is more than predetermined current
Can not be blindly triggering overcurrent protection during value, but the trigger flag of Compulsory Removal overcurrent protection, restart booster power mould
Block is powered the load capacity that can improve power initiation moment to external equipment, so as to improve mobile terminal to external equipment
Compatibility, strengthen the usage experience of user.
A kind of mobile terminal, including:Memory, processor and it is stored on the memory and can be on the processor
The program of the external equipment connection of operation, the external equipment linker is by external described in being realized during the computing device
The step of connection method of equipment.
A kind of computer-readable recording medium, the journey of external equipment connection is stored with the computer-readable recording medium
Sequence, when the external equipment linker is executed by processor the step of the connection method of the described external equipment of realization.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
The connection method of external equipment is not consolidated with any certain computer, virtual system or miscellaneous equipment provided herein
There is correlation.Various general-purpose systems can also be used together with teaching based on this.As described above, construction has this hair
Structure required by the system of bright scheme is obvious.In addition, the present invention is not also directed to any certain programmed language.Should
Understand, the content of invention described herein can be realized using various programming languages, and language-specific is done above
Description is to disclose the preferred forms of the present invention.
In the specification that this place provides, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice in the case of these no details.In some instances, known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description to the exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as right
As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Thus claims of body embodiment are expressly incorporated in the embodiment, wherein the conduct of each claim in itself
The separate embodiments of the present invention.
Those skilled in the art, which are appreciated that, to be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment
Member or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it can use any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power
Profit requires, summary and accompanying drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
Replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Mode it can use in any combination.
The all parts embodiment of the present invention can be realized with hardware, or to be run on one or more processor
Software module realize, or realized with combinations thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) are realized in the connection method of external equipment according to embodiments of the present invention
The some or all functions of some or all parts.The present invention is also implemented as being used to perform method as described herein
Some or all equipment or program of device (for example, computer program and computer program product).Such reality
The program of the existing present invention can store on a computer-readable medium, or can have the form of one or more signal.
Such signal can be downloaded from internet website and obtained, and either be provided or in the form of any other on carrier signal
There is provided.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of some different elements and being come by means of properly programmed computer real
It is existing.In if the unit claim of equipment for drying is listed, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.For system embodiment
For, because it is substantially similar to embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Claims (10)
1. a kind of connection method of external equipment, applied to the mobile terminal for including booster power module and electric source line interface,
Characterized in that, methods described includes:
When detecting external equipment access, start the booster power module and the external equipment is powered;
The first current value of the booster power module output is obtained, judges whether first current value is more than predetermined current
Value;
If first current value is more than the pre-set current value, the booster power module is restarted.
2. according to the method for claim 1, it is characterised in that described the step of restarting the booster power module, including:
Restart the booster power module and obtain the second current value of the booster power module output, and judge described second
Whether current value is more than the pre-set current value;
If so, then judge to restart whether number is less than default opening times;
Restart number if described and be less than the default opening times, return to the step that the booster power module is restarted described in performing
Suddenly.
3. according to the method for claim 2, it is characterised in that judging to restart whether number is equal to the booster power mould
After the step of default opening times of block, methods described also includes:
Restart number if described and be equal to the default opening times, it is determined that the electric source line interface short circuit.
4. according to the method for claim 1, it is characterised in that it is described when detecting external equipment access, described in startup
The step of booster power module is powered to the external equipment, including:
Start the booster power module, control the output voltage of the booster power module to be incremented by according to default step-length to described
External equipment is powered, wherein, the voltage of the booster power module output is less than or equal to the voltage of the electric source line interface.
5. a kind of mobile terminal, the mobile terminal includes booster power module and electric source line interface, it is characterised in that described
Mobile terminal also includes:
Starting module, for when detecting external equipment access, starting the booster power module and entering to the external equipment
Row power supply;
First acquisition module, for obtaining the first current value of the booster power module output, judge first current value
Whether pre-set current value is more than;
Restart module, if being more than the pre-set current value for first current value, restart the booster power module.
6. mobile terminal according to claim 5, it is characterised in that described to restart module and include:
First judging submodule, for restarting the booster power module and obtaining the second electricity of the booster power module output
Flow valuve, and judge whether second current value is more than the pre-set current value;
Second judging submodule, if the judged result for first judging submodule is yes, whether judgement restarts number
Less than default opening times;
Submodule is returned, if restarting number for described and being less than the default opening times, is returned described in restarting described in performing
The step of booster power module.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Determining module, for judging to restart whether number is equal to the pre- of the booster power module in second judging submodule
If after opening times, restart number if described and be equal to the default opening times, it is determined that the electric source line interface short circuit.
8. mobile terminal according to claim 5, it is characterised in that the starting module is specifically used for:Start the liter
Piezoelectricity source module, control the output voltage of the booster power module to be incremented by according to default step-length and the external equipment is supplied
Electricity, wherein, the voltage of the booster power module output is less than or equal to the voltage of the electric source line interface.
A kind of 9. mobile terminal, it is characterised in that including:Memory, processor and it is stored on the memory and can be in institute
The program of the external equipment connection run on processor is stated, is realized when the external equipment linker is by the computing device
The step of connection method of external equipment as any one of Claims 1-4.
10. a kind of computer-readable recording medium, it is characterised in that external set is stored with the computer-readable recording medium
The program of standby connection, is realized as any one of Claims 1-4 when the external equipment linker is executed by processor
External equipment connection method the step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710743258.4A CN107562166A (en) | 2017-08-25 | 2017-08-25 | Connection method, mobile terminal and the computer-readable recording medium of external equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710743258.4A CN107562166A (en) | 2017-08-25 | 2017-08-25 | Connection method, mobile terminal and the computer-readable recording medium of external equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107562166A true CN107562166A (en) | 2018-01-09 |
Family
ID=60976885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710743258.4A Pending CN107562166A (en) | 2017-08-25 | 2017-08-25 | Connection method, mobile terminal and the computer-readable recording medium of external equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107562166A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669909A (en) * | 2018-12-14 | 2019-04-23 | 上海闻泰信息技术有限公司 | External equipment implementation method, device, terminal and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5973419A (en) * | 1997-09-23 | 1999-10-26 | International Business Machines Corporation | Circuit and method of operation to control in-rush current and maintain power supply voltage to peripheral devices in an information system |
CN101331661A (en) * | 2005-12-16 | 2008-12-24 | Nxp股份有限公司 | Battery full-charge detection for charge-and-play circuits |
US8193798B1 (en) * | 2009-10-29 | 2012-06-05 | Texas Instruments Incorporated | Buck regulators with adjustable clock frequency to achieve dropout voltage reduction |
CN102566640A (en) * | 2011-12-24 | 2012-07-11 | 西安启芯微电子有限公司 | Voltage-stabilizing circuit with hiccup mode over-current protection function |
CN202405759U (en) * | 2011-12-08 | 2012-08-29 | 深圳市正弦电气有限公司 | Over-current protection circuit for direct-current switching power source |
CN103199582A (en) * | 2013-03-27 | 2013-07-10 | 广东欧珀移动通信有限公司 | Charging current adjustment method and charging current adjustment device |
CN203553969U (en) * | 2013-07-31 | 2014-04-16 | 宋利军 | Control system for back-up power supply capable of automatically adjusting charging current |
CN204205547U (en) * | 2014-12-01 | 2015-03-11 | 浪潮集团有限公司 | Overcurrent protection circuit for high-power supply input end |
CN104600970A (en) * | 2015-01-31 | 2015-05-06 | 深圳市新鸿镁医疗器械有限公司 | Switch power supply circuit and protection circuit and method for avoiding false triggering of over-current protection |
CN205375457U (en) * | 2016-01-14 | 2016-07-06 | 四川长虹电器股份有限公司 | Reduce current rush's circuit when portable hard drive grafting USB interface |
-
2017
- 2017-08-25 CN CN201710743258.4A patent/CN107562166A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5973419A (en) * | 1997-09-23 | 1999-10-26 | International Business Machines Corporation | Circuit and method of operation to control in-rush current and maintain power supply voltage to peripheral devices in an information system |
CN101331661A (en) * | 2005-12-16 | 2008-12-24 | Nxp股份有限公司 | Battery full-charge detection for charge-and-play circuits |
US8193798B1 (en) * | 2009-10-29 | 2012-06-05 | Texas Instruments Incorporated | Buck regulators with adjustable clock frequency to achieve dropout voltage reduction |
CN202405759U (en) * | 2011-12-08 | 2012-08-29 | 深圳市正弦电气有限公司 | Over-current protection circuit for direct-current switching power source |
CN102566640A (en) * | 2011-12-24 | 2012-07-11 | 西安启芯微电子有限公司 | Voltage-stabilizing circuit with hiccup mode over-current protection function |
CN103199582A (en) * | 2013-03-27 | 2013-07-10 | 广东欧珀移动通信有限公司 | Charging current adjustment method and charging current adjustment device |
CN203553969U (en) * | 2013-07-31 | 2014-04-16 | 宋利军 | Control system for back-up power supply capable of automatically adjusting charging current |
CN204205547U (en) * | 2014-12-01 | 2015-03-11 | 浪潮集团有限公司 | Overcurrent protection circuit for high-power supply input end |
CN104600970A (en) * | 2015-01-31 | 2015-05-06 | 深圳市新鸿镁医疗器械有限公司 | Switch power supply circuit and protection circuit and method for avoiding false triggering of over-current protection |
CN205375457U (en) * | 2016-01-14 | 2016-07-06 | 四川长虹电器股份有限公司 | Reduce current rush's circuit when portable hard drive grafting USB interface |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669909A (en) * | 2018-12-14 | 2019-04-23 | 上海闻泰信息技术有限公司 | External equipment implementation method, device, terminal and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201632B (en) | Application program access method and mobile terminal | |
CN107506109A (en) | A kind of method and mobile terminal for starting application program | |
CN107450800A (en) | A kind of task method to set up, mobile terminal and computer-readable recording medium | |
CN106775322B (en) | A kind of method preventing virtual key false triggering and mobile terminal | |
CN106126013A (en) | A kind of application management method and mobile terminal | |
CN106528603A (en) | Application program searching method and mobile terminal | |
CN106713117A (en) | Group message display method and mobile terminal | |
CN106993091A (en) | A kind of image weakening method and mobile terminal | |
CN107219988A (en) | A kind of interface operation bootstrap technique and mobile terminal | |
CN107577512A (en) | A kind of message display method, mobile terminal and computer-readable recording medium | |
CN106157125A (en) | A kind of payment interface changing method and device | |
CN106776085A (en) | Touch screen protective method and mobile terminal | |
CN106227453A (en) | The control method of a kind of mobile terminal and mobile terminal | |
CN105955600B (en) | A kind of method and mobile terminal adjusting mobile terminal display interface | |
CN106507176A (en) | A kind of method of video playback and mobile terminal | |
CN108268403A (en) | A kind of Type-C interface protective circuits and method, mobile terminal | |
CN106569662A (en) | Display method of application interface and mobile terminal | |
CN107026986B (en) | A kind of processing method and mobile terminal of video background music | |
CN106230069B (en) | A kind of charging method and terminal | |
CN106503554A (en) | A kind of method of safety detection and mobile terminal | |
CN106611404A (en) | Puzzle template selecting method and mobile terminal | |
CN107491482A (en) | A kind of reminding method and mobile terminal | |
CN107547738A (en) | A kind of reminding method and mobile terminal | |
CN106775738A (en) | The upgrade tip method and mobile terminal of application program | |
CN106598408A (en) | Method for switching navigation bar 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: 20180109 |
|
RJ01 | Rejection of invention patent application after publication |