CN106776424B - Connector, control method and control device thereof, and electronic equipment - Google Patents
Connector, control method and control device thereof, and electronic equipment Download PDFInfo
- Publication number
- CN106776424B CN106776424B CN201611079048.1A CN201611079048A CN106776424B CN 106776424 B CN106776424 B CN 106776424B CN 201611079048 A CN201611079048 A CN 201611079048A CN 106776424 B CN106776424 B CN 106776424B
- Authority
- CN
- China
- Prior art keywords
- signal
- data pin
- module
- power
- power supply
- 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.)
- Active
Links
Classifications
-
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
The present disclosure relates to a joint, a control method thereof, a control device, and an electronic apparatus, the joint including: the first end is used for connecting an interface of the terminal; a second end for connecting a power line; the third end is used for connecting the audio input/output component; wherein, first end includes power pin and data pin, the power pin with the second end is connected, connect and still include: and the first connecting module is connected with the data pin, is connected with the second end when receiving a first signal from the data pin, and is connected with the third end when receiving a second signal from the data pin. According to the technical scheme of the disclosure, when the connector is connected to the music in the interface listening terminal, the terminal can be charged simultaneously, the user does not need to pull out the audio input/output component connected to the connector, and the use experience of the user on the interface is improved.
Description
Technical Field
The disclosure relates to the technical field of terminals, and in particular to a connector, a control method and a control device thereof, and an electronic device.
Background
as a novel USB interface, the Type-C interface can bear various data formats such as Audio, VGA, DP, HDMI, USB 3.1 and the like, and supports forward and reverse insertion, so that the development direction of the future USB interface is provided.
Because the Type-C interface can bear the centering data format, consequently can listen to the music in the terminal of interface place through audio input/output components such as Type-C interface connection headset, also can charge for the terminal of interface place through Type-C interface power cord. But only one of the two can be connected, if a user needs to charge when listening to music through the audio input/output component, the audio input/output component must be unplugged from the Type-C interface and then plugged in a power line for charging, so that the user experience is reduced.
disclosure of Invention
the present disclosure provides a connector of an interface, a control method thereof, a control device thereof, and an electronic device, so as to solve the deficiencies in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a connector of an interface, including:
the first end is used for connecting an interface of the terminal;
A second end for connecting a power line;
The third end is used for connecting the audio input/output component;
Wherein, first end includes power pin and data pin, the power pin with the second end is connected, connect and still include:
And the first connecting module is connected with the data pin, conducts the connection between the data pin and the second end when receiving a first signal from the data pin, and conducts the connection between the data pin and the third end when receiving a second signal from the data pin.
optionally, the joint further comprises:
And the first buffer register module is connected to the first connection module and the data pin and used for registering the first signal or the second signal.
Optionally, the joint further comprises:
And the second connecting module is connected to the third end, grounds the third end when receiving the second signal, and disconnects the third end from the ground when receiving the first signal.
optionally, the joint further comprises:
And the second buffer register module is connected to the second connection module and the data pin and used for registering the first signal or the second signal.
According to a second aspect of the embodiments of the present disclosure, there is provided a method of controlling the charging of the connector described above, including:
Detecting whether a power supply signal exists at the second end;
if a power supply signal exists, generating a first signal, and transmitting the first signal to the first connection module;
acquiring charging handshake information from the power supply signal;
receiving the power supply signal according to the charging handshake information;
and generating a second signal and transmitting the second signal to the first connection module.
optionally, the joint further comprises:
After determining that the power supply signal exists, determining whether the voltage of the power supply signal is greater than a preset voltage;
if so, a first signal is generated.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for controlling charging of the connector, including:
A detection module configured to detect whether a power signal is present at the second terminal;
A signal generation module configured to generate a first signal when a power signal is present, transmit the first signal to the first connection module;
an acquisition module configured to acquire charging handshake information from the power supply signal;
a receiving module configured to receive the power supply signal according to the charging handshake information;
the signal generating module is further configured to generate a second signal and transmit the second signal to the first connecting module.
Optionally, the joint further comprises:
a comparison module configured to determine whether a voltage of a power signal is greater than a preset voltage after the power signal is present;
the signal generation module generates a first signal when the voltage of the power supply signal is greater than a preset voltage.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
A processor;
a memory for storing processor-executable instructions;
Wherein the processor is configured to:
detecting whether a power signal is present at a second end of the connector;
If a power supply signal exists, generating a first signal, and transmitting the first signal to the first connection module;
acquiring charging handshake information from the power supply signal;
receiving the power supply signal according to the charging handshake information;
And generating a second signal and transmitting the second signal to the first connection module.
the technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
it can be known from the above embodiments that, according to the connector in this embodiment, when the connector is connected to the interface listening terminal for music, the terminal can be charged simultaneously without pulling down the audio input/output component connected to the connector by the user, so that the user experience of the interface by the user is improved.
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 is a schematic block diagram of a joint shown in accordance with an exemplary embodiment.
Fig. 2 is a schematic diagram illustrating the connection of an audio input/output component and the connector pin shown in fig. 1 according to an exemplary embodiment.
FIG. 3 is a schematic block diagram illustrating another joint according to an exemplary embodiment.
FIG. 4 is a schematic block diagram illustrating yet another joint according to an exemplary embodiment.
FIG. 5 is a schematic block diagram illustrating yet another joint according to an exemplary embodiment.
FIG. 6 is a schematic block diagram illustrating yet another joint according to an exemplary embodiment.
Fig. 7 is a schematic block diagram illustrating a method of controlling the charging of the contacts in the embodiments of fig. 1-6, according to an exemplary embodiment.
FIG. 8 is a schematic flow chart diagram illustrating another method of controlling connector charging in accordance with an exemplary embodiment.
Fig. 9 is a schematic block diagram illustrating a control terminal charging device according to an exemplary embodiment.
Fig. 10 is a schematic block diagram illustrating another control terminal charging arrangement according to an exemplary embodiment.
fig. 11 is a block diagram illustrating an apparatus for controlling the charging of a connector according to an exemplary 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.
Fig. 1 is a schematic block diagram illustrating a connector that may be adapted for use with a terminal having an interface according to an exemplary embodiment. As shown in fig. 1, the joint includes:
A first end 11 for connecting an interface of a terminal;
a second end 12 for connecting a power line;
a third terminal 13 for connecting an audio input/output component;
Wherein the first terminal 11 includes a power pin 111 and a data pin 112, the power pin 111 is connected to the second terminal 12, and the connector further includes:
and a first connection module 14 connected to the data pin 112, and configured to connect the data pin to the second terminal 12 when receiving a first signal from the data pin 112, and connect the data pin to the third terminal 13 when receiving a second signal from the data pin 112.
In one embodiment, the first end of the connector may interface with a processor in the terminal and a power management chip, the power management chip needs to obtain charging handshaking information, such as charging voltage, charging current, and the like, before receiving a charging signal from the power line, and the handshaking information belongs to data and needs to be input to the terminal through a data pin. When a user listens to music in the terminal through an audio input/output component, such as a headset, audio is also data and needs to be output to the audio input/output component through a data pin.
in one embodiment, the first end may be a male port of the connector, the second end may be a female port of the connector, and the third end may be another interface different from the male port and the female port, so that the connector can simultaneously connect the interface, the power cord and the audio input/output module by providing the third interface. And the first connection module can switch the conduction of the first end and the second end or the conduction of the first end and the third end according to different received signals.
Since the second terminal is always on with the power pin in the first terminal, the processor in the terminal can detect once the electrical signal is present at the second terminal. When the second terminal is detected to have an electrical signal (for example, a voltage signal), it may be determined that the second terminal is connected to a power line, so that the first signal may be transmitted to the first connection module, the third terminal and the data pin in the first terminal are temporarily disconnected, and the second terminal and the data pin are connected, so that the data pin may receive a charging handshake signal input by the power line.
In one embodiment, the received charging handshake signals may be forwarded by the processor to the power management chip, so that the power management chip may be configured according to the charging handshake information to receive the power signals input by the power line. And after the processor receives the charging handshake signal, the processor does not need to receive data from the power line, so that the processor can transmit a second signal to the first connection module, disconnect the data pin in the first terminal from the second terminal, and reconnect the third terminal and the data pin in the first terminal, so that a user can continue to listen to music in the terminal through the audio input/output component. And because the time quantum of receiving the information of charging handshake is very short, so the time of breaking off the data pin in third end and the first end is also very short, and the user is in the in-process of listening to the music, when the second end inserts the power cord, can hardly influence the effect of listening to of music, can realize charging to the terminal when listening to the music.
therefore, according to the connector in the embodiment, when the connector is connected to the interface listening terminal for music, the terminal can be charged simultaneously, a user does not need to pull out the audio input/output component connected to the connector, and the use experience of the user on the interface is improved.
it should be noted that the first connection module 14 shown in fig. 1 is a single-pole double-throw switch, which is only an illustration, and other structures having a switching function may be adopted as the first connection module 14.
Fig. 2 is a schematic diagram illustrating the connection of an audio input/output component and the connector pin shown in fig. 1 according to an exemplary embodiment.
in fig. 2, the connector may be adapted to a Type-C interface, the audio input/output component may be a 3.5 mm-sized headset, and the DET1 pin of the headset is connected to the CC pin and the VCONN pin of the connector, so that whether the headset is plugged into the connector or not can be detected through the connection relationship. The LEFT pin and the RIGHT pin (corresponding to LEFT and RIGHT channels) are respectively connected to a Dp1 pin and a Dn1 pin, wherein the Dp1 pin and the Dn1 pin are data pins shown in fig. 1. The VBUS pin in the connector is the power pin shown in fig. 1. The functions of the pins GND, SSTXp1, SSTXp2, SSRXp1, SSRXp2, SBU1, SBU2, etc. in the connector are similar to those in the related art, and are not described herein again.
FIG. 3 is a schematic block diagram illustrating another joint according to an exemplary embodiment. As shown in fig. 3, on the basis of the embodiment shown in fig. 1, the joint further includes:
a first buffer register module 15, connected to the first connection module 14 and the data pin 112, for registering the first signal or the second signal.
in one embodiment, the first signal may be a high or low level signal and the second signal may also be a high or low level signal, but the two remain different. Through the first buffer register module, the state of receiving the first signal can be kept in the time from the time when the first connection module receives the first signal to the time when the first connection module receives the second signal. For example, the second terminal may be kept conductive with the data pin after receiving the first signal of high level until receiving the second signal of low level. Similarly, the third terminal may be kept in conduction with the data pin after receiving the second signal of low level until receiving the first signal of high level. Therefore, the connection is prevented from being switched when the first connection module does not receive the signal due to the influence of factors such as noise and the like.
FIG. 4 is a schematic block diagram illustrating yet another joint according to an exemplary embodiment. As shown in fig. 4, on the basis of the embodiment shown in fig. 1, the joint further includes:
And a second connection module 16 connected to the third terminal 13, for grounding the third terminal 13 when receiving the second signal, and disconnecting the third terminal 13 from the ground when receiving the first signal.
in one embodiment, when the terminal is charged, the charging current may cause interference to an audio signal transmitted from the data pin to the third terminal, and the interference may be reduced by grounding the third terminal when the terminal is charged through the second connection module, thereby ensuring a listening effect of a user.
In one embodiment, a resistor may be further disposed between the third terminal and the ground, so that on one hand, the voltage of the third terminal may be raised to a required level, and on the other hand, the mobile phone housing may be used as the ground, and the current transmitted from the third terminal to the mobile phone housing may be prevented from being too large by the resistor, thereby protecting a user to a certain extent.
FIG. 5 is a schematic block diagram illustrating yet another joint according to an exemplary embodiment. As shown in fig. 5, on the basis of the embodiment shown in fig. 4, the joint further includes:
and a second buffer register module 17, connected to the second connection module and the data pin, for registering the first signal or the second signal.
Similar to the embodiment shown in fig. 3, the second buffer module can avoid the influence of noise and other factors from causing the second connection module to switch connection when not receiving a signal.
FIG. 6 is a schematic block diagram illustrating yet another joint according to an exemplary embodiment. As shown in fig. 6, the embodiment shown in fig. 5 may be combined with the embodiment shown in fig. 3. Of course, it is also possible to combine the embodiment shown in fig. 4 with the embodiment shown in fig. 3.
fig. 7 is a schematic block diagram illustrating a method of controlling the charging of the contacts in the embodiments of fig. 1-6, according to an exemplary embodiment. As shown in fig. 7, the method includes:
In step S71, detecting whether a power signal exists at the second end, and if so, proceeding to step S72;
In step S72, generating a first signal, transmitting the first signal to the first connection module;
In step S73, acquiring charging handshake information from the power supply signal;
In step S74, receiving the power supply signal according to the charging handshake information;
In step S75, a second signal is generated and transmitted to the first connection module.
in one embodiment, the above steps may all be performed by the terminal where the Type-C interface is located, and specifically, the steps S71, S72, S73 and S75 may be performed by a processor in the terminal, and the step S74 may be performed by a power management chip in the terminal. After the processor executes step S73, the charging handshake information may be transmitted to the power management chip, and then step S75 may be executed without waiting for the execution of step S74.
FIG. 8 is a schematic flow chart diagram illustrating another method of controlling connector charging in accordance with an exemplary embodiment. As shown in fig. 8, on the basis of the embodiment shown in fig. 7, the method further includes:
In step S76, after determining that the power signal exists, determining whether the voltage of the power signal is greater than a predetermined voltage, and if so, performing step S72 to generate a first signal.
in one embodiment, since the voltage at the power line input may be unstable and the battery may be damaged by charging with an unstable voltage, especially a lower voltage, after determining that the power signal is present, i.e. after determining that the voltage signal is present at the first terminal, it may be further determined whether the voltage is large enough, e.g. larger than a preset voltage, and only if it is larger than the preset voltage, it is determined that the voltage at the power line input is suitable for charging, otherwise no charging is performed.
Corresponding to the embodiment of the control connector charging method, the disclosure also provides an embodiment of a control connector charging device.
fig. 9 is a schematic block diagram illustrating a control terminal charging device according to an exemplary embodiment. Referring to fig. 9, the apparatus includes:
A detecting module 91 configured to detect whether a power signal is present at the second end;
A signal generating module 92 configured to generate a first signal when a power signal is present, transmit the first signal to the first connecting module;
An obtaining module 93 configured to obtain charging handshake information from the power supply signal;
A receiving module 94 configured to receive the power supply signal according to the charging handshake information;
wherein the signal generating module 92 is configured to generate a second signal and transmit the second signal to the first connecting module.
Fig. 10 is a schematic block diagram illustrating another control terminal charging arrangement according to an exemplary embodiment. As shown in fig. 10, on the basis of the embodiment shown in fig. 9, the apparatus further includes:
a comparison module 95 configured to determine whether a voltage of a power supply signal is greater than a preset voltage after the power supply signal is present;
the signal generating module 92 generates a first signal when the voltage of the power signal is greater than a preset voltage.
with regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
for the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
correspondingly, this disclosure still provides a control joint charging device, includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: detecting whether a power signal is present at a second end of the connector; if a power supply signal exists, generating a first signal, and transmitting the first signal to the first connection module; acquiring charging handshake information from the power supply signal; receiving the power supply signal according to the charging handshake information; and generating a second signal and transmitting the second signal to the first connection module.
accordingly, the present disclosure also provides a terminal comprising a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured for execution by the one or more processors to include instructions for: detecting whether a power signal is present at a second end of the connector; if a power supply signal exists, generating a first signal, and transmitting the first signal to the first connection module; acquiring charging handshake information from the power supply signal; receiving the power supply signal according to the charging handshake information; and generating a second signal and transmitting the second signal to the first connection module.
Fig. 11 is a block diagram illustrating an apparatus 1100 for controlling connector charging in accordance with an exemplary embodiment. For example, the apparatus 1100 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
referring to fig. 11, apparatus 1100 may include one or more of the following components: processing component 1102, memory 1104, power component 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor component 1114, and communications component 1116.
the processing component 1102 generally controls the overall operation of the device 1100, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1102 may include one or more processors 1120 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 1102 may include one or more modules that facilitate interaction between the processing component 1102 and other components. For example, the processing component 1102 may include a multimedia module to facilitate interaction between the multimedia component 1108 and the processing component 1102.
the memory 1104 is configured to store various types of data to support operations at the apparatus 1100. Examples of such data include instructions for any application or method operating on device 1100, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1104 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.
a power component 1106 provides power to the various components of the device 1100. The power components 1106 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 1100.
The multimedia component 1108 includes a screen that provides an output interface between the device 1100 and a 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. In some embodiments, the multimedia component 1108 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1100 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1110 is configured to output and/or input audio signals. For example, the audio component 1110 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 1100 is in operating modes, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 1104 or transmitted via the communication component 1116. In some embodiments, the audio assembly 1110 further includes a speaker for outputting audio signals.
the I/O interface 1112 provides an interface between the processing component 1102 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 assembly 1114 includes one or more sensors for providing various aspects of state assessment for the apparatus 1100. For example, the sensor assembly 1114 may detect an open/closed state of the apparatus 1100, the relative positioning of components, such as a display and keypad of the apparatus 1100, the sensor assembly 1114 may also detect a change in position of the apparatus 1100 or a component of the apparatus 1100, the presence or absence of user contact with the apparatus 1100, orientation or acceleration/deceleration of the apparatus 1100, and a change in temperature of the apparatus 1100. The sensor assembly 1114 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1114 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1114 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
the communication component 1116 is configured to facilitate wired or wireless communication between the apparatus 1100 and other devices. The apparatus 1100 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1116 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1116 also includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1100 may be implemented by one or more 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 methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 1104 comprising instructions, executable by the processor 1120 of the apparatus 1100 to perform the method described above 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 (9)
1. a fitting, comprising:
the first end is used for connecting an interface of the terminal;
a second end for connecting a power line;
The third end is used for connecting the audio input/output component;
wherein, first end includes power pin and data pin, the power pin with the second end is connected, connect and still include:
The first connecting module is connected with the data pin, conducts the connection between the data pin and the second end when receiving a first signal from the data pin, and conducts the connection between the data pin and the third end when receiving a second signal from the data pin;
The second end and the power pin in the first end are always conducted, when a processor in the terminal detects that an electric signal exists at the second end, the second end is determined to be connected with a power line, a first signal is transmitted to the first connection module, the third end and the data pin in the first end are disconnected, the second end and the data pin are conducted, and the data pin can receive a charging handshake signal input by the power line;
and after the processor receives the charging handshake signal, the processor transmits a second signal to the first connection module, disconnects the data pin in the first end from the second end, and reconnects the data pin in the third end and the first end.
2. the fitting according to claim 1, further comprising:
And the first buffer register module is connected to the first connection module and the data pin and used for registering the first signal or the second signal.
3. the fitting according to claim 1, further comprising:
and the second connecting module is connected to the third end, grounds the third end when receiving the second signal, and disconnects the third end from the ground when receiving the first signal.
4. The fitting according to claim 3, further comprising:
And the second buffer register module is connected to the second connection module and the data pin and used for registering the first signal or the second signal.
5. a method of controlling the charging of a connector as claimed in any one of claims 1 to 4, comprising:
detecting whether a power supply signal exists at the second end;
if a power supply signal exists, generating a first signal, and transmitting the first signal to the first connection module;
Acquiring charging handshake information from the power supply signal;
receiving the power supply signal according to the charging handshake information;
and generating a second signal and transmitting the second signal to the first connection module.
6. The method of claim 5, further comprising:
after determining that the power supply signal exists, determining whether the voltage of the power supply signal is greater than a preset voltage;
if so, a first signal is generated.
7. an apparatus for controlling the charging of a connector according to any one of claims 1 to 4, comprising:
A detection module configured to detect whether a power signal is present at the second terminal;
a signal generation module configured to generate a first signal when a power signal is present, transmit the first signal to the first connection module;
An acquisition module configured to acquire charging handshake information from the power supply signal;
A receiving module configured to receive the power supply signal according to the charging handshake information;
the signal generating module is further configured to generate a second signal and transmit the second signal to the first connecting module.
8. The apparatus of claim 7, further comprising:
A comparison module configured to determine whether a voltage of a power signal is greater than a preset voltage after the power signal is present;
the signal generation module generates a first signal when the voltage of the power supply signal is greater than a preset voltage.
9. An electronic device, comprising:
A processor;
A memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting the presence of a power signal at the second end of the connector of any one of claims 1 to 4;
if a power supply signal exists, generating a first signal, and transmitting the first signal to the first connection module;
acquiring charging handshake information from the power supply signal;
Receiving the power supply signal according to the charging handshake information;
generating a second signal, and transmitting the second signal to the first connection module;
The second end and the power pin in the first end are always conducted, when a processor in the terminal detects that an electric signal exists at the second end, the second end is determined to be connected with a power line, a first signal is transmitted to the first connection module, the third end and the data pin in the first end are disconnected, the second end and the data pin are conducted, and the data pin can receive a charging handshake signal input by the power line;
and after the processor receives the charging handshake signal, the processor transmits a second signal to the first connection module, disconnects the data pin in the first end from the second end, and reconnects the data pin in the third end and the first end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079048.1A CN106776424B (en) | 2016-11-29 | 2016-11-29 | Connector, control method and control device thereof, and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611079048.1A CN106776424B (en) | 2016-11-29 | 2016-11-29 | Connector, control method and control device thereof, and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106776424A CN106776424A (en) | 2017-05-31 |
CN106776424B true CN106776424B (en) | 2019-12-06 |
Family
ID=58901046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611079048.1A Active CN106776424B (en) | 2016-11-29 | 2016-11-29 | Connector, control method and control device thereof, and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106776424B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580280A (en) * | 2017-09-29 | 2018-01-12 | 努比亚技术有限公司 | Charging and audio control method, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001005580A (en) * | 1999-06-25 | 2001-01-12 | Toshiba Corp | Connector device |
CN104269709A (en) * | 2014-09-10 | 2015-01-07 | 天津三星电子有限公司 | Quick charge adapter connector and control method thereof, and electronic devices |
CN105703185A (en) * | 2016-02-18 | 2016-06-22 | 北京小米移动软件有限公司 | Signal transmission method, signal transmission device and adapter connecting head |
CN205644528U (en) * | 2016-01-19 | 2016-10-12 | 群联电子股份有限公司 | Connect interface converting circuit and be connected interface connector |
CN205666410U (en) * | 2016-06-01 | 2016-10-26 | 陈质冉 | Type C adapter |
-
2016
- 2016-11-29 CN CN201611079048.1A patent/CN106776424B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001005580A (en) * | 1999-06-25 | 2001-01-12 | Toshiba Corp | Connector device |
CN104269709A (en) * | 2014-09-10 | 2015-01-07 | 天津三星电子有限公司 | Quick charge adapter connector and control method thereof, and electronic devices |
CN205644528U (en) * | 2016-01-19 | 2016-10-12 | 群联电子股份有限公司 | Connect interface converting circuit and be connected interface connector |
CN105703185A (en) * | 2016-02-18 | 2016-06-22 | 北京小米移动软件有限公司 | Signal transmission method, signal transmission device and adapter connecting head |
CN205666410U (en) * | 2016-06-01 | 2016-10-26 | 陈质冉 | Type C adapter |
Also Published As
Publication number | Publication date |
---|---|
CN106776424A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017016163A1 (en) | Charging method and apparatus | |
CN108964182B (en) | Reverse charging equipment, and method and device for adjusting reverse charging current | |
CN107681727B (en) | Control method and device of electronic equipment | |
CN106445856B (en) | Interface circuit, state switching method and device | |
EP3832841A1 (en) | Charging circuit, electronic device, charging control method and device | |
CN105068958A (en) | Switching control method and device | |
CN108091808B (en) | Battery, equipment, charging control method and device | |
CN104468971A (en) | Method and device for connecting playing source | |
CN104577235B (en) | For the method for portable set charging, the method, apparatus and system of control charging | |
CN105391477A (en) | A communication method and device between bluetooth devices | |
CN104935729A (en) | Audio output method and device | |
US10852798B2 (en) | Power supply control method and apparatus for power strip, and storage medium | |
CN107329520B (en) | USB interface connection method, device and system of mobile terminal | |
US11205906B2 (en) | Charging processing method, terminal device and storage medium | |
CN111949107B (en) | Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment | |
CN107124012B (en) | Charging method, device, charger, terminal and system | |
CN105554631A (en) | Audio switching method and device, and electronic device | |
CN105630655A (en) | Charging connection prompting method and apparatus | |
CN108513218B (en) | Audio channel control method and electronic equipment | |
CN106877451B (en) | Charging port short-circuit protection method and device | |
CN109586125B (en) | Type-C adapter, terminal and electronic equipment | |
CN104967174A (en) | Charging control method and device | |
CN106776424B (en) | Connector, control method and control device thereof, and electronic equipment | |
CN104577325A (en) | Antenna and device | |
CN107733021B (en) | Control method and device of electronic equipment |
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 |