CN107832638A - The method and terminal of a kind of terminal charge - Google Patents

The method and terminal of a kind of terminal charge Download PDF

Info

Publication number
CN107832638A
CN107832638A CN201711122612.8A CN201711122612A CN107832638A CN 107832638 A CN107832638 A CN 107832638A CN 201711122612 A CN201711122612 A CN 201711122612A CN 107832638 A CN107832638 A CN 107832638A
Authority
CN
China
Prior art keywords
terminal
main frame
usb
resistance
vbus
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
Application number
CN201711122612.8A
Other languages
Chinese (zh)
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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications Technology Co 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201711122612.8A priority Critical patent/CN107832638A/en
Publication of CN107832638A publication Critical patent/CN107832638A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/85Protecting input, output or interconnection devices interconnection devices, e.g. bus-connected or in-line devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4086Bus impedance matching, e.g. termination
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]

Abstract

The invention discloses a kind of method of terminal charge and terminal, to solve the problems, such as that electronic equipment in the prior art has the risk that user profile reveals by USB chargings.When being charged by USB interface, the VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have control source, the enabled closings of USB, main frame only charges to the terminal of insertion, when user needs to carry out data transmission, terminal pulls up the resistance for notifying main frame again, carries out data transmission.Due to when terminal is linked into host device in the embodiment of the present invention, USB is closed to enable, only carry out terminal charge, without pulling up the resistance for being used for notifying main frame, it can so cause terminal when being charged by USB, terminal can not be enumerated it is i.e. chargeable, so, it is possible to achieve only charge function and can avoids facility information from revealing.

Description

The method and terminal of a kind of terminal charge
Technical field
The present invention relates to electronic device field, the method and terminal of more particularly to a kind of terminal charge.
Background technology
USB (Universal Serial Bus, USB) is an external bus standard, for specification computer It is to apply the interface skill in PC (personal computer, personal computer) field with being connected and communicate with for external equipment Art.The plug and play and warm connection function of USB interface holding equipment.
USB, which is one, makes computer peripheral equipment connection standard, the interface of unification.USB occur purpose be by with Numerous ancillary equipment access personal computers that computer hardware rapid development occurs.These ancillary equipment have keyboard, mouse Mark, modem, printer etc..
At present, after electronic equipment is connected with PC, it can carry out data transmission or be charged.But in usb data After being transmitted, charging current can reduce, and cause charging rate slack-off.On the other hand, can also while charging due to USB Carry out data connection, at the train station or waiting hall for airplanes etc. it is some it is specific in the case of, user only needs charge function, but due to USB chargings can be realized simultaneously with data transfer, therefore easily cause the user profile on electronic equipment to be revealed.
In summary, by USB chargings there is the problem of risk that user profile is revealed in electronic equipment.
The content of the invention
The present invention provides a kind of method and terminal of terminal charge, passes through USB to solve electronic equipment in the prior art The risk problem of user profile leakage be present in charging.
The embodiment of the present invention provides a kind of terminal charging method, and this method includes:
The VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have control source, the enabled closings of USB;
The terminal receives the instruction carried out data transmission by USB port main frame, and the device controller of terminal is started, And upper pulling process being carried out for the resistance for notifying main frame, notice main frame has equipment access.
The embodiment of the present invention provides a kind of terminal, and the terminal includes:
At least one processing unit and at least one memory cell, wherein, the memory cell has program stored therein code, When described program code is performed by the processing unit so that the processing unit performs following process:
There is control source in the VBUS pins for monitoring general-purpose serial bus USB mouth, the enabled closings of USB;Receiving The instruction carried out data transmission by USB port main frame, upper pulling process will be carried out for the resistance for notifying main frame, notice main frame is set Standby access.
The embodiment of the present invention provides a kind of terminal, and the terminal includes:
Monitoring module, for monitoring that the VBUS pins of general-purpose serial bus USB mouth have control source, USB is enabled pass Close;
Operation module, for receiving the instruction carried out data transmission by USB port main frame, by the electricity for notifying main frame Resistance carries out pulling process, and notice main frame has equipment access.
When being charged by USB interface, the VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have voltage defeated Enter, close USB is enabled, main frame only charges to the terminal of insertion, when user needs to carry out data transmission, terminal again on The resistance for notifying main frame is drawn, is carried out data transmission.Due to when terminal is linked into host device in the embodiment of the present invention, closing USB is enabled, and only carries out terminal charge, without pulling up the resistance for being used for notifying main frame, so terminal can be caused to pass through USB During charging, terminal can not be enumerated it is i.e. chargeable, so, it is possible to achieve only charge function and can avoids facility information from revealing.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, it can also be obtained according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of terminal charging method schematic flow sheet of the embodiment of the present invention;
Fig. 2 is main frame identification terminal equipment principle schematic of the embodiment of the present invention;
Fig. 3 is the structural representation of the first terminal of the embodiment of the present invention;
Fig. 4 is the structural representation of second of terminal of the embodiment of the present invention;
Fig. 5 is the detailed process schematic diagram of terminal charging method of the embodiment of the present invention.
Embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, the present invention is made below in conjunction with accompanying drawing into One step it is described in detail, it is clear that the described embodiment only a part of embodiment of the present invention, rather than whole implementation Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the present invention provides a kind of method to be charged, this method includes:
Step 100:The VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have control source, and USB is enabled pass Close;
Step 101:Terminal receives the instruction carried out data transmission by USB port main frame, by the electricity for notifying main frame Resistance carries out pulling process, and notice main frame has equipment access.
When being charged by USB interface, the VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have voltage defeated Enter, close USB is enabled, main frame only charges to the terminal of insertion, when user needs to carry out data transmission, terminal again on The resistance for notifying main frame is drawn, is carried out data transmission.Due to when terminal is linked into host device in the embodiment of the present invention, closing USB is enabled, and only carries out terminal charge, without pulling up the resistance for being used for notifying main frame, so terminal can be caused to pass through USB During charging, terminal can not be enumerated it is i.e. chargeable, so, it is possible to achieve only charge function and can avoids facility information from revealing.
Wherein, it can be carried out data transmission by USB port with terminal, can also be charged, closed when terminal enables USB When, USB only possesses charge function, it is impossible to carries out data transmission.
In addition, terminal for notifying that the resistance of main frame carries out upper pulling process is carried out by the device controller of terminal.
As shown in Fig. 2 for notifying that the resistance of main frame is a resistance Ru on terminal inner data line D+.Work as end End is with main frame when will carry out data transmission, and the device controller of terminal is started and by the resistance for notifying main frame by terminal Draw, then notify main frame to have equipment access, and then carry out equipment identification, and carry out data transmission.
Optionally, after the VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have control source, it is determined that current Charge type is SDP (standard down interface, Standard Downstream Port) type.
In the embodiment of the present invention, terminal after being connected by USB port with main frame, it is necessary to detected to charge type, when It is SDP type to detect current charge type, then is charged according to the charging current of setting by USB port.At this In inventive embodiments, the charge type of terminal detection main frame is filled with determining whether current interface type is applicable terminal in the present invention The method of electricity.
Wherein, SDP is desktop computer and the common typical port of notebook computer, the port phase defined with the specifications of USB 2.0 Together.In not connected resting state, maximum load current 2.5mA, it is 100mA to have connected load current under non-resting state, Maximum load current is 500mA under configured non-resting state.Equipment is needed by hardware identification SDP, USB data line D+ and D- It is grounded respectively by 15k Ω, but still needs to enumerate, meets USB.
, can be to the electricity of one 0.6V of loading or so on D+ after terminal is inserted into USB interface when examining usb type Pressure, then, terminal start to detect the voltage on D- lines, and the voltage for whether having 0.6V on detection data wire D- is responded, do not responded Then determine to identify that inserted usb type is SDP.Such terminal may recognize that inserted usb type.
In implementation, charge type can also be CDP (Charging Downstream Port, charge downlink port).CDP It is to be based on agreement BC1.1 as new USB port as defined in PC, notebook computer and the charging of other hardware.At present, CDP can provide height Up to 1.5A electric currents.It can so realize large current charge without carrying out data transmission.
Wherein, BC1.1 agreements are a kind of USB charge protocols.The three kinds of different types of chargings of BC1.1 agreement main definitions Type:SDP, CDP, DCP (Dedicated Charging Port, special charging port).
Terminal can be taken not after it is determined that current charge type is applied to the present invention program according to the difference of USB interface Same scheme carries out terminal charge.
Optionally, after it is determined that current charge type is standard down interface SDP type, if terminal passes through USB2.0 It is connected with main frame, then the terminal is charged according to the charging current maximum of setting by USB port.
In the embodiment of the present invention, when electronic equipment determines to be charged by USB2.0 interfaces, by according to the charging of setting Current maxima is charged by USB port to terminal, in this way, can enable the terminal to complete charging process faster, will Battery is full of.
Illustrated below so that charge type is charged between PC and mobile phone by SDP charge types as an example.
In implementation, mobile phone has 5V input on VBUS (BUS Voltage, bus voltage) line is detected, identifies simultaneously When to go out institute's connecting interface be USB2.0, D+ and D- can be operated and perform electric current charge protocol, charge protocol performed after by charge type Type reports the USB applications in mobile phone.If SDP, charging current can be arranged to 500mA while notify in mobile phone by mobile phone USB application mobile phones are already connected to PC ends.After USB applications in mobile phone receive the information for having connected PC ends, USB can be ejected immediately Message column, it now can only charge and can not carry out data transmission between mobile phone and PC.
Wherein, the USB applications in mobile phone are the operation programs of interior of mobile phone, and the message at PC ends is already connected to when it is received When, USB message column can be ejected immediately, for selection by the user required function.
There is USB attribute configuration information in USB message column, if user has the demand carried out data transmission to pass through message Column issues attribute configuration USB attribute configuration, and after the completion of configuration, terminal starts device controller, then pulls up on USB D+ Be used for notify the resistance of main frame, now main frame is detectable new USB device, and terminal is enumerated.
The value that the charging current of terminal is set can be taking human as modification, but maximum cannot can be provided more than USB2.0 interfaces Maximum current.
At present, all there is USB3.0 interfaces on substantial amounts of computer, and USB3.0 interfaces can provide at least 1A charging current, Therefore the embodiments of the invention provide corresponding scheme.
Optionally, after it is determined that current charge type is standard down interface SDP type, if terminal passes through USB3.0 It is connected with main frame, then terminal is charged by USB port, and is stepped up the current value to charge according to the step value of setting, together When bus voltage VBUS magnitude of voltage is monitored;If VBUS magnitude of voltage is less than given threshold, terminal stops increase and filled The current value of electricity.
In the embodiment of the present invention, when the data-interface of main frame and terminal room is USB3.0, terminal first connects according to USB2.0 The maximum for providing electric current of mouth is charged, and the current value of charging is then stepped up according to the step value of setting, until Bus voltage VBUS magnitude of voltage is not further added by after being less than given threshold, and terminal is terminal charge according to electric current after increase afterwards, Until battery is full of.In this way, when USB interface has the ability to provide bigger charging current, use corresponding charging scheme can be with The bigger charging ability using USB, compared with the USB2.0 chargings further time for reducing charging.
Illustrated below so that charge type is charged between PC and mobile phone by SDP charge types as an example, wherein assuming to work as When output current reaches 1A, VBUS is begun to decline, and the threshold value that VBUS is set is 4.5V, and now output current is 1.2A.
In the embodiment of the present invention, mobile phone has 5V input on VBUS lines are detected, while identifies that institute's connecting interface is During USB3.0, D+ and D- can be operated and perform electric current charge protocol, charge type reports charge type in mobile phone after having performed USB application.If SDP, charging current can be arranged to 500mA while notify USB applications mobile phone in mobile phone by mobile phone It is connected to PC ends.After USB applications in mobile phone receive the information for having connected PC ends, USB message column can be ejected immediately, now hand Machine is started to charge up without carrying out data transmission with PC.Then, mobile phone operation automatically enters current limliting, and the current value of charging is according to setting Step value be stepped up, while mobile phone is monitored to the voltage on VBUS, and when charging current reaches 1A, PC ends can not carry For corresponding electric current, the voltage on VBUS is begun to decline, when the voltage on monitoring mobile phone to VBUS reaches 4.5V, charging current Not to be further added by, remain stable, now charging current is 1.2A.Hereafter PC ends charge the phone 1.2A charging current, directly It is full of to battery of mobile phone.
When user is having the demand of data transfer in by USB charging processes, terminal starting device controller, and will use Upper pulling process is carried out in the resistance of notice main frame, and notice main frame has an equipment access, and USB resume data transmissions are complete in data transfer Cheng Hou, terminal can take no action to that, by for notifying the resistance of main frame to be maintained at pull-up state, terminal and master can also be recovered The pattern only to be charged between machine.
Optionally, the instruction that carries out data transmission by USB port main frame is being received, by for notifying the resistance of main frame to enter Pulling process on row, notice main frame have an equipment access, and after completing data transfer by USB port and main frame, terminal will be used to notify The resistance of main frame carries out pulling operation.
In the embodiment of the present invention, terminal is complete with main frame by USB port by for notifying the resistance of main frame to carry out upper pulling process Into data transfer, upon completion of the transmission again by for notifying the resistance of main frame to carry out pulling operation.In this way, filled in main frame to terminal If the requirement of data transfer, terminal can be by pulling up and pulling down for notifying the resistance of main frame quick in the process of electricity Realize the data transfer between terminal and main frame.
Illustrated below so that charge type is charged between PC and mobile phone by SDP charge types as an example.
Quick charge is realized between PC ends and mobile phone, now user has the demand of data transfer, and user is in usb data column The option of data transfer is selected, starts device controller after then mobile phone is instructed, and by the resistance for notifying main frame Pulling process is carried out, then notifies main frame to have equipment to access and further identifies as mobile phone, then carried out between PC ends and mobile phone Data transfer, after the completion of data transfer, mobile phone pulls down the resistance for notifying main frame, mobile phone pass hull closure controller.Now PC Recover only charge mode between mobile phone, now data transfer is completed.
In addition, in specific implementation, after terminal is connected to main frame, because terminal is not enumerated, such main frame and terminal room Without carrying out data transmission, now the system of terminal can be with dormancy, so that lower power consumption, the charging interval shortens.
As shown in figure 3, the first terminal provided in an embodiment of the present invention, the terminal include:
At least one processing unit 300 and at least one memory cell 301, wherein, the memory cell is stored with journey Sequence code, when described program code is performed by the processing unit so that the processing unit performs following process:
Monitoring the VBUS pins of general-purpose serial bus USB mouth has control source, the enabled closings of USB;Receive and pass through The instruction that USB port main frame carries out data transmission, upper pulling process will be carried out for the resistance for notifying main frame, notice main frame has equipment to connect Enter.
Optionally, the processing unit 300 is additionally operable to:
After the VBUS pins for monitoring general-purpose serial bus USB mouth have control source, it is determined that current charge type For SDP type.
Optionally, the processing unit 300 is additionally operable to:
After it is determined that current charge type is standard down interface SDP type, if being connected by USB2.0 with main frame, Then charged according to the charging current maximum of setting by USB port;Or
After it is determined that current charge type is standard down interface SDP type, if being connected by USB3.0 with main frame, Then charged by USB port, and the current value to charge is stepped up according to the step value of setting, while to VBUS magnitude of voltage It is monitored;If VBUS magnitude of voltage is less than given threshold, stop the current value of increase charging.
Optionally, the processing unit 300 is additionally operable to:
The instruction that carries out data transmission by USB port main frame is being received, by for notifying that the resistance of main frame is pulled up Operation, after notice main frame has equipment access, after completing data transfer by USB port and the main frame, by for notifying main frame Resistance carries out pulling operation.
As shown in figure 4, second of terminal provided in an embodiment of the present invention, the terminal include:
Monitoring module 400, for monitoring that the VBUS pins of general-purpose serial bus USB mouth have control source, USB is enabled Close;
Operation module 401, for receiving the instruction carried out data transmission by USB port main frame, it will be used to notify main frame Resistance carry out pulling process, notice main frame has equipment access.
Optionally, the monitoring module 400 is additionally operable to:
After the VBUS pins for monitoring general-purpose serial bus USB mouth have control source, it is determined that current charge type For SDP type.
Optionally, the monitoring module 400 is additionally operable to:
After it is determined that current charge type is standard down interface SDP type, if being connected by USB2.0 with main frame, Then charged according to the charging current maximum of setting by USB port;Or
After it is determined that current charge type is standard down interface SDP type, if being connected by USB3.0 with main frame, Then charged by USB port, and the current value to charge is stepped up according to the step value of setting, while to VBUS magnitude of voltage It is monitored;If VBUS magnitude of voltage is less than given threshold, stop the current value of increase charging.
Optionally, the operation module 401 is additionally operable to:
The instruction that carries out data transmission by USB port main frame is being received, by for notifying that the resistance of main frame is pulled up Operation, after notice main frame has equipment access, after completing data transfer by USB port and the main frame, by for notifying main frame Resistance carries out pulling operation.
The particular flow sheet of terminal charging method provided in an embodiment of the present invention is referring to Fig. 5.
Step 500:Terminal is connected with main frame by USB interface;
Step 501:Terminal judges whether current be SDP charge types, if it is, performing step 502;Otherwise, step is performed Rapid 510;
Step 502:Terminal judges whether current interface is USB2.0, if it is, performing step 503;Otherwise, step is performed 505;
Step 503:Terminal profile charging current is 500mA;
Step 504:Terminal charges by the current maxima of setting;
Step 505:Terminal judges whether current interface is USB3.0, if it is, performing step 506;Otherwise, step is performed 510;
Step 506:Terminal profile charging current is 500mA;
Step 507:Terminal is charged by USB port, and is stepped up the current value to charge according to the step value of setting, Bus voltage VBUS magnitude of voltage is monitored simultaneously;
Step 508:Terminal judges whether VBUS reaches given threshold, is, performs step 509;Otherwise, step 507 is performed;
Step 509:Terminal is persistently charged with current maximum current;
Step 510:End cell is full of.
Above by reference to showing according to the method, apparatus (system) of the embodiment of the present application and/or the frame of computer program product Figure and/or flow chart describe the application.It should be understood that it can realize that block diagram and/or flow illustrate by computer program instructions One block of figure and the combination of block diagram and/or the block of flowchart illustration.These computer program instructions can be supplied to logical With computer, the processor of special-purpose computer and/or other programmable data processing units so that via computer processor And/or the instruction that performs of other programmable data processing units create be used to realize it is specified in block diagram and/or flow chart block The method of function/action.
Correspondingly, the application can also be implemented with hardware and/or software (including firmware, resident software, microcode etc.).More Further, the application can take computer to can be used or the shape of computer program product on computer-readable recording medium Formula, it has the computer realized in media as well usable or computer readable program code, to be made by instruction execution system With or combined command execution system and use.In the present context, computer can be used or computer-readable medium can be with It is arbitrary medium, it can include, store, communicate, transmit or transmit program, to be made by instruction execution system, device or equipment With, or combined command execution system, device or equipment use.
Obviously, those skilled in the art can carry out the essence of various changes and modification without departing from the present invention to the present invention God and scope.So, if these modifications and variations of the present invention belong to the scope of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to comprising including these changes and modification.

Claims (10)

  1. A kind of 1. method of terminal charge, it is characterised in that this method includes:
    The VBUS pins of terminal monitoring to general-purpose serial bus USB mouth have control source, the enabled closings of USB;
    The terminal receives the instruction carried out data transmission by USB port main frame, by for notifying the resistance of main frame to carry out Pulling process, notice main frame have equipment access.
  2. 2. the method as described in claim 1, it is characterised in that VBUS of the terminal monitoring to general-purpose serial bus USB mouth After pin has control source, in addition to:
    The terminal determines that current charge type is standard down interface SDP type.
  3. 3. method as claimed in claim 2, it is characterised in that the terminal determines that current charge type connects for standard down After mouth SDP type, in addition to:
    If the terminal is connected by USB2.0 with main frame, the terminal passes through USB according to the charging current maximum of setting Mouth is charged.
  4. 4. method as claimed in claim 2, it is characterised in that the terminal determines that current charge type connects for standard down After mouth SDP type, in addition to:
    If the terminal is connected by USB3.0 with main frame, the terminal is charged by USB port, and according to the step of setting Long value is stepped up the current value of charging, while bus voltage VBUS magnitude of voltage is monitored;
    If VBUS magnitude of voltage is less than given threshold, the terminal stops the current value of increase charging.
  5. 5. the method as described in Claims 1 to 4 is any, it is characterised in that the terminal receives to be carried out by USB port main frame The instruction of data transfer, upper pulling process will be carried out for the resistance for notifying main frame, after notice main frame has equipment access, also wrapped Include:
    The terminal by USB port and the main frame after data transfer is completed, by for notifying that the resistance of main frame is pulled down Operation.
  6. 6. a kind of terminal, it is characterised in that the terminal includes:
    At least one processing unit and at least one memory cell, wherein, the memory cell has program stored therein code, works as institute When stating program code and being performed by the processing unit so that the processing unit performs following process:
    Monitoring the VBUS pins of general-purpose serial bus USB mouth has control source, the enabled closings of USB;Receive and pass through USB port The instruction that main frame carries out data transmission, upper pulling process will be carried out for the resistance for notifying main frame, notice main frame has equipment access.
  7. 7. terminal as claimed in claim 6, it is characterised in that the processing unit is additionally operable to:
    After the VBUS pins for monitoring general-purpose serial bus USB mouth have control source, it is determined that current charge type is SDP Type.
  8. 8. terminal as claimed in claim 7, it is characterised in that the processing unit is additionally operable to:
    After it is determined that current charge type is standard down interface SDP type, if being connected by USB2.0 with main frame, press Charged according to the charging current maximum of setting by USB port;Or
    After it is determined that current charge type is standard down interface SDP type, if being connected by USB3.0 with main frame, lead to Cross USB port to be charged, and the current value of charging is stepped up according to the step value of setting, while VBUS magnitude of voltage is carried out Monitoring;If VBUS magnitude of voltage is less than given threshold, stop the current value of increase charging.
  9. 9. the terminal as described in claim 6~8, it is characterised in that the processing unit is specifically used for:
    The instruction that carries out data transmission by USB port main frame is being received, by for notifying the resistance of main frame to carry out upper pulling process, After notice main frame has equipment access, after completing data transfer by USB port and the main frame, by for notifying the resistance of main frame to enter Row pulling operation.
  10. 10. a kind of terminal, it is characterised in that the terminal includes:
    Monitoring module, for monitoring that the VBUS pins of general-purpose serial bus USB mouth have control source, the enabled closings of USB;
    Operation module, for receiving the instruction carried out data transmission by USB port main frame, by for notifying the resistance of main frame to enter Pulling process on row, notice main frame have equipment access.
CN201711122612.8A 2017-11-14 2017-11-14 The method and terminal of a kind of terminal charge Pending CN107832638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711122612.8A CN107832638A (en) 2017-11-14 2017-11-14 The method and terminal of a kind of terminal charge

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711122612.8A CN107832638A (en) 2017-11-14 2017-11-14 The method and terminal of a kind of terminal charge

Publications (1)

Publication Number Publication Date
CN107832638A true CN107832638A (en) 2018-03-23

Family

ID=61654351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711122612.8A Pending CN107832638A (en) 2017-11-14 2017-11-14 The method and terminal of a kind of terminal charge

Country Status (1)

Country Link
CN (1) CN107832638A (en)

Cited By (2)

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

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055034A (en) * 2009-10-29 2011-05-11 希姆通信息技术(上海)有限公司 Method for quickly charging mobile phone through USB interface of computer
CN103326078A (en) * 2012-03-23 2013-09-25 深圳富泰宏精密工业有限公司 Mobile device charging method and system
CN105429239A (en) * 2015-12-29 2016-03-23 昆山映台电子科技有限公司 Android platform-based OTG (On-The-Go) charging device and control method thereof
US20160372951A1 (en) * 2011-10-11 2016-12-22 Paul Andrew Romanenko Dedicated USB Power Ports Coupled With A Multi-port USB Powered Hub
CN106874232A (en) * 2015-12-14 2017-06-20 中兴通讯股份有限公司 The charging method of general-purpose serial bus USB, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102055034A (en) * 2009-10-29 2011-05-11 希姆通信息技术(上海)有限公司 Method for quickly charging mobile phone through USB interface of computer
US20160372951A1 (en) * 2011-10-11 2016-12-22 Paul Andrew Romanenko Dedicated USB Power Ports Coupled With A Multi-port USB Powered Hub
CN103326078A (en) * 2012-03-23 2013-09-25 深圳富泰宏精密工业有限公司 Mobile device charging method and system
CN106874232A (en) * 2015-12-14 2017-06-20 中兴通讯股份有限公司 The charging method of general-purpose serial bus USB, device and terminal
CN105429239A (en) * 2015-12-29 2016-03-23 昆山映台电子科技有限公司 Android platform-based OTG (On-The-Go) charging device and control method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
电脑帮帮手: "苹果手机在公共场所如何取消信任电脑的方法", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/29697B9112E04EAB21DE3C73.HTML》 *

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
CN109375828A (en) * 2018-12-19 2019-02-22 惠州Tcl移动通信有限公司 Touch screen voltage control method, device, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN103078393B (en) USB hub and electric power supply method for the same
CN203387203U (en) Charging switching system possessing USB on-the-go (OTG) function
CN102393837B (en) USB charger recognition device and method
WO2013168289A1 (en) Electronic device and control method therefor
US20080111522A1 (en) Method and system for charging electronic devices
WO2011088672A1 (en) Intelligent charging method and device for terminal
WO2015195968A1 (en) Tunneling in usb power delivery
CN102902650A (en) Data sharing and transfer systems and methods
CN103024195B (en) Smart mobile terminal and implementation method of charging of smart mobile terminal
CN107707000B (en) OTG power supply and wireless charging compatible circuit, related method and terminal equipment
CN106571657A (en) Terminal, converter and connection conversion system and method
CN104063348B (en) Realize the device and method of compatible USB communications and voice communication
CN106230070B (en) Charging method and device
US20120306455A1 (en) Method and system for determining whether a portable device is charging
CN103326078A (en) Mobile device charging method and system
CN204028959U (en) A kind of portable IC card supplements read write line with money
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN106329627A (en) Charging method and device
CN112799985B (en) USB interface control method, USB control circuit and intelligent networking equipment mainboard
CN106786960A (en) Charge control method, device and terminal
EP4199304A1 (en) Impedance detection method for charging cable, electronic device and power supply device
CN102981916A (en) Mobile terminal and control method of mobile terminal and device of mobile terminal
CN105048018B (en) The charging method and device of a kind of terminal with data exchanging function
CN107832638A (en) The method and terminal of a kind of terminal charge
CN102073602A (en) Computer system, connection control device as well as connecting and disconnecting method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180323