CN107069844A - Charging method, device and terminal - Google Patents

Charging method, device and terminal Download PDF

Info

Publication number
CN107069844A
CN107069844A CN201710026294.9A CN201710026294A CN107069844A CN 107069844 A CN107069844 A CN 107069844A CN 201710026294 A CN201710026294 A CN 201710026294A CN 107069844 A CN107069844 A CN 107069844A
Authority
CN
China
Prior art keywords
charging equipment
mobile terminal
charging
voltage
access device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710026294.9A
Other languages
Chinese (zh)
Other versions
CN107069844B (en
Inventor
张强
孔凡红
廖福椿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710026294.9A priority Critical patent/CN107069844B/en
Publication of CN107069844A publication Critical patent/CN107069844A/en
Application granted granted Critical
Publication of CN107069844B publication Critical patent/CN107069844B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H02J7/0003
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/425Structural combination with electronic components, e.g. electronic circuits integrated to the outside of the casing
    • H01M10/4257Smart batteries, e.g. electronic circuits inside the housing of the cells or batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00045Authentication, i.e. circuits for checking compatibility between one component, e.g. a battery or a battery charger, and another component, e.g. a power source
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a kind of charging method, device and terminal, the charging method includes:Whether when detecting access device access mobile terminal, it is charging equipment to determine access device;If judging the access device for charging equipment, the positive port voltage of the difference port of charging equipment is read;Whether according to the positive port voltage, it is the corresponding charging equipment configured of mobile terminal to judge charging equipment;If charging equipment is the charging equipment of mobile terminal correspondence configuration, control charging equipment is charged with the first predetermined current to mobile terminal.Charging equipment is identified by the size of positive port voltage for the embodiment of the present invention, it is to avoid mobile terminal carries out quick charge using the fast charger of other producers, thus avoid occur filling stop, on fire, blast the problems such as, substantially increase security.

Description

Charging method, device and terminal
Technical field
The invention belongs to communication technical field, more particularly to a kind of charging method, device and terminal.
Background technology
With continuing to develop for mobile terminal technology, the mobile terminal of most of business men is all supported quickly to fill on the market at present Electricity Functional, and rapid nitriding is multifarious, charging modes are not quite similar, and have plenty of and use high current, have plenty of using high Voltage, actual purpose is all increase charging current to reduce the charging interval.
However, each manufacturer, which mostly corresponds to, is configured with the charger of quick charge, can referred to as fast charger, such as each manufacturer matches somebody with somebody The carrying load ability of the fast charger put, safety requirements difference etc., that is to say, that the fast charger between each manufacturer Can not be compatible, if using other producers fast charger carry out quick charge, it is possible that fill stop, it is on fire, quick-fried Fried the problems such as, security is poor.
The content of the invention
The embodiment of the present invention provides a kind of charging method, device and terminal, substantially increases charging equipment to mobile terminal The security of charging.
In a first aspect, the embodiment of the present invention provides a kind of charging method, including:
Whether when detecting access device access mobile terminal, it is charging equipment to determine the access device;
If judging the access device for charging equipment, the positive port electricity of the difference port of the charging equipment is read Pressure;
Whether according to the positive port voltage, it is that the charging that the mobile terminal correspondence is configured is set to judge the charging equipment It is standby;
If the charging equipment is the charging equipment of mobile terminal correspondence configuration, the charging equipment is controlled with the One predetermined current charges to the mobile terminal.
Second aspect, the embodiment of the present invention provides a kind of charging device, including:
First determining module, for when detecting access device access mobile terminal, whether determining the access device For charging equipment;
Read module, if for judging that the access device, for charging equipment, reads the differential ends of the charging equipment The positive port voltage of mouth;
Judge module, for according to the positive port voltage, judging whether the charging equipment is the mobile terminal pair The charging equipment that should be configured;
First charge control module, if for the charging equipment that the charging equipment is mobile terminal correspondence configuration, The charging equipment is then controlled to be charged with the first predetermined current to the mobile terminal.
The third aspect, the embodiment of the present invention provides a kind of terminal, including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs as first aspect is carried The charging method of confession.
The embodiment of the present invention, first when it is determined that access device is charging equipment, reads the difference port of the charging equipment Positive port voltage;Whether it is that the charging that mobile terminal correspondence is configured is set that the charging equipment is judged by reading positive port voltage It is standby, if so, then control charging equipment carries out quick charge with the first predetermined current to mobile terminal.I.e. the embodiment of the present invention passes through Charging equipment is identified the size of positive port voltage, it is to avoid mobile terminal is entered using the fast charger of other producers Row quick charge, thus avoid occur filling stop, it is on fire, blast the problems such as, substantially increase security.
Brief description of the drawings
Below in conjunction with the accompanying drawings, it is described in detail by the embodiment to the present invention, technical scheme will be made And other beneficial effects are apparent.
Fig. 1 is the schematic flow sheet of charging method provided in an embodiment of the present invention.
Fig. 2 is another schematic flow sheet of charging method provided in an embodiment of the present invention.
Fig. 3 is the schematic diagram of a scenario of charging method provided in an embodiment of the present invention.
Fig. 4 is the structural representation of charging device provided in an embodiment of the present invention.
Fig. 5 is another structural representation of charging device provided in an embodiment of the present invention.
Fig. 6 is the structural representation of terminal provided in an embodiment of the present invention.
Embodiment
It refer to schema, wherein identical element numbers represent identical component, principle of the invention is to implement one Illustrated in appropriate computing environment.The following description is that, based on the illustrated specific embodiment of the invention, it should not be by It is considered as the limitation present invention other specific embodiments not detailed herein.
In the following description, specific embodiment of the invention is by with reference to as the step performed by one or multi-section computer And symbol illustrates, unless otherwise stating clearly.Therefore, these steps and operation will have to mention for several times is performed by computer, this paper institutes The computer of finger, which is performed, to be included by representing with the computer processing unit of the electronic signal of the data in a structuring pattern Operation.This operation is changed at the data or the position being maintained in the memory system of the computer, and its is reconfigurable Or change the running of the computer in the way of known to the tester of this area in addition.The data structure that the data are maintained For the provider location of the internal memory, it has the particular characteristics as defined in the data format.But, the principle of the invention is with above-mentioned text Word illustrates, it is not represented as a kind of limitation, and this area tester will appreciate that plurality of step as described below and behaviour Also it may be implemented among hardware.
The principle of the present invention is grasped using many other wide usages or specific purpose computing, communication environment or configuration Make.The example of the known arithmetic system for being suitable for the present invention, environment and configuration may include the hand-held phone of (but not limited to), Personal computer, server, multicomputer system, system, body frame configuration computer and distributed arithmetic ring based on micro computer Border, which includes any said system or device.
It will be described in detail respectively below.
In the present embodiment, will be described from the angle of charging device, the charging device can with it is integrated in the terminal, such as Can be the mobile terminals such as mobile phone, tablet personal computer, palm PC (PDA, Personal Digital Assistant).
Referring to Fig. 1, Fig. 1 is the schematic flow sheet of charging method provided in an embodiment of the present invention.This method includes:
In step S101, whether when detecting access device access mobile terminal, it is charging to determine the access device Equipment.
In embodiments of the present invention, the access device can be charging equipment, can also be computer (PC, personal Computer) etc., access device can be accessed mobile whole by USB (USB, Universal Serial Bus) End.
It is understood that when access device is charging equipment, USB line is used to power to mobile terminal, when access is set During for being PC, USB line is used to transmit data-signal.
Thus, mobile terminal can be received according to USB port signal judges whether access device is charging equipment.
In some embodiments, mobile terminal detect access device access mobile terminal mode may include:Work as inspection The power bus port for measuring mobile terminal and access device is formed when electrically connect, determines access device access mobile terminal.
In step s 102, if judging access device for charging equipment, the difference port of the charging equipment is being read just Port voltage.
It is understood that mobile terminal reads the difference of the charging equipment when judging access device for charging equipment The mode of the positive port voltage of port has a lot, such as, can include:
(11) switch-over control signal is generated.
(12) built-in switching switch is triggered according to the switch-over control signal and switches over operation, with cut-out and charging equipment Difference port positive port between data transmission channel.
(13) the positive port voltage of the difference port of charging equipment is read.
Such as, be provided with first in mobile terminal a switching switch, the switching switch can be used for control mobile terminal with The data transmission channel between positive port in the difference port of charging equipment is turned on or off.Thereafter, judging that access sets During for being charging equipment, a switch-over control signal is generated, and the difference port with charging equipment is cut off according to switch-over control signal Positive port between data transmission channel, data transmission channel cut-out after, read charging equipment difference port anode Mouth voltage.
In step s 103, whether according to the positive port voltage, it is filling for mobile terminal correspondence configuration to judge charging equipment Electric equipment.
In embodiments of the present invention, mobile terminal is according to the positive port voltage, and whether judge charging equipment is mobile terminal The mode of the charging equipment of correspondence configuration has a lot, such as, it may include:
(21) judge the positive port voltage whether in corresponding predeterminated voltage is interval.
Wherein, predeterminated voltage interval is interval for the output voltage of the charging equipment of mobile terminal correspondence configuration.
It is understood that each manufacturer's mobile terminal mostly corresponds to the charging equipment for being configured with quick charge, and each manufacturer The carrying load ability, safety requirements, output voltage that fill charging equipment soon of configuration are interval also different.
(22) if judging the positive port voltage in corresponding predeterminated voltage is interval, it is determined that charging equipment is mobile terminal The charging equipment of correspondence configuration.
The present embodiment, it is mainly interval by the output voltage of charging equipment, to distinguish whether charging equipment is that each manufacturer moves The charging equipment that dynamic terminal-pair should be configured, when mobile terminal determines positive port voltage in corresponding predeterminated voltage is interval, then Charging equipment of the charging equipment for mobile terminal correspondence configuration can be determined.
In step S104, if the charging equipment is the charging equipment of mobile terminal correspondence configuration, charging equipment is controlled Mobile terminal is charged with the first predetermined current.
In embodiments of the present invention, if the charging equipment is the charging equipment of mobile terminal correspondence configuration, control charging Equipment is charged with the first predetermined current to mobile terminal, that is, represents to carry out soon mobile terminal using the charging equipment Speed charging, wherein, the first predetermined current can be determined according to the carrying load ability of charging equipment in itself, not make specific limit herein It is fixed.
In some embodiments, judge charging equipment whether be mobile terminal correspondence configuration charging equipment after, It can also include:
If the charging equipment of the charging equipment not for mobile terminal correspondence configuration, control charging equipment is with the second default electricity Stream charges to mobile terminal, and first predetermined current is more than the second predetermined current.
Represent that quick charge cannot be carried out to mobile terminal using the charging equipment, can control with the second predetermined current Mobile terminal is commonly charged, wherein, first predetermined current can determine according to the carrying load ability of charging equipment in itself It is fixed, and less than the first predetermined current, be not especially limited herein.
It is understood that term " first ", " second " in the present invention etc. is to be used to distinguish different objects, rather than use In description particular order.In addition, term " comprising " and " having " and their any deformations, it is intended that the non-exclusive bag of covering Contain.
From the foregoing, the charging method that the present embodiment is provided, first when it is determined that access device is charging equipment, reads The positive port voltage of the difference port of the charging equipment;Whether it is mobile that the charging equipment is judged by reading positive port voltage The charging equipment that terminal-pair should be configured, if so, then control charging equipment is quickly filled with the first predetermined current to mobile terminal Electricity.I.e. charging equipment is identified by the size of positive port voltage for the embodiment of the present invention, it is to avoid mobile terminal is used The fast chargers of other producers carries out quick charge, thus avoid occur filling stop, on fire, blast the problems such as, greatly improve Security.
Citing, is described in further detail by the method according to described by above-described embodiment below.
Because main flow fills that technology is incompatible soon on the market at present, each manufacturer is required for the charging equipment and fill that correspondence configures Electric means of identification, that is to say, that the charging equipment between each manufacturer can not be compatible, if filling soon using other producers Charging equipment carry out quick charge, it is possible that fill stop, it is on fire, blast the problems such as, security is poor.
Referring to Fig. 2, Fig. 2 is another schematic flow sheet of charging method provided in an embodiment of the present invention.This method includes:
In step s 201, when the power bus port for detecting mobile terminal and access device, which is formed, electrically connect, shifting Dynamic terminal determines whether the access device is charging equipment.
General, USB has four lines, VBUS, D+, D-, GND, wherein D+ (DP, Digital Positive)/D- (DM, Digital Minus) it is a pair of differential signal lines, for communication and data transfer;VBUS is power line or power bus, is used for Power supply, GND is ground wire.
Accordingly, in the present embodiment, for convenience of description, it is believed that each line is correspondingly arranged a port, such as difference is believed A pair of difference ports of number line correspondence, including the positive ports of D+ and D- negative terminals mouthful, VBUS correspondence power bus port, etc..
Such as, when detecting electric on VBUS, it is believed that mobile terminal is electrically connected with access device formation, then mobile terminal Judge the equipment that the access device is charging equipment or progress data interaction, such as PC, mobile hard disk, etc..
It is understood that in embodiments of the present invention, mobile terminal determines whether the access device of access is that charging is set Standby implementation has a lot, can be gone to realize with software or hardware,
Such as, when being realized with hardware, if insertion be USB charger when, no data on USB data wire (D+, D-); If insertion be USB line when, USB data wire has waveform, can be by hardware circuit, with a universal input/output interface The low and high level of (GPIO, General Purpose Input Output) judges.In further embodiments, it can also adopt It is configured, is not especially limited herein with software mode.
In step S202, if judging access device for charging equipment, mobile terminal generation switch-over control signal.
In step S203, mobile terminal triggers built-in switching switch according to the switch-over control signal and switches over behaviour Make, with the data transmission channel between the positive port of cut-out and the difference port of charging equipment.
In step S204, the data transfer between the positive port of the difference port of mobile terminal cut-out and charging equipment is led to Behind road, the positive port voltage of the difference port of charging equipment is read.
It is understood that being provided with switching switch in mobile terminal, switching switch can be used for control mobile eventually The data transmission channel between positive port (D+) in end and the difference port of charging equipment is turned on or off.
Such as, after it is charging equipment that mobile terminal, which judges access device, a switch-over control signal is generated, and according to cutting Data transmission channel between the positive port (D+) for the difference port for changing control signal cut-out and charging equipment is logical in data transfer After road cut-out, the positive port voltage of the difference port of charging equipment is read.
In embodiments of the present invention, switching switch can be fet switch (metal-oxide-semiconductor), as shown in figure 3, to be somebody's turn to do The schematic diagram of a scenario of charging method, wherein mobile terminal are mobile phone 22, and access device is adapter 21, the connection power supply of adapter 21 Power supply, mobile phone 22 is attached with adapter 21 by USB line 23.
First, switch-over control signal (can abbreviation CTRL signal) is defaulted as low level, i.e. adapter 21 and mobile phone 22 is connected When, the D+/D- ports of adapter 21 and the D+_1/D-_1 ports by mobile phone 22 are connected to USB interface network interface card (usb phy), Carry out the type identification of access device.
It is not computer usb if identifying it is adapter 21, as charging equipment, then switching switch 25 is controlled into CTRL Signal is drawn high, and the D+/D- ports of adapter 21 are connected to Analog-digital Converter module (ADC, Analog-to-digital Converter the voltage on D+_2 ports is read in D+_2/D-_2 ports), ADC sampling.
It is understood that because USB transmission speed is fast, the unsuitable high-frequency data of metal-oxide-semiconductor, therefore in some embodiments In, switching switch can also replace with analog switch, and data transmission channel is connected when such as switch-over control signal is drawn high, switching control Data transmission channel disconnects when signal processed is dragged down, and illustrates herein and does not constitute limitation of the invention.
In step S205, whether mobile terminal judges the positive port voltage in corresponding predeterminated voltage is interval.
Wherein, predeterminated voltage interval is interval for the output voltage of the charging equipment of mobile terminal correspondence configuration.
Such as, by judging whether D+_2 voltages are carrying the voltage range of charger, the voltage zone of charger is such as carried Between for 1.1V to 1.3V, etc..
The result judged according to step S205, if in corresponding predeterminated voltage is interval, step S206 is performed, if not existing In corresponding predeterminated voltage is interval, then step S207 is performed.
In step S206, if judging the positive port voltage in corresponding predeterminated voltage is interval, mobile terminal control is filled Electric equipment is charged with the first predetermined current to mobile terminal.
In step S207, if the charging equipment of the charging equipment not for mobile terminal correspondence configuration, mobile terminal control Charging equipment is charged with the second predetermined current to mobile terminal, and first predetermined current is more than the second predetermined current.
In one embodiment, if judging, the positive port voltage in corresponding predeterminated voltage is interval, can be represented The charging equipment that the charging equipment of access configures for mobile terminal correspondence, so as to allow the charging equipment default with first Electric current carries out quick charge to mobile terminal.
In another embodiment, can be with if judging the positive port voltage not in corresponding predeterminated voltage is interval The charging equipment that the charging equipment accessed does not configure for mobile terminal correspondence is represented, from without allowing the charging equipment to mobile whole End carries out quick charge, and control is commonly charged with the second predetermined current to mobile terminal.
It is understood that the specific size of the first predetermined current and the second predetermined current can be according to charging equipment in itself Carrying load ability is determined;Wherein, carrying load ability can refer to the size of the output resistance of circuit, and voltage source (current source) In internal resistance, i.e., after external device, the impregnable ability of voltage or size of current of output.
Need to meet three elements it should be noted that to realize on mobile phone and fill charge function soon herein, three is indispensable. Charging equipment, battery, charge integrated circuit charge IC.Charging equipment needs to meet enough output current and output electricity Pressure, because the cabling of charging equipment has very big dead resistance, if to realize larger charging current, the band of charging equipment is carried Output voltage needs higher.
Such as, it is assumed that the carrying load ability for carrying charging equipment of mobile terminal is 2A, if it is determined that not being to carry charging Equipment, then do not allow to fill soon, and sets the general maximum current that rushes as 1A;If it is determined that being to carry charging equipment, then allow to the shifting Dynamic terminal charged with 2A high currents.
From the foregoing, the charging method that the present embodiment is provided, first when it is determined that access device is charging equipment, reads The positive port voltage of the difference port of the charging equipment;Whether it is mobile that the charging equipment is judged by reading positive port voltage The charging equipment that terminal-pair should be configured, if so, then control charging equipment is quickly filled with the first predetermined current to mobile terminal Electricity;Such as, control switching switch, turn-off data transmission channel, charging equipment D+/D- ports are connected to Analog-digital Converter module The voltage on D+_2 ports is read in D+_2/D-_2 ports, ADC sampling.I.e. the embodiment of the present invention passes through positive port voltage Charging equipment is identified size, it is to avoid mobile terminal using the fast charger of other producers carries out quick charge, So as to avoid occur filling stop, it is on fire, blast the problems such as, substantially increase security.
For ease of preferably implementing charging method provided in an embodiment of the present invention, the embodiment of the present invention also provides one kind and is based on The device and terminal of above-mentioned charging method.Wherein the implication of noun is identical with the method that above-mentioned mobile terminal charges, specifically Realize that details may be referred to the explanation in embodiment of the method.
Referring to Fig. 4, Fig. 4 is the structural representation of charging device provided in an embodiment of the present invention, the charging device 300 can With including the first determining module 301, read module 302, the charge control module 304 of judge module 303 and first.
Wherein the first determining module 301, for when detecting access device access mobile terminal, determining the access device Whether it is charging equipment.
In embodiments of the present invention, the access device can be charging equipment, can also be computer PC etc., access device Mobile terminal can be accessed by general-purpose serial bus USB.
It is understood that when access device is charging equipment, USB line is used to power to mobile terminal, when access is set During for being PC, USB line is used to transmit data-signal.
Thus, mobile terminal can be received according to USB port signal judges whether access device is charging equipment.
Read module 302, if for judging access device for charging equipment, reading the difference port of the charging equipment Positive port voltage.Judge module 303, for according to the positive port voltage, judging whether charging equipment is that mobile terminal correspondence is matched somebody with somebody The charging equipment put.
First charge control module 304, if for the charging equipment that the charging equipment is mobile terminal correspondence configuration, controlling Charging equipment processed is charged with the first predetermined current to mobile terminal.
In embodiments of the present invention, if the charging equipment is the charging equipment of mobile terminal correspondence configuration, control charging Equipment is charged with the first predetermined current to mobile terminal, that is, represents to carry out soon mobile terminal using the charging equipment Speed charging, wherein, the first predetermined current can be determined according to the carrying load ability of charging equipment in itself, not make specific limit herein It is fixed.
Please refer to fig. 5, Fig. 5 is the structural representation of charging device 400 provided in an embodiment of the present invention;It is appreciated that , read module 302 is when judging access device for charging equipment, and the positive port for reading the difference port of the charging equipment is electric The mode of pressure has a lot, e.g., and read module 302 can include in the charging device 400:
Submodule 3021 is generated, for generating switch-over control signal.
Switching submodule 3022, behaviour is switched over for triggering built-in switching switch according to the switch-over control signal Make, with the data transmission channel between the positive port of cut-out and the difference port of charging equipment.
Reading submodule 3023, the positive port voltage of the difference port for reading the charging equipment.
Such as, be provided with first in mobile terminal a switching switch, the switching switch can be used for control mobile terminal with The data transmission channel between positive port in the difference port of charging equipment is turned on or off.Thereafter, judging that access sets During for being charging equipment, a switch-over control signal is generated, and the difference port with charging equipment is cut off according to switch-over control signal Positive port between data transmission channel, data transmission channel cut-out after, read charging equipment difference port anode Mouth voltage.
In embodiments of the present invention, judge module 303 is according to the positive port voltage, and whether judge charging equipment is mobile whole The mode of the charging equipment of end correspondence configuration has a lot, as shown in figure 5, judge module 303 can be wrapped in the charging device 400 Include:
First judging submodule 3031, for judging the positive port voltage whether in corresponding predeterminated voltage is interval, The predeterminated voltage interval is interval for the output voltage of the charging equipment of mobile terminal correspondence configuration.
Determination sub-module 3032, if for judging the positive port voltage in corresponding predeterminated voltage is interval, it is determined that The charging equipment is the charging equipment of mobile terminal correspondence configuration.
It is understood that each manufacturer's mobile terminal mostly corresponds to the charging equipment for being configured with quick charge, and each manufacturer The carrying load ability, safety requirements, output voltage that fill charging equipment soon of configuration are interval also different.
The present embodiment, it is mainly interval by the output voltage of charging equipment, to distinguish whether charging equipment is that each manufacturer moves The charging equipment that dynamic terminal-pair should be configured, when mobile terminal determines positive port voltage in corresponding predeterminated voltage is interval, then Charging equipment of the charging equipment for mobile terminal correspondence configuration can be determined.
As shown in figure 5, the charging device 400 can also include:
Second charge control module 305, if the charging for the charging equipment not for mobile terminal correspondence configuration Equipment, then control the charging equipment to be charged with the second predetermined current to the mobile terminal, first predetermined current More than second predetermined current.
Represent that quick charge cannot be carried out to mobile terminal using the charging equipment, can control with the second predetermined current Mobile terminal is commonly charged, wherein, first predetermined current can determine according to the carrying load ability of charging equipment in itself It is fixed, and less than the first predetermined current, be not especially limited herein.
In some embodiments, the charging device 400 also includes:Second determining module 306, movement is detected for working as When terminal is electrically connected with the power bus port formation of access device, determine that access device accesses mobile terminal.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made Realized for same or several entities, the specific implementation of above modules can be found in embodiment of the method above, herein not Repeat again.
The charging device can with it is integrated in the terminal, such as mobile phone, tablet personal computer, palm PC PDA mobile terminals
From the foregoing, the charging device that the present embodiment is provided, first when it is determined that access device is charging equipment, reads The positive port voltage of the difference port of the charging equipment;Whether it is mobile that the charging equipment is judged by reading positive port voltage The charging equipment that terminal-pair should be configured, if so, then control charging equipment is quickly filled with the first predetermined current to mobile terminal Electricity.I.e. charging equipment is identified by the size of positive port voltage for the embodiment of the present invention, it is to avoid mobile terminal is used The fast chargers of other producers carries out quick charge, thus avoid occur filling stop, on fire, blast the problems such as, greatly improve Security.
The present invention also provides a kind of terminal, and wherein the terminal may include mobile terminal, such as mobile phone, tablet personal computer, palm electricity Brain PDA etc., referring to Fig. 6, Fig. 6 is terminal structure schematic diagram provided in an embodiment of the present invention.The terminal 500 can include one Individual or more than one computer-readable recording medium memory 501, sensor 502, input block 503, display unit 504, And include one or the grade part of processor 505 of more than one processing core.It will be understood by those skilled in the art that figure The restriction of the terminal structure shown in 6 not structure paired terminal, can be included than illustrating more or less parts, or combination Some parts, or different part arrangements.
Memory 501 can be used for storage application program and data.Include and can hold in the application program that memory 501 is stored Line code.Application program can constitute various functions module.Processor 505 is stored in the application journey of memory 501 by operation Sequence, so as to perform various function application and data processing.In addition, memory 501 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 volatile solid-states are deposited Memory device.Correspondingly, memory 501 can also include Memory Controller, to provide 503 pairs of processor 505 and input block The access of memory 501.
Terminal may also include at least one sensor 502, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear Light.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) acceleration Size, can detect that size and the direction of gravity when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be repeated here.
Input block 503 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and Keyboard, mouse, action bars, optics or the trace ball signal relevant with user's setting and function control is produced to input.Specifically Ground, in a specific embodiment, input block 503 may include touch sensitive surface and other input equipments.Touch sensitive surface, Referred to as touch display screen or Trackpad, collect user on or near it touch operation (such as user using finger, touch The operations of any suitable object or annex on touch sensitive surface or near touch sensitive surface such as pen), and according to set in advance Formula drives corresponding attachment means.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller. Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation is brought, and transmits a signal to touch Controller;Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processing Device 505, and the order sent of reception processing device 505 and can be performed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray And the polytype such as surface acoustic wave realizes touch sensitive surface.Except touch sensitive surface, input block 503 can also include other inputs Equipment.Specifically, other input equipments can include but is not limited to physical keyboard, function key (such as volume control button, switch Button etc.), fingerprint recognition module, trace ball, mouse, the one or more in action bars etc..
Display unit 504 can be used for the various of the information that is inputted by user of display or the information for being supplied to user and terminal Graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.Display Unit 504 may include display panel.Optionally, can using liquid crystal display (LCD, Liquid Crystal Display), The forms such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configure display panel.Further , touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it, send processing to Device 505 is provided accordingly on a display panel with determining the type of touch event with preprocessor 505 according to the type of touch event Visual output.Although in figure 6, touch sensitive surface is that input is realized as two independent parts and is inputted with display panel Function, but in some embodiments it is possible to by touch sensitive surface and display panel it is integrated and realize input and output function.
Processor 505 is the control centre of terminal, using various interfaces and the various pieces of the whole terminal of connection, is led to Cross operation or perform the application program being stored in memory 501, and call the data being stored in memory 501, perform The various functions and processing data of terminal, so as to carry out integral monitoring to terminal.Optionally, processor 505 may include one or Multiple processing cores;It is preferred that, processor 505 can integrated application processor and modem processor, wherein, application processor Main processing operating system, user interface and application program etc..
Although not shown in Fig. 6, terminal can also include camera, bluetooth module, power supply etc., will not be repeated here.
Specifically in the present embodiment, processor 505 in mobile terminal can according to following instruction, by one or one with On the corresponding executable code of process of application program be loaded into memory 501, and by processor 505 is stored in run Application program in memory 501, so as to realize various functions:
Whether when detecting access device access mobile terminal, it is charging equipment to determine the access device;Should if judging Access device is charging equipment, then reads the positive port voltage of the difference port of the charging equipment;According to the positive port voltage, sentence Whether the disconnected charging equipment is the corresponding charging equipment configured of the mobile terminal;If the charging equipment is the mobile terminal, correspondence is matched somebody with somebody The charging equipment put, then control the charging equipment to be charged with the first predetermined current to the mobile terminal.
In some embodiments, processor 505 is according to the positive port voltage, and whether judge the charging equipment is the movement During the charging equipment that terminal-pair should be configured, including:
The positive port voltage is judged whether in corresponding predeterminated voltage is interval, and predeterminated voltage interval is mobile terminal pair The output voltage for the charging equipment that should be configured is interval;If judging the positive port voltage in corresponding predeterminated voltage is interval, really The fixed charging equipment is the charging equipment of mobile terminal correspondence configuration.
Further, processor 505 is judging whether the charging equipment is the corresponding charging equipment configured of the mobile terminal Afterwards, it can also include:
If the charging equipment of the charging equipment not for mobile terminal correspondence configuration, controls the charging equipment pre- with second If electric current charges to the mobile terminal, first predetermined current is more than second predetermined current.
In some embodiments, processor 505 reads the positive port voltage of the difference port of the charging equipment, can wrap Include:Generate switch-over control signal;Built-in switching switch is triggered according to the switch-over control signal and switches over operation, to cut off and Data transmission channel between the positive port of the difference port of charging equipment, and read the anode of the difference port of the charging equipment Mouth voltage.
In some embodiments, processor 505 detects access device access mobile terminal and can included:
When the power bus port for detecting mobile terminal and access device, which is formed, electrically connect, access device access is determined Mobile terminal.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, the detailed description above with respect to charging method is may refer to, here is omitted.
The charging device provided in an embodiment of the present invention is for example computer, tablet personal computer, the hand with touch function Charging method in machine etc., the charging device and foregoing embodiments belongs to same design, can be with the charging device The either method provided in the charging method embodiment is run, it implements process and refers to the charging method embodiment, Here is omitted.
It should be noted that for charging method of the present invention, this area common test personnel are appreciated that to realize All or part of flow of charging method described in the embodiment of the present invention, can be by computer program to control the hardware of correlation To complete, the computer program can be stored in a computer read/write memory medium, be such as stored in the storage of mobile terminal In device, and by least one computing device in the mobile terminal, charging method as described is may include in the process of implementation The flow of embodiment.Wherein, described storage medium can be magnetic disc, CD, read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory) etc..
For the charging device of the embodiment of the present invention, its each functional module can be integrated in a process chip In or modules be individually physically present, can also two or more modules be integrated in a module.It is above-mentioned Integrated module can both be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.It is described integrated If module realized using in the form of software function module and as independent production marketing or in use, one can also be stored in In individual computer read/write memory medium, the storage medium is for example read-only storage, disk or CD etc..
A kind of charging method, device and the mobile terminal provided above the embodiment of the present invention is described in detail, Specific case used herein is set forth to the principle and embodiment of the present invention, and the explanation of above example is to use Understand the method and its core concept of the present invention in help;Simultaneously for those skilled in the art, the think of according to the present invention Think, will change in specific embodiments and applications, in summary, this specification content should not be construed as pair The limitation of the present invention.

Claims (11)

1. a kind of charging method, it is characterised in that including:
Whether when detecting access device access mobile terminal, it is charging equipment to determine the access device;
If judging the access device for charging equipment, the positive port voltage of the difference port of the charging equipment is read;
Whether according to the positive port voltage, it is the corresponding charging equipment configured of the mobile terminal to judge the charging equipment;
If the charging equipment is the charging equipment of mobile terminal correspondence configuration, control the charging equipment pre- with first If electric current charges to the mobile terminal.
2. charging method according to claim 1, it is characterised in that described according to the positive port voltage, judges described Whether charging equipment is that the charging equipment that the mobile terminal correspondence is configured includes:
The positive port voltage is judged whether in corresponding predeterminated voltage is interval, and the predeterminated voltage interval is mobile terminal pair The output voltage for the charging equipment that should be configured is interval;
If judging the positive port voltage in corresponding predeterminated voltage is interval, it is determined that the charging equipment is described mobile whole The charging equipment of end correspondence configuration.
3. charging method according to claim 1, it is characterised in that described to judge whether the charging equipment is the shifting After the charging equipment that dynamic terminal-pair should be configured, in addition to:
If the charging equipment of the charging equipment not for mobile terminal correspondence configuration, controls the charging equipment with second Predetermined current charges to the mobile terminal, and first predetermined current is more than second predetermined current.
4. the charging method according to any one of claims 1 to 3, it is characterised in that the reading charging equipment The positive port voltage of difference port, including:
Generate switch-over control signal;
Built-in switching switch is triggered according to the switch-over control signal and switches over operation, to cut off the difference with charging equipment Data transmission channel between the positive port of port, and read the positive port voltage of the difference port of the charging equipment.
5. the charging method according to any one of claims 1 to 3, it is characterised in that described to detect access device access Mobile terminal includes:
When the power bus port for detecting mobile terminal and access device, which is formed, electrically connect, determine that access device access is moved Terminal.
6. a kind of charging device, it is characterised in that including:
First determining module, for whether when detecting access device access mobile terminal, it to be to fill to determine the access device Electric equipment;
Read module, if for judging the access device for charging equipment, reading the difference port of the charging equipment Positive port voltage;
Judge module, for according to the positive port voltage, judging whether the charging equipment is that the mobile terminal correspondence is matched somebody with somebody The charging equipment put;
First charge control module, if for the charging equipment that the charging equipment is mobile terminal correspondence configuration, controlling The charging equipment is made to charge to the mobile terminal with the first predetermined current.
7. charging device according to claim 6, it is characterised in that the judge module includes:
First judging submodule, it is described default for judging the positive port voltage whether in corresponding predeterminated voltage is interval Voltage range is that the output voltage of the charging equipment of mobile terminal correspondence configuration is interval;
Determination sub-module, if for judging the positive port voltage in corresponding predeterminated voltage is interval, it is determined that the charging Equipment is the charging equipment of mobile terminal correspondence configuration.
8. charging device according to claim 6, it is characterised in that described device also includes:
Second charge control module, if the charging equipment for the charging equipment not for mobile terminal correspondence configuration, The charging equipment is controlled to be charged with the second predetermined current to the mobile terminal, first predetermined current is more than described Second predetermined current.
9. the charging device according to any one of claim 6 to 8, it is characterised in that the read module includes:
Submodule is generated, for generating switch-over control signal;
Switching submodule, switches over operation, to cut off for triggering built-in switching switch according to the switch-over control signal Data transmission channel between the positive port of the difference port of charging equipment;
Reading submodule, the positive port voltage of the difference port for reading the charging equipment.
10. the charging device according to any one of claim 6 to 8, it is characterised in that described device also includes:
Second determining module, for when the power bus port for detecting mobile terminal and access device forms and electrically connected, really Determine access device access mobile terminal.
11. a kind of terminal, it is characterised in that including:
Be stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, performs such as claim 1 to right It is required that the method described in 5 any one.
CN201710026294.9A 2017-01-13 2017-01-13 Charging method, device and terminal Active CN107069844B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710026294.9A CN107069844B (en) 2017-01-13 2017-01-13 Charging method, device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710026294.9A CN107069844B (en) 2017-01-13 2017-01-13 Charging method, device and terminal

Publications (2)

Publication Number Publication Date
CN107069844A true CN107069844A (en) 2017-08-18
CN107069844B CN107069844B (en) 2019-07-16

Family

ID=59598523

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710026294.9A Active CN107069844B (en) 2017-01-13 2017-01-13 Charging method, device and terminal

Country Status (1)

Country Link
CN (1) CN107069844B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109546705A (en) * 2018-11-29 2019-03-29 北京羽扇智信息科技有限公司 Terminal device and its method, apparatus of charging and communication
CN112821506A (en) * 2021-02-02 2021-05-18 惠州Tcl移动通信有限公司 Mobile terminal charging control method and device, storage medium and mobile terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103779945A (en) * 2014-02-24 2014-05-07 联想(北京)有限公司 Charging control method, controller, charger and charging system
US20150035475A1 (en) * 2013-08-05 2015-02-05 O2Micro Inc. Systems and Methods for Identifying and Monitoring a Battery Charger
CN104467109A (en) * 2014-12-24 2015-03-25 广东欧珀移动通信有限公司 Method for supplying power to electronic equipment and electronic equipment
CN104796011A (en) * 2014-01-21 2015-07-22 中兴通讯股份有限公司 Charging method, AC adapter, charging managing device and terminal
CN105098900A (en) * 2015-08-05 2015-11-25 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
CN205355831U (en) * 2015-09-01 2016-06-29 深圳维普创新科技有限公司 Charge control module
CN106100025A (en) * 2016-06-24 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of charge protector, charge protection method and mobile terminal
CN106230070A (en) * 2016-08-31 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of charging method and device
CN106292977A (en) * 2016-07-26 2017-01-04 广东欧珀移动通信有限公司 A kind of adapter recognition methods and terminal

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150035475A1 (en) * 2013-08-05 2015-02-05 O2Micro Inc. Systems and Methods for Identifying and Monitoring a Battery Charger
CN104796011A (en) * 2014-01-21 2015-07-22 中兴通讯股份有限公司 Charging method, AC adapter, charging managing device and terminal
CN103779945A (en) * 2014-02-24 2014-05-07 联想(北京)有限公司 Charging control method, controller, charger and charging system
CN104467109A (en) * 2014-12-24 2015-03-25 广东欧珀移动通信有限公司 Method for supplying power to electronic equipment and electronic equipment
CN105098900A (en) * 2015-08-05 2015-11-25 青岛海信移动通信技术股份有限公司 Mobile terminal, direct charging power adapter and charging method
CN205355831U (en) * 2015-09-01 2016-06-29 深圳维普创新科技有限公司 Charge control module
CN106100025A (en) * 2016-06-24 2016-11-09 青岛海信移动通信技术股份有限公司 A kind of charge protector, charge protection method and mobile terminal
CN106292977A (en) * 2016-07-26 2017-01-04 广东欧珀移动通信有限公司 A kind of adapter recognition methods and terminal
CN106230070A (en) * 2016-08-31 2016-12-14 宇龙计算机通信科技(深圳)有限公司 A kind of charging method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109546705A (en) * 2018-11-29 2019-03-29 北京羽扇智信息科技有限公司 Terminal device and its method, apparatus of charging and communication
CN112821506A (en) * 2021-02-02 2021-05-18 惠州Tcl移动通信有限公司 Mobile terminal charging control method and device, storage medium and mobile terminal
CN112821506B (en) * 2021-02-02 2023-10-20 山东奥德智慧新能源有限公司 Mobile terminal charging control method and device, storage medium and mobile terminal

Also Published As

Publication number Publication date
CN107069844B (en) 2019-07-16

Similar Documents

Publication Publication Date Title
KR101625884B1 (en) Mobile terminal and operation control method thereof
CN107147453A (en) Processing method, device, storage medium and the terminal of Radio frequency interference
JP6068660B2 (en) Character selection method, character selection device, terminal device, program, and recording medium
CN109062464B (en) Touch operation method and device, storage medium and electronic equipment
CN107609439A (en) Processing method, device, storage medium and the terminal of Radio frequency interference
CN108536055B (en) A kind of mobile terminal and detection method
WO2021109931A1 (en) Touch control method and wearable device
CN107145386B (en) Data migration method, terminal device and computer readable storage medium
CN109871246A (en) A kind of message display method and terminal device
CN109508114A (en) A kind of touch-control circuit, touch panel and mobile terminal
US20230291827A1 (en) Screen state control method and apparatus, and storage medium
CN104914999A (en) Method for controlling equipment and wearable equipment
CN109067981A (en) Split screen application switching method, device, storage medium and electronic equipment
CN109814786A (en) Image storage method and terminal device
CN107276685A (en) Processing method, device, storage medium and the terminal of Radio frequency interference
CN107219951A (en) Touch screen control method, device, storage medium and terminal device
CN108920040A (en) A kind of application icon method for sorting and mobile terminal
CN108897482A (en) A kind of information display method and terminal device
CN105867822A (en) Information processing method and electronic equipment
CN108388354A (en) A kind of display methods and mobile terminal in input method candidate area domain
CN108108113A (en) Webpage switching method and device
CN107069844B (en) Charging method, device and terminal
CN103888596A (en) Terminal voice mode switching method and device, and terminal
CN110162234A (en) A kind of application control method and terminal device
CN109857317A (en) A kind of control method and terminal device of terminal device

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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant