CN112214433A - Terminal device, control method thereof, auxiliary device, and storage medium - Google Patents

Terminal device, control method thereof, auxiliary device, and storage medium Download PDF

Info

Publication number
CN112214433A
CN112214433A CN201910615452.3A CN201910615452A CN112214433A CN 112214433 A CN112214433 A CN 112214433A CN 201910615452 A CN201910615452 A CN 201910615452A CN 112214433 A CN112214433 A CN 112214433A
Authority
CN
China
Prior art keywords
resistor
terminal device
comparator
resistance value
detection circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910615452.3A
Other languages
Chinese (zh)
Other versions
CN112214433B (en
Inventor
吴凯棋
王彦腾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201910615452.3A priority Critical patent/CN112214433B/en
Publication of CN112214433A publication Critical patent/CN112214433A/en
Application granted granted Critical
Publication of CN112214433B publication Critical patent/CN112214433B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • 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

Abstract

The disclosure relates to a terminal device and a control method thereof, an auxiliary device and a storage medium, and belongs to the field of terminal devices. The terminal device includes: a first detection circuit configured to detect a resistance value of a first resistor of an auxiliary device connected through a first CC pin of a Type-C interface; a second detection circuit configured to detect a resistance value of a second resistor of the auxiliary device connected through a second CC pin of the Type-C interface; a control circuit configured to control an operating parameter of the terminal device based on detection results of the first and second detection circuits.

Description

Terminal device, control method thereof, auxiliary device, and storage medium
Technical Field
The present disclosure relates to the field of terminal devices, and in particular, to a terminal device, a control method thereof, an auxiliary device, and a storage medium.
Background
With the development of Universal Serial Bus (USB) technology, a USB Type-C (Type-C for short) interface has become a major interface in a mobile terminal.
The Type-C interface protocol defines a standard IDentifier (ID) resistor of the auxiliary device, and the terminal device can determine the Type of the accessed auxiliary device (such as a charger, a usb flash disk, and the like) through the identification of the ID resistor, thereby adjusting the operating parameters (such as charging parameters, and the like) of the terminal device. For non-standard auxiliary equipment, the charging transfer (PD) chip is required to identify the non-standard auxiliary equipment, and the terminal equipment and the auxiliary equipment use the PD chip to perform PD protocol communication to identify the type of the auxiliary equipment. Since such a scheme of identifying the non-standard auxiliary device through the PD chip requires the addition of the PD chip, the cost is increased.
Disclosure of Invention
The present disclosure provides a terminal device, a control method thereof, an auxiliary device, and a storage medium, which can recognize a non-standard auxiliary device without increasing a PD chip, and control the terminal device to operate according to a recognition result.
In one aspect, a terminal device is provided, where the terminal device includes:
the first detection circuit is configured to detect the resistance value of a first resistor of an auxiliary device, wherein the first resistor is connected with a first CC pin of a Type-C interface of the terminal device;
a second detection circuit configured to detect a resistance value of a second resistor of the auxiliary device, the second resistor being connected to a second CC pin of the Type-C interface;
the control circuit is configured to control the working parameters of the terminal equipment based on detection results of the first detection circuit and the second detection circuit, and the detection results of the first detection circuit and the second detection circuit (200) are respectively used for indicating the resistance value of the first resistor and the resistance value of the second resistor.
In the embodiment of the disclosure, the terminal device detects the resistance values of two resistors Rx and Ry connected to two CC pins of the Type-C interface respectively through two detection circuits, and the determined resistance values of the two resistors indicate the Type of the auxiliary device together, so that the terminal device controls the working parameters of the terminal device according to the determined resistance values of the two resistors, that is, controls the working parameters of the terminal device according to the Type of the auxiliary device. In the process of identifying the auxiliary equipment by the terminal equipment, a PD chip is not required to be arranged on the auxiliary equipment, so that the cost is reduced; moreover, because the PD chip identification is not adopted, the identification process can be realized even if the auxiliary equipment is not powered on. Meanwhile, the scheme adopts 2 resistors to identify the auxiliary equipment, so that the difficulty of error detection is increased, and the accuracy is higher; meanwhile, due to the adoption of undefined resistance in the Type-C standard, the scheme can be applied to non-standard auxiliary equipment.
In one implementation manner of the embodiment of the disclosure, the resistance value of the second resistor is not equal to the resistance value of any identifying resistor defined in the Type-C standard.
In the embodiment of the present disclosure, by using the resistor defined in the non-standard as the resistor of the identification assisting device, it is easier to distinguish from the device defined in the standard, and it is easier to identify the terminal device.
In one implementation manner of the embodiment of the present disclosure, the first detection circuit includes:
the non-inverting input ends of the first comparator and the second comparator are connected with the first CC pin, the inverting input end of the first comparator is connected with a first reference voltage providing end, the inverting input end of the second comparator is connected with a second reference voltage providing end, and the output ends of the first comparator and the second comparator are connected with the control circuit;
the second detection circuit includes:
the non-inverting input ends of the third comparator and the fourth comparator are connected with the second CC pin, the inverting input end of the third comparator is connected with a third reference voltage providing end, the inverting input end of the fourth comparator is connected with a fourth reference voltage providing end, and the output ends of the third comparator and the fourth comparator are connected with the control circuit;
the control circuit is further configured to determine a resistance value of the first resistor based on outputs of the first comparator and the second comparator, and determine a resistance value of the second resistor based on outputs of the third comparator and the fourth comparator.
In this implementation, first detection circuitry and second detection circuitry constitute by 2 comparators, and the equidirectional input end and the resistive connection that will detect in the auxiliary assembly of two comparators, the inverting input end of two comparators connect two different reference signal input ends respectively, and the output and the control circuit of two comparators are connected to make control circuit can confirm the resistance of resistance based on the output of comparator.
In an implementation manner of the embodiment of the present disclosure, the control circuit is further configured to obtain a sequence determined by the resistance value of the first resistor and the resistance value of the second resistor; and controlling the working parameters of the terminal equipment based on the sequence and the detection results of the first detection circuit and the second detection circuit.
In the implementation mode, the sequence of determining the resistance values is also considered in addition to the resistance values of the two resistors when the auxiliary equipment is identified, so that the terminal equipment can identify the auxiliary equipment more accurately through the design.
In an implementation manner of the embodiment of the present disclosure, the control circuit is further configured to control the first reference voltage providing terminal and the second reference voltage providing terminal to sequentially load a plurality of pairs of preset voltages until outputs of the first comparator and the second comparator are not equal; controlling the third reference voltage providing end and the fourth reference voltage providing end to load a plurality of pairs of preset voltages in sequence until the outputs of the third comparator and the fourth comparator are not equal; the two preset voltages in each pair of preset voltages are different in size, and each pair of preset voltages corresponds to a resistance value.
In this implementation, the two preset voltages in each pair of preset voltages have different magnitudes, so that, during comparison, the voltage at the non-inverting input terminal of one comparator is greater than that at the inverting input terminal, and the voltage at the inverting input terminal of the other comparator is greater than that at the non-inverting input terminal. The outputs of these two comparators are 1 (high) and 0 (low), respectively. When the control circuit receives signals output by two comparators in the same detection circuit, the control circuit can determine the level range of the level output by the pin in the terminal equipment, obtain the corresponding resistance value according to the level range, and then control the working parameters of the terminal equipment.
In an implementation manner of the embodiment of the present disclosure, the control circuit is configured to, when controlling the first reference voltage providing terminal and the second reference voltage providing terminal, or the third reference voltage providing terminal and the fourth reference voltage providing terminal to load the plurality of pairs of preset voltages, load a preset voltage corresponding to an identification resistor defined in the Type-C standard first, and then load a preset voltage corresponding to a resistor having a resistance value not equal to any identification resistor defined in the Type-C standard.
Because Rx and Ry can be the combination of the identification resistance and the non-identification resistance in the embodiment of the disclosure, and the resistances in the standard auxiliary equipment are all the identification resistances, the occurrence probability of the identification resistance defined in the Type-C standard in the actual use process is far higher than the self-defined non-identification resistance. By adopting the scheme of the implementation mode, if the identification resistance is identified, the voltage conversion times of the reference voltage providing end controlled by the control circuit are less, and the occurrence probability of the identification resistance is higher, so the average operation amount of the control circuit is reduced, and the calculation resource of the terminal equipment is saved.
In one implementation of the embodiment of the disclosure, when the auxiliary device indicated by the resistance values of the first resistor and the second resistor is a clip-on auxiliary device, the control circuit is configured to control an operating parameter of the terminal device according to at least one of the following manners:
improving the antenna gain parameter of the terminal equipment;
periodically reducing the charging power of the terminal equipment;
displaying an icon of the back-clip type auxiliary device on a user interface of the terminal device.
Since the back-clip type auxiliary device may cover the terminal device to some extent when in use, the signal strength of the terminal device may be affected, and therefore, when the back-clip type auxiliary device is used, the antenna gain parameter of the terminal device needs to be improved. Meanwhile, the temperature of the terminal device is also increased due to the coating effect of the back-clip type auxiliary device, and if high power is continuously adopted for charging, the terminal device is overheated, so that the charging power needs to be intermittently reduced, and the temperature of the terminal device is reduced. In addition, icons of the back-clip type auxiliary devices are displayed on the UI interface of the terminal device, so that a user can know that various auxiliary devices belong to different types.
In another aspect, an auxiliary device is provided, the auxiliary device comprising a Type-C interface;
a first CC pin of the Type-C interface is connected with a first resistor;
and a second CC pin of the Type-C interface is connected with a second resistor.
In one implementation manner of the embodiment of the disclosure, the resistance value of the second resistor is not equal to the resistance value of any identifying resistor defined in the Type-C standard.
In one implementation of the embodiment of the disclosure, the resistance value of the first resistor is equal to the resistance value of the identifying resistor defined in the Type-C standard.
In an implementation manner of the embodiment of the present disclosure, the second resistor is connected to a first port of a chip in the auxiliary device, and an output of the first port is 0V.
In an implementation manner of the embodiment of the present disclosure, a controllable switch is disposed between the second resistor and the chip.
In another aspect, a terminal device control method is provided, and the method includes:
detecting the resistance value of a first resistor of auxiliary equipment through a first detection circuit, wherein the first resistor is connected with a first configuration channel pin of a Type-C interface of the terminal equipment;
detecting the resistance value of a second resistor of the auxiliary equipment through a second detection circuit, wherein the second resistor is connected with a second configuration channel pin of the Type-C interface;
and controlling the working parameters of the terminal equipment based on the detection results of the first detection circuit and the second detection circuit, wherein the detection results of the first detection circuit and the second detection circuit are respectively used for indicating the resistance value of the first resistor and the resistance value of the second resistor.
In an implementation manner of the embodiment of the present disclosure, the controlling the operating parameter of the terminal device based on the detection results of the first detection circuit and the second detection circuit includes:
acquiring the sequence determined by the resistance value of the first resistor and the resistance value of the second resistor;
and controlling the working parameters of the terminal equipment based on the sequence and the detection results of the first detection circuit and the second detection circuit.
In an implementation manner of the embodiment of the present disclosure, the controlling the operating parameter of the terminal device based on the detection results of the first detection circuit and the second detection circuit includes:
when the auxiliary equipment indicated by the resistance value of the first resistor and the resistance value of the second resistor is the back-clip type auxiliary equipment, controlling the working parameters of the terminal equipment according to at least one of the following modes:
improving the antenna gain parameter of the terminal equipment;
periodically reducing the charging power of the terminal equipment;
displaying an icon of the back-clip type auxiliary device on a user interface of the terminal device.
In another aspect, a terminal device is provided, the terminal device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the terminal device control method as described above.
In another aspect, a computer-readable storage medium is provided, on which computer instructions are stored, which when executed by a processor implement the terminal device control method as described above.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 shows a pin diagram of a Type-C interface;
fig. 2 is a schematic structural diagram of a terminal device provided in an embodiment of the present disclosure;
fig. 3 is a circuit diagram of a terminal device provided by an embodiment of the present disclosure;
fig. 4 is a circuit diagram of another terminal device provided by the embodiment of the present disclosure;
fig. 5 is a circuit diagram of another terminal device provided by the embodiment of the present disclosure;
fig. 6 is a detailed circuit diagram of a terminal device provided by an embodiment of the present disclosure;
fig. 7 is a flowchart of a terminal device control method provided in an embodiment of the present disclosure;
fig. 8 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In order to facilitate understanding of the technical solution provided by the embodiment of the present disclosure, a simple description is first given below to a structure of the Type-C interface. Fig. 1 shows a pin diagram of a Type-C interface, and referring to fig. 1, there are many pins (a1-a12 and B1-B12) on the Type-C interface, among which pins a5 and B5, that is, two Configuration Channel (CC) pins, mainly function to detect the positive and negative insertion of an auxiliary device, detect the voltage and current that the auxiliary device can provide, and so on.
Fig. 2 is a schematic structural diagram of a terminal device provided in an embodiment of the present disclosure. Referring to fig. 2, the terminal device 10 includes: a first detection circuit 100, a second detection circuit 200 and a control circuit 300. The control circuit 300 is electrically connected to the first detection circuit 100 and the second detection circuit 200, respectively.
Fig. 3 is a circuit diagram of a terminal device according to an embodiment of the present disclosure. Referring to fig. 3, the first detection circuit 100 is configured to detect a resistance value of a first resistor Rx of the auxiliary device 20, the first resistor Rx being connected to the first CC pin 111 of the Type-C interface 11 of the terminal device 10. And a second detection circuit 200 configured to detect a resistance value of a second resistor Ry of the auxiliary device 20, the second resistor Ry being connected to the second CC pin 112 of the Type-C interface 11. And a control circuit 300 configured to control an operating parameter of the terminal device 10 based on detection results of the first detection circuit 100 and the second detection circuit 200, wherein the detection results of the first detection circuit 100 and the second detection circuit 200 are respectively used for indicating a resistance value of the first resistor Rx and a resistance value of the second resistor Ry.
In the embodiment of the disclosure, the terminal device detects the resistance values of two resistors Rx and Ry connected to two CC pins of the Type-C interface respectively through two detection circuits, and the determined resistance values of the two resistors indicate the Type of the auxiliary device together, so that the terminal device controls the working parameters of the terminal device according to the determined resistance values of the two resistors, that is, controls the working parameters of the terminal device according to the Type of the auxiliary device. In the process of identifying the auxiliary equipment by the terminal equipment, a PD chip is not required to be arranged on the auxiliary equipment, so that the cost is reduced; moreover, because the PD chip identification is not adopted, the identification process can be realized even if the auxiliary equipment is not powered on. Meanwhile, the scheme adopts 2 resistors to identify the auxiliary equipment, so that the difficulty of error detection is increased, and the accuracy is higher; meanwhile, due to the adoption of undefined resistance in the Type-C standard, the scheme can be applied to non-standard auxiliary equipment.
In one implementation of the embodiment of the present disclosure, the resistance value of the second resistor Ry is not equal to the resistance value of any one of the identification resistors defined in the Type-C standard. In the embodiment of the present disclosure, by using the resistor defined in the non-standard as the resistor of the identification assisting device, it is easier to distinguish from the device defined in the standard, and it is easier to identify the terminal device.
In the embodiment of the present disclosure, the terminal device includes, but is not limited to, a device having a Type-C interface, such as a mobile phone, a tablet computer, and a notebook computer.
In the process of identifying the type of the external accessory 20, the terminal device 10 is in a Dual Role Port (DRP) mode. In the DRP mode, the first CC pin 111 connected to the first detection circuit 100 and the second CC pin 112 connected to the second detection circuit 200 of the terminal device 10 are in a high level state or a low level state at the same time, and the first CC pin 111 (or the second CC pin 112) is in a high level state and a low level state alternately. In this way, the first detection circuit 100 can be used to detect the resistance of the identification resistor as a pull-up resistor in the auxiliary device 20, and can also be used to detect the resistance of the identification resistor as a pull-down resistor. The pull-up resistor refers to a resistor connected to a power supply, such as Rx in fig. 3, and the pull-down resistor is also referred to as a ground resistor, such as Ry in fig. 3. For example, when the first CC pin 111 connected to the first detection circuit 100 is in a low level state, the resistance of the pull-up resistor may be detected, and when the first CC pin 111 connected to the first detection circuit 100 is in a high level state, the resistance of the pull-down resistor may be detected. Since the identification resistor in the auxiliary device is a pull-up or pull-down resistor, which indicates the operation mode of the auxiliary device, the terminal device 10 can determine the operation mode of the auxiliary device 20 based on the detected identification resistor being a pull-up or pull-down resistor, and thus change the operation mode of the terminal device 10 itself. Here, the operation modes of the terminal device 10 and the auxiliary device 20 include a Downstream Port (DFP) mode (i.e., as a master, such as a charger) and an Upstream Facing Port (UFP) mode (i.e., as a slave, such as a usb flash disk), in addition to the above DRP mode.
Taking the circuit shown in fig. 3 as an example, the first resistor Rx is connected to the voltage source VBUS as a pull-up resistor, and accordingly, the first CC pin 111 is in a low state; the second resistor Ry is grounded and acts as a pull-down resistor, and accordingly, the second CC pin 112 is connected to the current source 12 and is in a high state. In the circuit shown in fig. 3, the state of the second CC pin 112 is controlled by a switch K, which is usually a selection switch, one end of the switch K is connected to the second CC pin 112, the other end of the switch K is selectively connected to one of the current source 12 and a ground resistor (not shown), and the switching between the high level state and the low level state is realized by controlling a device (the current source 12 or the ground resistor) connected to the other end of the switch K. Similarly, the first CC pin 111 is connected to the second CC pin 112 in the same structure, which is not shown.
In the circuit shown in fig. 3, since the first resistor Rx and the second resistor Ry are a pull-up resistor and a pull-down resistor, respectively, the first CC pin 111 connected to the first detection circuit 100 and the second CC pin 112 connected to the second detection circuit 200 are both in a high state or a low state. Only the pin in the high level state can detect the resistance value of the pull-down resistor, and the pin in the low level state can detect the resistance value of the pull-up resistor, so that when the terminal device detects the resistance values of the first resistor Rx and the second resistor Ry, one of the resistance values is detected first, and then the other resistance value is detected. For example, the first detection circuit 100 detects the resistance of Rx first, and then the second detection circuit 200 detects the resistance of Ry; alternatively, the second detection circuit 200 detects the resistance of Ry first, and then the first detection circuit 100 detects the resistance of Rx.
In addition to current source 12 for switching between high and low states of the CC pin, a voltage source may be used. Fig. 4 is a circuit diagram of another terminal device provided in the embodiment of the present disclosure, and the structure shown in fig. 4 is different from that shown in fig. 3 in that the device connected to the other end of the control switch K is changed from the current source 12 to the voltage source VBUS, and the resistor R is connected between the voltage source VBUS and the switch K.
For different auxiliary devices 20, the first resistor Rx and the second resistor Ry may be a pull-up resistor and a pull-down resistor, respectively, or may be pull-down resistors at the same time. Fig. 5 is a circuit diagram of another terminal device according to an embodiment of the disclosure, and the difference between the structure shown in fig. 5 and fig. 4 is that the first resistor Rx in fig. 4 is a pull-up resistor, and the first resistor Rx in fig. 5 is grounded and is a pull-down resistor.
Fig. 6 is a detailed circuit diagram of a terminal device provided in an embodiment of the present disclosure. Referring to fig. 6, the first detection circuit 100 includes: the non-inverting inputs + of the first comparator a1 and the second comparator a2, the first comparator a1 and the second comparator a2 are connected to the first CC pin 111, the inverting input of the first comparator a1 is connected to the first reference voltage supply terminal B1, the inverting input of the second comparator a2 is connected to the second reference voltage supply terminal B2, and the outputs of the first comparator a1 and the second comparator a2 are connected to the control circuit 300.
The second detection circuit 200 includes: the non-inverting inputs + of the third comparator A3 and the fourth comparator a4, the third comparator A3 and the fourth comparator a4 are connected to the second CC pin 112, the inverting input of the third comparator A3 is connected to the third reference voltage supply terminal B3, the inverting input of the fourth comparator a4 is connected to the fourth reference voltage supply terminal B4, and the outputs of the third comparator A3 and the fourth comparator a4 are connected to the control circuit 300.
The control circuit 300 is further configured to determine the resistance value of the first resistor Rx based on the outputs of the first and second comparators a1 and a2, and determine the resistance value of the second resistor Ry based on the outputs of the third and fourth comparators A3 and a 4.
In this implementation, first detection circuitry and second detection circuitry constitute by 2 comparators, and the equidirectional input end and the resistive connection that will detect in the auxiliary assembly of two comparators, the inverting input end of two comparators connect two different reference signal input ends respectively, and the output and the control circuit of two comparators are connected to make control circuit can confirm the resistance of resistance based on the output of comparator.
For example, the control circuit 300 may determine the level range in which the level of the pin output in the terminal device is located through the output of the comparator and the magnitude of the reference voltage. Since the magnitude of the current source 12 or the magnitude of the resistance of the resistor R used for voltage division is known, the resistance range of the resistor can be determined based on the level range. Since the size of the identification resistor is defined in advance by the Type-C protocol, and the size of the second resistor Ry is also a resistor with a fixed size defined in advance, for example, 10K Ω or 20K Ω, although not defined in advance by the Type-C protocol, determining the resistance range can determine the resistance size of the identification resistor or the preset resistor within the range.
Furthermore, each level range (i.e., the range defined by a pair of preset voltages) may correspond to the resistance value of each resistor, each level range corresponds to the resistance value of only one resistor, and when a pair of preset voltages is determined, the resistance value of each resistor may be determined, so as to determine that the resistor corresponds to different auxiliary devices.
Illustratively, the control circuit 300 is further configured to control the first reference voltage supply terminal B1 and the second reference voltage supply terminal B2 to sequentially load a plurality of pairs of preset voltages until the outputs of the first comparator a1 and the second comparator a2 are not equal; the third reference voltage supply terminal B3 and the fourth reference voltage supply terminal B4 are controlled to sequentially load a plurality of pairs of preset voltages until the outputs of the third comparator A3 and the fourth comparator a4 are not equal. The two preset voltages in each pair of preset voltages are different in size, and each pair of preset voltages corresponds to a resistance value.
In this implementation, the two preset voltages in each pair of preset voltages have different magnitudes, so that, during comparison, the voltage at the non-inverting input terminal of one comparator is greater than that at the inverting input terminal, and the voltage at the inverting input terminal of the other comparator is greater than that at the non-inverting input terminal. The outputs of these two comparators are 1 (high) and 0 (low), respectively. When the control circuit receives signals output by two comparators in the same detection circuit, the control circuit can determine the level range of the level output by the pin in the terminal equipment, obtain the corresponding resistance value according to the level range, and then control the working parameters of the terminal equipment.
Here, Rx and Ry may be a combination of the identification resistor and the non-identification resistor in the embodiment of the present disclosure. The scheme can be also suitable for standard auxiliary equipment, the detection result of only one of the two detection circuits is not null, and the resistors in the standard auxiliary equipment are all the identification resistors, so that the occurrence probability of the identification resistors defined in the Type-C standard in the actual use process is far higher than that of the self-defined non-identification resistors. Therefore, the control circuit 300 may be configured to load the preset voltage corresponding to the identification resistor defined in the Type-C standard first and then load the preset voltage corresponding to the resistor having the resistance value not equal to any one of the identification resistors defined in the Type-C standard when controlling the first reference voltage supply terminal B1 and the second reference voltage supply terminal B2, or the third reference voltage supply terminal B3 and the fourth reference voltage supply terminal B4 to load a plurality of pairs of preset voltages. By the design, if the identification resistance is identified, the number of times of voltage conversion of the reference voltage providing end controlled by the control circuit 300 is small, and the occurrence probability of the identification resistance is high, the average operation amount of the control circuit 300 is reduced, and the calculation resource of the terminal device is saved.
In one implementation of the embodiment of the present disclosure, the control circuit 300 is configured to control at least one of the following parameters of the terminal device 10 based on the resistance value of the first resistor Rx detected by the first detection circuit 100 and the resistance value of the second resistor Ry detected by the second detection circuit 200: a charging parameter, an antenna gain parameter, a temperature control parameter, and a User Interface (UI) display parameter.
Wherein the charging parameters comprise charging current and charging voltage; the antenna gain parameter is the gain used by the antenna; the temperature control parameter may include adjusting power of the terminal device according to an operating temperature of the terminal device, where the power includes charging power, processing power, and the like; the UI display parameter is information of the auxiliary device displayed on a user interface of the terminal device.
Of course, in addition to the above parameters, the terminal device 10 may also control other parameters of the terminal device 10 according to the resistance value of the first resistor Rx and the resistance value of the second resistor Ry, which is not limited in this disclosure.
The auxiliary device in the disclosure mainly refers to a back splint Type auxiliary device, a wireless auxiliary device or an auxiliary device undefined in other standards, the back splint Type auxiliary device can be a protective shell, a charger baby protective shell and the like, the wireless auxiliary device can be a wireless charging protective shell, and a Type-C interface can be arranged on the wireless charging protective shell to connect the terminal device. Of course, the auxiliary device may also be an auxiliary device defined in the standard, such as a charger, a usb flash disk, etc., but the second CC pin in the auxiliary device cannot be floating, and may be connected to a ground resistor, that is, Ry.
The parameters that the terminal device 10 can control differ for different auxiliary devices. In one implementation of the embodiment of the present disclosure, when the auxiliary device 20 indicated by the resistance values of the first resistor Rx and the second resistor Ry is a clip-on auxiliary device, the control circuit 300 is configured to control the operating parameters of the terminal device 10 according to at least one of the following manners:
improving the antenna gain parameter of the terminal device 10;
periodically reducing the charging power of the terminal device 10;
an icon of the clip-on auxiliary device is displayed on the user interface of the terminal device 10.
Since the back-clip type auxiliary device may cover the terminal device to some extent when in use, the signal strength of the terminal device may be affected, and therefore, when the back-clip type auxiliary device is used, the antenna gain parameter of the terminal device needs to be improved. Meanwhile, the temperature of the terminal device is also increased due to the coating effect of the back-clip type auxiliary device, and if high power is continuously adopted for charging, the terminal device is overheated, so that the charging power needs to be intermittently reduced, and the temperature of the terminal device is reduced. In addition, icons of the back-clip type auxiliary devices are displayed on the UI interface of the terminal device, so that a user can know that various auxiliary devices belong to different types.
The embodiment of the disclosure also provides auxiliary equipment. Referring again to fig. 3 to 5, the auxiliary device 20 includes a Type-C interface 21. A first CC pin 211 of the Type-C interface 21 is connected with a first resistor Rx; the second CC pin 212 of the Type-C interface 21 is connected to the second resistor Ry.
In the embodiment of the disclosure, two resistance values of the two resistors Rx and Ry are respectively connected to two CC pins of the auxiliary device, and the resistance value of the second resistor Ry is not equal to the resistance value of any identification resistor defined in the Type-C standard. Therefore, the terminal equipment can determine the Type of undefined auxiliary equipment in the Type-C standard according to the resistance values of the two resistors, and then can control the working parameters of the terminal equipment according to the determined resistance values of the two resistors. In the process of identifying the auxiliary equipment by the terminal equipment, a PD chip is not required to be arranged on the auxiliary equipment, so that the cost is reduced. Meanwhile, the scheme adopts 2 resistors to identify the auxiliary equipment, and the accuracy is higher.
It should be noted that the Type-C interface 21 is usually a male plug, and the Type-C interface 11 on the terminal device is a female socket, and the connection between the auxiliary device and the terminal device can be realized only by the cooperation of the two.
The auxiliary device in the present disclosure mainly refers to an auxiliary device not defined in standards such as a clip-on auxiliary device, a wireless auxiliary device, and the like. Of course, the auxiliary device may also be an auxiliary device defined in the standard, such as a charger, a usb flash disk, etc., but the second CC pin in the auxiliary device cannot be floating, and may be connected to a ground resistor, that is, Ry.
In one implementation of the embodiment of the present disclosure, the resistance value of the second resistor Ry is not equal to the resistance value of any one of the identification resistors defined in the Type-C standard. By adopting the resistor defined in the non-standard as the resistor of the identification auxiliary device, the device is easier to distinguish from the device defined in the standard, and the identification of the terminal device is easier.
In the auxiliary device, the first CC pin 211 and the first resistor Rx may be resistors defined in a standard, such as 1K Ω, 5.1K Ω or 51K Ω, that is, the resistance of the first resistor Rx is equal to the resistance of the identification resistor defined in the Type-C standard. In this way, after detecting the resistance value of the first resistor Rx, the terminal device can determine that the auxiliary terminal device is an auxiliary device adopting the Type-C protocol.
In other implementation manners, the first resistor Rx connected to the first CC pin 211 may not be a resistor defined in the standard, that is, the resistance value of the first resistor Rx is not equal to the resistance value of the identification resistor defined in the Type-C standard.
As shown in fig. 3 to 5, the second resistor Ry is grounded. In the embodiment of the present disclosure, the second resistor Ry may be grounded in such a manner that the second resistor Ry is directly connected to the ground line. The second resistor Ry may be connected to a first port of a chip in the auxiliary device 20, and an output of the first port is 0V, so as to implement grounding of the second resistor Ry.
Here, the chip may be a Micro Control Unit (MCU) or an Integrated Circuit (IC) chip. The first port is an In/Out (I/O) port on the MCU or the IC chip.
When the first resistor Rx is also grounded, any one of the above schemes can be used to ground the first resistor Rx.
In an implementation manner of the embodiment of the present disclosure, a controllable switch is disposed between the second resistor Ry and the chip. The controllable switch may be in an off state for a predetermined time after the auxiliary device is connected to the terminal device and in an on state after the predetermined time is exceeded. The predetermined time here may be a time for pulling up and pulling down the CC pin in the terminal device once. In this way, it can be ensured that the terminal device detects the first resistor Rx first and then detects the second resistor Ry.
This arrangement ensures, on the one hand, that the terminal device 10 transmits the Type-C protocol with the auxiliary device 20 when detecting Rx. In addition, the terminal device 10 may also consider the order of resistance detection when identifying the auxiliary device 20, for example, the control circuit 300 of the terminal device is further configured to obtain the order of determining the resistance value of the first resistor Rx and the resistance value of the second resistor Ry; based on the sequence and the detection results of the first detection circuit 100 and the second detection circuit 200, the operating parameters of the terminal device 10 are controlled. The design can make the identification of the auxiliary equipment more accurate by the terminal equipment.
For example, when the resistance value of the first resistor Rx is determined and then the resistance value of the second resistor Ry is determined, the operating parameters of the terminal device 10 are controlled based on the detection results of the first detection circuit 100 and the second detection circuit 200. If the resistance of the second resistor Ry is determined first and then the resistance of the first resistor Rx is determined, or the resistances of the first resistor Rx and the second resistor Ry are determined simultaneously, the operating parameters of the terminal device 10 are controlled without being based on the detection results of the first detection circuit 100 and the second detection circuit 200.
Optionally, since the terminal device 10 recognizes that the auxiliary device 20 is an auxiliary device not defined in the standard after the second resistor Ry is connected, before the second resistor Ry is connected, the terminal device 10 may further use the auxiliary device 20 as an auxiliary device defined in the standard only according to the resistance value of the first resistor Rx to operate, and the terminal device 10 operates in a more flexible manner.
In addition, except the above case, 2 same resistors can be adopted, but the two auxiliary devices are distinguished by the fact that the control terminal device detects different sequences of the resistors through the controllable switches in the auxiliary devices.
In the disclosed embodiments, the controllable switch may be controlled by a chip in the auxiliary device using a timing signal. The controllable switch may be a transistor switch.
Fig. 7 is a flowchart of a terminal device control method according to an embodiment of the present disclosure. The method is applicable to the terminal device shown in any one of fig. 2 to 6, and referring to fig. 7, the method includes:
in step S51, a resistance value of a first resistor of the auxiliary device is detected by a first detection circuit, and the first resistor is connected to a first configuration channel pin of the Type-C interface of the terminal device.
The method may be performed by a control circuit in the terminal device. The control circuit controls the first reference voltage supply terminal B1 and the second reference voltage supply terminal B2 to load a plurality of pairs of preset voltages in sequence until the outputs of the first comparator A1 and the second comparator A2 in the first detection circuit are unequal, the two preset voltages in each pair of preset voltages are different in magnitude, and each pair of preset voltages corresponds to a resistance value. Here, the resistance values corresponding to a pair of preset voltages that make the outputs of the first comparator a1 and the second comparator a2 unequal are the resistance values of the first resistor.
In step S52, the resistance of the second resistor of the auxiliary device is detected by the second detection circuit, and the second resistor is connected to the second configuration channel pin of the Type-C interface.
Here, the resistance value of the second resistor is not equal to the resistance value of any one of the identification resistors defined in the Type-C standard.
The control circuit controls the third reference voltage supply terminal B3 and the fourth reference voltage supply terminal B4 to load a plurality of pairs of preset voltages in sequence until the outputs of the third comparator A3 and the fourth comparator a4 in the second detection circuit are not equal. Here, the resistance values corresponding to a pair of preset voltages that make the outputs of the third comparator A3 and the fourth comparator a4 unequal are the resistance values of the second resistor.
In step S53, the operating parameters of the terminal device are controlled based on the detection results of the first detection circuit and the second detection circuit, which are used to indicate the resistance value of the first resistor and the resistance value of the second resistor, respectively.
In one implementation manner of the embodiment of the present disclosure, step S53 may include: acquiring the sequence determined by the resistance value of the first resistor and the resistance value of the second resistor; and controlling the working parameters of the terminal equipment based on the sequence and the detection results of the first detection circuit and the second detection circuit. The design can make the identification of the auxiliary equipment more accurate by the terminal equipment.
In one implementation manner of the embodiment of the present disclosure, step S53 may include: the resistance value of the first resistor Rx is determined based on the outputs of the first and second comparators a1 and a2, and the resistance value of the second resistor Ry is determined based on the outputs of the third and fourth comparators A3 and a 4. Based on the resistance value of the first resistor Rx detected by the first detection circuit and the resistance value of the second resistor Ry detected by the second detection circuit, at least one of the following parameters of the terminal equipment is controlled: a charging parameter, an antenna gain parameter, a temperature control parameter, and a UI display parameter.
Wherein the charging parameters comprise charging current and charging voltage; the antenna gain parameter is the gain used by the antenna; the temperature control parameter may include adjusting power of the terminal device according to an operating temperature of the terminal device, where the power includes charging power, processing power, and the like; the UI display parameter is information of the auxiliary device displayed on a user interface of the terminal device.
Of course, in addition to the above parameters, the terminal device may also control other parameters of the terminal device according to the resistance value of the first resistor Rx and the resistance value of the second resistor Ry, which is not limited in this disclosure.
The auxiliary device in the present disclosure mainly refers to an auxiliary device not defined in standards such as a clip-on auxiliary device, a wireless auxiliary device, and the like. Of course, the auxiliary device may also be an auxiliary device defined in the standard, such as a charger, a usb flash disk, etc., but the second CC pin in the auxiliary device cannot be floating, and may be connected to a ground resistor, that is, Ry.
The parameters that the terminal device can control differ for different auxiliary devices. In one implementation of the embodiment of the present disclosure, when the auxiliary device is a clip-on auxiliary device, that is, when the auxiliary device indicated by the resistance value of the first resistor and the resistance value of the second resistor is a clip-on auxiliary device, the step S53 may include: controlling the working parameters of the terminal equipment according to at least one of the following modes: improving the antenna gain parameter of the terminal equipment; periodically reducing the charging power of the terminal equipment; displaying an icon of the back-clip-type auxiliary device on a user interface of the terminal device.
Since the back-clip type auxiliary device may cover the terminal device to some extent when in use, the signal strength of the terminal device may be affected, and therefore, when the back-clip type auxiliary device is used, the antenna gain parameter of the terminal device needs to be improved. Meanwhile, the temperature of the terminal device is also increased due to the coating effect of the back-clip type auxiliary device, and if high power is continuously adopted for charging, the terminal device is overheated, so that the charging power needs to be intermittently reduced, and the temperature of the terminal device is reduced. In addition, icons of the back-clip type auxiliary devices are displayed on the UI interface of the terminal device, so that a user can know that various auxiliary devices belong to different types.
Fig. 8 is a block diagram illustrating a terminal device 600 according to an example embodiment. Referring to fig. 8, the terminal device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an interface to input/output (I/O) 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operations of the terminal device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operation at the terminal device 600. Examples of such data include instructions for any software program or method operating on the terminal device 600, contact data, phonebook data, messages, pictures, videos, etc. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 606 provides power to the various components of terminal device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 600.
The multimedia component 608 includes a screen providing an output interface between the terminal device 600 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. When the terminal device 600 is a mobile terminal, the multimedia component includes at least one camera; when the terminal device 600 is a terminal device, the multimedia component does not include a camera.
The audio component 610 is configured to output and/or input audio signals. In some embodiments, audio component 610 includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing various aspects of status assessment for the terminal device 600. For example, when the smart device is a smart air conditioner, the sensor component 614 may include a humidity sensor, a temperature sensor, and the like.
The communication component 616 is configured to facilitate wireless communication between the terminal device 600 and other devices. In the disclosed embodiment, the communication component 616 may access a wireless network based on a communication standard, such as 2G, 3G, 4G, or 5G, or a combination thereof, so as to implement the physical downlink control signaling detection. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. Optionally, the communication component 616 further includes an NFC module.
In an exemplary embodiment, the terminal device 600 may be implemented by one or more software Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described terminal device control method.
In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, that may be executed by the processor 620 of the terminal device 600 to perform the terminal device control method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. A terminal device, characterized in that the terminal device (10) comprises:
a first detection circuit (100) configured to detect a resistance value of a first resistor (Rx) of an auxiliary device (20), the first resistor (Rx) being connected to a first configuration channel pin (111) of a Type-C interface (11) of the terminal device (10);
a second detection circuit (200) configured to detect a resistance value of a second resistor (Ry) of the auxiliary device (20), the second resistor (Ry) being connected to a second configuration channel pin (112) of the Type-C interface (11);
a control circuit (300) configured to control an operating parameter of the terminal device (10) based on detection results of the first detection circuit (100) and the second detection circuit (200), the detection results of the first detection circuit (100) and the second detection circuit (200) being used to indicate a resistance value of the first resistor (Rx) and a resistance value of the second resistor (Ry), respectively.
2. A terminal device according to claim 1, characterized in that the resistance value of the second resistor (Ry) is not equal to the resistance value of any identifying resistor defined in the Type-C standard.
3. A terminal device according to claim 1, characterized in that said first detection circuit (100) comprises:
a first comparator (a1) and a second comparator (a2), the non-inverting inputs of the first comparator (a1) and the second comparator (a2) are both connected to the first configuration channel pin (111), the inverting input of the first comparator (a1) is connected to a first reference voltage supply terminal (B1), the inverting input of the second comparator (a2) is connected to a second reference voltage supply terminal (B2), and the outputs of the first comparator (a1) and the second comparator (a2) are connected to the control circuit (300);
the second detection circuit (200) comprises:
a third comparator (A3) and a fourth comparator (a4), the non-inverting inputs of the third comparator (A3) and the fourth comparator (a4) are both connected to the second configuration channel pin (112), the inverting input of the third comparator (A3) is connected to a third reference voltage supply terminal (B3), the inverting input of the fourth comparator (a4) is connected to a fourth reference voltage supply terminal (B4), and the outputs of the third comparator (A3) and the fourth comparator (a4) are connected to the control circuit (300);
the control circuit (300) is further configured to determine a resistance value of the first resistor (Rx) based on outputs of the first comparator (A1) and the second comparator (A2), and determine a resistance value of the second resistor (Ry) based on outputs of the third comparator (A3) and the fourth comparator (A4).
4. A terminal device according to claim 3, wherein the control circuit (300) is further configured to obtain a determined sequence of the resistance values of the first resistor (Rx) and the second resistor (Ry); and controlling the working parameters of the terminal equipment (10) based on the sequence and the detection results of the first detection circuit (100) and the second detection circuit (200).
5. The terminal device according to claim 3, wherein the control circuit (300) is further configured to control the first reference voltage supply terminal (B1) and the second reference voltage supply terminal (B2) to sequentially load a plurality of pairs of preset voltages until the outputs of the first comparator (A1) and the second comparator (A2) are not equal; controlling the third reference voltage supply terminal (B3) and the fourth reference voltage supply terminal (B4) to load a plurality of pairs of preset voltages in sequence until the outputs of the third comparator (B3) and the fourth comparator (B4) are not equal; the two preset voltages in each pair of preset voltages are different in size, and each pair of preset voltages corresponds to a resistance value.
6. The terminal device of claim 5, wherein the control circuit (300) is configured to load the preset voltage corresponding to the identification resistor defined in the Type-C standard first and then load the preset voltage having a resistance value not equal to the preset voltage corresponding to the resistance of any one of the identification resistors defined in the Type-C standard when controlling the first reference voltage supply terminal (B1) and the second reference voltage supply terminal (B2) or when controlling the third reference voltage supply terminal (B3) and the fourth reference voltage supply terminal (B4) to load the plurality of pairs of preset voltages.
7. The terminal device according to any of claims 1 to 6, characterized in that, when the auxiliary device (20) indicated by the resistance of the first resistor (Rx) and the resistance of the second resistor (Ry) is a clip-on auxiliary device, the control circuit (300) is configured to control the operating parameters of the terminal device (10) in at least one of the following ways:
-increasing an antenna gain parameter of the terminal device (10);
-periodically reducing the charging power of the terminal device (10);
displaying an icon of a clip-on auxiliary device on a user interface of the terminal device (10).
8. An auxiliary device, characterized in that the auxiliary device (20) comprises a Type-C interface (21);
a first configuration channel pin (211) of the Type-C interface (21) is connected with a first resistor (Rx);
and a second configuration channel pin (212) of the Type-C interface (21) is connected with a second resistor (Ry).
9. Auxiliary device according to claim 8, characterized in that the resistance value of said second resistor (Ry) is not equal to the resistance value of any identifying resistor defined in the Type-C standard.
10. Auxiliary device according to claim 8 or 9, characterized in that said first resistor (Rx) has a resistance equal to the resistance of the identification resistor defined in the Type-C standard.
11. Auxiliary device according to claim 8 or 9, characterized in that said second resistor (Ry) is connected to a first port of a chip in said auxiliary device (20), the output of said first port being 0V.
12. Auxiliary device according to claim 11, characterized in that a controllable switch is arranged between said second resistor (Ry) and said chip.
13. A terminal device control method, characterized in that the method comprises:
detecting the resistance value of a first resistor of auxiliary equipment through a first detection circuit, wherein the first resistor is connected with a first configuration channel pin of a Type-C interface of the terminal equipment;
detecting the resistance value of a second resistor of the auxiliary equipment through a second detection circuit, wherein the second resistor is connected with a second configuration channel pin of the Type-C interface;
and controlling the working parameters of the terminal equipment based on the detection results of the first detection circuit and the second detection circuit, wherein the detection results of the first detection circuit and the second detection circuit are respectively used for indicating the resistance value of the first resistor and the resistance value of the second resistor.
14. The method of claim 13, wherein the controlling the operating parameter of the terminal device based on the detection results of the first detection circuit and the second detection circuit comprises:
acquiring the sequence determined by the resistance value of the first resistor and the resistance value of the second resistor;
and controlling the working parameters of the terminal equipment based on the sequence and the detection results of the first detection circuit and the second detection circuit.
15. The method of claim 13, wherein the controlling the operating parameter of the terminal device based on the detection results of the first detection circuit and the second detection circuit comprises:
when the auxiliary equipment indicated by the resistance value of the first resistor and the resistance value of the second resistor is the back-clip type auxiliary equipment, controlling the working parameters of the terminal equipment according to at least one of the following modes:
improving the antenna gain parameter of the terminal equipment;
periodically reducing the charging power of the terminal equipment;
displaying an icon of the back-clip type auxiliary device on a user interface of the terminal device.
16. A terminal device, characterized in that the terminal device comprises:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the terminal device control method of any one of claims 13 to 15.
17. A computer-readable storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a processor, implement the terminal device control method of any one of claims 13 to 15.
CN201910615452.3A 2019-07-09 2019-07-09 Terminal device, control method thereof, auxiliary device, and storage medium Active CN112214433B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910615452.3A CN112214433B (en) 2019-07-09 2019-07-09 Terminal device, control method thereof, auxiliary device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910615452.3A CN112214433B (en) 2019-07-09 2019-07-09 Terminal device, control method thereof, auxiliary device, and storage medium

Publications (2)

Publication Number Publication Date
CN112214433A true CN112214433A (en) 2021-01-12
CN112214433B CN112214433B (en) 2022-04-15

Family

ID=74047336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910615452.3A Active CN112214433B (en) 2019-07-09 2019-07-09 Terminal device, control method thereof, auxiliary device, and storage medium

Country Status (1)

Country Link
CN (1) CN112214433B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI819716B (en) * 2022-07-25 2023-10-21 睿生光電股份有限公司 Detection device and operation method thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868140A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 A mobile apparatus
CN106291210A (en) * 2015-05-22 2017-01-04 快捷半导体(苏州)有限公司 USB interface detector, detection method, USB connector and electronic equipment
CN108054541A (en) * 2017-12-05 2018-05-18 捷开通讯(深圳)有限公司 Switching device, more device detection systems and its detection method
CN108845655A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Control method of electronic device, device, control circuit and electronic equipment
CN109189617A (en) * 2018-07-27 2019-01-11 维沃移动通信有限公司 A kind of universal serial bus c-type interface detection method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106291210A (en) * 2015-05-22 2017-01-04 快捷半导体(苏州)有限公司 USB interface detector, detection method, USB connector and electronic equipment
CN105868140A (en) * 2016-03-25 2016-08-17 乐视控股(北京)有限公司 A mobile apparatus
CN108054541A (en) * 2017-12-05 2018-05-18 捷开通讯(深圳)有限公司 Switching device, more device detection systems and its detection method
CN108845655A (en) * 2018-06-21 2018-11-20 Oppo广东移动通信有限公司 Control method of electronic device, device, control circuit and electronic equipment
CN109189617A (en) * 2018-07-27 2019-01-11 维沃移动通信有限公司 A kind of universal serial bus c-type interface detection method and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI819716B (en) * 2022-07-25 2023-10-21 睿生光電股份有限公司 Detection device and operation method thereof

Also Published As

Publication number Publication date
CN112214433B (en) 2022-04-15

Similar Documents

Publication Publication Date Title
EP3121926B1 (en) Charging method and apparatus
US11258280B2 (en) Mobile terminal, peripheral device, and charging method thereof
RU2682911C2 (en) Reversible connector for accessory devices
US8954628B2 (en) Portable device and peripheral extension dock
CN105224494A (en) Method for handover control and device
US20200278945A1 (en) Electronic device having usb type-c interface, control method, and readable storage
US10852798B2 (en) Power supply control method and apparatus for power strip, and storage medium
CN112448423B (en) Charging method and device, electronic equipment and storage medium
CN107329520B (en) USB interface connection method, device and system of mobile terminal
EP3614523B1 (en) Charging processing method and terminal device
CN112214433B (en) Terminal device, control method thereof, auxiliary device, and storage medium
CN110191215B (en) Terminal and processing method
CN107681727B (en) Control method and device of electronic equipment
CN105183309A (en) Switching control method and device
CN112798988A (en) Detection circuit, detection method and device, and electronic device
CN116111659A (en) Charging circuit, method, device, electronic equipment and medium
EP3629428B1 (en) Method and apparatus for changing impedance of terminal included in connector
CN107391157B (en) Mobile terminal and method for identifying mobile storage device
CN112019681B (en) Control method of mobile terminal, mobile terminal and storage medium
CN114069801A (en) Quick charging connection circuit, quick charging connection device and charging control method
CN112710893B (en) Electronic device and bottom current testing device
CN104407883B (en) A kind of control method and electronic equipment
US20200004307A1 (en) Electronic device
KR20190051723A (en) Method for providing mode switching, electronic apparatus and storage medium
CN216486227U (en) Electronic interaction panel

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