CN109546705A - Terminal device and its method, apparatus of charging and communication - Google Patents
Terminal device and its method, apparatus of charging and communication Download PDFInfo
- Publication number
- CN109546705A CN109546705A CN201811446958.8A CN201811446958A CN109546705A CN 109546705 A CN109546705 A CN 109546705A CN 201811446958 A CN201811446958 A CN 201811446958A CN 109546705 A CN109546705 A CN 109546705A
- Authority
- CN
- China
- Prior art keywords
- voltage
- terminal device
- conducting state
- input current
- electric conducting
- 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 31
- 238000004891 communication Methods 0.000 title claims abstract description 28
- 238000003860 storage Methods 0.000 claims description 20
- 230000005611 electricity Effects 0.000 claims description 11
- 238000001514 detection method Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 claims description 3
- 238000007689 inspection Methods 0.000 claims description 2
- 238000013461 design Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000004880 explosion Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000008569 process 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01M—PROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
- H01M10/00—Secondary cells; Manufacture thereof
- H01M10/42—Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
- H01M10/44—Methods for charging or discharging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
- Y02E60/10—Energy storage using batteries
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- General Chemical & Material Sciences (AREA)
- Chemical Kinetics & Catalysis (AREA)
- Electrochemistry (AREA)
- Chemical & Material Sciences (AREA)
- Computer Hardware Design (AREA)
- Manufacturing & Machinery (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The embodiment of the present application provides the method, apparatus of a kind of terminal device and its charging and communication.This method comprises: detecting the first voltage of the data-interface when detecting that the data-interface access electronic equipment of terminal device enters electric conducting state;Judge whether the first voltage is greater than preset threshold voltage;When the first voltage is greater than the threshold voltage, the electric conducting state is kept;When the first voltage is equal to or less than the threshold voltage, the electric conducting state is interrupted.The embodiment of the present application realizes the function of completing charging on terminal device and the electronic equipment of the overwhelming majority or communicate, and effectively improves user experience.
Description
Technical field
This application involves charging and and communication technique field, specifically, the present invention relates to a kind of terminal device and its filling
The method, apparatus of electricity and communication.
Background technique
Currently there are many terminal devices to be all made of USB (Universal Serial Bus, universal serial bus) interface
It charges for internal battery, and realizes the function of realizing communication with other electronic equipments.Terminal device one in the prior art
As the power supply that can be matched using standard configuration fit device and USB cable charge, while can also use the USB port and USB set of PC
Line device charge and communicate between PC.Since the load capacity of various interfaces is different, such as power supply adaptor
The output electric current of 1A (ampere) or more can be generally provided, 500mA can be provided after the USB enumeration success of common PC
The length and impedance of the electric current of (milliampere) etc. and USB cable are variant, will cause the USB brownout of terminal from
And section terminating equipment is caused to occur charging when being charged and being communicated using certain interfaces and USB cable or communication abnormality
The case where, or even the phenomenon that can not work normally.
The general standard configuration power supply adaptor of the terminal device of prior art and USB data line, it is desirable that standard configuration must be used
Power supply adaptor and USB cable, asked with solving above-mentioned terminal device what can not be charged normal and communicate using certain interfaces
Topic.But in the actual use environment of user, the cross-reference phenomenon of power supply adaptor and data line is very universal, and
And many users get used to USB port or the usb hub of PC still to charge and communicate.
To sum up, terminal device can not be still solved in the prior art to occur charging when using part of interface and communication abnormality
The problem of.
Summary of the invention
The purpose of the application is intended at least can solve above-mentioned one of technological deficiency, especially terminal device and is using part
There is the technological deficiency of operation irregularity in interface.
In a first aspect, the method for a kind of terminal device charging and communication is provided, this method comprises: detecting terminal device
Data-interface access electronic equipment when entering electric conducting state, the first voltage of detection data interface;
Judge whether first voltage is greater than preset threshold voltage;
When first voltage is greater than threshold voltage, electric conducting state is kept;
When first voltage is equal to or less than threshold voltage, electric conducting state is interrupted.
Second aspect, provides the device of a kind of charging and communication, which includes:
Detection module is configured as detecting that the data-interface access electronic equipment of terminal device enters electric conducting state
When, the first voltage of detection data interface;
Whether comparison module is greater than preset threshold voltage for first voltage;
Execution module is configured as keeping electric conducting state when first voltage is greater than threshold voltage;When first voltage etc.
When threshold voltage, electric conducting state is interrupted.
The third aspect provides a kind of terminal device, which includes:
Data-interface, battery, storage unit and processor, processor are electrically connected with data-interface, battery and storage unit;
And one or more application program, wherein one or more application programs are stored in memory and are matched
It is set to and is performed by one or more processors, one or more programs are configured to: executing according to the application first aspect
Terminal device charging and communication method.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, which is located
The method that reason device realizes the charging and communication of terminal device shown in the application first aspect when executing.
Technical solution provided by the embodiments of the present application has the benefit that
The application passes through the relationship judged between first voltage and threshold voltage, and is switched according to relationship between the two
Electric conducting state.When first voltage is greater than threshold voltage, electric conducting state is kept so that terminal device works normally;When
One voltage is equal to or less than threshold voltage, interrupts electric conducting state.Terminal device greatly improved using above-mentioned design in the application
With the fitting percentage of electronic equipment, terminal device is adapted to a plurality of types of electronic equipments, to be substantially improved
User experience;In addition the embodiment of the present application is also avoided causes equipment to damage due to mismatching between terminal device and electronic equipment
Bad or even explosion phenomenon generation.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, institute in being described below to the embodiment of the present application
Attached drawing to be used is needed to be briefly described.
Fig. 1 is the flow diagram of a kind of method of terminal device charging and communication provided by the embodiments of the present application;
Fig. 2 is the flow diagram of the method for another terminal device charging and communication provided by the embodiments of the present application;
Fig. 3 is a kind of structural schematic diagram of the device of charging and communication provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the application, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in the description of the present application
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
How the technical solution of the application and the technical solution of the application are solved with specifically embodiment below above-mentioned
Technical problem is described in detail.These specific embodiments can be combined with each other below, for the same or similar concept
Or process may repeat no more in certain embodiments.Below in conjunction with attached drawing, embodiments herein is described.
Embodiment one
The embodiment of the present application provides the method for a kind of terminal device charging and communication, as shown in Figure 1, this method comprises:
S101: when detecting that the data-interface access electronic equipment of terminal device enters electric conducting state, detection data is connect
The first voltage of mouth.
S102: judge whether first voltage is greater than preset threshold voltage;If first voltage is greater than threshold voltage, execute
S102;If first voltage is equal to or less than threshold voltage, S104 is executed.
S103: electric conducting state is kept.
Optionally, after keeping electric conducting state, it is defeated to judge whether the input current of terminal device reaches preset maximum
Enter to limit electric current;When input current is equal to maximum input limitation electric current, electric conducting state is kept;When input current is less than maximum
Input limitation electric current when, increase input current, until increase after the corresponding first voltage of input current be greater than threshold voltage and
Input current after increase is equal to maximum input and limits electric current.
S104: electric conducting state is interrupted.
Optionally, after interrupting electric conducting state, judge the input current of electronic equipment and whether be greater than preset initial
Electric current;When input current is equal to or less than initial current, the prompt information of display data interface exception;When input current is greater than
When initial current, input current is reduced, when the corresponding first voltage of input current is greater than threshold voltage after reducing, is switched to
Electric conducting state.
Optionally, before step S101, further includes: universal serial bus will be used between terminal device and electronic equipment
Standard is electrically connected.
The embodiment of the present application is mainly used in charging and communication between terminal device and electronic equipment, passes through the application reality
Applying example can charge normal and communicate between terminal device and electronic equipment.Terminal device specifically can be with hand
The equipment such as machine, tablet computer and e-book, the application are not limited thereto.Electronic equipment can be a plurality of types of products, example
Such as its power supply adaptor that can be terminal device, PC, usb hub and onboard system equipment, the application are real
It applies and is equally not limited thereto.The data-interface of terminal device can be connect by USB cable with electronic equipment, by electronic equipment
It charges to terminal device, or realizes communication between the two.It should be noted that the application does not limit data-interface
Type, this can be not intended to limit using data-interfaces, the application such as USB interface, thunder and lightning interface.
The embodiment of the present application passes through the relationship judged between first voltage and threshold voltage, and according to pass between the two
System's switching electric conducting state.When first voltage is greater than threshold voltage, keep electric conducting state so that the normal work of terminal device
Make;When first voltage is equal to or less than threshold voltage, electric conducting state is interrupted, and judge the input current of electronic equipment and be
It is no to be greater than preset initial current, it selects to issue prompt information according to the result of the two or is adjusted input current, thus
Terminal device is worked normally.The fitting percentage of terminal device greatly improved using above-mentioned design for the embodiment of the present application,
Terminal device is adapted to a plurality of types of electronic equipments, to greatly improve user experience;In addition this Shen
Please embodiment also avoid and cause the hair of equipment damage or even explosion phenomenon due to mismatching between terminal device and electronic equipment
It is raw.
Embodiment two
The embodiment of the present application provides alternatively possible implementation, further includes implementing on the basis of example 1
Method shown in example two, as shown in Fig. 2, this method comprises:
S201: it will be electrically connected between terminal device and electronic equipment using universal serial bus standard.
For example, terminal is set by using universal serial bus standard to be electrically connected production between terminal device and electronic equipment
Standby data-interface can be using USB interface or thunder and lightning interface be being used, and this embodiment of the present application is not limited thereto, as long as
The function of charging and/or communicate between the two may be implemented.The embodiment of the present application can be greatly improved using above-mentioned design
The scope of application, to improve the applicability of the embodiment of the present application.
S202: when entering electric conducting state when detecting the data-interface access electronic equipment of terminal device, detection data
The first voltage of interface.
For example, the embodiment of the present application can judge whether terminal device and electronic equipment enter electricity by detecting first voltage
On state.Wherein first voltage can be the input voltage of terminal device, can be simple and fast by detection first voltage
Confirm the state of terminal device, promotes user experience so as to improve the charge efficiency of terminal device.But need to illustrate
It is that the application is not limited thereto, those skilled in the art can also judge whether terminal device is in otherwise and fill
Electricity condition.
S203: judge whether first voltage is greater than preset threshold voltage;If so, thening follow the steps S204;If it is not, then holding
Row step S208.
For example, being compared according to first voltage with preset threshold voltage, in order to execute subsequent step.Wherein threshold
Threshold voltage can be worked with data interface standard minimum voltage, such as it can be the minimum operating voltage of USB;Or threshold value electricity
Pressure is also possible to the minimum input voltage of charging chip built-in in terminal device.In the embodiment of the application, threshold value electricity
Pressure can be the larger value in above two predeterminated voltage, but the application is not limited thereto, and those skilled in the art can be with
Voluntarily selection determines according to the actual situation.Using above-mentioned design, can intuitively judge current electronic equipment if appropriate for
It charges for terminal device, further increases the charge efficiency in the embodiment of the present application.
S204: electric conducting state is kept.
S205: judge whether the input current of terminal device reaches preset maximum input limitation electric current;If so, executing
Step S206;If it is not, then holding step S207.
S206: when input current is equal to maximum input limitation electric current, electric conducting state is kept.
S207: when input current is less than maximum input limitation electric current, increasing input current, the input electricity after increasing
It flows input current of the corresponding first voltage greater than threshold voltage and after increasing and limits electric current equal to maximum input.
Optionally, when input current is less than the maximum input limitation electric current, increase input current, comprising: work as input
When electric current is less than maximum input limitation electric current, input current is increased into a step value.
For example, can further judge the defeated of terminal device when whether first voltage is greater than preset threshold voltage
Enter whether electric current reaches preset maximum input limitation electric current.If input current is reaching maximum input limitation electric current, say
The charged state of bright terminal device is good and efficiency is best, keeps electric conducting state between the two;If input
When electric current is less than maximum input limitation electric current, illustrates the charged state of terminal device and be not up to most preferably, tune can be passed through at this time
The whole mode for increasing input current adjusts the charged state of terminal device to best.Increase can be led to the adjustment of input current
The mode of multiple step values is realized, and step value of every adjustment all judges first voltage and threshold voltage,
First voltage is more than or equal to input current after on the basis of threshold voltage, making adjustment equal to maximum input limitation electric current.Using
Above-mentioned design can guarantee that terminal device is in optimal charged state, and then can effectively improve the embodiment of the present application charging effect
Rate, and user experience is substantially improved.
It should be noted that the application does not limit step value specific size, those skilled in the art can be according to terminal
The parameter of equipment and the difference of terminal device applying working condition are configured.
S208: electric conducting state is interrupted.
S209: judge the input current of electronic equipment and whether be greater than preset initial current;If so, thening follow the steps
210;If it is not, thening follow the steps 211.
S210: when input current is equal to or less than initial current, the prompt information of display data interface exception.
S211: when input current is greater than initial current, reducing input current, input current corresponding the after reducing
When one voltage is greater than threshold voltage, it is switched to electric conducting state.
Optionally, present input current is reduced by a step value, judges to reduce the current input electricity after a step value
Whether the corresponding current first voltage of stream is greater than threshold voltage;If so, being switched to electric conducting state.
For example, when first voltage is equal to or when being less than threshold voltage, after interrupting electric conducting state, can further sentence
Whether disconnected input current is greater than preset initial current.Initial current can according to terminal device itself the case where set
The electric current of minimum limitation, initial current refer to the primary data set after terminal device is electrically connected with electronic equipment, therefore this Shen
Please embodiment be not limited thereto.If input current is equal to or less than initial current, simultaneously because first voltage is small
In threshold voltage, illustrate that current electronic equipment or USB cable are abnormal, is not able to satisfy terminal device charging and communicates minimum
It is required that terminal device can notify user by forms such as itself screens, sound and light at this time, allow user more
Change electronic equipment or USB cable.Therefore the application not only improves the experience of user, but also can be to avoid making terminal device
The phenomenon that being damaged.
When input current is greater than initial current, it can guarantee normally filling for terminal device by way of reducing electric current
Electricity.Specifically, input current is equal to initial current by default, if the case where input current is greater than initial current one
As be due to the embodiment of the present application for input current increase step value after formed because work as terminal device and electronic equipment
After electrical connection, a tool initial current is set at this time, i.e. input current is being equal to initial current.If increasing by one to input current
It after step value, detects that first voltage is less than threshold voltage, can judge the by the way that input current is reduced a step value
Whether one voltage is greater than threshold voltage, if so, electric conducting state can be kept, terminal device is made to charge normal and communicate.It adopts
With above-mentioned design, the embodiment of the present application can be enabled to be adapted to more electronic equipment, effectively increase the embodiment of the present application
The scope of application, and then improve the user experience of user.
Embodiment three
The embodiment of the present application provides the device of a kind of charging and communication, as shown in figure 3, the device 30 may include: inspection
Survey module 301, comparison module 302 and execution module 303.
Detection module 301 is configured as detecting that the data-interface access electronic equipment of terminal device enters electric conducting state
When, the first voltage of detection data interface.
Whether comparison module 302 is greater than preset threshold voltage for first voltage.
Execution module 303 is configured as keeping electric conducting state when first voltage is greater than threshold voltage;Work as first voltage
When equal to or less than threshold voltage, electric conducting state is interrupted.
The content not being shown specifically in the assembling device of charging and communication provided by the embodiments of the present application, before can refer to the application
The method for stating charging and the communication of the electronic equipment of embodiment.
Example IV
Based on the same inventive concept, the embodiment of the present application provides a kind of terminal device, comprising: data-interface, is deposited battery
Storage unit and processor, processor are electrically connected with data-interface, battery and storage unit;And
One or more application program, wherein one or more application programs be stored in memory and be configured as by
One or more processors execute, and one or more programs are configured to: executing according to shown in the embodiment of the present application one and two
The method of terminal device charging and communication.
In an embodiment of application, data-interface is Universal Serial Bus Interface or thunder and lightning interface.
If Fig. 4 shows, the terminal device 40 that Fig. 4 shows includes: data-interface 401, battery 402, processor 403 and storage unit
404.Wherein, data-interface 401, battery 402 and storage unit 404 are electrically connected with processor 403.Processor 403 can be with
It is CPU (Central Processing Unit, central processing unit), general processor, DSP (Digital Signal
Processor, data signal processor), ASIC (Application Specific Integrated Circuit, dedicated collection
At circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable patrol
Collect device, transistor logic, hardware component or any combination thereof.It, which may be implemented or executes, combines in the application discloses
Hold described various illustrative logic blocks, module and circuit.Processor 403 is also possible to realize the group of computing function
It closes, such as is combined comprising one or more microprocessors, DSP and the combination of microprocessor etc..
Storage unit 404 can be ROM (Read-Only Memory, read-only memory) or can store static information and refer to
The other kinds of static storage device enabled, RAM (Random Access Memory, random access memory) or can store
The other kinds of dynamic memory of information and instruction is also possible to EEPROM (Electrically Erasable
Programmable Read Only Memory, Electrically Erasable Programmable Read-Only Memory), CD-ROM (Compact Disc
Read-Only Memory, CD-ROM) or other optical disc storages, optical disc storage (including compression optical disc, laser disc, optical disc, number
The general optical disc of word, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store
Desired program code with instruction or data structure form simultaneously can be but unlimited by any other medium of computer access
In this.
Optionally, storage unit 404 is used to store the application code for executing application scheme, and by processor 403
It is executed to control.Processor 403 is for executing the application code stored in storage unit 404, to realize that the application is implemented
The method of terminal device charging and communication that example one or two provides.
Embodiment five
The embodiment of the present application provides a kind of computer readable storage medium, is stored thereon with computer program, the program
The method of the charging and communication of terminal device shown in the embodiment of the present application one or two is realized when being executed by processor.
The embodiment of the present application provides a kind of computer readable storage medium, and compared with prior art, the application is by sentencing
Relationship between disconnected first voltage and threshold voltage, and electric conducting state is switched according to relationship between the two.The application adopts
The fitting percentage that terminal device greatly improved with above-mentioned design carries out terminal device with a plurality of types of electronic equipments
Adaptation, to greatly improve user experience;In addition the embodiment of the present application also avoid due to terminal device and electronic equipment it
Between mismatch and cause the generation of equipment damage or even explosion phenomenon.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other
At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (10)
1. a kind of method of terminal device charging and communication characterized by comprising
The data-interface access electronic equipment of terminal device is detected when entering electric conducting state, detects the of the data-interface
One voltage;
Judge whether the first voltage is greater than preset threshold voltage;
When the first voltage is greater than the threshold voltage, the electric conducting state is kept;
When the first voltage is equal to or less than the threshold voltage, the electric conducting state is interrupted.
2. the method as described in claim 1, which is characterized in that the data-interface access electronics for detecting terminal device is set
When entering electric conducting state when standby, before the first voltage for detecting the data-interface, further includes: by the terminal device and institute
It states and is electrically connected between electronic equipment using universal serial bus standard.
3. the method as described in claim 1, which is characterized in that it is described when the first voltage is greater than the threshold voltage,
After keeping the electric conducting state, further includes:
Judge whether the input current of the terminal device reaches preset maximum input limitation electric current;
When the input current is equal to the maximum input limitation electric current, the electric conducting state is kept;
When the input current is less than the maximum input limitation electric current, increase input current, the input electricity after increasing
It flows corresponding first voltage and is equal to the maximum input limitation electricity greater than the input current after the threshold voltage and the increase
Stream.
4. method as claimed in claim 3, which is characterized in that described when the input current is less than the maximum input limitation
When electric current, increase input current, comprising:
When the input current is less than the maximum input limitation electric current, the input current is increased into a step value.
5. the method as described in claim 1, which is characterized in that described when the first voltage is equal to or less than the threshold value electricity
When pressure, after interrupting the electric conducting state, comprising:
Judge the input current of the electronic equipment and whether is greater than preset initial current;
When the input current is equal to or less than the initial current, the prompt information of the data-interface exception is shown;
When the input current is greater than the initial current, the input current is reduced, the input current after reducing
When corresponding first voltage is greater than the threshold voltage, it is switched to the electric conducting state.
6. method as claimed in claim 5, which is characterized in that it is described to reduce the input current, it is described defeated after reducing
When entering the corresponding first voltage of electric current greater than the threshold voltage, it is switched to the electric conducting state, comprising:
Present input current is reduced by a step value, is worked as corresponding to the present input current after judging one step value of reduction
Whether preceding first voltage is greater than the threshold voltage;If so, being switched to the electric conducting state.
7. a kind of device of charging and communication characterized by comprising
Detection module, when being configured as detecting that the data-interface access electronic equipment of terminal device enters electric conducting state, inspection
Survey the first voltage of the data-interface;
Whether comparison module is greater than preset threshold voltage for first voltage;
Execution module is configured as keeping the electric conducting state when the first voltage is greater than the threshold voltage;Work as institute
When stating first voltage equal to or less than the threshold voltage, the electric conducting state is interrupted.
8. a kind of terminal device, characterized in that it comprises: data-interface, battery, storage unit and processor, the processing
Device is electrically connected with the data-interface, battery and storage unit;And
One or more application program, wherein one or more of application programs are stored in the memory and are configured
To be executed by one or more of processors, one or more of programs are configured to: executing -6 according to claim 1
The method of terminal device described in one charging and communication.
9. terminal device as claimed in claim 8, which is characterized in that the data-interface is Universal Serial Bus Interface or thunder
Electrical interface.
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 method of terminal device charging and communication described in any one of claims 1-6 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811446958.8A CN109546705A (en) | 2018-11-29 | 2018-11-29 | Terminal device and its method, apparatus of charging and communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811446958.8A CN109546705A (en) | 2018-11-29 | 2018-11-29 | Terminal device and its method, apparatus of charging and communication |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109546705A true CN109546705A (en) | 2019-03-29 |
Family
ID=65851475
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811446958.8A Pending CN109546705A (en) | 2018-11-29 | 2018-11-29 | Terminal device and its method, apparatus of charging and communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109546705A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114442778A (en) * | 2020-11-02 | 2022-05-06 | 微盟电子(昆山)有限公司 | Power access method, power switching method and electronic device |
CN118282003A (en) * | 2024-06-03 | 2024-07-02 | 荣耀终端有限公司 | Charging method and related device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102545296A (en) * | 2010-12-31 | 2012-07-04 | 深圳富泰宏精密工业有限公司 | Electronic device charging system and method |
CN103208661A (en) * | 2013-04-24 | 2013-07-17 | 惠州Tcl移动通信有限公司 | Intelligent terminal and method for carrying out large-current charging |
CN103326078A (en) * | 2012-03-23 | 2013-09-25 | 深圳富泰宏精密工业有限公司 | Mobile device charging method and system |
CN203759699U (en) * | 2014-01-23 | 2014-08-06 | 芜湖航飞科技股份有限公司 | Novel USB (universal serial bus) to serial communication interface cable |
CN105829990A (en) * | 2013-12-19 | 2016-08-03 | 汤姆逊许可公司 | Method and apparatus for charging electronic device with USB connection |
CN107069844A (en) * | 2017-01-13 | 2017-08-18 | 广东欧珀移动通信有限公司 | Charging method, device and terminal |
CN107422825A (en) * | 2017-07-26 | 2017-12-01 | 惠州Tcl移动通信有限公司 | A kind of CDP mouths charge control method, device, storage medium and electronic equipment |
CN107785950A (en) * | 2016-08-26 | 2018-03-09 | 快捷半导体有限公司 | USB Type C detects to traditional USB cable |
CN107832638A (en) * | 2017-11-14 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | The method and terminal of a kind of terminal charge |
-
2018
- 2018-11-29 CN CN201811446958.8A patent/CN109546705A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102545296A (en) * | 2010-12-31 | 2012-07-04 | 深圳富泰宏精密工业有限公司 | Electronic device charging system and method |
CN103326078A (en) * | 2012-03-23 | 2013-09-25 | 深圳富泰宏精密工业有限公司 | Mobile device charging method and system |
CN103208661A (en) * | 2013-04-24 | 2013-07-17 | 惠州Tcl移动通信有限公司 | Intelligent terminal and method for carrying out large-current charging |
CN105829990A (en) * | 2013-12-19 | 2016-08-03 | 汤姆逊许可公司 | Method and apparatus for charging electronic device with USB connection |
CN203759699U (en) * | 2014-01-23 | 2014-08-06 | 芜湖航飞科技股份有限公司 | Novel USB (universal serial bus) to serial communication interface cable |
CN107785950A (en) * | 2016-08-26 | 2018-03-09 | 快捷半导体有限公司 | USB Type C detects to traditional USB cable |
CN107069844A (en) * | 2017-01-13 | 2017-08-18 | 广东欧珀移动通信有限公司 | Charging method, device and terminal |
CN107422825A (en) * | 2017-07-26 | 2017-12-01 | 惠州Tcl移动通信有限公司 | A kind of CDP mouths charge control method, device, storage medium and electronic equipment |
CN107832638A (en) * | 2017-11-14 | 2018-03-23 | 青岛海信移动通信技术股份有限公司 | The method and terminal of a kind of terminal charge |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114442778A (en) * | 2020-11-02 | 2022-05-06 | 微盟电子(昆山)有限公司 | Power access method, power switching method and electronic device |
CN118282003A (en) * | 2024-06-03 | 2024-07-02 | 荣耀终端有限公司 | Charging method and related device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7029356B2 (en) | How to handle impedance abnormalities in power adapters, terminals and charging circuits | |
JP5388484B2 (en) | Apparatus and method for detecting power supply | |
CN104216499A (en) | Equipment cabinet and power source control method thereof | |
KR20180100463A (en) | Power adaptor, terminal and charging system | |
CN104756350A (en) | High voltage dedicated charging port | |
US20180097315A1 (en) | Power adapter, terminal device, charging system, and charging method | |
US12266960B2 (en) | Multi-bay charger with power monitoring based on available power from a power source | |
CN109358548A (en) | A kind of charging method of automotive diagnostic system, vehicle diagnosis and automotive diagnostic unit | |
CN105068915B (en) | Electric power controller and method | |
CN106329630B (en) | A kind of charging method and device | |
WO2014196280A1 (en) | Cell monitoring device | |
CN110492563A (en) | Battery management method, device, equipment and medium | |
CN109546705A (en) | Terminal device and its method, apparatus of charging and communication | |
WO2013085761A1 (en) | Techniques for serial interface charging | |
EP3042432B1 (en) | Method and apparatus for charging a battery | |
TWI497274B (en) | Rack and power controlling method thereof | |
CN106972558B (en) | Charging control method and electronic equipment | |
CN106611995A (en) | Uninterruptible power supply (UPS) method and equipment having active voltage adjustment | |
US20200169094A1 (en) | Charging device and operating method thereof | |
JP7111803B6 (en) | Charging method, terminal and computer storage medium | |
CN105762870A (en) | Battery having protection and early warning functions and electronic equipment having the battery | |
CN106329628B (en) | A kind of charging method and device | |
CN106300533B (en) | A kind of charging method and device | |
JP2018509875A (en) | Self-loop detection method and apparatus for charging device | |
CN111781449A (en) | Equipment testing method and device and computer readable storage medium |
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: 20190329 |
|
RJ01 | Rejection of invention patent application after publication |