CN113316057B - 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
CN113316057B
CN113316057B CN202110592488.1A CN202110592488A CN113316057B CN 113316057 B CN113316057 B CN 113316057B CN 202110592488 A CN202110592488 A CN 202110592488A CN 113316057 B CN113316057 B CN 113316057B
Authority
CN
China
Prior art keywords
earphone
type
mode
interface
module
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
Application number
CN202110592488.1A
Other languages
Chinese (zh)
Other versions
CN113316057A (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

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 a headset, 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, a coding and decoding module and an earphone microphone; type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection of the MOS tube.

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 a headset, a method and a device for reducing power consumption and electronic equipment.
Background
With the development of electronic technology, a new Type of USB interface profile 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 headphones that also have a Type-C interface through the Type-C interface and plays audio using the headphones.
Currently, when an electronic device is physically connected to an earphone through a Type-C interface, regardless of whether the function of the earphone is turned on, 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 the on state is limited by the hardware structure of the circuit of the earphone, so that the electronic device cannot be turned off from the angle of software. Thus, the problems of higher power consumption and waste of power exist under the condition that the electronic equipment uses the Type-C interface.
Disclosure of Invention
The embodiment of the application aims to provide a headset, a method and a device for reducing power consumption and electronic equipment, and the problems that power consumption is high and electric quantity is wasted under the condition that the electronic equipment uses a Type-C interface can be solved.
In a first aspect, embodiments of the present application provide an earphone, including: the device comprises a Type-C interface module, a coding and decoding module and an earphone microphone; type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection of the MOS tube.
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, and the electronic device is physically connected with an earphone through a Type-C interface, and the earphone includes: the device comprises a Type-C interface module, a coding and decoding module and an earphone microphone; type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 on or off of the MOS tube; 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 outputting a second level signal to the earphone under the condition that the earphone is detected to be in the second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection 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, which is applied to the earphone in the first aspect, where the method includes: under the condition that the earphone is in a first mode, a first level signal of the electronic equipment is received, and the earphone is controlled to be electrically connected with the electronic equipment according to the first level signal; receiving a second level signal of the electronic equipment under the condition that the earphone is in a second mode, and controlling the earphone to establish electrical connection 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 a device for reducing power consumption, where the device is physically connected to an earphone through a Type-C interface, and the earphone includes: the device comprises a Type-C interface module, a coding and decoding module and an earphone microphone; type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 on or off of the MOS tube; 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 when the detection module detects that the earphone is in the first mode, and the first level signal is used for controlling the earphone to be electrically connected with and disconnected from the electronic equipment; outputting a second level signal to the earphone when the detection module detects that the earphone is in a second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection 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 comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the method as in the first aspect.
In a sixth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a seventh aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor for running a program or instructions to implement a method as in the first aspect.
In an embodiment of the present application, there is provided an earphone including: the device comprises a Type-C interface module, a coding and decoding module and an earphone microphone; type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding 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 on or off of the MOS tube. 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 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 closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the process of Type-C interface connection and unused is avoided.
Drawings
Fig. 1 is a schematic circuit diagram of an earphone according to an embodiment of the present application;
fig. 2 is a schematic circuit diagram of connection between an electronic device and an earphone according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a method for reducing power consumption according to an embodiment of the present disclosure;
FIG. 4 is a second schematic diagram of a method for reducing power consumption according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram of a device for reducing power consumption according to an embodiment of the present disclosure;
FIG. 6 is a second schematic diagram of a device for reducing power consumption according to an embodiment of the present disclosure;
fig. 7 is one of hardware schematic diagrams of an electronic device according to an embodiment of the present application;
Fig. 8 is a second hardware schematic of the electronic device according to the embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein. The objects identified by "first", "second", etc. are generally one type, and the number of the objects is not limited, for example, the first object may be one or a plurality of first objects. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The earphone and the method for reducing power consumption provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Type-C interface: the Type-C interface is an interface Type which 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 TX/RX branches, 2 usbd+/D-, one SBU,2 CCs, 4 VBUS and 4 ground. Compared with the Type-A interface and the Type-B interface, the Type-C is the latest USB interface appearance standard, the interface is small in size, no difference exists between the positive direction and the negative direction, and random plugging and unplugging can be realized.
Example 1
As shown in fig. 1 and 2, an embodiment of the present application provides an earphone, which may include: type-C interface module, codec 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 encoding and decoding module; and the control module is connected with the Type-C interface.
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 connection or disconnection of the MOS tube.
Optionally, in the embodiment of the present application, the MOS transistor may be a P-channel MOS transistor or an N-channel MOS transistor; or can be an enhancement type MOS tube or a depletion type MOS tube. The embodiment of the application is not particularly limited, and the level of the grid electrode of the MOS tube can be adaptively adjusted according to the specific type of the MOS tube.
In the embodiment of the present application, as shown in fig. 1 and fig. 2, the enhanced N-type MOS transistor Q1 is taken as an example for illustration, which does not constitute a specific limitation in the embodiments of the present application.
Optionally, in an embodiment of the present application, the electrical connection state between the earphone and the electronic device includes: the earphone is electrically connected with the electronic equipment and is electrically disconnected with the electronic equipment. In the case of an electrical connection establishment, signals may be transferred between the headset and the electronic device (e.g., first and second signals described below), and the electronic device may control the headset to output audio. In the case of the electrical connection being broken, the USB function of the electronic device is physically broken, and signals cannot be transmitted between the electronic devices, so that the electronic device can smoothly turn off the USB host function of the electronic device.
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.
In an embodiment of the present application, there is provided an earphone including: the device comprises a Type-C interface module, a coding and decoding module and an earphone microphone; type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection of the MOS tube. 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 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 closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the process of Type-C interface connection and unused is avoided.
Optionally, in an embodiment of the present application, the working modes of the earphone include: 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 and disconnected from the electronic equipment.
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, where the control module is a control circuit connected with the Type-C interface and including a MOS transistor Q1. Fig. 2 is a schematic diagram of an electronic device and an earphone physically connected through a Type-C interface.
In the case where the headset establishes an electrical connection with the electronic device, the headset receives a first signal of the electronic device.
The headset controls the codec module to process the first signal into a second signal and output using the headset microphone.
Optionally, in an embodiment of the present application, the codec module is configured to process a first signal received by the earphone into a second signal. Specifically, if the first signal is an encoded signal, the encoding and decoding module may perform decoding processing on the first signal to obtain a second signal. If the first signal is a decoded signal, the codec module may encode the first signal to obtain a second signal. That is, the codec module in the earphone of the present application has a bi-directional function, and similarly, the earphone microphone may also have an input or output function. For specific implementation, reference may be made to the related art.
In order to facilitate explanation of the working principle of the present application, the following embodiments take the example that the codec module decodes the first signal to obtain the second signal, and the earphone microphone outputs the second signal for exemplary explanation. It is not intended to be a specific limitation on the present application.
For example, when the earphone and the electronic device are physically connected through the Type-C interface while the electric connection is established, the earphone may receive a first signal (the first signal is used for controlling 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 tube is cut off, and the control module of the earphone controls the earphone to be electrically connected with and disconnected from the electronic equipment; 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 the one hand, when the MOS tube is cut off, the USB function of the electronic device can be disconnected physically, so that the USB host of the electronic device is smoothly closed, and continuous loss of the electric quantity of the electronic device in the process (such as the first mode) that the Type-C interface connection is not used 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 requirement of a user, and the electric quantity loss can be reduced by disconnecting the electric connection when the earphone is not used, so that the electric quantity loss of the electronic equipment is controlled from the whole use 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 the CC1 pin, the source electrode of the N-type MOS tube is grounded, and the grid electrode of the MOS tube is connected with the SBU pin.
Optionally, as shown in fig. 1, in an embodiment of the present 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, GPIO (General purpose input/output) interfaces of electronic devices.
Optionally, in the embodiment of the present application, the corresponding relationship between the output level of the SBU pin of the earphone Type-C interface and the on-off state of the N-Type MOS transistor is as follows:
under the condition that the earphone is in the first mode, the SBU pin outputs a low level to control the cut-off of the N-type MOS tube.
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 the embodiment of the present 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 the audio playing mode; a mode in which the audio play mode is started but the volume is zero is also possible.
Optionally, in the embodiment of the present application, the second mode is a non-mute mode, and 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 the embodiment of the present application, the MOS transistor may be a P-channel MOS transistor or an N-channel MOS transistor; or can be an enhancement type MOS tube or a depletion type MOS tube. The embodiment of the application is not particularly limited, and the level of the grid electrode of the MOS tube can be adaptively adjusted according to the specific type of the MOS tube.
In the embodiment of the present application, as shown in fig. 1 and fig. 2, the enhanced N-type MOS transistor Q1 is taken as an example for illustration, which does not constitute a specific limitation in the embodiments of the present application.
Optionally, in this embodiment of the present application, the function of the enhanced N-type MOS transistor Q1 shown in fig. 1 and fig. 2 is equivalent to a current switch, and the working principle is as follows: the level high and low connected to the gate through the SBU controls the on or off of Q1. Specifically, the first case: when the level of the SBU connected to the grid electrode is high, the voltage between the grid electrode and the source electrode is greater than or equal to the threshold voltage, the MOS tube Q1 is conducted, the current is grounded through the CC1 and the pull-down resistor R1, and at the moment, the electronic equipment is electrically connected with the earphone, and the electronic equipment can use the function of the earphone (such as playing audio). Second case: when the level of the SBU connected to the grid electrode is low, the voltage between the grid electrode and the source electrode is smaller than the threshold voltage, the MOS tube Q1 is cut off, the pin CC1 is in a suspended state, at the moment, the electronic equipment is electrically connected with the earphone and disconnected, and the electronic equipment is physically connected with the earphone but is electrically disconnected with the earphone.
For example, as shown in fig. 2, the electronic device is physically connected to the earphone through a Type-C interface, and an enhancement N-Type MOS transistor Q1 is added between a CC1 pin of the earphone and a pull-down resistor R1 (the resistance value of the pull-down resistor R1 is specifically determined according to actual use). The specific connection mode is as shown in fig. 2, the drain electrode of the MOS tube Q1 is connected with the CC1 pin, the source electrode of the MOS tube Q1 is grounded through the pull-down resistor R1, and the grid electrode of the MOS tube Q1 is connected with the SBU pin of the earphone. When the earphone is in a mute mode (i.e., a first mode), the CPU of the electronic device outputs a low level to the SUB pin through the GPIO (General-purpose input/output), 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 suspended state, at this time, the electronic device is electrically disconnected from the earphone, although the electronic device is physically connected to the earphone, at this time, the electronic device is electrically disconnected from the earphone, so that the USB function of the electronic device is physically disconnected, thereby smoothly turning off the USB host of the electronic device, and avoiding continuous loss of the electric quantity of the electronic device. When the earphone is in the non-mute mode (i.e. the second mode), the level of the CPU of the electronic device output to the SUB pin through the GPIO is high, the voltage between the grid electrode and the source electrode is larger than the threshold voltage, the MOS tube Q1 is conducted, the current is grounded through the CC1 and the pull-down resistor R1, at the moment, the electronic device is electrically connected with the earphone, and the electronic device can play audio by 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 CC1 pin and the pull-down resistor, the earphone may control the on or off of the MOS transistor Q1 according to the level of the SBU connected to the gate of the N-type MOS transistor Q1, so that in the case that the earphone is in the first mode, the N-type MOS transistor is controlled to be turned off; and under the condition that the earphone is in the second mode, controlling the conduction of the N-type MOS tube. And further, the electric quantity loss of the electronic equipment is controlled from the whole using process of the earphone, so that the power consumption of the electronic equipment is saved.
Optionally, 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, the source of the P-type MOS transistor is connected to the CC1 pin, the drain of the N-type MOS transistor is grounded, and the gate of the MOS transistor is connected to the SBU pin. Not shown in the drawings of the embodiments described below.
Optionally, in this embodiment of the present 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 the embodiment of the present application, the corresponding relationship between the output level of the SBU pin of the earphone Type-C interface and the on-off of the 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.
Under the condition that the earphone is in the second mode, the SBU pin outputs a 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 an earphone in the first embodiment through a Type-C interface, and the earphone includes: type-C interface module, codec module and earphone microphone, this Type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection of the MOS tube. The method for reducing power consumption includes steps 101 to 103, wherein step 102 is performed alternatively to step 103.
Step 101, the electronic device detects an operating mode of the earphone.
Optionally, in the embodiment of the present application, in the case that the electronic device is physically connected to a target device (e.g., a headset), the electronic device first determines whether the target device connected to the electronic device is the headset, and if so, the following steps 101 to 103 are continuously performed.
Alternatively, in the embodiment of the present application, the specific step of determining whether the target device is a headset may be the following steps a to c.
And 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 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 can characterize the identity information of the target device.
And c, determining that the target device is an earphone under the condition that the second information accords with the sound card protocol of the electronic device. The sound card protocol is a protocol for determining an audio device capable of being connected and used with the electronic device, and if the target device is established in physical connection with the electronic device and the configuration of the target device conforms to the sound card protocol, the target device is a headset using a Type-C interface.
Optionally, in the embodiment of the present application, the working modes of the earphone are divided into a first mode and a second mode, and specific descriptions of the first mode and the second mode may refer to specific descriptions in the first embodiment, which are not repeated herein.
Alternatively, the manner in which the electronic device detects whether the earphone is in the first mode or the second mode may refer to the related art, which is not limited in this application.
Step 102, the electronic device outputs a first level signal to the earphone when detecting that the earphone is in the first mode.
The first level signal is used for controlling the earphone to be electrically connected with and disconnected from the electronic equipment.
Step 103, the electronic device outputs a second level signal to the earphone when the earphone is detected to be in the second mode.
The second level signal is used for controlling the earphone to establish electrical connection with the electronic equipment, and the second level signal is different from the first level signal.
Optionally, in an embodiment of the present application, 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 present 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 determined according to a model of the MOS transistor and a use condition requiring the MOS transistor 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.
As shown in fig. 2, the control module in the earphone is: an enhanced N-type MOS tube Q1,
the Q1 drain electrode of the MOS tube is connected with the CC1 pin, the source electrode of the MOS tube Q1 is grounded through the pull-down resistor R1, and the grid electrode of the MOS tube Q1 is connected with the SBU pin of the earphone. When the earphone is in the mute mode (i.e., the first mode), the CPU of the electronic device outputs the low level (i.e., the first level signal) to the SUB pin through the GPIO, so that 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 suspended state, and at this time, the electronic device is electrically connected to the earphone. When the earphone is in the non-mute mode (i.e., the second mode), the CPU of the electronic device outputs the high level (i.e., the second level signal) to the SUB pin through the GPIO, so that the voltage between the gate and the source is greater than the threshold voltage, the MOS transistor Q1 is turned on, and 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, codec module and earphone microphone, this Type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 on or off of the MOS tube; 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 outputting a second level signal to the earphone under the condition that the earphone is detected to be in the second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection 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 is closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the process (such as a first mode) that the Type-C interface is connected and is not used is avoided. On the other hand, the electronic equipment can control the disconnection or establishment of the electric 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 electric quantity loss of the electronic equipment is controlled from the whole using process, and the power consumption of the electronic equipment is saved.
Optionally, in the embodiment of the present application, after the step 101, if the electronic device pre-executes the step 102 according to the determination, the method for reducing power consumption provided in the embodiment of the present application further includes the following step 104 and step 105, and the step 102 may be specifically implemented by the following step 102 a.
Step 104, the electronic device displays a first prompt message when the electronic device detects that the earphone is in the first mode.
Optionally, the first prompt information is used for prompting the user to determine to control the electronic device to output the first level signal to the earphone. Specifically, the first prompt information may be any combination of text and animation, and the electronic device may also be accompanied with auxiliary prompt functions such as vibration, flashing of a breathing lamp, and special effects of animation when displaying the notification of the first prompt information.
Step 105, the electronic device receives a first input of a first prompt message from a user.
Optionally, in this embodiment of the present 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, and a drag along a preset track. The first input may also be an indirect input to the first prompt message, which may also function to determine that the control electronic device outputs the first level signal to the earphone. In particular, the indirect input may be a voice input, where the content of the voice input is used to control the electronic device to output a first level signal to the earphone. Or, the indirect input may be a pressing input of a physical key of the electronic device, where the physical key correspondingly determines 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 specifically limited.
Step 102a, the electronic device outputs a first level signal to the headset in response to the first input.
Optionally, in an embodiment of the present application, the electronic device may output a first level signal to the earphone in response to the user input of the first prompting message. That is, the user can output the first level signal to the earphone by manually controlling the electronic device.
It should be noted that, similar to steps 104 to 102a, the electronic device may display the second prompt information 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 information by the user. The specific implementation process may refer to the specific descriptions in the above steps 104 to 102a, and will not be repeated herein.
It can be appreciated that, in the case where the electronic device detects that the earphone is in the first mode, the electronic device displays the first prompt information. The user may cause the electronic device to output a first level signal to the headset in response to the input by entering the first prompt. That is, according to the actual use requirement, the user manually controls the electronic device to output the first level signal to the earphone, so that the USB function of the electronic device is disconnected physically, and therefore the USB host of the electronic device is closed smoothly, and the electric quantity loss of the electronic device is avoided.
Example III
As shown in fig. 4, an embodiment of the present application provides a method for reducing power consumption, which is applied to the earphone in the first embodiment, and the method includes the following steps 201 to 203, where step 202 is performed alternatively to step 203.
Step 201, the earphone detects an operation mode of the earphone.
It should be noted that, the above step 201 may be performed with reference to step 101, and the difference is that step 201 is the detection performed by the control module inside the earphone.
Step 202, in the case 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 to and disconnected from the electronic device according to the first level signal.
Optionally, in the embodiment of the present application, the receiving, by the earphone, the first level signal of the electronic device may be specifically implemented through an SBU pin of a Type C interface of the earphone, and reference may be made to a connection manner in fig. 2.
Optionally, in an embodiment of the present invention, the control module includes a MOS transistor, as shown in fig. 2, a drain electrode of the MOS transistor is connected to a CC1 pin of the earphone Type C interface, a source electrode of the MOS transistor is grounded through a pull-down resistor, and a gate electrode of the MOS transistor is connected to an SBU pin of the earphone Type C interface. Specifically, when the earphone is in the first mode, the level of the CPU of the electronic device output to the SUB pin through the GPIO is a first level signal, the first level signal can control the MOS transistor Q1 to be cut off, the CC1 pin is in a suspended state, at this time, the electronic device is electrically connected with the earphone and disconnected, although the electronic device is physically connected with the earphone, at this time, the electronic device is electrically disconnected with the earphone, so that the USB function of the electronic device is physically disconnected, and the USB host of the electronic device is smoothly turned off, thereby avoiding continuous loss of the electric quantity of the electronic device.
It can be understood that, in the case that the earphone is in the first mode, the earphone receives the first level signal of the electronic device, and controls the earphone to be electrically connected to and disconnected from the electronic device through the control module according to the first level signal. Therefore, the earphone and the electronic device can be physically disconnected from each other, so that the USB function of the electronic device is smoothly closed, and continuous loss of the electric quantity of the electronic device in the process (such as the first mode) that the Type-C interface is connected and not used is avoided.
And 203, receiving a second level signal of the electronic device and controlling the earphone to establish electrical connection with the electronic device according to the second level signal under the condition that the earphone is in the second mode.
Wherein the second level signal is different from the first level signal.
Optionally, in an embodiment of the present invention, the control module includes a MOS transistor, as shown in fig. 2, a drain electrode of the MOS transistor is connected to a CC1 pin of the earphone Type C interface, a source electrode of the MOS transistor is grounded through a pull-down resistor, and a gate electrode of the MOS transistor is connected to an SBU pin of the earphone Type C interface. Specifically, when the earphone is in the second mode, the level of the CPU of the electronic device output to the SUB pin 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, and the earphone can be normally used.
It can be understood that, in the case that the earphone is in the second mode, the earphone receives the first level signal of the electronic device, and controls the earphone to establish electrical connection with the electronic device through the control module according to the second level signal. Therefore, the earphone and the electronic equipment are electrically connected from the new establishment, and a user can conveniently use the function of the earphone.
It should be noted that, in the method for reducing power consumption provided in the embodiment of the present application, the execution body 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 embodiments of the present application, a method for reducing power consumption performed by a device for reducing power consumption is taken as an example, and the device provided in the embodiments 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, codec module and earphone microphone, this Type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 on or off of the MOS tube; the apparatus 500 for reducing power consumption may include: a detection module 501 and a processing module 502. The detection module 501 may be configured to detect an operation mode of the earphone. The processing module 502 may be configured to output a first level signal to the earphone when the detecting module 501 detects that the earphone is in the first mode, where the first level signal is used to control the earphone to be electrically disconnected from the electronic device; outputting a second level signal to the earphone when the detection module 501 detects that the earphone is in the second mode, where the second level signal is used to control the earphone to establish electrical connection 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 a first prompt message when the earphone is detected to be in the first mode. The receiving module 504 may be configured to receive a first input of the first prompt information 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 that performs a method for reducing power consumption, and may also be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (network attached storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
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, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The power consumption reduction device provided in the embodiment of the present application can implement each process implemented by the power consumption reduction device in the method embodiment of fig. 3, and in order to avoid repetition, a description is omitted here.
The embodiment of the application provides a device for reducing power consumption, the device is physically connected with an earphone through a Type-C interface, and the earphone comprises: type-C interface module, codec module and earphone microphone, this Type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection 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 outputting a second level signal to the earphone under the condition that the earphone is detected to be in the second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection 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 device can be disconnected physically, so that the USB host of the device is closed smoothly, and continuous loss of the electric quantity of the device in the process (such as the first mode) that the Type-C interface is connected and not used 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 electric quantity loss of the device is controlled from the whole using process, and the electric quantity consumption of the device is saved.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and capable of running on the processor 701, where the program or the instruction implements each process of the above-mentioned method embodiment for reducing power consumption when executed by the processor 701, and the same technical effects are achieved, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 2000 includes, but is not limited to: radio frequency unit 2001, network module 2002, audio output unit 2003, input unit 2004, sensor 2005, display unit 2006, user input unit 2007, interface unit 2008, memory 2009, and processor 2010.
Among other things, input unit 2004 may include a graphics processor 20041 and a microphone 20042, display unit 2006 may include a display panel 20061, user input unit 2007 may include a touch panel 20071 and other input devices 20072, and memory 2009 may be used to store software programs (e.g., an operating system, at least one application needed for functionality), and various data.
Those skilled in the art will appreciate that the electronic device 2000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 2010 through a power management system so as to perform functions such as managing charging, discharging, and power consumption by 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The sensor 2005 can be used to detect the operation mode of the earphone, among other things. The processor 2010 may be configured to output a first level signal to the earphone in case the sensor 2005 detects that the earphone is in the first mode, the first level signal being configured to control the earphone to be electrically disconnected from the electronic device; outputting a second level signal to the earphone when the sensor 2005 detects that the earphone is in the second mode, the second level signal being used to control the earphone to establish an electrical connection 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, codec module and earphone microphone, this Type-C interface module includes: the Type-C interface and the control module comprise MOS tubes; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection 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 outputting a second level signal to the earphone under the condition that the earphone is detected to be in the second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection 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 is closed smoothly, and continuous loss of the electric quantity of the electronic equipment in the process (such as a first mode) that the Type-C interface is connected and is not used is avoided. On the other hand, the electronic equipment can control the disconnection or establishment of the electric 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 electric quantity loss of the electronic equipment is controlled from the whole using process, and the power consumption of the electronic equipment is saved.
Optionally, in the embodiment of the present application, the display unit 2006 may be configured to display the first prompt information when detecting 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 a user. The processor 2010 may also be configured to output a first level signal to the headset in response to the first input received by the receiving module 504.
It can be appreciated that, in the case where the electronic device detects that the earphone is in the first mode, the electronic device displays the first prompt information. The user may cause the electronic device to output a first level signal to the headset in response to the input by entering the first prompt. That is, according to the actual use requirement, the user manually controls the electronic device to output the first level signal to the earphone, so that the USB function of the electronic device is disconnected physically, and therefore the USB host of the electronic device is closed smoothly, and the electric quantity loss of the electronic device is avoided.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction implements each process of the above-described method embodiment for reducing power consumption when executed by a processor, and the same technical effects can be achieved, and for avoiding repetition, a description is omitted herein.
Wherein the processor is a 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 (random access memory, RAM), a magnetic disk or an 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, where the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, so as to implement each process of the above-described method embodiment for reducing power consumption, and achieve the same technical effect, so that repetition is avoided, and no further description is given here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (10)

1. The earphone is characterized by comprising a Type-C interface module, a coding and decoding module and an earphone microphone;
the Type-C interface module comprises a Type-C interface and a control module, and the control module comprises a MOS tube;
the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface;
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 connection or disconnection of the MOS tube;
the working modes of the earphone comprise: a first mode and a second mode, wherein the first mode is a mute mode and the second mode is a non-mute mode;
when 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 and disconnected from 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.
2. The earphone of claim 1, wherein the Type-C interface comprises a CC1 pin and an SBU pin, and 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.
3. The earphone of claim 2, wherein the earphone comprises a pair of earphone arms,
under the condition that the earphone is in the first mode, the SBU pin outputs a low level, and the N-type MOS tube is controlled 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 N-type MOS tube to be conducted.
4. The earphone of claim 2, 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.
5. The headset of claim 1, wherein the first signal of the electronic device is received with the headset establishing an electrical connection with the electronic device;
and controlling the encoding and decoding module to process the first signal into a second signal and outputting the second signal by using the earphone microphone.
6. The method for reducing power consumption is applied to electronic equipment and is characterized in that the electronic equipment is physically connected with an earphone through a Type-C interface, the earphone comprises a Type-C interface module, a coding and decoding module and an earphone microphone, the Type-C interface module comprises a Type-C interface and a control module, and the control module comprises a MOS tube; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection of the MOS tube; the method comprises the following steps:
Detecting the working mode of the earphone;
outputting a first level signal to the earphone under the condition that the earphone is in a first mode, wherein the first level signal is used for controlling the earphone to be electrically connected with and disconnected from the electronic equipment;
outputting a second level signal to the earphone under the condition that the earphone is in a second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection with the electronic equipment;
the second level signal is different from the first level signal, the first mode is a mute mode, and the second mode is an unmuted mode.
7. The method of claim 6, 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 information from a user;
the outputting the first level signal to the earphone includes:
a first level signal is output to the headset in response to the first input.
8. A method of reducing power consumption applied to the earphone of any one of claims 1 to 5, the method comprising:
Receiving a first level signal of electronic equipment under the condition that the earphone is in a first mode, and controlling the earphone to be electrically connected with and disconnected from the electronic equipment according to the first level signal;
receiving a second level signal of the electronic device under the condition that the earphone is in a second mode, and
controlling the earphone to establish electrical connection with the electronic equipment according to the second level signal;
the second level signal is different from the first level signal, the first mode is a mute mode, and the second mode is an unmuted mode.
9. The device for reducing power consumption is characterized in that the device is physically connected with an earphone through a Type-C interface, the earphone comprises a Type-C interface module, a coding and decoding module and an earphone microphone, the Type-C interface module comprises a Type-C interface and a control module, and the control module comprises a MOS tube; the Type-C interface module is connected with the earphone microphone through the encoding and decoding module; the control module is connected with the Type-C interface; 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 connection or disconnection of the MOS tube; the device comprises: the detection module and the 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 when the detecting module detects that the earphone is in a first mode, and the first level signal is used for controlling the earphone to be electrically connected with and disconnected from the electronic equipment; outputting a second level signal to the earphone when the detection module detects that the earphone is in a second mode, wherein the second level signal is used for controlling the earphone to establish electrical connection with the electronic equipment; the second level signal is different from the first level signal, the first mode is a mute mode, and the second mode is an unmuted mode.
10. The apparatus of claim 9, wherein the apparatus further comprises: 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 a first mode;
the receiving module is used for receiving a first input of the first prompt information 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 CN113316057A (en) 2021-08-27
CN113316057B true 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)

Families Citing this family (1)

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

Citations (8)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107196357A (en) * 2017-05-09 2017-09-22 中兴通讯股份有限公司 A kind of charging equipment, terminal device and charging method, charging monitoring method

Patent Citations (8)

* 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
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

Also Published As

Publication number Publication date
CN113316057A (en) 2021-08-27

Similar Documents

Publication Publication Date Title
JP6742465B2 (en) Method, device and bluetooth speaker for continuous wakeup delay reduction in bluetooth speaker
KR101267047B1 (en) Apparatus and method for detecting earphone
US20100109749A1 (en) Signal transmission path selection circuit and method, and electronic device employing the circuit
CN110018976B (en) Method for USB master device to respond to USB slave device and related device
WO2014201863A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
JP6785332B2 (en) Bluetooth speaker Data processing method, device and bluetooth speaker
EP3706007B1 (en) Electronic device having usb type-c interface, control method, and readable storage medium
KR20130056404A (en) Method and apparatus for recognizing earphone in portable device
CN110769319A (en) Standby wakeup interaction method and device
CN108073275B (en) Information processing method, information processing apparatus, and program product
US20190207684A1 (en) Method and system for shortening wireless pairing connection time by detecting an object or body
JP7442551B2 (en) Mobile terminal and control method
CN113316057B (en) Earphone, method and device for reducing power consumption and electronic equipment
US20190007764A1 (en) Head-mounted display device and head-mounted display system
CN110134216B (en) Power supply control device and method and terminal equipment
WO2022121730A1 (en) Electronic device, electronic device control method, and readable storage medium
CN111026684B (en) Interface control method, interface control device and storage medium
CN104954939B (en) A kind of control method of earphone power amplifier and earphone power amplifier
WO2023045921A1 (en) Display method and apparatus, and electronic device
CN114598770B (en) Earphone, electronic equipment, and control method and device of earphone
WO2022166698A1 (en) Charging control method and apparatus, electronic device, and charger
CN108966079B (en) Control method and system of audio device
CN113852944A (en) Audio output method and device
CN210295081U (en) Electronic device
CN114924639B (en) Electronic device and method for waking up micro control unit

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