CN113316057A - Earphone, method and device for reducing power consumption and electronic equipment - Google Patents

Earphone, method and device for reducing power consumption and electronic equipment Download PDF

Info

Publication number
CN113316057A
CN113316057A CN202110592488.1A CN202110592488A CN113316057A CN 113316057 A CN113316057 A CN 113316057A CN 202110592488 A CN202110592488 A CN 202110592488A CN 113316057 A CN113316057 A CN 113316057A
Authority
CN
China
Prior art keywords
earphone
type
interface
module
level signal
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
CN202110592488.1A
Other languages
Chinese (zh)
Other versions
CN113316057B (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110592488.1A priority Critical patent/CN113316057B/en
Publication of CN113316057A publication Critical patent/CN113316057A/en
Application granted granted Critical
Publication of CN113316057B publication Critical patent/CN113316057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • H04R1/1041Mechanical or electronic switches, or control elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R2420/00Details of connection covered by H04R, not provided for in its groups
    • H04R2420/09Applications of special connectors, e.g. USB, XLR, in loudspeakers, microphones or headphones
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Signal Processing (AREA)
  • Headphones And Earphones (AREA)
  • Telephone Function (AREA)

Abstract

The application discloses an earphone, a method and a device for reducing power consumption and electronic equipment, and belongs to the technical field of communication. The earphone includes: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone; Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone passes through Type-C interface physical connection electronic equipment, control module accessible MOS pipe switch on or cut off control earphone and electronic equipment's electric connection state.

Description

Earphone, method and device for reducing power consumption and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to an earphone, a method and a device for reducing power consumption and electronic equipment.
Background
With the development of electronic technology, a new USB interface appearance standard Type-C interface is generated, and the Type-C interface can be used for connecting a master device (i.e. host device) and a slave device (i.e. slave device). For example, the electronic device connects a headset that also has a Type-C interface through the Type-C interface and plays audio using the headset.
At present, when the electronic device is physically connected with the earphone through the Type-C interface, no matter whether the earphone function is turned on or not, due to the use of the Type-C interface, the USB function of the main device is always in an on state (i.e., the USB host is always in an on state), and due to the hardware structure of the circuit of the earphone, the electronic device cannot be turned off through the angle of software. As such, there are problems of higher power consumption and power waste in the case where the electronic device uses the Type-C interface.
Disclosure of Invention
The embodiment of the application aims to provide an earphone, a method and a device for reducing power consumption and electronic equipment, and the problems that the power consumption is high and the power is wasted when the Type-C interface is used by the electronic equipment can be solved.
In a first aspect, an embodiment of the present application provides a headset, including: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone; Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone passes through Type-C interface physical connection electronic equipment, control module accessible MOS pipe switch on or cut off control earphone and electronic equipment's electric connection state.
In a second aspect, an embodiment of the present application provides a method for reducing power consumption, where the method is applied to an electronic device, the electronic device is physically connected to an earphone through a Type-C interface, and the earphone includes: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone; Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; the control module can control the electric connection state of the earphone and the electronic equipment through the connection or the disconnection of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface; the method comprises the following steps: detecting the working mode of the earphone; and under the condition that the earphone is detected to be in the first mode, outputting a first level signal to the earphone, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment. And under the condition that the earphone is detected to be in the second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment. Wherein the second level signal is different from the first level signal.
In a third aspect, an embodiment of the present application provides a method for reducing power consumption, where the method is applied to the earphone described in the first aspect, and the method includes: under the condition that the earphone is in the first mode, receiving a first level signal of the electronic equipment, and controlling the earphone to be electrically connected with the electronic equipment and disconnected according to the first level signal; under the condition that the earphone is in the second mode, receiving a second level signal of the electronic equipment, and controlling the earphone to be electrically connected with the electronic equipment according to the second level signal; wherein the second level signal is different from the first level signal.
In a fourth aspect, an embodiment of the present application provides an apparatus for reducing power consumption, where the apparatus is physically connected to an earphone through a Type-C interface, and the earphone includes: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone; Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; the control module can control the electric connection state of the earphone and the electronic equipment through the connection or the disconnection of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface; the method comprises the following steps: the device comprises a detection module and a processing module. The detection module is used for detecting the working mode of the earphone; the processing module is used for outputting a first level signal to the earphone under the condition that the detection module detects that the earphone is in the first mode, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment; under the condition that the detection module detects that the earphone is in the second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment; wherein the second level signal is different from the first level signal.
In a fifth aspect, embodiments of the present application provide an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a seventh aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, and the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
An embodiment of the present application provides a headset, including: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone; Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone passes through Type-C interface physical connection electronic equipment, control module accessible MOS pipe switch on or cut off control earphone and electronic equipment's electric connection state. Therefore, the control module of the earphone can control the earphone to be electrically connected with the electronic equipment through the conduction of the MOS tube; the control module can also control the disconnection of the electric connection between the earphone and the electronic equipment through the cut-off of the MOS tube. Therefore, the USB function of the electronic equipment can be disconnected physically, the USB host of the electronic equipment is smoothly closed, and continuous loss of the electric quantity of the electronic equipment in the process of connecting the Type-C interface and not using the Type-C interface is avoided.
Drawings
Fig. 1 is a schematic circuit diagram of an earphone according to an embodiment of the present disclosure;
fig. 2 is a schematic circuit diagram illustrating an electronic device connected to a headset according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating a method for reducing power consumption according to an embodiment of the present disclosure;
fig. 4 is a second schematic diagram illustrating a method for reducing power consumption according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for reducing power consumption according to an embodiment of the present disclosure;
fig. 6 is a second schematic structural diagram of an apparatus for reducing power consumption according to an embodiment of the present disclosure;
fig. 7 is a hardware schematic diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a second hardware schematic diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. The objects distinguished by "first", "second", and the like are usually a class, and the number of the objects is not limited, and for example, the first object may be one or a plurality of objects. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The earphone and the method for reducing power consumption provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Type-C interface: also known as USB Type-C, is a latest USB interface profile standard, and the Type-C interface is an interface Type that can be applied to both a master device and an external device (a slave device, such as a mobile phone). The Type-C interface specifically comprises: 4 pairs of TX/RX branch lines, 2 pairs of USBD +/D-, one pair of SBUs, 2 CCs, 4 VBUS and 4 ground lines. Compare in Type-A interface and Type-B interface, Type-C is the newest USB interface appearance standard, and the volume of interface is less, and does not have positive and negative direction difference, can plug at will.
Example one
As shown in fig. 1 and 2, an embodiment of the present application provides a headset, which may include: Type-C interface module, coding and decoding module and earphone microphone.
Type-C interface module includes: Type-C interface and control module, control module includes the MOS pipe.
The Type-C interface module is connected with the earphone microphone through the coding and decoding module; and the control module is connected with the Type-C interface.
Wherein, under the condition that the earphone passes through Type-C interface physical connection electronic equipment, control module accessible MOS pipe switch on or cut off control earphone and electronic equipment's electric connection state.
Optionally, in this embodiment of the present application, the MOS transistor body may be a P-channel MOS transistor or an N-channel MOS transistor; the transistor can also be an enhancement type MOS transistor or a depletion type MOS transistor. The embodiment of the application is not particularly limited, and the level at the gate of the MOS transistor can be adaptively adjusted according to a specific MOS transistor type number.
In the embodiment of the present application, as shown in fig. 1 and fig. 2, an enhancement N-type MOS transistor Q1 is taken as an example in the embodiment of the present application for illustration, and this does not constitute a specific limitation in many embodiments of the present application.
Optionally, in this embodiment of the application, the electrical connection state between the earphone and the electronic device includes: the earphone is electrically connected with the electronic equipment and is disconnected with the electronic equipment. In the event that an electrical connection is established, a signal may be communicated between the headset and the electronic device (e.g., a first signal and a second signal, described below), and the electronic device may control the headset to output audio. When the electrical connection is disconnected, the USB function of the electronic equipment is disconnected physically, signals cannot be transmitted between the electronic equipment, and therefore the electronic equipment can smoothly close the USB host function of the electronic equipment.
It should be noted that specific functions of the codec module and the earphone microphone are described in the following embodiments, which are not repeated herein.
An embodiment of the present application provides a headset, including: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone; Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone passes through Type-C interface physical connection electronic equipment, control module accessible MOS pipe switch on or cut off control earphone and electronic equipment's electric connection state. Therefore, the control module of the earphone can control the earphone to be electrically connected with the electronic equipment through the conduction of the MOS tube; the control module can also control the disconnection of the electric connection between the earphone and the electronic equipment through the cut-off of the MOS tube. Therefore, the USB function of the electronic equipment can be disconnected physically, the USB host of the electronic equipment is smoothly closed, and continuous loss of the electric quantity of the electronic equipment in the process of connecting the Type-C interface and not using the Type-C interface is avoided.
Optionally, in this embodiment of the present application, the working mode of the headset includes: a first mode and a second mode.
Under the condition that the earphone is in the first mode, the MOS tube is cut off, and the control module controls the earphone to be electrically connected with the electronic equipment.
And under the condition that the earphone is in the second mode, the MOS tube is conducted, and the control module controls the earphone to be electrically connected with the electronic equipment.
It should be noted that fig. 1 is a schematic structural diagram of the earphone, wherein the control module is a control circuit including a MOS transistor Q1 and connected to the Type-C interface. Fig. 2 is a schematic diagram of an electronic device and a headset physically connected through a Type-C interface.
The headset receives a first signal of the electronic device in a case where the headset establishes an electrical connection with the electronic device.
The earphone control coding and decoding module processes the first signal into a second signal and outputs the second signal by using an earphone microphone.
Optionally, in this embodiment of the application, the encoding and decoding module is configured to process the first signal received by the earphone into a second signal. Specifically, if the first signal is an encoded signal, the encoding/decoding module may perform decoding processing on the first signal to obtain a second signal. If the first signal is a decoded signal, the coding and decoding module can code the first signal to obtain a second signal. That is to say, the codec module in the earphone of the present application has a bidirectional function, and similarly, the earphone microphone may also have an input or output function. The specific implementation can refer to the related art.
It should be noted that, for convenience of explaining the working principle of the present application, the following embodiments exemplify that the codec module decodes the first signal to obtain the second signal, and the headphone microphone outputs the second signal. It is not to be construed as specifically limiting the present application.
Illustratively, when the earphone and the electronic device are physically connected through the Type-C interface and simultaneously establish an electrical connection, the earphone may receive a first signal (the first signal is used to control the output content of the earphone) including an encoded audio signal sent by the electronic device through the Type-C interface, then, a codec module in the earphone processes the first signal to perform decoding processing, so as to obtain a second signal including decoded audio, and then, the earphone may play and output the first signal through a speaker.
It can be understood that, under the condition that the earphone is in the first mode, the MOS transistor is turned off, and the control module of the earphone controls the earphone to be electrically disconnected from the electronic device; and under the condition that the earphone is in the second mode, the MOS tube is conducted, and the control module of the earphone controls the earphone to be electrically connected with the electronic equipment. . Therefore, on one hand, when the MOS tube is cut off, the USB function of the electronic equipment can be disconnected physically, so that the USB host of the electronic equipment is closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the Type-C interface connection and unused process (such as the first mode) is avoided. On the other hand, the earphone can be controlled by the control module according to the current earphone mode to disconnect or establish the electric connection of the electronic equipment, so that the electric connection can be established to use the earphone when necessary according to the use requirements of users, the electric loss can be reduced by disconnecting the electric connection when the earphone is not used, the electric loss of the electronic equipment is controlled in the whole using process, and the power consumption of the electronic equipment is saved.
Optionally, as shown in fig. 1, in an embodiment of the present application, the Type-C interface includes: CC1 pin and SBU pin, this MOS pipe is N type MOS pipe.
The drain electrode of the N-type MOS tube is connected with a CC1 pin, the source electrode of the N-type MOS tube is grounded, and the grid electrode of the N-type MOS tube is connected with an SBU pin.
Optionally, as shown in fig. 1, in this embodiment of the application, the Type-C interface further includes a pull-down resistor.
The source electrode of the N-type MOS tube is connected with a pull-down resistor and is grounded through the pull-down resistor.
Optionally, the level of the SBU pin of the earphone Type-C interface is determined by the level of the output interface of the electronic device. For example, a GPIO (General-purpose input/output) interface of an electronic device.
Optionally, in this embodiment of the application, the output level of the SBU pin of the earphone Type-C interface corresponds to the on-off relationship of the N-Type MOS transistor as follows:
under the condition that the earphone is in the first mode, the SBU pin outputs low level to control the cut-off of the N-type MOS tube.
And under the condition that the earphone is in the second mode, the SBU pin outputs high level to control the conduction of the N-type MOS tube.
Optionally, in this embodiment of the application, the first mode is a mute mode, specifically, when the earphone is physically connected to the electronic device through the Type-C interface, the earphone does not start an audio playing mode; it may also be a mode in which the audio play mode is activated, but the volume is zero.
Optionally, in this embodiment of the application, the first mode is a non-silent mode, specifically, when the earphone is physically connected to the electronic device through the Type-C interface, the earphone starts an audio playing mode and plays audio.
Optionally, in this embodiment of the present application, the MOS transistor body may be a P-channel MOS transistor or an N-channel MOS transistor; the transistor can also be an enhancement type MOS transistor or a depletion type MOS transistor. The embodiment of the application is not particularly limited, and the level at the gate of the MOS transistor can be adaptively adjusted according to a specific MOS transistor type number.
In the embodiment of the present application, as shown in fig. 1 and fig. 2, an enhancement N-type MOS transistor Q1 is taken as an example in the embodiment of the present application for illustration, and this does not constitute a specific limitation in many embodiments of the present application.
Optionally, in the embodiment of the present application, the enhancement-type N-MOS transistor Q1 shown in fig. 1 and fig. 2 functions as a current switch, and the operation principle is as follows: the level high or low connected to the gate through the SBU controls the Q1 to turn on or off. Specifically, the first case: when the level of the SBU connected to the gate is high, the voltage between the gate and the source is greater than or equal to the threshold voltage, the MOS transistor Q1 is turned on, the current is grounded through the CC1 and the pull-down resistor R1, and at this time, the electronic device is electrically connected to the earphone, and the electronic device can use the function of the earphone (e.g., playing audio). In the second case: when the level of the SBU connected to the grid is low level, the voltage between the grid and the source is less than the threshold voltage, the MOS transistor Q1 is cut off, the CC1 pin is in a suspended state, the electronic equipment is electrically disconnected with the earphone at the moment, and the electronic equipment is physically connected with the earphone, but the electronic equipment is electrically disconnected with the earphone at the moment.
Illustratively, as shown in fig. 2, the electronic device is physically connected to a headset through a Type-C interface, and an enhanced N-Type MOS transistor Q1 is added between a CC1 pin of the headset and a pull-down resistor R1 (the resistance of the pull-down resistor R1 is specifically determined according to actual use). Specifically, as shown in fig. 2, the drain of the Q1 of the MOS transistor is connected to the pin CC1, the source of the Q1 of the MOS transistor is grounded through the pull-down resistor R1, and the gate of the Q1 of the MOS transistor is connected to the pin SBU of the earphone. When the earphone is in a mute mode (i.e., a first mode), a level output to the SUB pin by a CPU of the electronic device through a General-purpose input/output (GPIO) pin is a low level, a voltage between a gate and a source is smaller than a threshold voltage, a MOS transistor Q1 is turned off, a CC1 pin is in a floating state, the electronic device is electrically disconnected from the earphone at this time, and the electronic device is physically connected to the earphone, but the electronic device is electrically disconnected from the earphone at this time, so that a USB function of the electronic device is physically disconnected, a USB host of the electronic device is smoothly turned off, and continuous power loss of the electronic device is avoided. When the earphone is in the non-mute mode (i.e., the second mode), the level output to the SUB pin by the CPU of the electronic device through the GPIO is a high level, the voltage between the gate and the source is greater than the threshold voltage, the MOS transistor Q1 is turned on, the current is grounded through the CC1 and the pull-down resistor R1, and at this time, the electronic device is electrically connected to the earphone, and the electronic device can play audio using the earphone.
It can be understood that, in the embodiment of the present application, since the N-type MOS transistor Q1 is added between the pin CC1 and the pull-down resistor, the earphone can control the on/off of the N-type MOS transistor Q1 according to the level of the SBU connected to the gate of the N-type MOS transistor Q1, so that when the earphone is in the first mode, the off of the N-type MOS transistor is controlled; and controlling the conduction of the N-type MOS tube under the condition that the earphone is in the second mode. And then from the whole use control electronic equipment power consumption of earphone, practice thrift electronic equipment's power consumption.
Alternatively, another possible connection mode is to use a P-type MOS transistor, specifically, in the case that the MOS transistor is a P-type MOS transistor, a source of the P-type MOS transistor is connected to the pin CC1, a drain of the N-type MOS transistor is grounded, and a gate of the P-type MOS transistor is connected to the pin SBU. The following examples are not shown in the drawings.
Optionally, in this embodiment of the application, the Type-C interface further includes a pull-up resistor, that is, the CC1 pin is connected to the source of the P-Type MOS transistor through the pull-up resistor.
Optionally, in this embodiment of the application, a corresponding relationship between an output level of an SBU pin of the earphone Type-C interface and an on-off state of a CC1 pin Type MOS transistor is as follows:
under the condition that the earphone is in the first mode, the SBU pin outputs high level to control the cut-off of the P-type MOS tube.
And under the condition that the earphone is in the second mode, the SBU pin outputs low level to control the conduction of the P-type MOS tube.
Example two
As shown in fig. 3, an embodiment of the present application provides a method for reducing power consumption, which is applied to an electronic device, where the electronic device is physically connected to a headset in the first embodiment through a Type-C interface, and the headset includes: Type-C interface module, coding and decoding module and earphone microphone, this Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone passes through Type-C interface physical connection electronic equipment, control module accessible MOS pipe switch on or cut off control earphone and electronic equipment's electric connection state. The method for reducing power consumption includes the following steps 101 to 103, wherein step 102 and step 103 are alternatively executed.
Step 101, the electronic device detects the working mode of the earphone.
Optionally, in this embodiment of the application, in a case that the electronic device is physically connected to a target device (e.g., an earphone), the electronic device first determines whether the target device connected to the electronic device is the earphone, and if the target device is the earphone, the following steps 101 to 103 are continuously performed.
Optionally, in this embodiment of the present application, the specific steps of determining whether the target device is an earphone may be the following steps a to c.
Step a, under the condition that the electronic equipment is physically connected with the target equipment, the electronic equipment sends first information to the target equipment. The first information is used for verifying the identity of the target device, and specifically, the first information may include an identity verification request or instruction.
And step b, the electronic equipment receives second information fed back by the target equipment. The second information includes identity information for characterizing the target device, for example, the second information includes interface information, address information, sound card protocol information, device and number information, etc. that may characterize the identity information of the target device.
And c, determining that the target equipment is the earphone under the condition that the second information conforms to the sound card protocol of the electronic equipment. And if the target device is physically connected with the electronic device and the configuration of the target device conforms to the sound card protocol, the target device is an earphone using a Type-C interface.
Optionally, in this embodiment of the application, the working modes of the earphone are divided into a first mode and a second mode, and for the specific description of the first mode and the second mode, reference may be made to the specific description in the first embodiment, which is not described herein again.
Optionally, the manner in which the electronic device detects that the earphone is in the first mode or the second mode may refer to the related art, which is not limited in this application.
And 102, under the condition that the earphone is detected to be in the first mode, the electronic equipment outputs a first level signal to the earphone.
The first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment.
And 103, under the condition that the earphone is detected to be in the second mode, the electronic equipment outputs a second level signal to the earphone.
The second level signal is used for controlling the earphone to be electrically connected with the electronic equipment, and the second level signal is different from the first level signal.
Optionally, in this embodiment, as shown in fig. 2, the CPU of the electronic device may output the level signal to the SUB pin through the GPIO, that is, the level signal received by the SUB pin of the earphone is the first level signal or the second level signal.
Optionally, in this embodiment of the application, the second level signal is different from the first level signal, that is, one of the two level signals is a high level signal, and the other is a low level signal.
Optionally, the level of the first level signal and the level of the second level signal may be specifically determined according to the type of the MOS transistor and a use situation that the MOS transistor needs to be turned on or off. Specifically, if the enhancement N-type MOS transistor Q1 shown in fig. 2 is used, the first level signal is a low level signal, and the second level signal is a high level signal.
Illustratively, as shown in fig. 2, the control module in the headset is: the drain of the Q1 of the enhancement type N-type MOS tube Q1 is connected with a pin CC1, the source of the MOS tube Q1 is grounded through a pull-down resistor R1, and the gate of the MOS tube Q1 is connected with an SBU pin of the earphone. When the earphone is in the mute mode (i.e., the first mode), the level output to the SUB pin by the CPU of the electronic device through the GPIO is a low level (i.e., the first level signal), the voltage between the gate and the source is smaller than the threshold voltage, the MOS transistor Q1 is turned off, the CC1 pin is in a floating state, and at this time, the electronic device is electrically disconnected from the earphone. When the earphone is in the non-mute mode (i.e., the second mode), the level output to the SUB pin by the CPU of the electronic device through the GPIO is a high level (i.e., the second level signal), the voltage between the gate and the source is greater than the threshold voltage, the MOS transistor Q1 is turned on, the current is grounded through the CC1 and the pull-down resistor R1, and at this time, the electronic device is electrically connected to the earphone.
The embodiment of the application provides a method for reducing power consumption, which is applied to electronic equipment, wherein the electronic equipment is physically connected with an earphone through a Type-C interface, and the earphone comprises: Type-C interface module, coding and decoding module and earphone microphone, this Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; the control module can control the electric connection state of the earphone and the electronic equipment through the connection or the disconnection of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface; the method comprises the following steps: detecting the working mode of the earphone; and under the condition that the earphone is detected to be in the first mode, outputting a first level signal to the earphone, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment. And under the condition that the earphone is detected to be in the second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment. Wherein the second level signal is different from the first level signal. According to the method, on one hand, the USB function of the electronic equipment can be disconnected physically, so that the USB host of the electronic equipment can be closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the Type-C interface connection and unused process (such as the first mode) is avoided. On the other hand, the electronic equipment can control the disconnection or establishment of the electrical connection of the electronic equipment by controlling and outputting the first level signal or the second level signal according to the current earphone mode, so that the power consumption of the electronic equipment is controlled in the whole using process, and the power consumption of the electronic equipment is saved.
Optionally, in this embodiment of the application, after the step 101, if the electronic device performs the step 102 in advance according to the judgment, the method for reducing power consumption provided in this embodiment of the application further includes the following step 104 and step 105, and the step 102 may be specifically implemented by the following step 102 a.
And 104, under the condition that the electronic equipment detects that the earphone is in the first mode, the electronic equipment displays first prompt information.
Optionally, the first prompt message is used to prompt the user to determine to control the electronic device to output the first level signal to the headset. Specifically, the first prompt information may be any combination of characters and animation, and the notification of the electronic device displaying the first prompt information may also be accompanied by auxiliary prompt functions such as vibration of the electronic device, flashing of a breathing light, special effects of animation, and the like.
Step 105, the electronic device receives a first input of the first prompt message from the user.
Optionally, in this embodiment of the application, the first input may be a direct touch input to the first prompt information, where the touch input may be any one of a single click, a double click, a long press, a drag along a preset track, and the like. The first input may also be an indirect input to the first reminder information, which may also serve as a determination to control the electronic device to output the first level signal to the headset. In particular, the indirect input may be a voice input, the content of which is used to control the electronic device to output the first level signal to the headset. Or, the indirect input may also be a pressing input to a physical key of the electronic device, where the physical key corresponds to the determination of the first prompt information and controls the electronic device to output the first level signal to the earphone. The setting can be specifically performed according to actual use requirements, and the embodiment of the application is not particularly limited.
Step 102a, the electronic device outputs a first level signal to the earphone in response to the first input.
Optionally, in this embodiment of the application, the electronic device may output a first level signal to the earphone in response to the user inputting the first prompt message. That is, the user may output the first level signal to the headset by manually controlling the electronic device.
It should be noted that, similar to step 104 to step 102a, the electronic device may also display a second prompt message before outputting the second level signal, and trigger the electronic device to output the second level signal to the earphone according to the input of the second prompt message by the user. For a specific implementation process, reference may be made to the specific description in step 104 to step 102a, which is not described in detail herein.
It is understood that in the case where the electronic device detects that the headset is in the first mode, the electronic device displays the first prompt. The user may cause the electronic device to output a first level signal to the headset in response to the input of the first prompt message. Namely, the user manually controls the electronic device to output the first level signal to the earphone according to the actual use requirement, so that the USB function of the electronic device is physically disconnected, the USB host of the electronic device is smoothly closed, and the power consumption of the electronic device is avoided.
EXAMPLE III
As shown in fig. 4, the method for reducing power consumption according to the embodiment of the present application is applied to the earphone according to the first embodiment, and the method includes the following steps 201 to 203, where step 202 and step 203 are alternatively performed.
Step 201, the earphone detects the working mode of the earphone.
It should be noted that the above step 201 may be executed with reference to step 101, and the difference is that step 201 is a detection executed by a control module inside the earphone.
Step 202, under the condition that the earphone is in the first mode, the earphone receives a first level signal of the electronic device, and controls the earphone to be electrically connected with the electronic device according to the first level signal.
Optionally, in this embodiment of the application, the receiving, by the earphone, the first level signal of the electronic device may be specifically realized through an SBU pin of a Type C interface of the earphone, which may refer to the connection manner in fig. 2.
Optionally, in this embodiment, the control module includes a MOS transistor, as shown in fig. 2, a drain of the MOS transistor is connected to the CC1 pin of the earphone Type C interface, a source of the MOS transistor is grounded through a pull-down resistor, and a gate of the MOS transistor is connected to the SBU pin of the earphone Type C interface. Specifically, when the earphone is in the first mode, the level output to the SUB pin by the CPU of the electronic device through the GPIO is a first level signal, the first level signal can control the MOS transistor Q1 to be turned off, the CC1 pin is in a suspended state, the electronic device is electrically disconnected from the earphone at this time, and although the electronic device is physically connected to the earphone, the electronic device is electrically disconnected from the earphone at this time, so that the USB function of the electronic device is physically disconnected, the USB host of the electronic device is smoothly turned off, and continuous power loss of the electronic device is avoided.
It can be understood that, in the case that the headset is in the first mode, the headset receives a first level signal of the electronic device, and controls the headset to be electrically disconnected from the electronic device through the control module according to the first level signal. Therefore, the earphone can be physically disconnected from the electronic equipment, so that the USB function of the electronic equipment is smoothly closed, and continuous loss of the electric quantity of the electronic equipment in the Type-C interface connection and unused process (such as the first mode) is avoided.
And 203, receiving a second level signal of the electronic device under the condition that the earphone is in the second mode, and controlling the earphone to be electrically connected with the electronic device according to the second level signal.
Wherein the second level signal is different from the first level signal.
Optionally, in this embodiment, the control module includes a MOS transistor, as shown in fig. 2, a drain of the MOS transistor is connected to the CC1 pin of the earphone Type C interface, a source of the MOS transistor is grounded through a pull-down resistor, and a gate of the MOS transistor is connected to the SBU pin of the earphone Type C interface. Specifically, when the earphone is in the second mode, the level output to the SUB pin by the CPU of the electronic device through the GPIO is a second level signal, the second level signal can control the MOS transistor Q1 to be turned on, the current is grounded through the CC1 and the pull-down resistor R1, and at this time, the electronic device is electrically connected to the earphone, so that the earphone can be normally used.
It can be understood that, in the case that the headset is in the second mode, the headset receives the first level signal of the electronic device, and controls the headset to establish electrical connection with the electronic device through the control module according to the second level signal. Therefore, the earphone can be electrically connected with the electronic equipment from the beginning, and a user can use the functions of the earphone conveniently.
It should be noted that, in the method for reducing power consumption provided in the embodiment of the present application, the execution subject may be a device for reducing power consumption, or a control module in the device for reducing power consumption, for executing the method for reducing power consumption. In the embodiment of the present application, a method for executing power consumption reduction by a device for reducing power consumption is taken as an example, and the device provided in the embodiment of the present application is described.
As shown in fig. 5, an embodiment of the present application provides an apparatus 500 for reducing power consumption. The device passes through Type-C interface physical connection with the earphone, and this earphone includes: Type-C interface module, coding and decoding module and earphone microphone, this Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; the control module can control the electric connection state of the earphone and the electronic equipment through the connection or the disconnection of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface; the apparatus 500 for reducing power consumption may include: a detection module 501 and a processing module 502. The detecting module 501 may be configured to detect an operating mode of the headset. The processing module 502 may be configured to output a first level signal to the headset when the detection module 501 detects that the headset is in the first mode, where the first level signal is used to control the headset to be electrically disconnected from the electronic device; when the detection module 501 detects that the earphone is in the second mode, a second level signal is output to the earphone, and the second level signal is used for controlling the earphone to be electrically connected with the electronic device; wherein the second level signal is different from the first level signal.
Optionally, in conjunction with fig. 5, as shown in fig. 6, the apparatus 500 for reducing power consumption further includes: a display module 503 and a receiving module 504. The display module 503 may be configured to display the first prompt message when the headset is detected to be in the first mode. The receiving module 504 may be configured to receive a first input of the first prompt message from a user. The processing module 502 may be further configured to output a first level signal to the headset in response to the first input received by the receiving module 504.
The device for reducing power consumption in the embodiment of the present application may be a functional entity and/or a functional module in an electronic device, which executes the method for reducing power consumption, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The device for reducing power consumption in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The device for reducing power consumption provided in the embodiment of the present application can implement each process implemented by the device for reducing power consumption in the method embodiment of fig. 3, and is not described here again to avoid repetition.
The embodiment of the present application provides a device for reducing power consumption, and the device and an earphone are physically connected through a Type-C interface, and the earphone includes: Type-C interface module, coding and decoding module and earphone microphone, this Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface, the control module can control the electric connection state of the earphone and the electronic equipment through the conduction or the cut-off of the MOS tube, and the method comprises the following steps: detecting the working mode of the earphone; and under the condition that the earphone is detected to be in the first mode, outputting a first level signal to the earphone, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment. And under the condition that the earphone is detected to be in the second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment. Wherein the second level signal is different from the first level signal. By the method, on one hand, the USB function of the device can be disconnected physically, so that the USB host of the device can be closed smoothly, and continuous power consumption of the device in a Type-C interface connection and unused process (such as a first mode) is avoided. On the other hand, the device can control the disconnection or establishment of the electric connection of the device by controlling and outputting the first level signal or the second level signal according to the current earphone mode, so that the power consumption of the device is controlled in the whole using process, and the power consumption of the device is saved.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the above method embodiment for reducing power consumption, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010.
Among other things, the input unit 2004 may include a graphic processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (e.g., an operating system, an application program required for at least one function), and various data.
Those skilled in the art will appreciate that the electronic device 2000 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 2010 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The sensor 2005 may be used to detect an operating mode of the headset. The processor 2010 may be configured to output a first level signal to the headset, where the sensor 2005 detects that the headset is in the first mode, and the first level signal is used to control the headset to be electrically disconnected from the electronic device; when the sensor 2005 detects that the earphone is in the second mode, a second level signal is output to the earphone, and the second level signal is used for controlling the earphone to be electrically connected with the electronic device; wherein the second level signal is different from the first level signal.
The embodiment of the application provides a method for reducing power consumption, which is applied to electronic equipment, wherein the electronic equipment is physically connected with an earphone through a Type-C interface, and the earphone comprises: Type-C interface module, coding and decoding module and earphone microphone, this Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; wherein, under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface, the control module can control the electric connection state of the earphone and the electronic equipment through the conduction or the cut-off of the MOS tube, and the method comprises the following steps: detecting the working mode of the earphone; and under the condition that the earphone is detected to be in the first mode, outputting a first level signal to the earphone, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment. And under the condition that the earphone is detected to be in the second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment. Wherein the second level signal is different from the first level signal. According to the method, on one hand, the USB function of the electronic equipment can be disconnected physically, so that the USB host of the electronic equipment can be closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the Type-C interface connection and unused process (such as the first mode) is avoided. On the other hand, the electronic equipment can control the disconnection or establishment of the electrical connection of the electronic equipment by controlling and outputting the first level signal or the second level signal according to the current earphone mode, so that the power consumption of the electronic equipment is controlled in the whole using process, and the power consumption of the electronic equipment is saved.
Optionally, in this embodiment of the application, the display unit 2006 may be configured to display the first prompt message when it is detected that the earphone is in the first mode. The user input unit 2007 may be configured to receive a first input of the first prompt information by the user. The processor 2010, may be further configured to output a first level signal to the headset in response to the first input received by the receiving module 504.
It is understood that in the case where the electronic device detects that the headset is in the first mode, the electronic device displays the first prompt. The user may cause the electronic device to output a first level signal to the headset in response to the input of the first prompt message. Namely, the user manually controls the electronic device to output the first level signal to the earphone according to the actual use requirement, so that the USB function of the electronic device is physically disconnected, the USB host of the electronic device is smoothly closed, and the power consumption of the electronic device is avoided.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above method for reducing power consumption, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a read-only memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the method for reducing power consumption, and can achieve the same technical effect, and no further description is given here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (11)

1. An earphone, characterized in that the earphone comprises: the device comprises a Type-C interface module, an encoding and decoding module and an earphone microphone;
Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube;
the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface;
the control module can control the electric connection state of the earphone and the electronic equipment through the conduction or the cut-off of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface.
2. The headset of claim 1, wherein the operational mode of the headset comprises: a first mode and a second mode;
under the condition that the earphone is in the first mode, the MOS tube is cut off, and the control module controls the earphone to be electrically disconnected with the electronic equipment;
and under the condition that the earphone is in the second mode, the MOS tube is conducted, and the control module controls the earphone to be electrically connected with the electronic equipment.
3. The headset of claim 2, wherein the Type-C interface comprises: the MOS transistor comprises a CC1 pin and an SBU pin, wherein the MOS transistor is an N-type MOS transistor;
the drain electrode of the N-type MOS tube is connected with the CC1 pin, the source electrode of the N-type MOS tube is grounded, and the grid electrode of the N-type MOS tube is connected with the SBU pin.
4. The headset of claim 3,
under the condition that the earphone is in the first mode, the SBU pin outputs a low level to control the N-type MOS tube to be cut off;
and under the condition that the earphone is in the second mode, the SBU pin outputs a high level to control the conduction of the N-type MOS tube.
5. The headset of claim 3, wherein the Type-C interface further comprises a pull-down resistor;
and the source electrode of the N-type MOS tube is connected with the pull-down resistor and is grounded through the pull-down resistor.
6. The headset of claim 1, wherein the first signal of the electronic device is received while the headset is electrically connected to the electronic device;
and controlling the coding and decoding module to process the first signal into a second signal and outputting the second signal by using the earphone microphone.
7. A method for reducing power consumption is applied to an electronic device, and is characterized in that the electronic device is physically connected with an earphone through a Type-C interface, and the earphone comprises: Type-C interface module, coding and decoding module and earphone microphone, Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; the control module can control the electric connection state of the earphone and the electronic equipment through the on-off of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface; the method comprises the following steps:
detecting the working mode of the earphone;
under the condition that the earphone is in a first mode, outputting a first level signal to the earphone, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment;
under the condition that the earphone is in a second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment;
wherein the second level signal is different from the first level signal.
8. The method of claim 7, wherein after detecting the operational mode of the headset, the method further comprises:
displaying first prompt information under the condition that the earphone is detected to be in a first mode;
receiving a first input of the first prompt message from a user;
the outputting a first level signal to the headset includes:
outputting a first level signal to the headset in response to the first input.
9. A method for reducing power consumption in the headset of claims 1 to 6, the method comprising:
under the condition that the earphone is in a first mode, receiving the first level signal of electronic equipment, and controlling the earphone to be electrically connected with the electronic equipment and disconnected according to the first level signal;
under the condition that the earphone is in a second mode, receiving a second level signal of electronic equipment, and controlling the earphone to be electrically connected with the electronic equipment according to the second level signal;
wherein the second level signal is different from the first level signal.
10. An apparatus for reducing power consumption, the apparatus physically connected to a headset via a Type-C interface, the headset comprising: Type-C interface module, coding and decoding module and earphone microphone, Type-C interface module includes: the device comprises a Type-C interface and a control module, wherein the control module comprises an MOS (metal oxide semiconductor) tube; the Type-C interface module is connected with the earphone microphone through the coding and decoding module; the control module is connected with the Type-C interface; the control module can control the electric connection state of the earphone and the electronic equipment through the on-off of the MOS tube under the condition that the earphone is physically connected with the electronic equipment through the Type-C interface; the method comprises the following steps: the device comprises a detection module and a processing module;
the detection module is used for detecting the working mode of the earphone;
the processing module is used for outputting a first level signal to the earphone under the condition that the detection module detects that the earphone is in a first mode, wherein the first level signal is used for controlling the earphone to be electrically disconnected with the electronic equipment; under the condition that the detection module detects that the earphone is in a second mode, outputting a second level signal to the earphone, wherein the second level signal is used for controlling the earphone to be electrically connected with the electronic equipment; wherein the second level signal is different from the first level signal.
11. The apparatus of claim 10, further comprising: a display module and a receiving module;
the display module is used for displaying first prompt information under the condition that the earphone is detected to be in the first mode;
the receiving module is used for receiving first input of the first prompt message from a user;
the processing module is further configured to output a first level signal to the earphone in response to the first input received by the receiving module.
CN202110592488.1A 2021-05-28 2021-05-28 Earphone, method and device for reducing power consumption and electronic equipment Active CN113316057B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110592488.1A CN113316057B (en) 2021-05-28 2021-05-28 Earphone, method and device for reducing power consumption and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110592488.1A CN113316057B (en) 2021-05-28 2021-05-28 Earphone, method and device for reducing power consumption and electronic equipment

Publications (2)

Publication Number Publication Date
CN113316057A true CN113316057A (en) 2021-08-27
CN113316057B CN113316057B (en) 2024-01-16

Family

ID=77375976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110592488.1A Active CN113316057B (en) 2021-05-28 2021-05-28 Earphone, method and device for reducing power consumption and electronic equipment

Country Status (1)

Country Link
CN (1) CN113316057B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598770A (en) * 2022-03-22 2022-06-07 维沃移动通信有限公司 Earphone, electronic equipment and control method and device of electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128619A1 (en) * 2016-01-30 2017-08-03 乐视控股(北京)有限公司 Device, apparatus, and method supporting multi-battery quick-charging
CN207070268U (en) * 2017-07-25 2018-03-02 歌尔科技有限公司 Earphone
CN207603855U (en) * 2017-11-06 2018-07-10 歌尔科技有限公司 A kind of Type-C interface headphones
CN108322844A (en) * 2018-04-17 2018-07-24 歌尔股份有限公司 A kind of earphone
JP2018532358A (en) * 2016-07-26 2018-11-01 グァンドン オッポ モバイル テレコミュニケーションズ コーポレーション リミテッド Adapter and charge control method
CN109089305A (en) * 2018-08-27 2018-12-25 惠州Tcl移动通信有限公司 A kind of earphone joint and mobile terminal reducing mobile terminal power consumption
US20200099238A1 (en) * 2017-05-09 2020-03-26 Zte Corporation Charging Device, Terminal Device, Charging Method, Charging Monitoring Method
CN212034122U (en) * 2020-05-29 2020-11-27 奉化波导软件有限公司 Circuit compatible with usb2.0 communication and type-c analog earphone
CN112737034A (en) * 2020-12-29 2021-04-30 四川长虹电器股份有限公司 Low-power consumption lithium battery charging management driving circuit

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017128619A1 (en) * 2016-01-30 2017-08-03 乐视控股(北京)有限公司 Device, apparatus, and method supporting multi-battery quick-charging
JP2018532358A (en) * 2016-07-26 2018-11-01 グァンドン オッポ モバイル テレコミュニケーションズ コーポレーション リミテッド Adapter and charge control method
US20200099238A1 (en) * 2017-05-09 2020-03-26 Zte Corporation Charging Device, Terminal Device, Charging Method, Charging Monitoring Method
CN207070268U (en) * 2017-07-25 2018-03-02 歌尔科技有限公司 Earphone
CN207603855U (en) * 2017-11-06 2018-07-10 歌尔科技有限公司 A kind of Type-C interface headphones
CN108322844A (en) * 2018-04-17 2018-07-24 歌尔股份有限公司 A kind of earphone
CN109089305A (en) * 2018-08-27 2018-12-25 惠州Tcl移动通信有限公司 A kind of earphone joint and mobile terminal reducing mobile terminal power consumption
CN212034122U (en) * 2020-05-29 2020-11-27 奉化波导软件有限公司 Circuit compatible with usb2.0 communication and type-c analog earphone
CN112737034A (en) * 2020-12-29 2021-04-30 四川长虹电器股份有限公司 Low-power consumption lithium battery charging management driving circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114598770A (en) * 2022-03-22 2022-06-07 维沃移动通信有限公司 Earphone, electronic equipment and control method and device of electronic equipment
CN114598770B (en) * 2022-03-22 2024-06-21 维沃移动通信有限公司 Earphone, electronic equipment, and control method and device of earphone

Also Published As

Publication number Publication date
CN113316057B (en) 2024-01-16

Similar Documents

Publication Publication Date Title
US8396509B2 (en) Signal transmission path selection circuit and method, and electronic device employing the circuit
US9431983B2 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN110018976B (en) Method for USB master device to respond to USB slave device and related device
US9282391B2 (en) Method and apparatus for recognizing earphone in portable terminal
EP3706007B1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
US10651950B2 (en) Method and system for shortening wireless pairing connection time by detecting an object or body
CN107145331B (en) Charging and audio data processing method and terminal
CN107423064B (en) Message processing method and device, terminal equipment and storage medium
EP2765824A1 (en) Mobile terminal boot control method and mobile terminal
US20210090562A1 (en) Speech recognition control method and apparatus, electronic device and readable storage medium
CN112394901A (en) Audio output mode adjusting method and device and electronic equipment
CN113316057B (en) Earphone, method and device for reducing power consumption and electronic equipment
CN111949107B (en) Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment
JP2019185771A (en) Method, device for processing data of bluetooth speaker, and bluetooth speaker
CN104572007A (en) Method for adjusting sound volume of terminal
JP7442551B2 (en) Mobile terminal and control method
CN111026684B (en) Interface control method, interface control device and storage medium
CN110989816B (en) Application processing method and device and storage medium
CN104571856A (en) Terminal
CN107832015B (en) Data reading method, data reading device and mobile terminal
WO2023045921A1 (en) Display method and apparatus, and electronic device
CN114598770B (en) Earphone, electronic equipment, and control method and device of earphone
CN107272864B (en) Reset circuit, battery and electronic equipment
CN106776400B (en) Electronic equipment and circuit thereof, switching equipment and circuit thereof and signal control system

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