Wireless communication module control method and apparatus, and wireless earphone

By confirming the presence of the earbuds in the case when the wireless communication module is off and automatically activating the wireless communication module when the earbuds are not in the case, the problem of connection failure when the earbuds are opened is solved, ensuring normal connection between the earbuds and external devices and improving the user experience.

CN115967889BActive Publication Date: 2026-04-07GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-19
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

When TWS earbuds are opened, there is a time required for them to wake up and receive the opening command. If the user quickly takes out the earbuds, the wireless communication module may not be activated, resulting in an inability to connect to external devices.

Method used

When the wireless communication module of the wireless earphone is turned off, the wireless communication module is automatically activated when the earphone is out of the case, based on the presence of the earphone in the case. This ensures that the wireless communication module can be automatically activated when needed to connect to external devices.

Benefits of technology

This avoids connection problems caused by users quickly removing the earphones, ensuring that the earphones can connect normally to external devices and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115967889B_ABST
    Figure CN115967889B_ABST
Patent Text Reader

Abstract

This application discloses a wireless communication module control method, apparatus, and wireless earphone. The method includes: when the wireless communication module of the wireless earphone is in a turned-off state, confirming the in-ear status of the wireless earphone, which includes both in-ear and out-of-ear states; and activating the wireless communication module in response to the wireless earphone being in an out-of-ear state. This allows for the confirmation of the wireless earphone's in-ear status when the wireless communication module is turned off, and the activation of the wireless communication module when the wireless earphone is out of earphones. Thus, without requiring additional electronic components to be installed in the wireless earphone, the system can determine whether the wireless communication module needs to be activated based on the earphone's in-ear status, and when activation is required, connect to external devices through the activated wireless communication module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and more specifically, to a wireless communication module control method, apparatus, and wireless earphone. Background Technology

[0002] With the development of science and technology, wireless headphones are becoming increasingly widespread and feature-rich, becoming an essential item in people's daily lives. Currently, users frequently use wireless headphones, especially true wireless stereo (TWS) headphones with separate left and right channels, to pick up audio signals from electronic devices. TWS headphones typically consist of a charging case and the wireless earbuds. When the earbuds are placed in the charging case, the case can charge and facilitate communication. However, occasionally, TWS earbuds may experience connection problems with external audio sources after being removed from the case. Summary of the Invention

[0003] In view of the above problems, this application proposes a wireless communication module control method, apparatus, and wireless earphone to improve the above problems.

[0004] In a first aspect, this application provides a wireless communication module control method applied to a wireless earphone. The method includes: when the wireless communication module of the wireless earphone is in a turned-off state, confirming the in-ear status of the wireless earphone, the in-ear status including an in-ear state and an out-of-ear state; and activating the wireless communication module in response to the wireless earphone being in an out-of-ear state.

[0005] Secondly, this application provides a wireless communication module control device operating on a wireless earphone. The device includes: a reference status information acquisition unit, configured to confirm the in-ear status of the wireless earphone when the wireless communication module of the wireless earphone is in a turned-off state, the in-ear status including an in-ear state and an out-of-ear state; and a wireless communication module activation unit, configured to activate the wireless communication module in response to the wireless earphone being in an out-of-ear state.

[0006] Thirdly, this application provides a wireless headset, including one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the methods described above.

[0007] Fourthly, this application provides a computer-readable storage medium storing program code, wherein the above-described method is executed when the program code is run.

[0008] This application provides a wireless communication module control method, apparatus, wireless headset, and storage medium. When the wireless communication module of the wireless headset is in a closed state, the method determines whether the wireless headset is in-the-box or not. In response to the wireless headset being in a non-in-the-box state, the wireless communication module is activated. This method allows for the determination of the wireless headset's in-the-box status when the wireless communication module is closed, and the activation of the wireless communication module if the wireless headset is in a non-in-the-box state. Therefore, without requiring additional electronic components to be installed in the wireless headset, the method can determine whether the wireless communication module needs to be activated based on the headset's in-the-box status, and when activation is required, connect to external devices through the activated wireless communication module. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0010] Figure 1 This paper illustrates an application scenario of the wireless communication module control method proposed in this application.

[0011] Figure 2 This illustration shows a schematic diagram of a wireless earphone in a non-cassette state according to an embodiment of this application;

[0012] Figure 3 This illustration shows a schematic diagram of a wireless earphone and charging case in communication mode according to an embodiment of this application;

[0013] Figure 4 A schematic diagram illustrating the usage process of a wireless earphone according to this application relative to its charging case during a usage cycle is shown.

[0014] Figure 5 A schematic diagram showing the wireless earphones proposed in this application in an unpacked state is shown;

[0015] Figure 6 A flowchart of a wireless communication module control method according to an embodiment of this application is shown;

[0016] Figure 7 A flowchart of a wireless communication module control method according to another embodiment of this application is shown;

[0017] Figure 8 This application shows Figure 7 A flowchart of an implementation method proposed in S210;

[0018] Figure 9 A flowchart of a wireless communication module control method according to another embodiment of this application is shown;

[0019] Figure 10 This application shows Figure 9 A flowchart of an implementation method proposed in S310;

[0020] Figure 11 A flowchart of a wireless communication module control method according to another embodiment of this application is shown;

[0021] Figure 12 This application shows Figure 11 A flowchart of an implementation method proposed in S410;

[0022] Figure 13 A preferred business process diagram according to an embodiment of this application is shown;

[0023] Figure 14 This application illustrates another preferred business process diagram based on an embodiment of the present application;

[0024] Figure 15 This paper illustrates another preferred business process diagram proposed in an embodiment of this application;

[0025] Figure 16 This paper shows a structural block diagram of a wireless communication module control device according to an embodiment of the present application;

[0026] Figure 17 A structural block diagram of a wireless earphone proposed in this application is shown;

[0027] Figure 18 This is a storage unit in this application embodiment for storing or carrying program code that implements the wireless communication module control method according to this application embodiment. Detailed Implementation

[0028] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort are within the scope of protection of this application.

[0029] With the development of technology, people are increasingly favoring TWS earbuds, which can usually be stored in a corresponding charging case. In this method, when the TWS earbuds are fully charged and powered off in the case or in shipping mode, the charging case needs to provide a continuous 5V voltage to the TWS earbuds to wake them up the moment the case is opened. Then, it sends an open command to the TWS earbuds, allowing them to activate their wireless communication module to connect with external devices (such as mobile phones, tablets, etc.).

[0030] However, the inventors discovered during their research that TWS earbuds still have a connection problem with external devices. For example, because TWS earbuds require a certain amount of time (e.g., 500ms) from being woken up to receiving the open-case command, if the user removes the earbuds within 500ms, the earbuds may not receive the open-case command after being powered on and woken up. This prevents the earbuds from opening their own wireless communication module, resulting in the inability to connect to external devices.

[0031] Therefore, the inventors have proposed a wireless communication module control method, device, and wireless earphone as described in this application. When the wireless communication module of the wireless earphone is in a closed state, the method determines whether the wireless earphone is in the charging case or not. In response to the wireless earphone being in a non-charging case state, the wireless communication module is activated. This method allows for the determination of the wireless earphone's presence in the charging case when the wireless communication module is closed. If the wireless earphone is in a non-charging case state, the wireless communication module can be activated. Thus, without requiring additional electronic components, the method determines whether the wireless communication module needs to be activated in the charging case and activates it when necessary, enabling connection with external devices. This also avoids the problem of the earphone failing to connect to external devices due to the user removing the earphone from the charging case too quickly.

[0032] The following section will introduce one application scenario involved in the embodiments of this application.

[0033] Please see Figure 1 One application scenario described in this application includes an electronic device 100 and a charging case 200. The charging case 200 can house an audio playback device. For example, such as... Figure 2As shown, the included audio playback devices can be a first wireless earphone 210 and a second wireless earphone 220. Optionally, the first wireless earphone 210 and the second wireless earphone 220 can be TWS (True Wireless Stereo) earphones. In this embodiment, the audio playback device can be equipped with a wireless communication module, through which the audio playback device can communicate with the electronic device 100. For example, the audio playback device and the electronic device 100 can communicate via a Bluetooth module.

[0034] In this embodiment, the audio playback device can also communicate with the charging case 200. For example, the audio playback device and the charging case 200 can communicate via a pogo pin (connector). A pogo pin can refer to a spring-loaded connector, which can be respectively disposed on the charging case 200, the first wireless earphone 210, and the second wireless earphone 220. Optionally, the communication method between the audio playback device and the charging case 200 can be single-wire time-division bidirectional communication, and the communication protocol used can be the UART (Universal Asynchronous Receiver / Transmitter) communication protocol. When the audio playback device and the charging case 200 transmit information via the UART communication protocol, the baud rate used can be 115200. For example, Figure 3 As shown, when the charging case 200, the first wireless earbud 210, and the second wireless earbud 220 are all idle, they can all be in the receiving (RX) state. When the charging case 200 sends a data task to the first wireless earbud 210 and the second wireless earbud 220, the charging case 200 is in the transmitting (TX) state, and the first wireless earbud 210 and the second wireless earbud 220 are in the RX state. When the first wireless earbud 210 and the second wireless earbud 220 send a data task to the charging case 200, the first wireless earbud 210 and the second wireless earbud 220 are in the TX state, and the charging case 200 is in the RX state.

[0035] Optionally, the charging case 200 can also charge the audio playback device via a communication line (pogo pin) with the audio playback device. In order for the charging case 200 to charge the first wireless earphone 210 and the second wireless earphone 220, the charging case 200 needs a stable high-level voltage higher than 3.0V and lower than the lithium battery voltage of the earphones, a low-level voltage near GND (Ground), and a pull-up resistor, which can be 10kΩ.

[0036] It should be noted that when the first wireless earbuds 210 and 220 are stored in the charging case 200, there are two operating modes between the first wireless earbuds 210 and 220 and the charging case 200: a charging mode and a communication mode. In charging mode, the charging case 200 can charge the first wireless earbuds 210 and 220 via a pogo pin; in communication mode, the first wireless earbuds 210 and 220 can communicate with the charging case 200 via a pogo pin. In this embodiment, at any given time, the working mode between the first wireless earphone 210 and the second wireless earphone 220 and the charging case 200 can be either a charging mode only or a communication mode only. That is, when the charging case 200 is charging the first wireless earphone 210 and the second wireless earphone 220, the first wireless earphone 210 and the second wireless earphone 220 cannot communicate with the charging case 200; when the first wireless earphone 210 and the second wireless earphone 220 are communicating with the charging case 200, the charging case 200 cannot charge the first wireless earphone 210 and the second wireless earphone 220.

[0037] Optionally, within a usage cycle, the usage sequence of the first wireless earbuds 210 and the second wireless earbuds 220 relative to the charging case 200 can be as follows: Figure 4 As shown. Specifically, when the charging case is opened, the charging case 200 can be... Figure 1 The closed box state shown is switched to Figure 5 As shown in the open-case state, the charging case 200 can first provide a continuous high level via the pogo pin to wake up the first wireless earbuds 210 and the second wireless earbuds 220; then, it sends an open-case command to the first wireless earbuds 210 and the second wireless earbuds 220, causing them to activate their wireless communication modules. When the user needs to use the first wireless earbuds 210 and the second wireless earbuds 220, the charging case 200 can... Figure 5 Switching to the unboxing state Figure 2 In the off-charge state shown, the first wireless earphone 210 and the second wireless earphone 220 can communicate with the electronic device 100 via the wireless communication module after being removed from the charging case. When the user no longer needs to use the first wireless earphone 210 and the second wireless earphone 220, they can place them into the charging case 200 and close the lid of the charging case 200. Furthermore, the first wireless earphone 210 and the second wireless earphone 220 can turn off the wireless communication module and recharge their batteries. After being fully charged, they will turn off and wait to be woken up by the charging case 200 next time.

[0038] It should be noted that the wireless earphones mentioned in subsequent embodiments can be either the first wireless earphone 210 or the second wireless earphone 220.

[0039] The embodiments of this application will now be described in conjunction with the accompanying drawings.

[0040] Please see Figure 6 This application provides a wireless communication module control method, applied to wireless headphones, the method comprising:

[0041] S110: When the wireless communication module of the wireless earphone is in the off state, confirm the in-case status of the wireless earphone, which includes in-case status and out-of-case status.

[0042] The wireless communication module can be a Bluetooth module.

[0043] In this embodiment, the wireless earphones are divided into two states based on their placement relative to the charging case and the on / off state of the wireless communication module. The states of the wireless earphones in the case can be divided into states of being in the case and states of not being in the case. The states of being in the case refer to the wireless earphones being in the case and the charging case being closed, in which case the wireless communication module is in a closed state. The states of not being in the case can include two situations: the wireless earphones being in the case and the charging case being open, and the wireless earphones not being in the case. In the states of not being in the case, the wireless communication module can be in a closed or open state.

[0044] In one approach, the presence of the wireless earphone can be confirmed when the wireless earphone switches from a first state to a second state and the wireless communication module of the wireless earphone is turned off. The first state may include a power-off state or a sleep state, and the second state may include a power-on state or a wake-up state.

[0045] Among them, "power off" may refer to the wireless headphones being unpowered, "sleep" may refer to the wireless headphones being in a low-power state, and "power on" or "wake up" may refer to the wireless headphones being powered on.

[0046] Optionally, when a user needs to use the wireless earbuds, the charging case can be opened. In response to the opening of the lid, the charging case can provide a continuous high level to the wireless earbuds to put them into a first state.

[0047] Optionally, in response to the wireless earbuds being in the first state, the wireless earbuds can check whether they have received an opening command from the charging case, which can be used to notify the wireless earbuds to turn on the wireless communication module; if the opening command is received, the wireless earbuds can turn on the wireless communication module; if the opening command is not received, the wireless earbuds can keep the wireless communication module in the off state.

[0048] S120: In response to the wireless earphone being in an off-earth state, the wireless communication module is activated.

[0049] In one manner, in response to the wireless earphone being in a non-in-the-box state and the wireless earphone's wireless communication module being in a turned-off state, the wireless earphone can activate the wireless earphone's wireless communication module.

[0050] This embodiment provides a wireless communication module control method. When the wireless communication module of the wireless earphone is in a turned-off state, it determines whether the wireless earphone is in the charging case or not. If the wireless earphone is in a non-charging case state, the wireless communication module is activated. This method allows for the determination of the earphone's presence in the charging case when the wireless communication module is turned off. If the earphone is in a non-charging case state, the wireless communication module can be activated. This allows the wireless earphone to connect to external devices without requiring additional electronic components. By determining whether the wireless communication module needs to be activated in the charging case, and activating it when necessary, the wireless communication module can be used to establish a connection. This also avoids the problem of the earphone failing to connect to external devices due to the user quickly removing the earphone from the charging case.

[0051] Please see Figure 7 This application provides a wireless communication module control method, applied to wireless headphones, the method comprising:

[0052] S210: When the wireless communication module of the wireless earphone is in the off state, the reference status information of the wireless earphone is acquired multiple times.

[0053] The reference status information may include at least one of voltage information and communication status information. The voltage information may represent the voltage of the electrical connector of the wireless earphone, which may be the voltage provided by the pogo pin of the charging case. The communication status information may represent the communication status between the wireless earphone and the charging case.

[0054] As a way, such as Figure 8 As shown, if the wireless communication module of the wireless earphone is in a turned-off state, the reference status information of the wireless earphone is obtained multiple times, including:

[0055] S211: When the wireless communication module of the wireless earphone is in the off state, start acquiring the reference status information of the wireless earphone multiple times.

[0056] As one method, after the wireless earphone switches from the first state to the second state, a timer on the earphone can be started to perform multiple timeouts. After each timeout, the wireless earphone can obtain reference status information. The duration of each timeout can be the same; for example, each timeout can be 1 second.

[0057] S212: After the wireless earphone obtains the reference state information corresponding to the current time, if the reference state information corresponding to the current time meets the target condition, the count value corresponding to the reference state information is incremented by 1 to obtain the count value corresponding to the current time.

[0058] When the reference status information includes voltage information, the target condition may include a first target condition, which may be that the voltage of the electrical connector is less than a preset voltage; when the reference status information includes communication status information, the target condition may include a second target condition, which may be that the wireless earphones cannot communicate with the charging case, wherein the wireless earphones cannot communicate with the charging case, which may refer to the disconnection between the pogo pin of the charging case and the pogo pin of the wireless earphones.

[0059] When the reference status information includes voltage information and communication status information, the target conditions may include a first target condition and a second target condition. The first target condition may be that the voltage of the electrical connector is less than a preset voltage, and the second target condition may be that the wireless earphone cannot communicate with the charging case. The count value may include a first count value and a second count value. The first count value may represent the number of voltage information that meets the first target condition, and the second count value may represent the number of communication status information that meets the second target condition.

[0060] Optionally, the preset voltage can be the voltage transmitted to the wireless earbuds via the pogo pin on the wireless earbuds when the charging case charges the wireless earbuds via the pogo pin on the charging case. For example, in charging mode, the charging case can supply 5V to the pogo pin on the charging case, and the pogo pin on the wireless earbuds can convert 5V to 1800mV, so the preset voltage can be 1800mV.

[0061] Optionally, an ECG packet can be used to determine whether the wireless earbuds are unable to communicate with the charging case. An ECG packet refers to a data packet that is periodically sent to characterize the operating status of the charging case. When the wireless earbuds receive or respond to an ECG packet, it can be determined that the wireless earbuds can communicate with the charging case; when the wireless earbuds do not receive or respond to an ECG packet, it can be determined that the wireless earbuds cannot communicate with the charging case.

[0062] In one approach, after each timeout, the wireless earphone can send a reference status information acquisition command to the electronic component corresponding to the reference status information to obtain the reference status information for that time. If the reference status information for that time meets the target condition, the corresponding count value can be incremented by 1 to obtain the corresponding count value for that time.

[0063] For example, the reference status information may include voltage information. The preset voltage may be 1800mV. After the third timing is completed, the count value corresponding to the reference status information may be 3. After the fourth timing is completed, the obtained electrical connector voltage may be 1700mV. Then, the reference status information corresponding to this time meets the target condition, and the count value corresponding to the reference status information can be incremented by 1 to obtain the count value corresponding to this time as 4.

[0064] S213: If the reference state information corresponding to the current time does not meet the target condition, increment the count value corresponding to the reference state information by 0 to obtain the count value corresponding to the current time.

[0065] For example, the reference status information may include voltage information. The preset voltage may be 1800mV. After the third timing is completed, the count value corresponding to the reference status information may be 3. After the fourth timing is completed, the obtained electrical connector voltage may be 1800mV. If the voltage information corresponding to the current timing does not meet the target condition, the count value corresponding to the voltage information may be incremented by 0 to obtain a count value of 3 for the current timing.

[0066] S214: Compare the count value corresponding to the current count with the specified number of times. If the count value corresponding to the current count is greater than or equal to the specified number of times, the wireless earphone stops acquiring the reference status information of the wireless earphone.

[0067] The specified number of trials can be a value obtained based on multiple trials. For example, the specified number of trials can be 4.

[0068] For example, the reference status information may include voltage information, and the specified number of times can be 4. After the fifth timer ends, the count value corresponding to the voltage information can be 4. At this time, the count value corresponding to the voltage information is exactly equal to the specified number of times, so the wireless headset control timer stops timing and stops acquiring the voltage information of the wireless headset.

[0069] S215: If the count value corresponding to the current time is less than the specified number of times, the wireless earphone continues to obtain the reference state information corresponding to the next time.

[0070] For example, the reference status information may include voltage information, the specified number of times may be 4, and after the fifth timer ends, the count value corresponding to the voltage information may be 3. At this time, the count value corresponding to the voltage information is less than the specified number of times, so the wireless earphone timer performs the next timer and obtains the voltage information corresponding to the next timer.

[0071] S220: If the reference state information satisfies the target condition at least a specified number of times, confirm that the wireless earphone is in an off-the-box state.

[0072] In one approach, when the reference status information includes voltage information and communication status information, if the voltage information satisfies the first target condition at least a specified number of times and the communication status information satisfies the second target condition at least a specified number of times, it can be confirmed that the wireless earphone is in an off-box state.

[0073] Alternatively, when the reference status information includes voltage information, if the voltage information satisfies the first target condition at least a specified number of times, it can be confirmed that the wireless earphone is in an off-the-box state.

[0074] As another approach, when the reference status information includes communication status information, if the communication status information satisfies the second target condition at least a specified number of times, it can be confirmed that the wireless earphone is in an off-box state.

[0075] In this embodiment, determining whether the wireless earphone is out of the box based solely on voltage information or communication status information can reduce the computational load on the wireless earphone. Determining whether the wireless earphone is out of the box based on both voltage information and communication status information can improve the accuracy of the storage status assessment, thereby enhancing the user experience.

[0076] For example, when the wireless earbuds are powered on or woken up in the charging case, the wireless earbuds and the charging case are either in charging mode or communication mode. These two modes are sequential. If the wireless earbuds are determined to be out of the charging case by repeatedly obtaining communication status information, a disconnected communication status could indicate one of two things: first, the wireless earbuds are not in the charging case; second, the wireless earbuds are in the charging case and are charging. If the wireless earbuds are determined to be out of the charging case by repeatedly obtaining voltage information, a voltage less than or equal to a preset voltage could indicate one of two things: first, the wireless earbuds are not in the charging case; second, the wireless earbuds are in the charging case and are communicating with the charging case. If the second situation is also considered as meeting the target condition, it may cause the corresponding count value to be incorrect, causing the wireless earbuds to activate the wireless communication module while in the charging case. This would allow the wireless earbuds to pair with external devices or be already connected to external devices while in the charging case.

[0077] S230: In response to the wireless earphone being in an off-earth state, the wireless communication module is activated.

[0078] This embodiment provides a wireless communication module control method. By employing the aforementioned method, when the wireless communication module of the wireless earphone is in a closed state, the presence of the wireless earphone in the charging case can be confirmed. If the wireless earphone is not in the charging case, the wireless communication module can be activated. This allows the wireless earphone to connect to external devices without requiring any additional electronic components. It determines whether the wireless communication module needs to be activated based on its position in the charging case, and activates it when necessary. This avoids the problem of the earphone failing to connect to external devices due to the user quickly removing the earphone from the charging case. Furthermore, in this embodiment, during the process of repeatedly acquiring the reference status information of the wireless earphone, if the reference status information meets the target condition at least a specified number of times, it can be confirmed that the wireless earphone is not in the charging case, allowing the wireless earphone to activate its wireless communication module and connect to external devices.

[0079] Please see Figure 9 This application provides a wireless communication module control method, applied to wireless headphones, the method comprising:

[0080] S310: When the wireless communication module of the wireless earphone is in the off state, the reference status information of the wireless earphone is acquired multiple times.

[0081] As a way, such as Figure 10 As shown, when the wireless communication module of the wireless earphone is in the off state, the reference status information of the wireless earphone is acquired multiple times, including:

[0082] S311: When the wireless communication module of the wireless earphone is in the off state, start acquiring the reference status information of the wireless earphone multiple times.

[0083] As one method, after the wireless earphone switches from the first state to the second state, a timer on the earphone can be started to perform multiple timeouts. After each timeout, the wireless earphone can obtain reference status information. The duration of each timeout can be the same; for example, each timeout can be 1 second.

[0084] S312: After obtaining the reference state information corresponding to the current time each time, if the reference state information corresponding to the current time meets the target condition, increment the count value corresponding to the reference state information by 1 to obtain the count value corresponding to the current time.

[0085] When the reference status information includes voltage information, the target condition may include a first target condition, which may be that the voltage of the electrical connector is less than a preset voltage; when the reference status information includes communication status information, the target condition may include a second target condition, which may be that the wireless earphones cannot communicate with the charging case, wherein the wireless earphones cannot communicate with the charging case, which may refer to the disconnection between the pogo pin of the charging case and the pogo pin of the wireless earphones.

[0086] When the reference status information includes voltage information and communication status information, the target conditions may include a first target condition and a second target condition. The first target condition may be that the voltage of the electrical connector is less than a preset voltage, and the second target condition may be that the wireless earphone cannot communicate with the charging case. The count value may include a first count value and a second count value. The first count value may represent the number of voltage information that meets the first target condition, and the second count value may represent the number of communication status information that meets the second target condition.

[0087] In one approach, after each timeout, the wireless earphone can send a reference status information acquisition command to the electronic component corresponding to the reference status information to obtain the reference status information for that time. If the reference status information for that time meets the target condition, the corresponding count value can be incremented by 1 to obtain the corresponding count value for that time.

[0088] For example, the reference status information may include communication status information. After the third timer ends, the count value corresponding to the reference status information can be 3. After the fourth timer ends, the obtained communication status is disconnected. If the communication status information for that time meets the target condition, the count value corresponding to the communication status information can be incremented by 1 to obtain the count value for that time as 4.

[0089] In one approach, when the reference status information includes voltage information and communication status information, if the voltage information corresponding to the current time meets the first target condition, the first count value is incremented by 1 to obtain the first count value corresponding to the current time; if the communication status information corresponding to the current time meets the second target condition, the second count value is incremented by 1 to obtain the second count value corresponding to the current time.

[0090] For example, the preset voltage can be 1800mV. After the third timing, the first count value and the second count value can both be 3. After the fourth timing, the obtained electrical connector voltage can be 1500mV. Then, the voltage information corresponding to this time meets the first target condition, and the first count value can be incremented by 1 to obtain the first count value corresponding to this time as 4. If the obtained communication status can be disconnected, then the communication status information corresponding to this time meets the second target condition, and the second count value can be incremented by 1 to obtain the second count value corresponding to this time as 4.

[0091] S313: Compare the current count value with the specified number of times. If the current count value is greater than or equal to the specified number of times, stop acquiring the reference status information of the wireless earphone.

[0092] The specified number of trials can be a value obtained based on multiple trials. For example, the specified number of trials can be 4.

[0093] For example, the reference status information may include communication status information. The specified number of times can be 4. After the fourth timer ends, the count value corresponding to the communication status information can be 4. At this time, the count value corresponding to the communication status information is exactly equal to the specified number of times. Then, the wireless headset can control the timer to stop timing and stop acquiring the communication status information of the wireless headset.

[0094] In one approach, when the reference status information includes voltage information and communication status information, the first and second count values ​​corresponding to the current count can be compared with a specified number of counts. If both the first and second count values ​​corresponding to the current count are greater than or equal to the specified number of counts, the wireless headset control timer stops timing and stops acquiring the wireless headset's reference status information.

[0095] For example, the specified number of times can be 4. After the fourth timer ends, both the first count value and the second count value can be 4. At this time, the first count value and the second count value are exactly equal to the specified number of times. Then, the wireless headset control timer stops timing and stops acquiring the voltage information and communication status information of the wireless headset.

[0096] S314: If the count value corresponding to the current time is less than the specified number of times, continue to obtain the reference status information corresponding to the next time.

[0097] For example, the reference status information may include communication status information. The specified number of times can be 4. After the 4th timer ends, the count value corresponding to the communication status information can be 0. At this time, the count value corresponding to the communication status information is less than the specified number of times, so the timer of the wireless headset can start the next timer and obtain the next corresponding communication status information.

[0098] In one approach, when the reference status information includes voltage information and communication status information, if the first or second count value corresponding to the current timing is less than a specified number of times, the wireless headset starts the timer for the next timing cycle and obtains the reference status information for the next cycle.

[0099] For example, the specified number of times can be 4. After the fourth timer ends, the first count value can be 4 and the second count value can be 3. At this time, the second count value is less than the specified number of times, so the wireless headset starts the timer to perform the next timer and obtains the voltage information and communication status information corresponding to the next time.

[0100] For example, the specified number of times can be 4. After the fourth timer ends, the first count value can be 3 and the second count value can be 4. At this time, the first count value is less than the specified number of times, so the wireless headset starts the timer to perform the next timer and obtains the corresponding voltage information and communication status information.

[0101] S315: If the reference state information corresponding to the current time does not meet the target condition, the count value of the reference state information is cleared to zero, and the wireless earphone continues to acquire the reference state information corresponding to the next time.

[0102] For example, the reference status information may include communication status information. After the third timer ends, the count value corresponding to the reference status information can be 3. After the fourth timer ends, the obtained communication status is not disconnected. If the communication status information corresponding to this time does not meet the target condition, the count value corresponding to the communication status information can be cleared to 0, and the count value corresponding to this time will be 0.

[0103] In one approach, when the reference status information includes voltage information and communication status information, if the voltage information corresponding to the current time does not meet the first target condition, the first count value can be cleared to zero, the wireless headset starts the timer for the next timing cycle, and obtains the next corresponding reference status information; or, if the communication status information corresponding to the current time does not meet the second target condition, the second count value can be cleared to zero, the wireless headset starts the timer for the next timing cycle, and obtains the next corresponding reference status information.

[0104] For example, the preset voltage can be 1800mV. After the third timer ends, the first count value can be 3 and the second count value can be 3. After the fourth timer ends, the obtained electrical connector voltage can be 1800mV and the communication status information can be disconnected. If the voltage information corresponding to this time does not meet the first target condition, the first count value can be cleared to zero. If the communication status information corresponding to this time meets the second target condition, the second count value can be incremented by 1. Then the first count value corresponding to this time is 0 and the second count value is 4. The wireless headset starts the timer to perform the next timer and obtains the voltage information and communication status information corresponding to the next time.

[0105] For example, the preset voltage can be 1800mV. After the third timer ends, the first count value can be 3 and the second count value can be 3. After the fourth timer ends, the obtained electrical connector voltage can be 1700mV and the communication status information can be connected. If the voltage information corresponding to this time meets the first target condition, the first count value can be incremented by 1. If the communication status information corresponding to this time does not meet the second target condition, the second count value can be cleared to zero. Then, the first count value corresponding to this time is 4 and the second count value is 0. The wireless headset starts the timer to perform the next timer and obtains the voltage information and communication status information corresponding to the next time.

[0106] S320: If the reference state information satisfies the target condition at least a specified number of consecutive times, confirm that the wireless earphone is in an off-the-box state.

[0107] In one approach, when the reference status information includes voltage information and communication status information, if the voltage information satisfies the first target condition at least a specified number of times and the communication status information satisfies the second target condition at least a specified number of times, it can be confirmed that the wireless earphone is in an off-box state.

[0108] Optionally, based on the comparison result of the first count value and a specified number of times, it can be confirmed whether there are at least a specified number of consecutive voltage information that meet the first target condition; based on the comparison result of the second count value and a specified number of times, it can be confirmed whether there are at least a specified number of consecutive communication status information that meet the second target condition; if both the first count value and the second count value are greater than or equal to the specified number of times, it can be confirmed that the wireless earphone is in an off-box state.

[0109] In this embodiment, after each timed period, the voltage information and communication status information of the wireless earphone can be obtained. Then, a first count value is obtained based on the first target condition and the voltage information, and a second count value is obtained based on the second target condition and the communication status information. When both the first count value and the second count value are greater than or equal to a specified number of times, it can be confirmed that the wireless earphone is in an off-earth state, so that the wireless communication module of the wireless earphone can be activated, and the wireless earphone can connect to external devices through the activated wireless communication module.

[0110] Alternatively, when the reference status information includes voltage information, if the voltage information satisfies the first target condition at least a specified number of consecutive times, it can be confirmed that the wireless earphone is in an off-the-box state.

[0111] As another approach, when the reference status information includes communication status information, if the communication status information satisfies the second target condition at least a specified number of consecutive times, it can be confirmed that the wireless earphone is in an off-box state.

[0112] S330: In response to the wireless earphone being in an off-earth state, activate the wireless communication module.

[0113] This embodiment provides a wireless communication module control method. By employing the above-described method, when the wireless communication module of the wireless earphone is in a closed state, the presence of the wireless earphone in the charging case can be confirmed. If the wireless earphone is not in the charging case, the wireless communication module can be activated. This allows the wireless earphone to connect to external devices without requiring any additional electronic components. It determines whether the wireless communication module needs to be activated based on the charging case status and, if so, activates it to establish a connection. This avoids the problem of the earphone failing to connect to external devices due to the user quickly removing the earphone from the charging case. Furthermore, in this embodiment, if the reference state information meets the target condition at least a specified number of consecutive times, it can be confirmed that the wireless earphone is not in the charging case, allowing the wireless earphone to activate its wireless communication module and connect to external devices.

[0114] Please see Figure 11 This application provides a wireless communication module control method, applied to wireless headphones, the method comprising:

[0115] S410: When the wireless communication module of the wireless earphone is in the off state, the reference status information of the wireless earphone is acquired multiple times.

[0116] As a way, such as Figure 12 As shown, the step of repeatedly acquiring the reference status information of the wireless earphone when the wireless communication module of the wireless earphone is in a turned-off state includes:

[0117] S411: When the wireless communication module of the wireless earphone is in the off state, the wireless earphone begins to acquire the reference status information of the wireless earphone multiple times within a specified time period, and obtains multiple reference status information corresponding to the specified time period.

[0118] The specified number of times within a specified time period can be the same as the specified number of times.

[0119] As one method, after the wireless earphone switches from the first state to the second state, it can start two timers for timing. The first timer is used to time each specified time, and the second timer can be used to time multiple times within a specified time.

[0120] As another method, after the wireless earphone switches from the first state to the second state, a timer can be started. This timer can be used to time multiple times within a specified time. After each timer ends, the timer count can be incremented by 1. When the timer count reaches the specified number, it indicates that a specified time has ended. At this time, the timer count can be cleared to zero and the next specified time can begin.

[0121] S412: Based on the plurality of reference state information, obtain the count value corresponding to the specified time, wherein the count value represents the number of reference state information that meets the target condition among the plurality of reference state information.

[0122] When the reference status information includes voltage information, the target condition may include a first target condition, which may be that the voltage of the electrical connector is less than a preset voltage; when the reference status information includes communication status information, the target condition may include a second target condition, which may be that the wireless earphones cannot communicate with the charging case, wherein the wireless earphones cannot communicate with the charging case, which may refer to the disconnection between the pogo pin of the charging case and the pogo pin of the wireless earphones.

[0123] When the reference status information includes voltage information and communication status information, the target conditions may include a first target condition and a second target condition. The first target condition may be that the voltage of the electrical connector is less than a preset voltage, and the second target condition may be that the wireless earphone cannot communicate with the charging case. The count value may include a first count value and a second count value. The first count value may represent the number of voltage information that meets the first target condition, and the second count value may represent the number of communication status information that meets the second target condition.

[0124] For example, the reference status information may include voltage information. The preset voltage may be 1800mV. If four timing operations can be performed within a specified time, the voltage information obtained in the order of time within the specified time may be 1800mV, 1700mV, 1700mV, and 1700mV respectively. By comparing each voltage information with the preset voltage, the count value corresponding to the specified time can be obtained as 3.

[0125] S413: If the count value corresponding to the specified time is greater than or equal to the specified number of times, stop acquiring the reference status information of the wireless earphone multiple times within the specified time.

[0126] For example, the reference status information may include voltage information. The preset voltage can be 1800mV, the specified number of times can be 4, and the voltage information corresponding to the current specified time can be 1500mV, 1500mV, 1500mV, and 1500mV respectively. If multiple voltage information within the current specified time meet the corresponding target conditions, then the count value corresponding to the current specified time is 4, which is exactly equal to the specified number of times. The wireless earphone control timer stops timing and stops acquiring the wireless earphone's reference status information multiple times within the specified time.

[0127] S414: If the count value corresponding to the specified time is less than the specified number of times, continue to acquire the reference status information of the wireless earphone multiple times within the specified time.

[0128] For example, the reference status information may include voltage information. The preset voltage may be 1800mV. The voltage information corresponding to the current specified time may be 1800mV, 1500mV, 1500mV, and 1500mV respectively. If there is a voltage information that does not meet the corresponding target condition among the multiple voltage information corresponding to the current specified time, then the count value corresponding to the current specified time is 3. The wireless earphone starts the timer to time the next specified time and obtains the voltage information corresponding to the next specified time.

[0129] S420: If the reference state information satisfies the target condition at least a specified number of times within a specified time, confirm that the wireless earphone is in an off-the-box state.

[0130] In one approach, when the reference status information includes voltage information and communication status information, if the voltage information satisfies the first target condition at least a specified number of times within a specified time, and the communication status information satisfies the second target condition at least a specified number of times within a specified time, it can be confirmed that the wireless earphone is in an off-box state.

[0131] As another approach, when the reference status information includes voltage information, if the voltage information satisfies the first target condition at least a specified number of times within a specified time period, it can be confirmed that the wireless earphone is in an off-the-box state.

[0132] As another approach, when the reference status information includes communication status information, if the communication status information satisfies the second target condition at least a specified number of times within a specified time period, it can be confirmed that the wireless earphone is in an off-box state.

[0133] S430: In response to the wireless earphone being in an off-earth state, activate the wireless communication module.

[0134] This embodiment provides a wireless communication module control method. By employing the above-described method, when the wireless communication module of the wireless earphone is in a closed state, the presence of the wireless earphone in the charging case can be confirmed. If the wireless earphone is not in the charging case, the wireless communication module can be activated. This allows the wireless earphone to connect to external devices without requiring any additional electronic components. It determines whether the wireless communication module needs to be activated based on its position in the charging case, and activates it when necessary. This avoids the problem of the earphone failing to connect to external devices due to the user quickly removing the earphone from the charging case. Furthermore, in this embodiment, if the reference state information meets the target condition at least a specified number of times within a specified time, it can be confirmed that the wireless earphone is not in the charging case, allowing the wireless earphone to activate its wireless communication module and connect to external devices.

[0135] To better understand the solutions of all embodiments of this application, the preferred service flow of the wireless communication module control method of this application is described below.

[0136] In this embodiment of the application, in order to more accurately determine whether the wireless earphone is in a non-in-the-box state, the voltage information and communication status information of the wireless earphone can be used as the reference status information of the wireless earphone.

[0137] As a way, such as Figure 13As shown, confirming whether the wireless earphone is in an off-charge state based on reference state information may include: after switching the wireless earphone from a first state to a second state based on step S1, the wireless earphone can start a timer based on step S2, with each timer lasting 1 second. After confirming the end of the current timer based on step S3, the current voltage information and communication status information of the wireless earphone can be obtained based on step S4. The voltage information represents the voltage of the wireless earphone's electrical connector, and the communication status information represents the communication status between the wireless earphone and the charging case. After obtaining the current voltage information and communication status information of the wireless earphone, it can be confirmed based on step S5 whether the voltage information meets a first target condition, and based on step S6 whether the communication status information meets a second target condition. If the voltage information meets the first target condition, the first count value can be incremented by 1 in step S7; if the voltage information does not meet the first target condition, the first count value can be incremented by 0 in step S9. After obtaining the corresponding first count value based on steps S7 and S8, it can be determined based on step S9 whether the first count value is greater than or equal to a specified number of times. If the communication status information meets the second target condition, the second count value can be incremented by 1 in step S10; if the voltage information does not meet the second target condition, the second count value can be incremented by 0 in step S11. After obtaining the corresponding second count value based on steps S10 and S11, it can be determined whether the second count value is greater than or equal to a specified number of times based on step S12. If it is determined based on steps S9 and S12 that both the first count value and the second count value are greater than or equal to the specified number of times, it can be confirmed that the wireless headset is in a non-in-the-box state and the wireless communication module can be turned on based on step S13; if it is determined based on steps S9 and S12 that either the first count value or the second count value is less than the specified number of times, it can be confirmed that the wireless headset is in the in-the-box state and the timer can be restarted based on step S2.

[0138] As another way, such as Figure 14As shown, determining whether the wireless earphone is in an off-charge state based on reference status information can include: After switching the wireless earphone from a first state to a second state based on step S1, the wireless earphone can start a timer based on step S2, with each timer lasting 1 second. After confirming the end of the current timer based on step S3, the current voltage information and communication status information of the wireless earphone can be obtained based on step S4. The voltage information represents the voltage of the wireless earphone's electrical connector, and the communication status information represents the communication status between the wireless earphone and the charging case. After obtaining the current voltage information and communication status information of the wireless earphone, it can be confirmed based on step S5 whether the voltage information meets the first target condition, and based on step S6 whether the communication status information meets the second target condition. If the voltage information meets the first target condition, the first count value can be incremented by 1 in step S7, and it can be determined in step S8 whether the first count value is greater than or equal to a specified number of times. If the voltage information does not meet the first target condition, the first count value can be cleared to zero in step S9, and the timer can be restarted based on step S2. If the communication status information meets the second target condition, the second count value can be incremented by 1 in step S10, and it can be determined in step S11 whether the second count value is greater than or equal to the specified number of times. If the voltage information does not meet the second target condition, the second count value can be cleared to zero in step S12, and the timer can be restarted based on step S2. If it is determined in steps S8 and S11 that both the first count value and the second count value are greater than or equal to the specified number of times, it can be confirmed that the wireless headset is in a non-in-the-box state, and the wireless communication module can be turned on in step S13. If it is determined in steps S8 and S11 that either the first count value or the second count value is less than the specified number of times, it can be confirmed that the wireless headset is in a in-the-box state, and the timer can be restarted based on step S2.

[0139] As another way, such as Figure 15As shown, confirming whether the wireless earphone is in an off-charge state based on reference status information may include: after switching the wireless earphone from a first state to a second state based on step S1, the wireless earphone can start a timer based on step S2, with each timer lasting 1 second and each cycle lasting 4 seconds. After confirming the end of the current timer within the current cycle based on step S3, the current voltage information and communication status information of the wireless earphone can be obtained based on step S4. The voltage information can represent the voltage of the wireless earphone's electrical connector, and the communication status information can represent the communication status between the wireless earphone and the charging case. After obtaining the current voltage information and communication status information of the wireless earphone, steps S2 to S4 can be re-executed until the current specified time is confirmed to have ended based on step S5, thereby obtaining the voltage information and communication status information corresponding to the current specified time. Then, the first count value and the second count value corresponding to the current specified time are obtained sequentially based on step S6. S6 confirms whether the first count value and the second count value of the current specified time are both greater than or equal to a specified number of times. If, based on step S7, it is confirmed that both the first and second count values ​​corresponding to the current specified time are greater than or equal to the specified number of times, the wireless earphone can be confirmed to be in a non-in-the-box state and the wireless communication module can be turned on based on step S8; if, based on step S7, it is confirmed that either the first or second count value corresponding to the current specified time is less than the specified number of times, the wireless earphone can be confirmed to be in a in-the-box state and the timer can be restarted based on step S2.

[0140] In this embodiment of the application, by Figure 13 The method shown can more quickly determine whether the wireless earphones are in a non-in-the-box state, and in response to the wireless earphones being in a non-in-the-box state, activate the wireless communication module, through... Figure 14 The method shown can more accurately determine whether the wireless earphones are in a non-in-the-box state, and in response to the wireless earphones being in a non-in-the-box state, the timing for activating the wireless communication module is determined. Figure 15 The method shown can reduce the amount of computation. For example, the timer can time 1 second at a time, with each 4-second period being a cycle, and the specified number of cycles can be 4. The voltage information and communication status information for the 1st to the 8th seconds can be as follows: 1500mV, disconnected (1st second); 1800mV, connected (2nd second); 1500mV, disconnected (3rd second); 1500mV, disconnected (4th second); 1500mV, disconnected (5th second); 1500mV, disconnected (6th second); 1500mV, disconnected (7th second); 1500mV, disconnected (8th second). If the method shown in 13 is used, the wireless communication module can be turned on after the 5th second; if the method shown in 14 is used, the wireless communication module can be turned on after the 6th second; if the method shown in 15 is used, the wireless communication module can be turned on after the 8th second.

[0141] Optionally, the appropriate method can be selected to control the wireless communication module based on the actual situation.

[0142] Please see Figure 16 This application provides a wireless communication module control device 600, which operates in a wireless headset. The device 600 includes:

[0143] The reference status information acquisition unit 610 is used to confirm the in-car status of the wireless earphone when the wireless communication module of the wireless earphone is in the off state. The in-car status includes in-car status and out-of-car status.

[0144] The wireless communication module activation unit 620 is used to activate the wireless communication module in response to the wireless earphone being in an off-earth state.

[0145] In one approach, the reference state information acquisition unit 610 is specifically used to confirm the in-car status of the wireless earphone when the wireless earphone switches from a first state to a second state and the wireless communication module of the wireless earphone is in a turned-off state; the first state includes a power-off state or a sleep state, and the second state includes a power-on state or a wake-up state.

[0146] In one approach, the reference status information acquisition unit 610 is specifically used to acquire the reference status information of the wireless earphone multiple times when the wireless communication module of the wireless earphone is in a turned-off state; if the reference status information satisfies the target condition at least a specified number of times, it is confirmed that the wireless earphone is in an off-earth state.

[0147] Optionally, the reference status information acquisition unit 610 is specifically used to confirm that the wireless earphone is in an off-the-box state if the voltage information satisfies the first target condition at least a specified number of times and the communication status information satisfies the second target condition at least a specified number of times.

[0148] Optionally, the reference status information acquisition unit 610 is specifically used to confirm that the wireless earphone is in an off-the-box state if the voltage information satisfies the first target condition at least a specified number of times, or the communication status information satisfies the second target condition at least a specified number of times.

[0149] Optionally, the reference state information acquisition unit 610 is specifically used to confirm that the wireless earphone is in an off-the-box state if the reference state information satisfies the target condition at least a specified number of consecutive times.

[0150] Optionally, the reference status information acquisition unit 610 is specifically used to confirm that the wireless earphone is in an off-the-box state if the reference status information satisfies the target condition at least a specified number of times within a specified time.

[0151] Optionally, the reference status information includes voltage information and communication status information. The voltage information represents the voltage of the electrical connector of the wireless earphone, and the communication status information represents the communication status between the wireless earphone and the charging case. The target condition includes a first target condition and a second target condition. The first target condition is that the voltage of the electrical connector is less than a preset voltage, and the second target condition is that the wireless earphone cannot communicate with the charging case.

[0152] Optionally, the reference status information includes voltage information, which represents the electrical connector voltage of the wireless earphone, and the target condition includes a first target condition, which is that the electrical connector voltage is less than a preset voltage; or, the reference status information includes communication status information, which represents the communication status between the wireless earphone and the charging case, and the target condition includes a second target condition, which is that the wireless earphone cannot communicate with the charging case.

[0153] The following will combine Figure 17 This application describes a wireless earphone.

[0154] Please see Figure 17 Based on the aforementioned wireless communication module control method and apparatus, this application embodiment also provides another wireless headset 100 capable of executing the aforementioned wireless communication module control method. The wireless headset 100 includes a processor 102, a memory 104, a wireless communication module 106, and an audio playback module 108. The memory 104 stores a program capable of executing the contents of the aforementioned embodiments, and the processor 102 can execute the program stored in the memory 104.

[0155] The processor 102 may include one or more processing cores. The processor 102 connects to various parts within the wireless headset 100 using various interfaces and lines, and performs various functions and processes data of the wireless headset 100 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and by calling data stored in the memory 104. Optionally, the processor 102 may be implemented using at least one of the following hardware forms: a Neural Network Processing Unit (NPU), a Digital Signal Processing Unit (DSP), a Field-Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA). The processor 102 may integrate one or more of the following: a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Neural Network Processing Unit (NPU), and a modem. Specifically, the CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; the NPU is responsible for processing multimedia data such as video and images; and the modem is used for wireless communication. It is understandable that the aforementioned modem may not be integrated into the processor 102, but may be implemented using a separate communication chip.

[0156] The memory 104 may include random access memory (RAM), read-only memory (ROM), and double data rate synchronous dynamic random access memory (DDR). The memory 104 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 104 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described below. The data storage area may also store data created by the terminal 100 during use (such as phonebook data, audio and video data, chat log data, etc.).

[0157] The wireless communication module 106 can be used to enable information exchange between the wireless headset 100 and other devices. Optionally, the wireless communication module 106 can be a Bluetooth module.

[0158] The audio playback module 108 can be used to play audio received by the wireless headphones 100 from other devices. Optionally, the audio playback module 108 can be a speaker.

[0159] Please refer to Figure 18 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 800 stores program code that can be called by a processor to execute the methods described in the above method embodiments.

[0160] The computer-readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 810 may, for example, be compressed in a suitable form.

[0161] In summary, the wireless communication module control method, apparatus, and wireless earphone provided in this application, when the wireless communication module of the wireless earphone is in a closed state, determines whether the wireless earphone is in the charging case or not. In response to the wireless earphone being in a non-charging case state, the wireless communication module is activated. This method allows for the determination of the wireless earphone's presence in the charging case when the wireless communication module is closed. If the wireless earphone is in a non-charging case state, the wireless communication module can be activated. Thus, without requiring additional electronic components to be installed in the wireless earphone, the need to manually activate the wireless communication module based on its condition in the charging case is determined. When activation is required, the wireless communication module is activated to enable connection with external devices. This also avoids the problem of the earphone failing to establish a connection with external devices due to the user removing the earphone from the charging case too quickly.

[0162] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for controlling a wireless communication module, characterized in that, Applied to wireless headphones, the method includes: When the wireless earphone switches from sleep mode to wake-up mode and the wireless communication module of the wireless earphone is in the off state, the status of the wireless earphone in the charging case is confirmed. The status of the wireless earphone in the charging case includes being in the charging case and not being in the charging case. The wireless earphone is in the wake-up state and the wireless communication module is in the off state, indicating that the wireless earphone has not received the instruction sent by the charging case to activate the wireless communication module. The charging case is used to store the wireless earphone. If the wireless earphone is not in the case, the wireless communication module is activated by the wireless earphone.

2. The method according to claim 1, characterized in that, The method further includes: With the wireless communication module of the wireless earphone in a turned-off state, the reference status information of the wireless earphone is acquired multiple times; If the target condition is met at least a specified number of times the reference status information is obtained, the wireless earphone is confirmed to be in an off-the-box state.

3. The method according to claim 2, characterized in that, The reference status information includes voltage information and communication status information. The voltage information represents the voltage of the electrical connector of the wireless earphone, and the communication status information represents the communication status between the wireless earphone and the charging case. The target conditions include a first target condition and a second target condition. The first target condition is that the voltage of the electrical connector is less than a preset voltage, and the second target condition is that the wireless earphone cannot communicate with the charging case.

4. The method according to claim 3, characterized in that, If the reference state information satisfies the target condition at least a specified number of times, the wireless earphone is confirmed to be in an off-the-box state, including: If voltage information satisfies the first target condition at least a specified number of times, and communication status information satisfies the second target condition at least a specified number of times, then the wireless earphone is confirmed to be in an off-the-box state.

5. The method according to claim 2, characterized in that, The reference status information includes voltage information, which represents the electrical connector voltage of the wireless earphone. The target condition includes a first target condition, which is that the electrical connector voltage is less than a preset voltage. or, The reference status information includes communication status information, which characterizes the communication status between the wireless earphones and the charging case. The target condition includes a second target condition, which is that the wireless earphones cannot communicate with the charging case.

6. The method according to claim 5, characterized in that, The step of confirming that the wireless earphone is in an off-the-box state if the reference state information satisfies the target condition at least a specified number of times includes: If the voltage information satisfies the first target condition at least a specified number of times, or the communication status information satisfies the second target condition at least a specified number of times, the wireless earphone is confirmed to be in an off-the-box state.

7. The method according to claim 2, characterized in that, The step of confirming that the wireless earphone is in an off-the-box state if the reference state information satisfies the target condition at least a specified number of times includes: If the reference state information satisfies the target condition at least a specified number of consecutive times, the wireless earphone is confirmed to be in an off-the-box state.

8. The method according to claim 2, characterized in that, The step of confirming that the wireless earphone is in an off-the-box state if the reference state information satisfies the target condition at least a specified number of times includes: If the reference status information satisfies the target condition at least a specified number of times within a specified time period, the wireless earphone is confirmed to be in an off-the-box state.

9. A wireless communication module control device, characterized in that, Operating in wireless headphones, the device includes: The reference status information acquisition unit is used to confirm the presence status of the wireless earphone when the wireless earphone switches from a sleep state to a wake-up state and the wireless communication module of the wireless earphone is in a turned-off state. The presence status includes being in a charging case and not being in a charging case. When the wireless earphone is in a wake-up state and the wireless communication module is in the turned-off state, it indicates that the wireless earphone has not received an instruction from the charging case to activate the wireless communication module. The charging case is used to store the wireless earphone. A wireless communication module activation unit is used to activate the wireless communication module by the wireless earphone if the wireless earphone is in an off-earth state.

10. A wireless earphone, characterized in that, Includes one or more processors and memory; One or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs being configured to perform the method of any one of claims 1-8.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores program code, wherein the method described in any one of claims 1-8 is executed when the program code is run.

Citation Information

Patent Citations

  • Wireless earphone box and system

    CN111601199A

  • Wireless earphone control method, wireless earphone and readable storage medium

    CN111757307A

  • Wireless earphone, earphone storage box and wireless earphone system

    CN114079837A