CN108845655A - Control method of electronic device, device, control circuit and electronic equipment - Google Patents
Control method of electronic device, device, control circuit and electronic equipment Download PDFInfo
- Publication number
- CN108845655A CN108845655A CN201810644386.8A CN201810644386A CN108845655A CN 108845655 A CN108845655 A CN 108845655A CN 201810644386 A CN201810644386 A CN 201810644386A CN 108845655 A CN108845655 A CN 108845655A
- Authority
- CN
- China
- Prior art keywords
- equipment
- electronic equipment
- interface
- pin
- current
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4072—Drivers or receivers
- G06F13/4077—Precharging or discharging
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
-
- H—ELECTRICITY
- H02—GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
- H02J—CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
- H02J7/00—Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
- H02J7/007—Regulation of charging or discharging current or voltage
- H02J7/0071—Regulation of charging or discharging current or voltage with a programmable schedule
Abstract
The application discloses a kind of electronic equipment control method, device, control circuit and electronic equipment, wherein the method includes:Detect the level value that the first default pin is current in the interface of the electronic equipment;According to the current level value of the described first default pin, the type of the equipment currently accessed by the interface is determined;According to the type of the current access device, current target control strategy is determined;According to the target control strategy, the state of the electronic equipment is controlled.Pass through this method, it can be realized according to the level value of interface and determine the type of the equipment of insertion interface, and then the state of electronic equipment is controlled, so as to avoid because identifying the problem of mistake leads to equipment damage, improve the reliability and safety of electronic equipment.
Description
Technical field
This application involves technical field of electronic equipment more particularly to a kind of electronic equipment control method, device, control circuits
And electronic equipment.
Background technique
It is universal with electronic equipments such as tablet computer, smart phone, digital cameras, for these equipment and computer it
Between or the Highspeed Data Transmission Technology between equipment and equipment have been to be concerned by more and more people, OTG (On-The-Go) skill
Art is taken advantage of a situation and is given birth to.OTG technology can be realized in the case where no host, and equipment is given in the data transmission between equipment and equipment
Between data exchange bring convenience.
Currently, the electronic equipments such as smart phone, tablet computer generally support OTG function, this be will lead to when external equipment (ratio
Such as charging cable, OTG line) insertion electronic equipment in interface when, it is to charge or want that electronic equipment, which can not accurately identify user,
Carry out data transmission, lead to recognition failures, to influence the normal use of electronic equipment.
Summary of the invention
The application provides a kind of electronic equipment control method, device, control circuit and electronic equipment, for solving related skill
In art, recognition failures existing for the electronic equipment of OTG function are supported, thus the problem of influencing the normal use of electronic equipment.
The application first aspect embodiment discloses a kind of electronic equipment control method, includes the following steps:
Detect the level value that the first default pin is current in the interface of the electronic equipment;
According to the current level value of the described first default pin, the class of the equipment currently accessed by the interface is determined
Type;
According to the type of the current access device, current target control strategy is determined;
According to the target control strategy, the state of the electronic equipment is controlled.
The control method of electronic device of the embodiment of the present application is worked as by the first default introduce in the interface of detection electronic equipment
Preceding level value, and the level value current according to the first default pin determine the type of the equipment currently accessed by interface, into
And according to the type of current access device, current target control strategy is determined, according to target control strategy to electronic equipment
State is controlled.Hereby it is achieved that determining the type of the equipment of insertion interface according to the level value of interface, and then to electronics
The state of equipment is controlled, and the problem of so as to avoid equipment damage is caused because of identification mistake, improve electronic equipment can
By property and safety, user experience is improved.
The application second aspect embodiment discloses a kind of electronic equipment control circuit, including:Including:The interconnected
One detection components and control assembly;Wherein,
First detection components are connect with the first default pin in the electronic equipment interfaces, described for detecting
The current level value of first default pin;
The control assembly, the level value for being detected according to first detection components are determined and are currently connect by described
The type of the equipment of mouth access;According to the type of the current access device, current target control strategy is determined;According to described
Target control strategy controls the state of the electronic equipment.
The electronic equipment control circuit of the embodiment of the present application, the first detection components and control group interconnected by setting
Part, the first detection components are connect with the first default pin in electronic equipment interfaces, current for detecting the first default pin
Level value, control assembly are used for the level value detected according to detection components, determine the type of the equipment currently accessed by interface,
According to the type of current access device, current target control strategy is determined, and then according to target control strategy to electronic equipment
State controlled.Hereby it is achieved that determining the type of the equipment of insertion interface according to the level value of interface, and then to electricity
The state of sub- equipment is controlled, and so as to avoid because identifying the problem of mistake leads to equipment damage, improves electronic equipment
Reliability and safety, improve user experience.
The application third aspect embodiment discloses a kind of electronic equipment control device, including:
First detection module, the current level value of the first default pin in the interface for detecting the electronic equipment;
Determination type module is determined and is currently connect by described for the level value current according to the described first default pin
The type of the equipment of mouth access;
Tactful determining module determines current target control strategy for the type according to the current access device;
Control module, for controlling the state of the electronic equipment according to the target control strategy.
The electronic appliance controlling device of the embodiment of the present application is worked as by the first default introduce in the interface of detection electronic equipment
Preceding level value, and the level value current according to the first default pin determine the type of the equipment currently accessed by interface, into
And according to the type of current access device, current target control strategy is determined, according to target control strategy to electronic equipment
State is controlled.Hereby it is achieved that determining the type of the equipment of insertion interface according to the level value of interface, and then to electronics
The state of equipment is controlled, and the problem of so as to avoid equipment damage is caused because of identification mistake, improve electronic equipment can
By property and safety, user experience is improved.
The application fourth aspect embodiment discloses a kind of electronic equipment, including:Memory, processor and it is stored in storage
On device and the computer program that can run on a processor, when the processor executes the computer program, realize as aforementioned
Control method of electronic device described in first aspect embodiment.
The 5th aspect embodiment of the application discloses a kind of computer readable storage medium, is stored thereon with computer journey
Sequence realizes the control method of electronic device as described in aforementioned first aspect embodiment when the program is executed by processor.
The additional aspect and advantage of the application will be set forth in part in the description, and will partially become from the following description
It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the application is from combining in description of the following accompanying drawings to embodiment by change
It obtains obviously and is readily appreciated that, wherein:
Fig. 1 is the flow diagram of a kind of electronic equipment control method provided by the embodiment of the present application;
Fig. 2 is the pin distribution schematic diagram of Micro USB interface;
Fig. 3 is the flow diagram of another kind control method of electronic device provided by the embodiment of the present application;
Fig. 4 is a kind of exemplary diagram of original-pack power supply adaptor;
Fig. 5 is the flow diagram of another control method of electronic device provided by the embodiment of the present application;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment control circuit provided by the embodiment of the present application;
Fig. 7 is the structural schematic diagram of another kind electronic equipment control circuit provided by the embodiment of the present application;
Fig. 8 is the exemplary diagram of the specific electronic equipment control circuit of the embodiment of the present application one;
Fig. 9 is the structural schematic diagram of a kind of electronic equipment control device provided by the embodiment of the present application;
Figure 10 is the structural schematic diagram of another kind electronic appliance controlling device provided by the embodiment of the present application;And
Figure 11 is the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present application.
Specific embodiment
Presently filed embodiment is described below in detail, the example of the embodiment is shown in the accompanying drawings, wherein from beginning
Same or similar element or element with the same or similar functions are indicated to same or similar label eventually.Below by ginseng
The embodiment for examining attached drawing description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.
In the description of the present application, it is to be understood that term " first ", " second " are used for description purposes only, and cannot
It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the
One ", the feature of " second " can explicitly or implicitly include one or more feature.In the description of the present application
In, the meaning of " plurality " is two or more, unless otherwise specifically defined.
Below with reference to the accompanying drawings control method of electronic device, device, control circuit and the electronics for describing the embodiment of the present application are set
It is standby.
Fig. 1 is the flow diagram of a kind of electronic equipment control method provided by the embodiment of the present application, wherein electronics is set
Standby can be the equipment such as smart phone, tablet computer.
As shown in Figure 1, the control method of electronic device may comprise steps of:
Step 101, the level value that the first default pin is current in the interface of electronic equipment is detected.
It for electronic equipments such as smart phone, tablet computers, charges to realize to electronic equipment, and/or realizes electricity
Data between sub- equipment and other equipment are transmitted, and an interface can be arranged on electronic equipment, which can be Micro USB
Interface, Type-C interface etc..
Interface on electronic equipment includes multiple pins, to meet charging and data transfer demands.
By taking Micro USB interface as an example, Fig. 2 is the pin distribution schematic diagram of Micro USB interface.As shown in Fig. 2,
MicroUSB interface includes 5 pins, respectively VBUS pin, USB_DM pin, USB_DP pin, ID pin and GND pin.
Wherein, VBUS pin is energization pins, for providing+5V voltage;USB_DM pin and USB_DP pin are that data transmit pin;
ID pin uses in OTG function, can export high/low level;GND pin is grounding pin.
When charging to electronic equipment, one end of charging cable and the interface of electronic equipment are connected, and the other end needs to connect
Adapter is connect, so that electric current needed for adapter output electronic equipment.When electronic equipment is connected to adapter, electronic equipment
Pin output 5V voltage is had in interface, for example, when interface is Micro USB interface, after electronic equipment connects adapter,
VBUS pin can export 5V voltage;And it is defeated not have pin when the non-couple in adapter of electronic equipment, in the interface of electronic equipment
5V voltage out.To, can the current level of the first default pin in the interface by detecting electronic equipment in the present embodiment
Value, come determine access interface equipment type.For example, the first default pin is VBUS pin for Micro USB interface,
It can detecte whether VBUS pin exports 5V voltage to judge whether the interface of electronic equipment has accessed charging equipment.
Step 102, the level value current according to the first default pin determines the class of the equipment currently accessed by interface
Type.
In the present embodiment, the first default pin in the interface of electronic equipment can generate one according to the difference of access device
A high level generates a low level.For example, when the interface accesses charging equipment, VBUS draws for Micro USB interface
Foot generates the voltage of a 5V, i.e. high level;When the interface accesses data processing equipment, VBUS pin will not generate the electricity of 5V
Pressure, the pin generates a low level at this time.Thus, can be current according to the detect first default pin in the present embodiment
Level value, come determine currently by interface access equipment type.
Specifically, when determining the first default pin is currently high level, determine that the equipment being currently accessed is charging equipment;
Alternatively, determining that the equipment being currently accessed is data processing equipment when determining the first default pin is currently low level.
Step 103, according to the type of current access device, current target control strategy is determined.
When the interface of electronic equipment accesses charging equipment, can charge to the battery in electronic equipment;When electronics is set
When standby interface accesses data processing equipment, the data in other equipment can be input in electronic equipment, or electronics is set
Data in standby are exported into other equipment.
, it is understood that charge to the battery in electronic equipment, between electronic equipment and other equipment into
Row data are transmitted, and under both of these case, the working condition of electronic equipment is different.When electronic equipment interface access be charging set
When standby, the battery of electronic equipment be in charged state, and when interface access be data processing equipment when, the battery of electronic equipment
In discharge condition.To in the present embodiment, it is determined that, can be further after the type of the equipment currently accessed by interface
According to the type for the equipment being currently accessed, current target control strategy is determined, to set according to target control policy control electronics
Standby work.
For example, if the equipment being currently accessed is charging equipment, it may be determined that corresponding target control strategy is control battery
In charged state;If the equipment being currently accessed is data processing equipment, it may be determined that corresponding target control strategy is control
Battery is in discharge condition.In another example if the equipment being currently accessed is charging equipment, it may be determined that corresponding target control strategy
For the type for detecting charging equipment;If the equipment being currently accessed is data processing equipment, it may be determined that corresponding target control plan
Slightly whether detection data processing equipment is OTG equipment.
Step 104, according to target control strategy, the state of electronic equipment is controlled.
In the present embodiment, it is determined that after current target control strategy, can be set according to target control strategy to electronics
Standby state is controlled.
For example, then controlling electronics when determining target control strategy is the type for the charging equipment that detection is currently accessed and setting
It is standby to start preset charging equipment type detection program, it whether is that original-pack charging is set to detect the charging equipment being currently accessed
It is standby.
The control method of electronic device of the present embodiment, current by the first default introduction in the interface of detection electronic equipment
Level value, and the level value current according to the first default pin determine the type of the equipment currently accessed by interface, Jin Ergen
According to the type of current access device, current target control strategy is determined, according to target control strategy to the state of electronic equipment
It is controlled.Hereby it is achieved that determining the type of the equipment of insertion interface according to the level value of interface, and then to electronic equipment
State controlled, so as to avoid because identification mistake lead to equipment damage the problem of, improve the reliability of electronic equipment
And safety, improve user experience.
As it was noted above, the equipment being currently accessed may be charging equipment, it is also possible to be data processing equipment.It will divide below
Safety pin is charging equipment and data processing equipment both of these case to the equipment being currently accessed, and is explained.
, it is understood that when charging to electronic equipment, it usually needs by power supply adaptor.Power supply adaptor is defeated
Electric current out is according to the load (i.e. electronic equipment) of adapter connection come what is determined, and load needs great electric current, and power supply is suitable
Orchestration just provides great electric current.It is furnished with transformer in original-pack power supply adaptor, electric current can be automatically adjusted, guarantees charging peace
Entirely;Rather than original-pack power supply adaptor lacks protection circuit, the stabilization of electric current when not can guarantee charging, the electric current needed for load is super
When crossing the upper current limit that power supply adaptor can be provided, power supply adaptor persistently exports maximum electric current, this is easy to burn out electronics
It is dangerous to cause charging for the battery of equipment.Therefore, when being charged using power supply adaptor to electronic equipment, what detection was accessed
Whether power supply adaptor is original-pack power supply adaptor, is of great significance to safe charging.To in the embodiment of the present application one kind
In possible implementation, after determining the equipment being currently accessed is charging equipment, as shown in figure 3, it is based on previous embodiment,
The control method of electronic device may comprise steps of:
Step 201, the switch that control is connect with second pin in interface is in the first conducting state, is worked as with detecting second pin
Preceding level value.
Wherein, the switch connecting with second pin can be two-in-one switch, when switch is in the first conducting state, switch
Control terminal with and electronic equipment in universal input/output (General Purpose Input Output, GPIO) interface
The connecting pin of connection is connected to.
By taking Micro USB interface as an example, second pin is ID pin, the output end of ID pin and two-in-one switch it is public
End connection, when determining the equipment for being currently accessed Micro USB interface is charging equipment, two-in-one switch is in the first conducting
State utilizes the current level value of GPIO interface detection ID pin.
Step 202, the level value current according to second pin, determines classification belonging to charging equipment.
In the present embodiment, according to the current level value of the second pin of detection, classification belonging to charging equipment is determined.
It, can will (original-pack power supply be suitable with the matched original-pack charging equipment of electronic equipment as a kind of possible implementation
Orchestration) in ID pin ground connection pass through inspection and then when determining the equipment that is currently accessed in electronic equipment interfaces is charging equipment
The level value of the pin is surveyed, to judge whether the charging equipment being currently accessed is original-pack charging equipment.
For example, referring to fig. 4, Fig. 4 is a kind of original to original-pack power supply adaptor for the electronic equipment of Micro USB interface
Fill the exemplary diagram of power supply adaptor.As shown in figure 4, be connected to ground ID pin by resistance inside original-pack power supply adaptor,
To make the output level value low level of ID pin.To be set when using original-pack power supply adaptor as shown in Figure 4 for electronics
For when being charged, in the Micro USB interface of electronic equipment, the level that ID pin detects is low level.And for non-original
Power supply adaptor is filled, since ID pin is vacant state in non-original-pack power supply adaptor, thus when using non-original-pack power adaptation
When device is that electronic equipment is charged, in the Micro USB interface of electronic equipment, the level value that ID pin detects is high electricity
It is flat.Therefore, the height of the level value currently exported according to the ID pin of detection can determine the adapter that outgoing interface is currently accessed
It whether is original-pack power supply adaptor.When detecting the current level value of ID pin is low level, it may be determined that interface is currently accessed
Charging equipment be original-pack power supply adaptor;Otherwise, the charging equipment that interface is currently accessed is non-original-pack power supply adaptor.
Step 203, the classification according to belonging to charging equipment controls the charging process of electronic equipment.
In the present embodiment, it is determined that, can be according to the type of charging equipment, to electronic equipment after the type of charging equipment
Charging process controlled.
Specifically, if charging equipment is target class equipment, controlling electronic devices is charged with the first charge mode;If
Charging equipment is non-target class equipment, then controlling electronic devices is charged with the second charge mode.Wherein, target class equipment is
Original-pack power supply adaptor, the charging voltage in the first charge mode are greater than the charging voltage in the second charge mode, and/or, the
Charging current in one charge mode is greater than the charging current in the second charge mode.
In the present embodiment, the charging equipment being currently accessed be original-pack power supply adaptor when, can control electronic equipment with
Biggish charging voltage or charging current charge;It, can when the charging equipment being currently accessed is not original-pack power supply adaptor
It is charged with controlling electronic devices with lesser charging voltage or charging current, to avoid non-original-pack power supply adaptor is being used
When being charged, charging voltage or electric current it is excessive and cause battery burn out even explosion etc. danger.
The control method of electronic device of the present embodiment, by controlling and connecing when the equipment being currently accessed is charging equipment
The switch of second pin connection is in the first conducting state to detect the current level value of second pin in mouthful, and according to second pin
Current level value determines classification belonging to charging equipment, and then the classification according to belonging to charging equipment fills electronic equipment
Electric process is controlled, and can be guaranteed charging safety, be reduced the probability caused danger in charging process, ensures user's person and wealth
Produce safety.
In a kind of possible implementation of the embodiment of the present application, when the determining equipment being currently accessed is data processing equipment
Later, as shown in figure 5, being based on previous embodiment, which be may comprise steps of:
Step 301, the switch that control is connect with second pin in interface is in the second conducting state, to pass through interface and data
Processing equipment carries out data transmission.
Wherein, switch is in the second conducting state, refer to the control terminal of switch with and electronic equipment in data transmission interface company
The connecting pin connection connect.
In the present embodiment, when determining the equipment being currently accessed is data processing equipment, it can control and in interface second
The switch of pin connection is in the second conducting state, to be carried out data transmission by interface and data processing equipment.
By taking the interface of electronic equipment is Micro USB interface as an example, the ID pin of Micro USB interface and switch it is public
End connection, after Micro USB interface has accessed data processing equipment, the control terminal of switch with and electronic equipment in data biography
The connecting pin connection of defeated interface connection, to realize between the data-processing interface in data processing equipment and electronic equipment
Connection, so that electronic equipment is carried out data transmission by interface and data processing equipment.
The control method of electronic device of the present embodiment, by when determining the equipment that is currently accessed is data processing equipment,
It controls the switch connecting with second pin in interface and is in the second conducting state, to carry out data by interface and data processing equipment
Transmission, to realize the data interaction between data processing equipment and electronic equipment.
In order to realize above-described embodiment, the application also proposed a kind of electronic equipment control circuit.
Fig. 6 is the structural schematic diagram of a kind of electronic equipment control circuit provided by the embodiment of the present application.
As shown in fig. 6, the electronic equipment control circuit includes:The first detection components 510 and control assembly interconnected
520。
Wherein, the first detection components 510 are connect with the first default pin in electronic equipment interfaces, for detecting first
The current level value of default pin.
Control assembly 520, the level value for being detected according to the first detection components 510 determine current by interface access
Equipment type;According to the type of current access device, current target control strategy is determined;According to target control strategy,
The state of electronic equipment is controlled.
Further, in a kind of possible implementation of the embodiment of the present application, as shown in fig. 7, implementing as shown in Figure 6
On the basis of example, which further includes:Switch block 530 and the second detection components 540.
Wherein, the control terminal 531 of switch block 530 is electrically connected with the output end of control assembly 520, switch block 530
Common end 532 is electrically connected with the second default pin of interface, the first connecting pin 533 of switch block 530 and the second detection components
540 input terminal electrical connection.
The output end of second detection components 540 is electrically connected with the first input end of control assembly 520, for detection and interface
Classification belonging to the charging equipment of connection.
The second connection end 534 of switch block 530 is electrically connected with the second input terminal of control assembly 520.
In the present embodiment, pass through insertion switch component 530, control terminal 531 and the control assembly 520 of switch block 530
Output end electrical connection, so that switch block 530 is according to the output of control assembly 520 come the conducting state of control switch component 530.Tool
Body, when the output end of control assembly 520 exports high level, the control terminal 531 of control switch component 530 and the first connecting pin
533 connections;When the output end of control assembly 520 exports low level, the control terminal 531 of control switch component 530 and second connects
Connect 534 connection of end.
The common end 532 of switch block 530 is electrically connected with the second default pin of interface, and the first of switch block 530 connects
End 533 is connect to be electrically connected with the input terminal of the second detection components 540, when the equipment of interface access is charging equipment, control assembly
520 output end exports high level, and the control terminal 531 of switch block 530 is connected to the first connecting pin 533, the second detection components
540 can detecte the level value of the second default pin of interface.The output end of second detection components 540 and control assembly 520
First input end electrical connection, the electricity for the second default pin that control assembly 520 is detected according to the second detection components 540
Level values determine classification belonging to the charging equipment of interface connection.
The second connection end 534 of switch block 530 is electrically connected with the second input terminal of control assembly 520, when interface accesses
Equipment when being data processing equipment, the output end of control assembly 520 exports low level, the control terminal 531 of switch block 530 with
Second connection end 534 is connected to, and is carried out data transmission between data processing equipment and electronic equipment so that control assembly 520 controls.
, it is understood that the function of the control assembly in previous embodiment can integrate in a control chip, example
Such as, by control assembly realize function be integrated in electronic equipment power management integrated circuit (Power Management IC,
PMIC it in), or integrates in the host controller;Alternatively, the internal circuit of electronic equipment is routed for convenience, can also will control
The function of component is integrated in two control chips, is set for example, the function that control assembly is realized can be integrated in electronics respectively
In standby PMIC and master controller.Below by taking PMIC and master controller collectively form control assembly as an example, the application is illustrated
The electronic equipment control circuit of embodiment.
Fig. 8 is the exemplary diagram of the specific electronic equipment control circuit of the embodiment of the present application one.In Fig. 8, master controller and PMIC
Control assembly is collectively constituted, is integrated with detection program in master controller and PMIC, wherein the detection program in master controller is used
Detection program in the level value for detecting ID pin in Micro USB interface, PMIC is for detecting in Micro USB interface
The level value of VBUS, DM pin and DP pin in PMIC are transmitted for data, and VBAT is the voltage of battery output.Such as Fig. 8 institute
Show, when in the interface of electronic equipment access distinct device when, by a two-in-one switch come the interface of controlling electronic devices with
Different control chips connection in electronic equipment.The common end 1 of two-in-one switch is connect with the ID pin of Micro USB interface,
First connecting pin of two-in-one switch and the interface of master controller connect, and second connection end 4 is connect with the OTG_ID pin of PMIC.
When the detection Programmable detection in PMIC is to high level, it can determine that the equipment that interface is currently accessed is charging equipment, at this point,
The control terminal 2 of PMIC control two-in-one switch is connected to the first connecting pin 3, and then the detection program in master controller executes, and comes
The level value of ID pin is detected, to determine the classification of the charging equipment of Micro USB interface access.When the detection program in PMIC
When detecting low level, it can determine that the equipment being currently accessed is data processing equipment, at this point, PMIC control two-in-one switch
Control terminal 2 is connected to second connection end 4, so that being able to carry out between data processing equipment and electronic equipment that interface is currently accessed
Data transmission.
It should be noted that the aforementioned explanation to control method of electronic device embodiment, is also applied for the present embodiment
Electronic equipment control circuit, details are not described herein again.
The electronic equipment control circuit of the embodiment of the present application, the first detection components and control group interconnected by setting
Part, the first detection components are connect with the first default pin in electronic equipment interfaces, current for detecting the first default pin
Level value, control assembly are used for the level value detected according to detection components, determine the type of the equipment currently accessed by interface,
According to the type of current access device, current target control strategy is determined, and then according to target control strategy to electronic equipment
State controlled.Hereby it is achieved that determining the type of the equipment of insertion interface according to the level value of interface, and then to electricity
The state of sub- equipment is controlled, and so as to avoid because identifying the problem of mistake leads to equipment damage, improves electronic equipment
Reliability and safety, improve user experience.
In order to realize above-described embodiment, the application also proposes a kind of electronic equipment touch screen control device.
Fig. 9 is the structural schematic diagram of a kind of electronic equipment control device provided by the embodiment of the present application.
As shown in figure 9, the electronic appliance controlling device 60 includes:First detection module 610, determination type module 620, plan
Slightly determining module 630 and control module 640.
Wherein, detection module 610, the current level value of the first default pin in the interface for detecting electronic equipment.
Determination type module 620 determines current by interface access for the level value current according to the first default pin
Equipment type.
In a kind of possible implementation of the embodiment of the present application, determination type module 620 is specifically used for determining first
When default pin is currently high level, determine that the equipment being currently accessed is charging equipment;Alternatively, determining that the first default pin works as
It is preceding when being low level, determine that the equipment that is currently accessed is data processing equipment.
Tactful determining module 630 determines current target control strategy for the type according to current access device.
Control module 640, for controlling the state of electronic equipment according to target control strategy.
Further, in a kind of possible implementation of the embodiment of the present application, as shown in Figure 10, as shown in Figure 9 real
On the basis of applying example, which can also include:
Second detection module 650, when the equipment for being currently accessed in the determination of determination type module 620 is charging equipment,
It controls the switch connecting with second pin in interface and is in the first conducting state, to detect the current level value of second pin.
Charge control module 660 determines classification belonging to charging equipment for the level value current according to second pin;
The classification according to belonging to charging equipment controls the charging process of electronic equipment.
Specifically, the classification according to belonging to charging equipment of charge control module 660 carries out the charging process of electronic equipment
When control, including:If charging equipment is target class equipment, controlling electronic devices is charged with the first charge mode;If filling
Electric equipment is non-target class equipment, then controlling electronic devices is charged with the second charge mode;Wherein, in the first charge mode
Charging voltage be greater than the charging voltage in the second charge mode, and/or, charging current in the first charge mode is greater than second
Charging current in charge mode.
By when the equipment being currently accessed is charging equipment, controlling the switch that connect with second pin in interface in the
One conducting state determines charging equipment institute to detect the current level value of second pin, and the level value current according to second pin
The classification of category, and then the classification according to belonging to charging equipment controls the charging process of electronic equipment, can guarantee to charge
Safety reduces the probability caused danger in charging process, ensures user's personal and property safety.
Data transmission control module 670, for determining that the equipment being currently accessed is data processing in determination type module 620
It when equipment, controls the switch connecting with second pin in interface and is in the second conducting state, to pass through interface and data processing equipment
Carry out data transmission.
By the way that when determining the equipment being currently accessed is data processing equipment, control is opened with what second pin in interface was connect
It closes and is in the second conducting state, to be carried out data transmission by interface and data processing equipment, to realize data processing equipment
Data interaction between electronic equipment.
Herein it should be noted that the second detection module 650, charge control module 660 and data transmission control module
670 can be set in control module 640, can also be separately provided, and the application is only explained using being separately provided as example
Bright the application, and cannot function as the limitation to the application.
It should be noted that the aforementioned explanation to control method of electronic device embodiment is also applied for the embodiment
Electronic appliance controlling device, realization principle is similar, and details are not described herein again.
The electronic appliance controlling device of the embodiment of the present application is worked as by the first default introduce in the interface of detection electronic equipment
Preceding level value, and the level value current according to the first default pin determine the type of the equipment currently accessed by interface, into
And according to the type of current access device, current target control strategy is determined, according to target control strategy to electronic equipment
State is controlled.Hereby it is achieved that determining the type of the equipment of insertion interface according to the level value of interface, and then to electronics
The state of equipment is controlled, and the problem of so as to avoid equipment damage is caused because of identification mistake, improve electronic equipment can
By property and safety, user experience is improved.
In order to realize above-described embodiment, the application also proposes a kind of electronic equipment.
Figure 11 is the structural schematic diagram of a kind of electronic equipment provided by the embodiment of the present application.
The electronic equipment that Figure 11 is shown is only an example, should not function and use scope band to the embodiment of the present application
Carry out any restrictions.
As shown in figure 11, above-mentioned electronic equipment 200 includes:It memory 210, processor 220 and is stored on memory 210
And the computer program that can be run on processor 220, when the processor 220 executes described program, to realize such as aforementioned reality
Apply control method of electronic device described in example.
In a kind of optional way of realization, as shown in figure 11, which can also include:Memory 210 and
Processor 220, connects the bus 230 of different components (including memory 210 and processor 220), and memory 210 is stored with calculating
Machine program realizes control method of electronic device described in the embodiment of the present application when processor 220 executes described program.
Bus 230 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Electronic equipment 200 typically comprises a variety of computer equipment readable mediums.These media can be it is any can be by
The usable medium that electronic equipment 200 accesses, including volatile and non-volatile media, moveable and immovable medium.
Memory 210 can also include the computer system readable media of form of volatile memory, such as arbitrary access
Memory (RAM) 240 and/or cache memory 250.Electronic equipment 200 may further include that other are removable/and it can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 260 can be used for reading and writing not
Movably, non-volatile magnetic media (Figure 11 do not show, commonly referred to as " hard disk drive ").It, can although being not shown in Figure 11
To provide the disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk "), and it is non-volatile to moving
Property CD (such as CD-ROM, DVD-ROM or other optical mediums) read and write CD drive.In these cases, each drive
Dynamic device can be connected by one or more data media interfaces with bus 230.Memory 210 may include at least one journey
Sequence product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this Shen
Please each embodiment function.
Program/utility 280 with one group of (at least one) program module 270, can store in such as memory
In 210, such program module 270 include --- but being not limited to --- operating system, one or more application program, other
It may include the realization of network environment in program module and program data, each of these examples or certain combination.Journey
Sequence module 270 usually executes function and/or method in embodiments described herein.
Electronic equipment 200 can also be with one or more external equipments 290 (such as keyboard, sensing equipment, display 291
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 200 communicate, and/or with make
The electronic equipment 200 can calculate any equipment that equipment be communicated (such as network interface card, modem with one or more other
Etc.) communication.This communication can be carried out by input/output (I/O) interface 292.Also, electronic equipment 200 can also lead to
Cross network adapter 293 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, example
Such as internet) communication.As shown in figure 11, network adapter 293 is communicated by bus 230 with other modules of electronic equipment 200.
It should be understood that electronic equipment 200 can be combined using other hardware and/or software module although being not shown in Figure 11, including but
It is not limited to:Microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive with
And data backup storage system etc..
The electronic equipment of the present embodiment, processor is by executing the computer program stored in memory, to realize electronics
Apparatus control method determines the type of the equipment of insertion interface to realize according to the level value of interface, and then to electronics
The state of equipment is controlled, and the problem of so as to avoid equipment damage is caused because of identification mistake, improve electronic equipment can
By property and safety, user experience is improved.
The embodiment of the present application also proposed a kind of computer readable storage medium, be stored thereon with computer program, when this
It realizes when program is executed by processor such as the electronic device touchscreen control method in previous embodiment.
In a kind of optional way of realization, the present embodiment can be using any group of one or more computer-readable media
It closes.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable to deposit
Storage media for example may be-but not limited to-system, device or the device of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor
Part, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Have
The electrical connection of one or more conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including --- but
It is not limited to --- electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be
Any computer-readable medium other than computer readable storage medium, which can send, propagate or
Transmission is for by the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In --- wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
Can with one or more programming languages or combinations thereof come write for execute the application operation computer
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
The computer readable storage medium of the application embodiment, it is settable in the electronic device, by execute deposit thereon
The electronic device touchscreen control method of storage realizes the operating mode that touch screen is adjusted according to the state of display screen, without closing
Blank screen gesture function is closed, that is, can avoid the false triggering operation of blank screen gesture, reduce the probability of blank screen gesture false triggering, improve
Operation accuracy under black state, the user experience is improved.
The embodiment of the present application also proposed a kind of computer program product, when the instruction in computer program product is by handling
When device executes, electronic device touchscreen control method as in the foregoing embodiment is executed.
In the description of this specification, reference term " embodiment ", " certain embodiments ", " schematically implementation
The description of mode ", " example ", " specific example " or " some examples " etc. means embodiment or example is combined to describe specific
Feature, structure, material or feature are contained at least one embodiment or example of the application.In the present specification, right
The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.Moreover, the specific features of description, knot
Structure, material or feature can be combined in any suitable manner in any one or more embodiments or example.
While there has been shown and described that presently filed embodiment, it will be understood by those skilled in the art that:?
These embodiments can be carried out with a variety of variations, modification, replacement in the case where not departing from the principle and objective of the application and become
Type, scope of the present application are defined by the claims and their equivalents.
Claims (10)
1. a kind of electronic equipment control method, which is characterized in that including:
Detect the level value that the first default pin is current in the interface of the electronic equipment;
According to the current level value of the described first default pin, the type of the equipment currently accessed by the interface is determined;
According to the type of the current access device, current target control strategy is determined;
According to the target control strategy, the state of the electronic equipment is controlled.
2. the method as described in claim 1, which is characterized in that the level value current according to the described first default pin,
Determine the type of the equipment currently accessed by the interface, including:
When determining the described first default pin is currently high level, determine that the equipment being currently accessed is charging equipment;
Alternatively,
When determining the described first default pin is currently low level, determine that the equipment being currently accessed is data processing equipment.
3. weigh require 2 as described in method, which is characterized in that the equipment that the determination is currently accessed be charging equipment after, also
Including:
It controls the switch that connect with second pin in the interface and is in the first conducting state, to detect the second pin currently
Level value;
According to the current level value of the second pin, classification belonging to the charging equipment is determined;
According to classification belonging to the charging equipment, the charging process of the electronic equipment is controlled.
4. method as claimed in claim 3, which is characterized in that the classification according to belonging to the charging equipment, to described
The charging process of electronic equipment is controlled, including:
If the charging equipment is target class equipment, controls the electronic equipment and charged with the first charge mode;
If the charging equipment is non-target class equipment, controls the electronic equipment and charged with the second charge mode;
Wherein, the charging voltage in first charge mode is greater than the charging voltage in second charge mode, and/or,
Charging current in first charge mode is greater than the charging current in second charge mode.
5. method as claimed in claim 3, which is characterized in that the equipment that the determination is currently accessed be data processing equipment it
Afterwards, further include:
It controls the switch connecting with second pin in the interface and is in the second conducting state, to pass through the interface and data processing
Equipment carries out data transmission.
6. a kind of electronic equipment control circuit, which is characterized in that including:The first detection components and control assembly interconnected;
First detection components are connect, for detecting described first with the first default pin in the electronic equipment interfaces
The current level value of default pin;
The control assembly, the level value for being detected according to first detection components, determination are currently connect by the interface
The type of the equipment entered;According to the type of the current access device, current target control strategy is determined;According to the target
Control strategy controls the state of the electronic equipment.
7. control circuit as claimed in claim 6, which is characterized in that further include:Switch block and the second detection components;
The control terminal of the switch block is electrically connected with the output end of the control assembly, the common end of the switch block and institute
State the second default pin electrical connection of interface, the input terminal of the first connecting pin of the switch block and second detection components
Electrical connection;
The output end of second detection components is electrically connected with the first input end of the control assembly, is connect for detecting with described
Classification belonging to the charging equipment of mouth connection;
The second connection end of the switch block is electrically connected with the second input terminal of control assembly.
8. a kind of electronic equipment control device, which is characterized in that including:
First detection module, the current level value of the first default pin in the interface for detecting the electronic equipment;
Determination type module, for the level value current according to the described first default pin, determination is currently connect by the interface
The type of the equipment entered;
Tactful determining module determines current target control strategy for the type according to the current access device;
Control module, for controlling the state of the electronic equipment according to the target control strategy.
9. a kind of electronic equipment, which is characterized in that including:Memory, processor and storage are on a memory and can be in processor
The computer program of upper operation when the processor executes the computer program, is realized such as any one of claim 1-5 institute
The control method of electronic device stated.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Control method of electronic device according to any one of claims 1 to 5 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810644386.8A CN108845655B (en) | 2018-06-21 | 2018-06-21 | Electronic equipment control method and device, control circuit and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810644386.8A CN108845655B (en) | 2018-06-21 | 2018-06-21 | Electronic equipment control method and device, control circuit and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108845655A true CN108845655A (en) | 2018-11-20 |
CN108845655B CN108845655B (en) | 2022-03-22 |
Family
ID=64202877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810644386.8A Active CN108845655B (en) | 2018-06-21 | 2018-06-21 | Electronic equipment control method and device, control circuit and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845655B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669909A (en) * | 2018-12-14 | 2019-04-23 | 上海闻泰信息技术有限公司 | External equipment implementation method, device, terminal and storage medium |
CN110825682A (en) * | 2019-11-05 | 2020-02-21 | 维沃移动通信有限公司 | USB control method and electronic equipment |
CN110957785A (en) * | 2019-12-10 | 2020-04-03 | 维沃移动通信有限公司 | Battery assembly, charging control method and system |
CN111030226A (en) * | 2019-12-20 | 2020-04-17 | 维沃移动通信有限公司 | Equipment detection method and electronic equipment |
CN112214433A (en) * | 2019-07-09 | 2021-01-12 | 北京小米移动软件有限公司 | Terminal device, control method thereof, auxiliary device, and storage medium |
CN112530379A (en) * | 2019-09-18 | 2021-03-19 | 咸阳彩虹光电科技有限公司 | Display device and interface type selection method thereof |
CN113157612A (en) * | 2020-01-22 | 2021-07-23 | 海信视像科技股份有限公司 | Interface adapting circuit and display device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684270A (en) * | 2012-05-31 | 2012-09-19 | 华为技术有限公司 | Method for identifying type of universal serial bus (USB) chargers and USB device |
CN103838343A (en) * | 2012-11-27 | 2014-06-04 | 联想(北京)有限公司 | Data interface, electronic device and method for expanding current output quantity of data interface |
CN105071795A (en) * | 2015-08-17 | 2015-11-18 | 广东欧珀移动通信有限公司 | Multiplex circuit based on USB interface |
US20160004650A1 (en) * | 2014-07-02 | 2016-01-07 | Lenovo (Singapore) Pte. Ltd. | Portable device, cable assembly, and usb system |
CN106571657A (en) * | 2016-09-28 | 2017-04-19 | 上海创功通讯技术有限公司 | Terminal, converter and connection conversion system and method |
CN107239106A (en) * | 2017-05-31 | 2017-10-10 | 珠海市魅族科技有限公司 | A kind of recognition methods of power supply adaptor and device |
-
2018
- 2018-06-21 CN CN201810644386.8A patent/CN108845655B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102684270A (en) * | 2012-05-31 | 2012-09-19 | 华为技术有限公司 | Method for identifying type of universal serial bus (USB) chargers and USB device |
CN103838343A (en) * | 2012-11-27 | 2014-06-04 | 联想(北京)有限公司 | Data interface, electronic device and method for expanding current output quantity of data interface |
US20160004650A1 (en) * | 2014-07-02 | 2016-01-07 | Lenovo (Singapore) Pte. Ltd. | Portable device, cable assembly, and usb system |
CN105071795A (en) * | 2015-08-17 | 2015-11-18 | 广东欧珀移动通信有限公司 | Multiplex circuit based on USB interface |
CN106571657A (en) * | 2016-09-28 | 2017-04-19 | 上海创功通讯技术有限公司 | Terminal, converter and connection conversion system and method |
CN107239106A (en) * | 2017-05-31 | 2017-10-10 | 珠海市魅族科技有限公司 | A kind of recognition methods of power supply adaptor and device |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109669909A (en) * | 2018-12-14 | 2019-04-23 | 上海闻泰信息技术有限公司 | External equipment implementation method, device, terminal and storage medium |
CN112214433A (en) * | 2019-07-09 | 2021-01-12 | 北京小米移动软件有限公司 | Terminal device, control method thereof, auxiliary device, and storage medium |
CN112214433B (en) * | 2019-07-09 | 2022-04-15 | 北京小米移动软件有限公司 | Terminal device, control method thereof, auxiliary device, and storage medium |
CN112530379A (en) * | 2019-09-18 | 2021-03-19 | 咸阳彩虹光电科技有限公司 | Display device and interface type selection method thereof |
CN110825682A (en) * | 2019-11-05 | 2020-02-21 | 维沃移动通信有限公司 | USB control method and electronic equipment |
CN110825682B (en) * | 2019-11-05 | 2022-08-02 | 维沃移动通信有限公司 | USB control method and electronic equipment |
CN110957785A (en) * | 2019-12-10 | 2020-04-03 | 维沃移动通信有限公司 | Battery assembly, charging control method and system |
CN110957785B (en) * | 2019-12-10 | 2022-02-25 | 维沃移动通信有限公司 | Battery assembly, charging control method and system |
CN111030226A (en) * | 2019-12-20 | 2020-04-17 | 维沃移动通信有限公司 | Equipment detection method and electronic equipment |
CN113157612A (en) * | 2020-01-22 | 2021-07-23 | 海信视像科技股份有限公司 | Interface adapting circuit and display device |
CN113157612B (en) * | 2020-01-22 | 2022-12-13 | 海信视像科技股份有限公司 | Interface adapting circuit and display device |
Also Published As
Publication number | Publication date |
---|---|
CN108845655B (en) | 2022-03-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108845655A (en) | Control method of electronic device, device, control circuit and electronic equipment | |
US8773078B2 (en) | Universal serial bus (USB) charging system and method thereof | |
CN108808785A (en) | Electronic equipment charge control method, device, electronic equipment and storage medium | |
CN104951034B (en) | Mobile terminal and its USB interface condition control method and device | |
CN105680501B (en) | Portable electronic device and its charging method | |
CN103186483B (en) | Terminal, for its OTG function and the executed in parallel method of charge function | |
CN105518967B (en) | Apparatus and method for changing current limit | |
EP3113298A1 (en) | Connecting device and method for recognizing device | |
CN104978300B (en) | Mobile terminal and its detection method being connect with external equipment and device | |
US10720778B2 (en) | Method for identifying type of cable, power adapter and cable | |
CN106571657A (en) | Terminal, converter and connection conversion system and method | |
CN104242365B (en) | Portable electronic device and application method | |
CN104617615B (en) | Charging method and electronic equipment | |
CN105071484B (en) | A kind of charging method and device of the terminal with data exchanging function | |
CN106712179A (en) | Method and device realizing reverse charging | |
US10243380B2 (en) | Method and apparatus for battery malfunction detection and notification thereof | |
CN109298266A (en) | Test macro, test method, test device and storage medium | |
CN107239106A (en) | A kind of recognition methods of power supply adaptor and device | |
CN105048018B (en) | The charging method and device of a kind of terminal with data exchanging function | |
CN105826962B (en) | Poewr control method and device in a kind of charging process | |
CN110380476A (en) | Charge control method, device, equipment and storage medium | |
CN112014674A (en) | Product board quick-charging opening testing method, product board, testing board and testing system | |
US20230305937A1 (en) | Test apparatus for usb-pd device | |
CN107153456A (en) | OTG connections control method, OTG connection control devices and electronic equipment | |
CN103890743B (en) | The IO power managements of host computer control |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |