CN108054794A - Charging and discharging method and device for intelligent terminal, terminal and storage medium - Google Patents
Charging and discharging method and device for intelligent terminal, terminal and storage medium Download PDFInfo
- Publication number
- CN108054794A CN108054794A CN201711316458.8A CN201711316458A CN108054794A CN 108054794 A CN108054794 A CN 108054794A CN 201711316458 A CN201711316458 A CN 201711316458A CN 108054794 A CN108054794 A CN 108054794A
- Authority
- CN
- China
- Prior art keywords
- intelligent terminal
- electricity
- otg
- external equipment
- modules
- 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
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000007599 discharging Methods 0.000 title claims abstract description 19
- 230000005611 electricity Effects 0.000 claims abstract description 303
- 230000015654 memory Effects 0.000 claims description 18
- 238000009434 installation Methods 0.000 claims description 14
- 230000005291 magnetic effect Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000000052 comparative effect Effects 0.000 description 2
- 241000209140 Triticum Species 0.000 description 1
- 235000021307 Triticum Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/0068—Battery or charger load switching, e.g. concurrent charging and load supply
-
- H02J7/0077—
Landscapes
- Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The invention discloses a charging and discharging method and device for an intelligent terminal, the terminal and a storage medium. The method comprises the following steps: when the OTG module installed on the intelligent terminal is connected with the OTG module of the external equipment through the USB OTG line, the intelligent terminal acquires the electric quantity of the intelligent terminal through the OTG module of the intelligent terminal and acquires the electric quantity of the external equipment through the USB OTG line; if the electric quantity of the intelligent terminal is larger than that of the external equipment, the intelligent terminal OTG module discharges electricity to the external equipment OTG module through the USB OTG line; if the electric quantity of the intelligent terminal is smaller than that of the external equipment, the OTG module of the intelligent terminal is charged through the USB OTG line. The embodiment of the invention solves the problem that the user in the prior art cannot directly charge the used intelligent terminal or external equipment by using the external power supply when the user is outdoors and the like, and improves the cruising ability of the intelligent terminal and the external equipment.
Description
Technical field
The present embodiments relate to electronic technology more particularly to a kind of charging/discharging thereofs, device, end for intelligent terminal
End and storage medium.
Background technology
With the arrival in electronic information epoch, intelligent terminal is increasingly popularized, such as children's tablet computer enters people
The visual field, meanwhile, tremendous influence is brought to people’s lives, in addition, the achievable function of intelligent terminal is also increasingly
It is abundant, such as wireless microphone external equipment is equipped with to children's tablet computer, increase user experience.
Meanwhile with the increase of intelligent terminal and external equipment function, the cruising ability of terminal or external equipment receives
Greatly test.If user is in outdoor environment, it is likely that can not charge, can be brought to user greatly for it in time
It is inconvenient.
The content of the invention
Present invention offer is a kind of for the charging/discharging thereof of intelligent terminal, device, terminal and storage medium, to realize user
In the case of can not directly being charged outdoors etc. using external power supply to the intelligent terminal or external equipment that use, to intelligence
Terminal or external equipment charge, and improve the cruising ability of intelligent terminal and external equipment.
In a first aspect, an embodiment of the present invention provides a kind of charging/discharging thereof for intelligent terminal, this method includes:
When intelligent terminal installation connects external equipment OTG modules with (On-The-Go, OTG) module by USB OTG lines
When, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through USB OTG lines and obtain external equipment electricity;
If the intelligent terminal electricity is more than the external equipment electricity, the intelligent terminal OTG modules pass through institute
USB OTG lines are stated to the external equipment OTG module discharges;If the intelligent terminal electricity is less than external equipment electricity
It measures, then the intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
Further, it is described when intelligent terminal installation is outer by the connection of USB OTG lines i.e. with (On-The-GO, OTG) module
When connecing equipment OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through the acquisition of USB OTG lines
External equipment electricity, including:
The OTG modules are installed when the intelligent terminal, the external equipment OTG modules are connected by the USB OTG lines
When, the intelligent terminal carries out type identification to the external equipment;
When it is non-magnetic disc apparatus that the intelligent terminal, which identifies the external equipment, the intelligent terminal passes through the machine
OTG modules obtain the intelligent terminal electricity, and pass through the USB OTG lines and obtain the external equipment electricity.
Further, if the intelligent terminal electricity is more than the external equipment electricity, the intelligent terminal
OTG modules are by the USB OTG lines to the external equipment OTG module discharges;If the intelligent terminal electricity is less than institute
State external equipment electricity, then the intelligent terminal OTG modules are electric by the USB OTG micro USBs, including:
If the intelligent terminal electricity is simultaneously greater than the of the external equipment electricity and the default intelligent terminal
One power threshold, then the intelligent terminal OTG modules by the USB OTG lines to the external equipment OTG module discharges;
If the intelligent terminal electricity is less than the external equipment electricity while the external equipment electricity is more than default
The external equipment the first power threshold, then the intelligent terminal OTG modules pass through the USB OTG micro USBs electricity.
Further, if the intelligent terminal electricity is more than the external equipment electricity, the intelligent terminal
OTG modules are by the USB OTG lines to the external equipment OTG module discharges;If the intelligent terminal electricity is less than institute
External equipment electricity is stated, then after the intelligent terminal OTG modules are by the USB OTG micro USB electricity, this method further includes:
If the external equipment electricity for getting current time is equal to the intelligent terminal electricity at current time,
Stop the intelligent terminal OTG modules by the USB OTG lines to the external equipment OTG module discharges;
If the intelligent terminal electricity for getting current time is equal to the external equipment electricity at current time,
Stop the intelligent terminal OTG modules and pass through USB OTG micro USBs electricity.
Further, if the external equipment electricity for getting current time is equal to the intelligence at current time
Energy terminal power, then stop the intelligent terminal OTG modules and put by the USB OTG lines to the external equipment OTG modules
Electricity;If the intelligent terminal electricity for getting current time is equal to the external equipment electricity at current time, stop
The intelligent terminal OTG modules are electric by the USB OTG micro USBs, including:
If the external equipment electricity for getting current time is more than the second electricity of the default external equipment
Threshold value and the intelligent terminal electricity for being less than current time, then stop the intelligent terminal OTG modules and pass through the USB OTG
Line is to the external equipment OTG module discharges;
If the intelligent terminal electricity for getting current time is more than the second electricity of the default intelligent terminal
Threshold value and the external equipment electricity for being less than current time, then stop the intelligent terminal OTG modules and pass through the USB OTG
Micro USB electricity.
Second aspect, the embodiment of the present invention additionally provide a kind of charge and discharge device for intelligent terminal, which includes:
Electricity acquisition module is connected for working as intelligent terminal installation with (On-The-Go, OTG) module by USB OTG lines
When connecing external equipment OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through USB OTG lines
Obtain external equipment electricity;
Charge and discharge selecting module, if being more than the external equipment electricity, the intelligence for the intelligent terminal electricity
Can terminal OTG modules by the USB OTG lines to the external equipment OTG module discharges;If the intelligent terminal electricity
Less than the external equipment electricity, then the intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
Further, the electricity acquisition module includes:
Type identification unit passes through USB OTG lines connection institute for working as the intelligent terminal installation OTG modules
When stating external equipment OTG modules, the intelligent terminal carries out type identification to the external equipment;
Electricity acquiring unit, for when the intelligent terminal identify the external equipment be non-magnetic disc apparatus when, it is described
Intelligent terminal obtains the intelligent terminal electricity by the OTG modules of the machine, and it is described external to pass through the USB OTG lines acquisition
Equipment electricity.
Further, the charge and discharge selecting module includes:
Discharge cell, if being simultaneously greater than the external equipment electricity and default described for the intelligent terminal electricity
First power threshold of intelligent terminal, then the intelligent terminal OTG modules by the USB OTG lines to the external equipment
OTG module discharges;
Charhing unit, if being less than the external equipment electricity external equipment simultaneously for the intelligent terminal electricity
When electricity is more than the first power threshold of the external equipment, then the intelligent terminal OTG modules pass through the USB OTG micro USBs
Electricity.
The third aspect, the embodiment of the present invention additionally provide a kind of intelligent terminal, which includes:
One or more processors;
Memory, for storing one or more programs;
OTG modules, for obtaining the intelligent terminal electricity and carrying out charge or discharge by USB OTG lines;
When one or more of programs are performed by one or more of processors so that one or more of processing
Device realizes the charging/discharging thereof for being used for intelligent terminal as previously described.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer
Program realizes the charging/discharging thereof for being used for intelligent terminal as previously described when the program is executed by processor.
The present invention by when intelligent terminal install OTG modules by USB OTG lines connect external equipment OTG modules when, intelligence
Energy terminal obtains intelligent terminal electricity by the OTG modules of the machine, obtains external equipment electricity by USB OTG lines, and compares
The size of intelligent terminal electricity and external equipment electricity, if intelligent terminal electricity is more than external equipment electricity, intelligent terminal
OTG modules by USB OTG lines to external equipment OTG module discharges, if intelligent terminal electricity is less than external equipment electricity,
Intelligent terminal OTG modules by USB OTG micro USBs electricity, solve user in the prior art be in open air etc. can not directly using outside
The problem of power supply charges to the intelligent terminal or external equipment that use is connect, improves the continuation of the journey of intelligent terminal and external equipment
Ability.
Description of the drawings
Fig. 1 is a kind of flow chart of charging/discharging thereof for intelligent terminal in the embodiment of the present invention one;
Fig. 2 is a kind of flow chart of charging/discharging thereof for intelligent terminal in the embodiment of the present invention two;
Fig. 3 is a kind of structure diagram of charge and discharge device for intelligent terminal in the embodiment of the present invention three;
Fig. 4 is a kind of structure diagram of intelligent terminal in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just
Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
Embodiment one
A kind of flow chart for charging/discharging thereof for intelligent terminal that Fig. 1 provides for the embodiment of the present invention one, this implementation
Example is applicable to improve the situation of the cruising ability of intelligent terminal and external equipment, and this method can be by being used for filling for intelligent terminal
Electric discharge device performs, which may be employed software and/or the mode of hardware is realized, which can be configured at intelligent terminal
In, such as typically tablet computer, mobile phone etc..As described in Figure 1, this method specifically comprises the following steps:
Step S110, when intelligent terminal, which installs OTG modules, connects external equipment OTG modules by USB OTG lines, intelligence
Terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through USB OTG lines and obtain external equipment electricity;
In a specific embodiment of the present invention, USB OTG technologies can in fact there are currently no HOST (main equipment) in the case of,
The data transmission of electric room based on the These characteristics of USB OTG technologies, can be installed in intelligent terminal and external equipment
OTG modules are established by USB OTG lines and connected so that data transmission can be realized between intelligent terminal and external equipment.This
Outside, USB OGT technologies can also be utilized to realize the charge and discharge of equipment room.Intelligent terminal and external equipment can be dual-purpose OTG
Equipment can replace and be worked in a manner of main equipment and slave device.Specifically, it as the intelligent terminal for main equipment or external sets
After the standby operation for completing such as bus reset, the various descriptors of acquisition USB and the initialization data communication of configuration equipment, intelligent terminal
It can replace with external equipment and be worked with the role of main equipment and slave device.The initial roles of intelligent terminal and external equipment,
It can be determined by the connection mode of USB OTG lines, more specifically be determined by the state of ID pins, and intelligent terminal
It is defined with the role swap of external equipment by HNP (Host Negotiation Protocol, host transport protocol).Specifically,
In USB OTG, initial main equipment is known as A equipment, and external equipment is known as B device, and defines a Mini-AB socket,
Mini-A plugs or Mini-B plugs can be directly accessed, main equipment uses Mini-A plugs, and slave device uses Mini-B plugs,
USB OGT interfaces include two data transmission line D+ and D-, and a power cord VBUS, one is grounded GND and ID line.Its
In, ID lines are for identifying different USB OTG line endpoints, the ID pins ground connection in Mini-A plugs, the ID in Mini-B plugs
Pin is hanging.When two OTG equipment connect together, the ID pins in Mini-A plugs can be expressed as " 0 ", Mini-B plugs
In ID pins can be expressed as " 1 ", when detect equipment ID pins be low level when, can judge that the equipment is
The equipment of Mini-A plugs connection, i.e. main equipment;Equally, when the ID pins for detecting equipment are high level, can judge
Go out the equipment that the equipment is the connection of Mini-B plugs, i.e. slave device.During the connection use of equipment, realized and led by HNP
The role exchange of equipment and slave device.In order to realize the charge and discharge of intelligent terminal, it is necessary to know intelligent terminal and external equipment
Electricity, specifically, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and it is external to pass through the acquisition of USB OTG lines
Equipment electricity.It should be noted that in USB OTG technologies, give tacit consent to from main equipment (i.e. the equipment of Mini-A plugs connection) to
Slave device (i.e. the equipment of Mini-B plugs connection) provides electricity, i.e., is discharged from main equipment to slave device.Wherein, intelligent terminal bag
It includes but is not limited to tablet computer, mobile phone, POS machine, palm PC, digital camera and printer etc., external device includes but unlimited
In microphone, bluetooth headset, keyboard and mouse etc..
If step S120, intelligent terminal electricity is more than external equipment electricity, intelligent terminal OTG modules pass through USB
OTG lines are to external equipment OTG module discharges;If intelligent terminal electricity is less than external equipment electricity, intelligent terminal OTG modules
Pass through USB OTG micro USBs electricity.
It in a specific embodiment of the present invention, can if the intelligent terminal electricity got is more than external equipment electricity
With judge external equipment may when the low battery can not normal use, at this point it is possible to pass through USB OTG with intelligent terminal
Line comes to the mode that external equipment discharges for charging external equipment, so that external equipment can be used normally, whereas if
The intelligent terminal electricity got is less than external equipment electricity, then judges that smart machine may can not be just due to low battery
It often uses, at this point it is possible to be charged by intelligent terminal OTG modules by way of the USB OTG micro USB electricity, so that intelligent terminal can
With normal use.From the foregoing it will be appreciated that the charging mechanism of OGT equipment is the mode to charge from main equipment to slave device, therefore,
In above process, it is necessary to determine intelligent terminal and external based on the comparative result of intelligent terminal electricity and external equipment electricity
The role that equipment each acts as on this basis, the exchange of role is carried out according to HNP.
Illustratively, below using intelligent terminal as tablet computer, external equipment is microphone, wherein, tablet computer and wheat
It is mounted on illustrating exemplified by OTG modules in gram wind.Tablet computer is connected with microphone by USB OTG lines, the starting stage,
Since the ID pins for detecting tablet computer are low level, the ID pins of microphone are high level, therefore, judge tablet computer
For main equipment, microphone is slave device.It is 50mAh that tablet computer obtains tablet computer electricity by the OTG modules of the machine, is passed through
It is 100mAh that USB OTG lines, which obtain microphone electricity, and since tablet computer electricity is less than microphone electricity, therefore, it is necessary to tablets
Computer is charged by tablet computer OTG modules by way of the USB OTG micro USB electricity, that is, microphone is needed to serve as the angle of main equipment
Color, at this point, carrying out the exchange of the role of tablet computer and microphone according to HNP, i.e., tablet computer is slave device and microphone is
Main equipment.And then so that tablet computer will not can not normal use due to low battery.
The technical solution of the present embodiment passes through USB OTG lines connection external equipment by working as intelligent terminal installation OTG modules
During OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and external equipment is obtained by USB OTG lines
Electricity, and the size of intelligent terminal power and external equipment electricity, if intelligent terminal electricity is more than external equipment electricity,
Then intelligent terminal OTG modules by USB OTG lines to external equipment OTG module discharges, if intelligent terminal electricity be less than it is external
Equipment electricity, then intelligent terminal OTG modules are electric by USB OTG micro USBs, solve user in the prior art and are in the nothings such as open air
The problem of method directly charges to the intelligent terminal or external equipment that use using external power supply improves intelligent terminal and outer
Connect the cruising ability of equipment.
Further, based on the above technical solutions, OTG modules are installed when intelligent terminal by USB OTG lines to connect
When connecing external equipment OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through USB OTG lines
External equipment electricity is obtained, can specifically be included:
When intelligent terminal, which installs OTG modules, connects external equipment OTG modules by USB OTG lines, intelligent terminal is external
It connects equipment and carries out type identification;
When it is non-magnetic disc apparatus that intelligent terminal, which identifies external equipment, intelligent terminal is obtained by the OTG modules of the machine
Intelligent terminal electricity, and pass through USB OTG lines and obtain external equipment electricity.
In a specific embodiment of the present invention, starting stage, intelligent terminal are main equipment, and external equipment is slave device, because
This, intelligent terminal can obtain the facility information of external equipment, and the type identification to external equipment, example are carried out according to facility information
Property, such as whether for non-magnetic disc apparatus, such as USB flash disk or mobile hard disk, wherein, facility information includes the type information of the equipment.
When intelligent terminal according to facility information identify external equipment be non-magnetic disc apparatus when, illustratively, as external equipment be Mike
Wind can control intelligent terminal to obtain intelligent terminal electricity by the OTG modules of the machine, and it is outer to pass through the acquisition of USB OTG lines
Connect equipment electricity.
Further, based on the above technical solutions, if intelligent terminal electricity is more than external equipment electricity, intelligence
Can terminal OTG modules by USB OTG lines to external equipment OTG module discharges;If intelligent terminal electricity is less than external equipment
Electricity, then intelligent terminal OTG modules are electric by USB OTG micro USBs, can specifically include:
If intelligent terminal electricity is simultaneously greater than the first power threshold of external equipment electricity and default intelligent terminal,
Intelligent terminal OTG modules are by USB OTG lines to external equipment OTG module discharges;
If intelligent terminal electricity is less than external equipment electricity, external equipment electricity is more than default external equipment simultaneously
First power threshold, then intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
In a specific embodiment of the present invention, the first power threshold of default intelligent terminal can be expressed as intelligent terminal
The minimum electricity that normal operating conditions is maintained to need, can also be expressed as the electricity obtained according to user's use habit, i.e. user
Usually when using the intelligent terminal, when electricity is reduced to certain numerical value, just selected as intelligent terminal charges, which is
First power threshold of default intelligent terminal.Preferably, it is expressed as intelligent terminal and maintains the minimum of normal operating conditions needs
Electricity.Equally, the first power threshold of default external equipment can be expressed as external equipment and maintain normal operating conditions needs
Minimum electricity, the electricity obtained according to user's use habit can also be expressed as, it is preferred that be expressed as external equipment maintain just
The electricity that normal working condition needs.Of course, it should be understood that the first power threshold of above-mentioned default intelligent terminal and default
The first power threshold of external equipment can be set according to actual conditions, be not especially limited herein.
When intelligent terminal electricity meets the first power threshold more than external equipment electricity and default intelligent terminal simultaneously
When, intelligent terminal OTG modules make external equipment will not be because of electricity mistake just by USB OTG line line external equipment OTG module discharges
It is low and can not normal use, while also ensure intelligent terminal in discharge process will not because electricity be less than default intelligent terminal
The first power threshold and cause intelligent terminal that can not use or influence user experience.Equally, when intelligent terminal electricity is less than outer
Connect equipment electricity simultaneously external equipment electricity be more than default external equipment the first power threshold when, intelligent terminal OTG modules
By USB OTG micro USBs electricity, make intelligent terminal will not due to low battery can not normal use, while also ensure external equipment
It will not cause external equipment that can not use due to electricity is less than the first power threshold of default external equipment in discharge process
Or influence user experience.
Based on above-mentioned it will be appreciated that the first power threshold of default intelligent terminal and the first power threshold of external equipment
Purpose be, on the basis of ensureing that intelligent terminal or external equipment itself can work normally, be embodied as other side's electric discharge so that
The low side of electricity can continue normal use when obtaining electricity.
Further, based on the above technical solutions, if intelligent terminal electricity is more than external equipment electricity, intelligence
Can terminal OTG modules by USB OTG lines to external equipment OTG module discharges;If intelligent terminal electricity is less than external equipment
Electricity, then after intelligent terminal OTG modules are by USB OTG micro USB electricity, this method can also specifically include:
If the external equipment electricity for getting current time is equal to the intelligent terminal electricity at current time, stop intelligence
Terminal OTG modules are by USB OTG lines to external equipment OTG module discharges;
If the intelligent terminal electricity for getting current time is equal to the external equipment electricity at current time, stop intelligence
Terminal OTG modules pass through USB OTG micro USBs electricity.
In a specific embodiment of the present invention, the charge value of external equipment and intelligent terminal can be periodically obtained, when
Get current time external equipment electricity it is equal with intelligent terminal electricity when, if current time be carrying out intelligent terminal
OTG modules then stop performing the operation by operation of the USB OTG lines to external equipment OTG module discharges;If current time
Operation of the intelligent terminal OTG modules by USB OTG micro USB electricity is carrying out, then stops performing the operation.By this step, protect
Card intelligent terminal and external equipment can be used normally.
Further, based on the above technical solutions, if if getting the external equipment electricity at current time
Equal to the intelligent terminal electricity at current time, then stop intelligent terminal OTG modules by USB OTG lines to external equipment OTG moulds
Block discharges;If the intelligent terminal electricity for getting current time is equal to the external equipment electricity at current time, stop intelligence
Terminal OTG modules can specifically be included by USB OTG micro USBs electricity, this method:
If the external equipment electricity for getting current time is more than the second power threshold of default external equipment and small
In the intelligent terminal electricity at current time, then stop intelligent terminal OTG modules by USB OTG lines to external equipment OTG modules
Electric discharge;
If the intelligent terminal electricity for getting current time is more than the second power threshold of default intelligent terminal and small
In the external equipment electricity at current time, then stop intelligent terminal OTG modules and pass through USB OTG micro USBs electricity.
In a specific embodiment of the present invention, the second power threshold of default external equipment can be expressed as external equipment
Reach the required electricity of optimal use state, the electricity obtained according to user's use habit can also be expressed as, it is preferred that table
It is shown as external equipment and reaches the required electricity of optimal use state.Equally, the second power threshold of default intelligent terminal can
Reach the required electricity of optimal use state to be expressed as intelligent terminal, can also be expressed as being obtained according to user's use habit
Electricity, it is preferred that be expressed as intelligent terminal and reach the required electricity of optimal use state.On of course, it should be understood that
The second power threshold and the second power threshold of default intelligent terminal for stating default external equipment can be according to actual conditions
It is set, is not especially limited herein.In addition, the second power threshold of default external equipment mentioned here is more than above
First power threshold of described default external equipment, the second power threshold of default intelligent terminal is more than described above
Second power threshold of default external equipment.
When the external equipment electricity for getting current time is more than the second power threshold of default external equipment and is less than
During the intelligent terminal electricity at current time, stop performing intelligent terminal OTG modules by USB OTG lines to external equipment OTG moulds
Block discharges, make external equipment will not due to low battery can not normal use, while also save the electricity of intelligent terminal.Together
Sample, when the intelligent terminal electricity for getting current time is more than the second power threshold of default intelligent terminal and is less than current
During the external equipment electricity at quarter, stop performing intelligent terminal OTG modules by USB OTG micro USBs electricity, make intelligent terminal will not be because
Low battery and can not normal use, while also save the electricity of external equipment.
Based on above-mentioned it will be appreciated that the second power threshold of default intelligent terminal and the second power threshold of external equipment
Purpose be, before the intelligent terminal electricity and external equipment electricity at current time be not also equal, stop performing as other side
Electric discharge, further saves the electricity of intelligent terminal or external equipment, improves user experience.
Further, based on the above technical solutions, when getting intelligent terminal electricity and external equipment electricity
After comparative result, the above results can be showed in the form of prompting frame on the screen of intelligent terminal, and be further
User provides whether carry out the electrically operated dialog box of subsequent charge and discharge, so that user makes choice as needed.In addition, intelligence is eventually
End completes that user can be prompted by modes such as vibrations or voice prompt lamps after charge and discharge is electrically operated, further promotes user experience.
Embodiment two
A kind of flow chart for charging/discharging thereof for intelligent terminal that Fig. 2 provides for the embodiment of the present invention one, this implementation
Example is applicable to improve the situation of the cruising ability of intelligent terminal and external equipment, and this method can be by being used for filling for intelligent terminal
Electric discharge device performs, which may be employed software and/or the mode of hardware is realized, which can be configured at intelligent terminal
In, such as typically tablet computer, mobile phone etc..As described in Figure 2, this method specifically comprises the following steps:
Step S200, intelligent terminal installation OTG modules connect external equipment OTG modules by USB OTG lines;
Step S210, whether intelligent terminal identification external equipment is non-magnetic disc apparatus;If so, perform step S220;If
It is no, then continue to execute step S210;
Step S220, intelligent terminal obtains intelligent terminal electricity by the machine OTG modules, and passes through the acquisition of USB OTG lines
External equipment electricity;
Step S230, whether intelligent terminal electricity is more than external equipment electricity;If so, perform step S240;If it is not, then
Perform step S250;
Step S240, when intelligent terminal electricity is more than the first power threshold of default intelligent terminal, intelligent terminal OTG
Module is by USB OTG lines to external equipment OTG module discharges;Afterwards, step S260 is performed;
Step S250, when external equipment electricity is more than the first power threshold of default external equipment, intelligent terminal OTG
Module passes through USB OTG micro USBs electricity;Afterwards, step S270 is performed;
Whether the external equipment electricity for step S260, getting current time is more than the second voltage of default external equipment
Threshold value and the intelligent terminal electricity for being less than current time;If so, perform step S280;If it is not, continue to execute step S260;
Whether the intelligent terminal electricity for step S270, getting current time is more than the second voltage of default intelligent terminal
Threshold value and the external equipment electricity for being less than current time;If so, perform step S290;If it is not, then continue to execute step S270;
Step S280, intelligent terminal OTG modules are stopped by USB OTG lines to external equipment OTG module discharges;
Step S290, stop intelligent terminal OTG modules and pass through USB OTG micro USBs electricity.
The technical solution of the present embodiment passes through USB OTG lines connection external equipment by working as intelligent terminal installation OTG modules
During OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and external equipment is obtained by USB OTG lines
Electricity, and the size of intelligent terminal power and external equipment electricity, if intelligent terminal electricity is more than external equipment electricity,
Then intelligent terminal OTG modules by USB OTG lines to external equipment OTG module discharges, if intelligent terminal electricity be less than it is external
Equipment electricity, then intelligent terminal OTG modules are electric by USB OTG micro USBs, solve user in the prior art and are in the nothings such as open air
The problem of method directly charges to the intelligent terminal or external equipment that use using external power supply improves intelligent terminal and outer
Connect the cruising ability of equipment.
Embodiment three
Fig. 3 is a kind of structure diagram for charge and discharge device for intelligent terminal that the embodiment of the present invention three provides, this
Embodiment is applicable to improve the situation of the cruising ability of intelligent terminal and external equipment, the device may be employed software and/or
The mode of hardware realizes that the device can be configured in intelligent terminal, such as typically tablet computer, mobile phone etc..Such as Fig. 3 institutes
Show, which specifically includes:
Electricity acquisition module 310 connects external equipment OTG for working as intelligent terminal installation OTG modules by USB OTG lines
During module, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through USB OTG lines and obtain external equipment
Electricity;
Charge and discharge selecting module 320, it is described if being more than the external equipment electricity for the intelligent terminal electricity
Intelligent terminal OTG modules are by the USB OTG lines to the external equipment OTG module discharges;If the intelligent terminal electricity
Amount is less than the external equipment electricity, then the intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
The technical solution of the present embodiment is used to pass through when intelligent terminal installation OTG modules by electricity acquisition module 310
When USB OTG lines connect external equipment OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, passes through
USB OTG lines obtain external equipment electricity, and the size of intelligent terminal power and external equipment electricity, charge and discharge selection mould
If block 320 is more than external equipment electricity for intelligent terminal electricity, intelligent terminal OTG modules are outside by USB OTG lines
Equipment OTG module discharges are connect, if intelligent terminal electricity is less than external equipment electricity, intelligent terminal OTG modules pass through USB
OTG micro USBs electricity, solve user in the prior art be in open air etc. can not be directly using external power supply to the intelligent terminal that uses
Or external equipment the problem of being charged, improve the cruising ability of intelligent terminal and external equipment.
Further, based on the above technical solutions, electricity acquisition module 310 can specifically include:
Type identification unit connects external equipment OTG moulds for working as intelligent terminal installation OTG modules by USB OTG lines
During block, intelligent terminal carries out type identification to external equipment;
Electricity acquiring unit, for when it is non-magnetic disc apparatus that intelligent terminal, which identifies external equipment, intelligent terminal to pass through
The OTG modules of the machine obtain intelligent terminal electricity, and pass through USB OTG lines and obtain external equipment electricity.
Further, based on the above technical solutions, charge and discharge selecting module 320 can specifically include:
Discharge cell, if be simultaneously greater than external equipment electricity and default intelligent terminal for intelligent terminal electricity
One power threshold, then intelligent terminal OTG modules by USB OTG lines to external equipment OTG module discharges;
Charhing unit, if for intelligent terminal electricity be less than external equipment electricity simultaneously external equipment electricity be more than it is external
During the first power threshold of equipment, then intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
Further, based on the above technical solutions, which can also specifically include:
Discharge stopping modular, if being equal to the intelligence at current time eventually for getting the external equipment electricity at current time
Electricity is held, then stops intelligent terminal OTG modules by USB OTG lines to external equipment OTG module discharges;
Charging stopping modular, if the intelligent terminal electricity for getting current time is set equal to the external of current time
Standby electricity then stops intelligent terminal OTG modules and passes through USB OTG micro USBs electricity.
Further, based on the above technical solutions, electric discharge stopping modular can specifically include:
Discharge stop unit, if the external equipment electricity for getting current time is more than default external equipment
Second power threshold and less than current time intelligent terminal electricity, then stop intelligent terminal OTG modules by USB OTG lines to
External equipment OTG module discharges;
Charging stopping modular can specifically include:
Charging stop unit, if the intelligent terminal electricity for getting current time is more than default intelligent terminal
Second power threshold and the external equipment electricity for being less than current time, then stop intelligent terminal OTG modules and pass through USB OTG micro USBs
Electricity.
The charge and discharge device for intelligent terminal of what the embodiment of the present invention was provided be configured at intelligent terminal can perform this
The charging/discharging thereof for intelligent terminal that invention any embodiment is provided possesses the corresponding function module of execution method and has
Beneficial effect.
Example IV
Fig. 4 is a kind of structure diagram for intelligent terminal that the embodiment of the present invention four provides.The intelligent terminal that Fig. 4 is shown is only
Only it is an example, any restrictions should not be brought to the function and use scope of the embodiment of the present invention.It is as shown in figure 4, of the invention
The intelligent terminal that example IV provides, including processor 41, memory 42, input unit 43, output device 44 and OTG modules
45;The quantity of processor 41 can be one or more in intelligent terminal, in Fig. 4 by taking a processor 41 as an example;Intelligent terminal
In processor 41, memory 42, input unit 43, output device 44 and OTG modules 45 can pass through bus or other modes
It connects, in Fig. 4 exemplified by being connected by bus.
Memory 42 is used as a kind of computer readable storage medium, and journey is can perform available for storage software program, computer
Sequence and module, such as the corresponding program instruction of the charging/discharging thereof for intelligent terminal/module (example in the embodiment of the present invention
Such as, in the charge and discharge device of intelligent terminal electricity acquisition module 310, charge and discharge selecting module 320).Processor 41 is logical
Software program, instruction and module that operation is stored in memory 42 are crossed, so as to perform various functions at application and data
Reason, such as realize the charging/discharging thereof applied to intelligent terminal that the embodiment of the present invention is provided.
Memory 42 can mainly include storing program area and storage data field, wherein, storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data according to mobile terminal
Deng.In addition, memory 42 can include high-speed random access memory, nonvolatile memory can also be included, for example, at least
One disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 42 can
Further comprise that, compared with the remotely located memory of processor 41, these remote memories can pass through network connection to movement
Terminal.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Input unit 43 can be used for receiving number input by user or character information, be set with the user generated with mobile terminal
It puts and the input of key signals that function control is related.Output device 44 may include the display devices such as display screen.
OTG modules 45, for obtaining intelligent terminal electricity and carrying out charge or discharge by USB OTG lines.
Embodiment five
The embodiment of the present invention five additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
A kind of charging/discharging thereof for intelligent terminal provided such as the embodiment of the present invention, the party are provided when program is executed by processor
Method includes:
When intelligent terminal, which installs OTG modules, connects external equipment OTG modules by USB OTG lines, intelligent terminal passes through
The OTG modules of the machine obtain intelligent terminal electricity, and pass through USB OTG lines and obtain external equipment electricity;
If intelligent terminal electricity is more than external equipment electricity, intelligent terminal OTG modules are by USB OTG lines to external
Equipment OTG module discharges;If intelligent terminal electricity is less than external equipment electricity, intelligent terminal OTG modules pass through USB OTG
Micro USB electricity.
The arbitrary of one or more computer-readable media may be employed in the computer storage media of the embodiment of the present invention
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or
Device or arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool
There are one or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or storing program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal,
Wherein carry computer-readable program code.Diversified forms may be employed in the data-signal of this propagation, including but it is unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium beyond storage medium is read, which can send, propagates or transmit and be used for
By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can write to perform the computer that operates of the present invention with one or more programming languages or its combination
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully performs, partly perform on the user computer on the user computer, the software package independent as one performs, portion
Divide and partly perform or perform on a remote computer or server completely on the remote computer on the user computer.
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or
Wide area network (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as is carried using Internet service
Pass through Internet connection for business).
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various apparent variations,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
1. a kind of charging/discharging thereof for intelligent terminal, which is characterized in that including:
When intelligent terminal installation connects external equipment OTG modules with (On-The-Go, OTG) module by USB OTG lines,
Intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through USB OTG lines and obtain external equipment electricity;
If the intelligent terminal electricity is more than the external equipment electricity, the intelligent terminal OTG modules pass through the USB
OTG lines are to the external equipment OTG module discharges;If the intelligent terminal electricity is less than the external equipment electricity, institute
It states intelligent terminal OTG modules and passes through USB OTG micro USBs electricity.
2. according to the method described in claim 1, it is characterized in that, it is described when intelligent terminal installation i.e. with (On-The-Go,
OTG when) module connects external equipment OTG modules by USB OTG lines, intelligent terminal obtains intelligence by the OTG modules of the machine
Terminal power, and pass through USB OTG lines and obtain external equipment electricity, including:
When the intelligent terminal, which installs the OTG modules, connects the external equipment OTG modules by the USB OTG lines,
The intelligent terminal carries out type identification to the external equipment;
When it is non-magnetic disc apparatus that the intelligent terminal, which identifies the external equipment, OTG that the intelligent terminal passes through the machine
Module obtains the intelligent terminal electricity, and passes through the USB OTG lines and obtain the external equipment electricity.
3. method according to claim 1 or 2, which is characterized in that if the intelligent terminal electricity is more than described
External equipment electricity, then the intelligent terminal OTG modules by the USB OTG lines to the external equipment OTG module discharges;
If the intelligent terminal electricity is less than the external equipment electricity, the intelligent terminal OTG modules pass through the USB OTG
Micro USB electricity, including:
If the intelligent terminal electricity is simultaneously greater than the first electricity of the external equipment electricity and the default intelligent terminal
Measure threshold value, then the intelligent terminal OTG modules by the USB OTG lines to the external equipment OTG module discharges;
If the intelligent terminal electricity is less than the external equipment electricity, the external equipment electricity is more than default institute simultaneously
The first power threshold of external equipment is stated, then the intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
4. if according to the method described in claim 3, it is characterized in that, the intelligent terminal electricity is more than described external
Equipment electricity, then intelligent terminal OTG modules by the USB OTG lines to the external equipment OTG module discharges;It is if described
Intelligent terminal electricity is less than the external equipment electricity, then the intelligent terminal OTG modules pass through the USB OTG micro USB electricity
Afterwards, further include:
If the external equipment electricity for getting current time is equal to the intelligent terminal electricity at current time, stop
The intelligent terminal OTG modules are by the USB OTG lines to the external equipment OTG module discharges;
If the intelligent terminal electricity for getting current time is equal to the external equipment electricity at current time, stop
The intelligent terminal OTG modules pass through USB OTG micro USBs electricity.
5. if the according to the method described in claim 4, it is characterized in that, external equipment for getting current time
Electricity is equal to the intelligent terminal electricity at current time, then stops the intelligent terminal OTG modules and pass through the USB OTG lines
To the external equipment OTG module discharges;If the intelligent terminal electricity for getting current time is equal to current time
The external equipment electricity, then stop the intelligent terminal OTG modules by the USB OTG micro USBs electricity, including:
If the external equipment electricity for getting current time is more than the second power threshold of the default external equipment
And less than current time the intelligent terminal electricity, then stop the intelligent terminal OTG modules by the USB OTG lines to
The external equipment OTG module discharges;
If the intelligent terminal electricity for getting current time is more than the second power threshold of the default intelligent terminal
And less than the external equipment electricity at current time, then stop the intelligent terminal OTG modules and pass through the USB OTG micro USBs
Electricity.
6. a kind of charge and discharge device for intelligent terminal, which is characterized in that including:
Electricity acquisition module, it is outer by the connection of USB OTG lines i.e. with (On-The-Go, OTG) module for working as intelligent terminal installation
When connecing equipment OTG modules, intelligent terminal obtains intelligent terminal electricity by the OTG modules of the machine, and passes through the acquisition of USB OTG lines
External equipment electricity;
Charge and discharge selecting module, if being more than the external equipment electricity for the intelligent terminal electricity, the intelligence is eventually
Hold OTG modules by the USB OTG lines to the external equipment OTG module discharges;If the intelligent terminal electricity is less than
The external equipment electricity, then the intelligent terminal OTG modules pass through the USB OTG micro USBs electricity.
7. device according to claim 6, which is characterized in that the electricity acquisition module, including:
Type identification unit is connected by the USB OTG lines outside described for working as the intelligent terminal installation OTG modules
When connecing equipment OTG modules, the intelligent terminal carries out type identification to the external equipment;
Electricity acquiring unit, for when the intelligent terminal identify the external equipment be non-magnetic disc apparatus when, the intelligence
Terminal obtains the intelligent terminal electricity by the OTG modules of the machine, and passes through the USB OTG lines and obtain the external equipment
Electricity.
8. the device according to claim 6 or 7, which is characterized in that the charge and discharge selecting module, including:
Discharge cell, if being simultaneously greater than the external equipment electricity and the default intelligence for the intelligent terminal electricity
First power threshold of terminal, then the intelligent terminal OTG modules by the USB OTG lines to the external equipment OTG moulds
Block discharges;
Charhing unit, if being less than the external equipment electricity external equipment electricity simultaneously for the intelligent terminal electricity
More than the external equipment the first power threshold when, then the intelligent terminal OTG modules pass through the USB OTG micro USBs electricity.
9. a kind of intelligent terminal, which is characterized in that including:
One or more processors;
Memory, for storing one or more programs;
OTG modules, for obtaining the intelligent terminal electricity and carrying out charge or discharge by USB OTG lines;
When one or more of programs are performed by one or more of processors so that one or more of processors are real
The now charging/discharging thereof for intelligent terminal as described in any in claim 1-5.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
The charging/discharging thereof for intelligent terminal as described in any in claim 1-5 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711316458.8A CN108054794A (en) | 2017-12-12 | 2017-12-12 | Charging and discharging method and device for intelligent terminal, terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711316458.8A CN108054794A (en) | 2017-12-12 | 2017-12-12 | Charging and discharging method and device for intelligent terminal, terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108054794A true CN108054794A (en) | 2018-05-18 |
Family
ID=62124442
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711316458.8A Pending CN108054794A (en) | 2017-12-12 | 2017-12-12 | Charging and discharging method and device for intelligent terminal, terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108054794A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108683236A (en) * | 2018-06-27 | 2018-10-19 | 河南省航丰智能科技有限公司 | A kind of mobile terminal OTG charging methods and device |
CN108808798A (en) * | 2018-07-10 | 2018-11-13 | 中国联合网络通信集团有限公司 | The method and apparatus of reverse charging |
CN109684892A (en) * | 2019-01-03 | 2019-04-26 | 南京南瑞微电子技术有限公司 | A kind of separate type RFID reader that can be charged mutually with terminal device |
CN111864862A (en) * | 2020-08-14 | 2020-10-30 | 珠海格力电器股份有限公司 | Charging method and charging device |
CN113904414A (en) * | 2021-10-28 | 2022-01-07 | 江西创成微电子有限公司 | Charging control method and device and audio processing equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005287278A (en) * | 2004-03-31 | 2005-10-13 | Casio Comput Co Ltd | Device and method for controlling charge of electronic terminal |
CN104009527A (en) * | 2014-06-17 | 2014-08-27 | 深圳市中兴移动通信有限公司 | Charging method based on social contact, first mobile terminal and second mobile terminal |
CN104967174A (en) * | 2015-07-07 | 2015-10-07 | 小米科技有限责任公司 | Charging control method and device |
CN105098888A (en) * | 2015-07-20 | 2015-11-25 | 小米科技有限责任公司 | Charging method and device |
CN105680510A (en) * | 2016-01-29 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Charging control method and charging control device used for electronic equipment |
-
2017
- 2017-12-12 CN CN201711316458.8A patent/CN108054794A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005287278A (en) * | 2004-03-31 | 2005-10-13 | Casio Comput Co Ltd | Device and method for controlling charge of electronic terminal |
CN104009527A (en) * | 2014-06-17 | 2014-08-27 | 深圳市中兴移动通信有限公司 | Charging method based on social contact, first mobile terminal and second mobile terminal |
CN104967174A (en) * | 2015-07-07 | 2015-10-07 | 小米科技有限责任公司 | Charging control method and device |
CN105098888A (en) * | 2015-07-20 | 2015-11-25 | 小米科技有限责任公司 | Charging method and device |
CN105680510A (en) * | 2016-01-29 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Charging control method and charging control device used for electronic equipment |
Non-Patent Citations (1)
Title |
---|
刘波文 等: "《ARM嵌入式项目开发三位一体实战精讲》", 31 October 2011 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108683236A (en) * | 2018-06-27 | 2018-10-19 | 河南省航丰智能科技有限公司 | A kind of mobile terminal OTG charging methods and device |
CN108808798A (en) * | 2018-07-10 | 2018-11-13 | 中国联合网络通信集团有限公司 | The method and apparatus of reverse charging |
CN109684892A (en) * | 2019-01-03 | 2019-04-26 | 南京南瑞微电子技术有限公司 | A kind of separate type RFID reader that can be charged mutually with terminal device |
CN111864862A (en) * | 2020-08-14 | 2020-10-30 | 珠海格力电器股份有限公司 | Charging method and charging device |
CN113904414A (en) * | 2021-10-28 | 2022-01-07 | 江西创成微电子有限公司 | Charging control method and device and audio processing equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11985464B2 (en) | Wireless audio output devices | |
CN108054794A (en) | Charging and discharging method and device for intelligent terminal, terminal and storage medium | |
EP2597844B1 (en) | Method and device for sharing micro-usb interface between earphone and usb | |
KR102439078B1 (en) | Electronic device and method for controlling a charging thereof | |
CN103344863B (en) | The method of testing of mobile terminal and test system | |
US20150234445A1 (en) | Interface expending method and device for tablet computer | |
EP2860638B1 (en) | Serial communication over communication control pin | |
CN106300501B (en) | A kind of adapter recognition methods and intelligent mobile terminal | |
CN106571657A (en) | Terminal, converter and connection conversion system and method | |
CN101534349A (en) | Method and apparatus for determining external connection device in mobile terminal | |
CN111239617B (en) | Control method and device for charge and discharge test, storage medium and system | |
JP2016531368A (en) | Apparatus and method for changing current limit value | |
CN106549451A (en) | A kind of wireless charging method and device | |
CN109254210B (en) | Electronic equipment port type detection method and device, detection circuit and electronic equipment | |
CN105071484A (en) | Charging method and apparatus of terminal having data exchange function | |
CN106921192A (en) | Terminal and electricity sharing method | |
CN105811515A (en) | Method and system for charging universal serial bus Bluetooth headset through mobile terminal | |
CN107276180A (en) | Charge control method, equipment, system and user equipment | |
CN108873759A (en) | A kind of circuit, circuit protection method and electronic equipment | |
KR20210033758A (en) | Method for power supply and an electronic device thereof | |
KR100651204B1 (en) | System and Method for interfacing with external device in portable terminal | |
CN113162131A (en) | Reverse charging system, reverse charging method and terminal equipment | |
CN104778144B (en) | Intelligent terminal method of controlling operation thereof and device based on OTG | |
CN107204645B (en) | Portable charging device | |
CN105450843A (en) | Method and device of arranging operation mode of 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: 20180518 |
|
RJ01 | Rejection of invention patent application after publication |