Control method, device and earphone compartment of wireless audio device

By using a touch sensor and processor in the headphone compartment, the problem of poor user experience caused by long initialization time of headphones is solved, and the headphones are quickly connected to the mobile phone and restored audio services.

CN114422912BActive Publication Date: 2025-01-10GEER TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202111642591.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2025-01-10
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

The existing TWS headsets are initialized for a long time during the wake-up process, which causes users to often miss important information when they need to answer calls or meetings, and their user experience is poor.

Method used

By setting the touch sensor and processor in the headphone compartment, obtain trigger information and respond to the headphone status information, quickly wake up the headphones when the preset conditions are met, and send audio connection preprocessing instructions to achieve fast connection.

Benefits of technology

It realizes that the headphones quickly connect to the mobile phone after taking out the warehouse, restores the audio service, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114422912B_ABST
    Figure CN114422912B_ABST
Patent Text Reader

Abstract

An embodiment of the present application provides a control method, device and earphone compartment of a wireless audio device, which are applied to an earphone compartment, in which an earphone is placed, including: obtaining trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; in response to the trigger information, obtaining first state information of the earphone at a current moment; when the first state information meets a preset condition, controlling the earphone to enter a wake-up state, and sending an audio connection preprocessing instruction to the earphone in the wake-up state, so as to control the earphone to perform audio connection preprocessing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The disclosed embodiments relate to the technical field of Bluetooth headsets, and more specifically, to a control method and device for a wireless audio device and an earphone compartment. Background Art

[0002] With the development of science and technology and the continuous improvement of people's production and living standards, people's requirements for headphones are getting higher and higher. In order to meet the requirements of standby time, TWS (True Wireless Stereo) headphones generally put the headphone into a charging box and put the headphone main control chip into a dormant state when the headphone is fully charged to reduce power consumption. When the user needs to use it, the headphone will be reawakened when the charging box is opened, and the main control chip will be turned on and initialized again.

[0003] However, the process of reawakening the headset takes a long time because the main control chip needs to be powered on and initialized. For headsets with more complex functions, the more configurations need to be performed during the initialization phase, and the longer it takes. In actual use, users often need to open the charging box and connect the headset immediately to answer calls or meetings. This causes users to often miss calls or miss the information at the beginning of the call, which is a poor user experience. Summary of the invention

[0004] An object of the present disclosure is to provide a new technical solution for waking up headphones.

[0005] According to a first aspect of the present disclosure, an embodiment of a control method for a wireless audio device is provided, which is applied to an earphone compartment, wherein earphones are placed in the earphone compartment, comprising:

[0006] Acquire trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone;

[0007] In response to the trigger information, obtaining first state information of the headset at a current moment;

[0008] When the first state information satisfies a preset condition, the headset is controlled to enter a wake-up state, and an audio connection preprocessing instruction is sent to the headset in the wake-up state to control the headset to perform audio connection preprocessing.

[0009] Optionally, the earphone compartment is communicatively connected to a terminal device used by a user;

[0010] The acquiring trigger information for the headset includes:

[0011] Acquire the trigger information sent by the terminal device when receiving the audio service.

[0012] Optionally, the trigger information includes a service type of the audio service received by the terminal device;

[0013] The sending of the audio connection preprocessing instruction to the headset in the awake state includes:

[0014] An audio connection preprocessing instruction corresponding to the service type is sent to the headset.

[0015] Optionally, a touch sensor is provided on the outer shell of the earphone compartment;

[0016] The acquiring trigger information for the headset includes:

[0017] Acquiring a touch data value detected by the capacitive sensor;

[0018] When the touch data value is greater than a preset touch threshold, the trigger information is generated.

[0019] Optionally, when the first state information satisfies a preset condition, controlling the headset to enter a wake-up state includes:

[0020] When the headset is in a dormant state and the power level of the headset at a current moment is not less than a preset power threshold, a wake-up instruction is sent to the headset to control the headset to enter a wake-up state.

[0021] Optionally, after the step of controlling the headset to enter a wake-up state, the method further includes:

[0022] detecting second status information of the earphone compartment, wherein the second status information indicates whether the earphone compartment is in an open state;

[0023] When the second status information within a preset time period indicates that the earphone compartment is not in an open state, the earphone is controlled to enter a sleep state from a wake-up state.

[0024] Optionally, when the second status information within a preset time period indicates that the earphone compartment is in an open state, the earphone is controlled to communicate with a terminal device used by the user.

[0025] Optionally, the audio connection preprocessing includes at least one of the following processes: configuring DSP link information, configuring a microphone, and configuring a speaker.

[0026] According to a second aspect of the present disclosure, an embodiment of a control device for a wireless audio device is provided, which is applied to an earphone compartment, wherein an earphone is placed in the earphone compartment, and includes:

[0027] A first acquisition module, used to acquire trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone;

[0028] A second acquisition module, configured to acquire first state information of the headset at a current moment in response to the trigger information;

[0029] The control module is used to control the headset to enter a wake-up state when the first state information meets a preset condition, and send an audio connection preprocessing instruction to the headset in the wake-up state to control the headset to perform audio connection preprocessing.

[0030] According to a third aspect of the present disclosure, an embodiment of an earphone compartment is provided, comprising:

[0031] A memory for storing executable instructions;

[0032] A processor is used to operate the earphone compartment according to the control of the instruction to execute the method described in the first aspect of this specification.

[0033] One beneficial effect of the embodiments of the present disclosure is that, according to the embodiments of the present disclosure, by obtaining trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; in response to the trigger information, obtaining the first state information of the earphone at the current moment; when the first state information meets the preset conditions, controlling the earphone to enter the wake-up state, and sending an audio connection preprocessing instruction to the earphone in the wake-up state to control the earphone to perform audio connection preprocessing. This enables the earphone to quickly reconnect to the mobile phone after taking out the earphone compartment, restore the audio service, and improve the user experience.

[0034] Other features and advantages of the present specification will become apparent from the following detailed description of exemplary embodiments of the present specification with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the specification and, together with the description, serve to explain the principles of the specification.

[0036] Figure 1 It is a flowchart of a control method of a wireless audio device provided by an embodiment of the present disclosure.

[0037] Figure 2 It is a flowchart of another control method of a wireless audio device provided by an embodiment of the present disclosure.

[0038] Figure 3 It is a flowchart of another method for controlling a wireless audio device provided by an embodiment of the present disclosure.

[0039] Figure 4 The present invention is a block diagram of a control device for a wireless audio device provided by an embodiment of the present disclosure.

[0040] Figure 5 It is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0041] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0042] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0043] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0044] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0045] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0046] <Method Example>

[0047] The TWS (True Wireless Stereo) headphones launched in recent years, technically speaking, do not directly connect the headphone components to the mobile phone, but only contain two headphones. The mobile phone is wirelessly connected to the main headphone, and the main headphone is then connected to the slave headphone via Bluetooth wirelessly, realizing true wireless separation of Bluetooth left and right channels.

[0048] Compared with ordinary Bluetooth headsets, TWS headsets have the following advantages: wireless structure, completely eliminating the trouble of wires, freer to use and carry; Bluetooth left and right channel stereo output, better sound effect.

[0049] In order to improve user experience, an embodiment of the present disclosure provides a control method for a wireless audio device.

[0050] Please see Figure 1, which is a flow chart of a control method for a wireless audio device provided in an embodiment of the present disclosure, and the method can be implemented in an electronic device.

[0051] like Figure 1 As shown, the method of this embodiment may include the following steps S1100-S1300, which are described in detail below.

[0052] Step S1100, obtaining trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone.

[0053] In some embodiments, the control method of the wireless audio device is applied to an earphone compartment, in which earphones are placed, and the execution subject of the control method of the wireless audio device can obtain trigger information for the earphones in a wired or wireless manner, wherein the trigger information is used to trigger the earphone compartment to wake up the earphones. The above trigger information may be sent by a terminal device that has a communication connection with the earphone compartment. The above terminal device may be a mobile phone, a tablet, or other device that can make voice calls. As an example, the earphone may be a wireless Bluetooth earphone, the earphone compartment may be an earphone box for placing the earphones, and the above trigger information may be an instruction sent by the above mobile phone to the above earphone compartment to wake up the earphones.

[0054] In some optional implementations of some embodiments, the earphone compartment is communicatively connected with a terminal device used by a user; the obtaining of trigger information for the earphone includes: obtaining the trigger information sent by the terminal device when receiving an audio service. Here, the earphone compartment and the terminal device used by the user are connected using low-power Bluetooth to achieve the purpose of reducing power consumption. BLE (Bluetooth Low Energy), also known as low-energy Bluetooth, is a personal area network technology designed and sold by the Bluetooth Technology Alliance. It is intended for emerging applications in the fields of healthcare, sports and fitness, beacons, security, and home entertainment. Compared with classic Bluetooth, low-power Bluetooth aims to significantly reduce power consumption and cost while maintaining the same communication range. The above-mentioned audio services can be audio services such as voice calls and incoming calls. As an example, the trigger information can be sent when a call comes in on the user's mobile phone.

[0055] Step S1200: In response to the trigger information, obtain first state information of the headset at the current moment.

[0056] In some embodiments, the execution subject may obtain the first state information of the headset at the current moment in response to the trigger information. Here, the first state information may be information used to describe the working state and power state of the headset. For example, the working state may include a wake-up state and a sleep state, and the power state may include a fully charged state and a to-be-charged state. As an example, the first state information of the headset at the current moment may be "the power state of the headset is fully charged and the working state is a sleep state".

[0057] Step S1300: When the first state information satisfies a preset condition, the headset is controlled to enter a wake-up state, and an audio connection preprocessing instruction is sent to the headset in the wake-up state to control the headset to perform audio connection preprocessing.

[0058] In some embodiments, the execution subject may control the headset to enter the awake state when the first state information meets a preset condition, and send an audio connection preprocessing instruction to the headset in the awake state to control the headset to perform audio connection preprocessing. The above preset condition may be "the headset is fully charged and in sleep state".

[0059] In some optional implementations of some embodiments, the trigger information includes the service type of the audio service received by the terminal device; the sending of the audio connection preprocessing instruction to the headset in the awake state includes: sending an audio connection preprocessing instruction corresponding to the service type to the headset. The above-mentioned service types may include multimedia services, video services, etc. Currently, the broadband multimedia services that have been implemented and widely used mainly include online video live broadcast, VOD video on demand, Internet TV, online teaching, broadband games, video conferencing, video chat, multimedia mail and other services. As an example, when the service type of the audio service is Internet TV, the corresponding audio connection preprocessing instruction may be to configure the speaker, and when the service type of the audio service is video chat, the corresponding audio connection preprocessing instruction may be to configure the speaker and configure the microphone.

[0060] In some optional implementations of some embodiments, the audio connection preprocessing includes at least one of the following processes: configuring DSP (digital signal processor) link information, configuring microphones, and configuring speakers. DSP is a microprocessor that is particularly suitable for performing digital signal processing operations, and its main application is to implement various digital signal processing algorithms in real time and quickly.

[0061] Some embodiments of the present disclosure disclose a control method for a wireless audio device, by obtaining trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; in response to the trigger information, obtaining the first state information of the earphone at the current moment; when the first state information meets a preset condition, controlling the earphone to enter a wake-up state, and sending an audio connection preprocessing instruction to the earphone in the wake-up state to control the earphone to perform audio connection preprocessing. The earphone is quickly connected back to the mobile phone after the earphone compartment is taken out, audio services are restored, and the user experience is improved.

[0062] The embodiment of the present disclosure provides another control method of a wireless audio device. Figure 2 , which is a flow chart of a control method for a wireless audio device provided in an embodiment of the present disclosure, and the method can be implemented in an electronic device.

[0063] like Figure 2 As shown, the method of this embodiment may include the following steps S2100-S2500, which are described in detail below.

[0064] Step S2100, obtaining trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone.

[0065] Step S2200: In response to the trigger information, obtain first state information of the headset at the current moment.

[0066] Step S2300: When the first state information satisfies a preset condition, the headset is controlled to enter an awake state, and an audio connection preprocessing instruction is sent to the headset in the awake state to control the headset to perform audio connection preprocessing.

[0067] In some embodiments, the specific implementation of steps S2100-S2300 and the technical effects brought about can be referred to Figure 1 The corresponding steps S1100-S1300 in the embodiments are not described in detail here.

[0068] Step S2400, detecting second status information of the earphone compartment, wherein the second status information indicates whether the earphone compartment is in an open state.

[0069] In some embodiments, the execution body of the control method of the wireless audio device can detect second status information of the earphone compartment, wherein the second status information indicates whether the earphone compartment is in an open state.

[0070] Step S2500: When the second status information within a preset time period indicates that the earphone compartment is not in an open state, control the earphone to enter a sleep state from a wake-up state.

[0071] In some embodiments, the execution subject may control the headset to enter a dormant state from an awake state when the second state information within a preset time indicates that the headset compartment is not in an open state. The preset time may be pre-set, for example, 20 seconds starting from the time the headset enters the awake state.

[0072] In some optional implementations of some embodiments, when the second state information within a preset time period indicates that the earphone compartment is in an open state, the earphone is controlled to communicate with a terminal device used by the user. By restoring the connection between the earphone and the mobile phone and restoring the audio service, the user experience is improved.

[0073] Some embodiments of the present disclosure disclose a control method for a wireless audio device, by acquiring trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; in response to the trigger information, acquiring the first state information of the earphone at the current moment; when the first state information meets a preset condition, controlling the earphone to enter a wake-up state, and sending an audio connection preprocessing instruction to the earphone in the wake-up state to control the earphone to perform audio connection preprocessing; detecting the second state information of the earphone compartment, wherein the second state information indicates whether the earphone compartment is in an open state; when the second state information within a preset time period indicates that the earphone compartment is not in an open state, controlling the earphone to enter a dormant state from the wake-up state. When the mobile phone has an audio service, the earphone is woken up and the audio service is preprocessed, so that the user can restore the connection between the earphone and the mobile phone and restore the audio service as soon as possible when the earphone is needed, thereby improving the user experience.

[0074] The embodiment of the present disclosure provides another control method of a wireless audio device. Figure 3 , which is a flow chart of a control method for a wireless audio device provided in an embodiment of the present disclosure, and the method can be implemented in an electronic device.

[0075] like Figure 3 As shown, the method of this embodiment may include the following steps S3100-S3400, which are described in detail below.

[0076] Step S3100, acquiring touch data values ​​detected by the touch sensor.

[0077] In some embodiments, a touch sensor is provided on the outer shell of the earphone compartment of the control method of the wireless audio device, and the execution subject of the control method of the wireless audio device can obtain the touch data value detected by the touch sensor in a wired or wireless manner. A touch sensor refers to a sensor that converts changes in measurements (such as size, pressure, etc.) into changes in capacitance. As an example, a skin contact sensor (cap sensor) can be added to the outer shell of the earphone compartment. When the earphone is placed in the earphone compartment and is in a fully charged sleep state, the earphone compartment turns on touch detection, so that the touch sensor is at a working frequency of 100 Hz to collect touch data values.

[0078] As an example, the surface of the sensor is two metal electrode plates of a capacitor. When a conductive (or partially conductive) object approaches the plates, the mutual capacitance changes the oscillation frequency of the oscillator. When the oscillation amplitude is large enough, the output state (logic state) of the trigger oscillator changes. Similarly, when the object moves away, the oscillation amplitude of the oscillator gradually decreases, and the output state of the trigger returns to the initial state. In general, a sensor is generally designed to detect a specific substance. The touch sensor here can be used to detect the skin.

[0079] Step S3200: generating the trigger information when the touch data value is greater than a preset touch threshold.

[0080] In some embodiments, the execution entity may generate the trigger information when the touch data value is greater than a preset touch threshold. The preset touch threshold may be pre-set, generally according to the model of the touch sensor, or may be obtained after the final up and down floating adjustment through production line testing and calibration. For example, the preset touch threshold may be 3600 farads. As an example, when an object contacts the outer shell of the earphone compartment, the touch data value detected by the touch sensor is obtained. Determine whether the touch data value is greater than the preset touch threshold. If the touch data value is not greater than the preset touch threshold, continue to collect touch data values ​​at an operating frequency of 100 Hz.

[0081] Step S3300: In response to the trigger information, obtain first state information of the headset at the current moment.

[0082] In some embodiments, the specific implementation of step S3300 and the technical effects brought about can be referred to Figure 1 The corresponding step S1200 in the embodiments will not be described in detail here.

[0083] Step S3400, when the headset is in a dormant state and the power level of the headset at the current moment is not less than a preset power threshold, sending a wake-up instruction to the headset to control the headset to enter a wake-up state.

[0084] In some embodiments, the execution subject may send a wake-up instruction to the headset to control the headset to enter a wake-up state when the headset is in a sleep state and the power level of the headset at the current moment is not less than a preset power threshold.

[0085] Some embodiments of the present disclosure disclose a control method for a wireless audio device, by acquiring the touch data value detected by the touch sensor; generating the trigger information when the touch data value is greater than a preset touch threshold; acquiring the first state information of the headset at the current moment in response to the trigger information; and sending a wake-up instruction to the headset to control the headset to enter the wake-up state when the headset is in a sleep state and the power of the headset at the current moment is not less than a preset power threshold. A touch sensor is set on the outer shell of the headset compartment to detect whether the user touches the headset box, so as to achieve early wake-up of the headset in the sleep state before the user opens the cover, avoiding the slow reconnection speed of the headset in the sleep state due to the boot process, which affects the user's use.

[0086] <Device Example>

[0087] The embodiment of the present disclosure provides a control device for a wireless audio device. Figure 4 , which is a block diagram of a control device 4000 for a wireless audio device provided in an embodiment of the present disclosure, and the device can be implemented in an electronic device.

[0088] like Figure 4 As shown, the device of this embodiment may include the following steps 4100-4300, which are described in detail below.

[0089] A first acquisition module 4100 is used to acquire trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone;

[0090] A second acquisition module 4200, configured to acquire first state information of the headset at a current moment in response to the trigger information;

[0091] The control module 4300 is used to control the headset to enter the awake state when the first state information meets the preset condition, and send an audio connection preprocessing instruction to the headset in the awake state to control the headset to perform audio connection preprocessing.

[0092] According to the technical solution provided by the embodiment of the present disclosure, by obtaining trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; in response to the trigger information, obtaining the first state information of the earphone at the current moment; when the first state information meets the preset conditions, controlling the earphone to enter the wake-up state, and sending an audio connection preprocessing instruction to the earphone in the wake-up state to control the earphone to perform audio connection preprocessing. This enables the earphone to quickly reconnect to the mobile phone after taking out the earphone compartment, restore the audio service, and improve the user experience.

[0093] In some optional implementations of some embodiments, the earphone compartment is communicatively connected to a terminal device used by a user; the above-mentioned first acquisition module 4100 is further configured to: acquire the trigger information sent by the terminal device when receiving an audio service.

[0094] In some optional implementations of some embodiments, the trigger information includes the service type of the audio service received by the terminal device; the above-mentioned control module 4300 is further configured to: send an audio connection preprocessing instruction corresponding to the service type to the headset.

[0095] In some optional implementations of some embodiments, a touch sensor is provided on the outer shell of the earphone compartment; the above-mentioned first acquisition module 4100 is further configured to: obtain the touch data value detected by the touch sensor; and generate the trigger information when the touch data value is greater than a preset touch threshold.

[0096] In some optional implementations of some embodiments, the control module 4300 is further configured to send a wake-up instruction to the headset to control the headset to enter a wake-up state when the headset is in a sleep state and the battery level of the headset at the current moment is not less than a preset battery threshold.

[0097] In some optional implementations of some embodiments, the control module 4300 is further configured to: detect second status information of the earphone compartment, wherein the second status information indicates whether the earphone compartment is in an open cover state; when the second status information within a preset time period indicates that the earphone compartment is not in an open cover state, control the earphone to enter a sleep state from a wake-up state.

[0098] In some optional implementations of some embodiments, the control device 4000 of the above-mentioned wireless audio device is further configured to: when the second state information within a preset time period indicates that the earphone compartment is in an open state, control the earphone to communicate with the terminal device used by the user.

[0099] In some optional implementations of some embodiments, the audio connection preprocessing includes at least one of the following processes: configuring DSP link information, configuring a microphone, and configuring a speaker.

[0100] <Equipment Embodiment>

[0101] Corresponding to the above method embodiment, in this embodiment, an electronic device is also provided, see Figure 5 , which is a structural diagram of an electronic device provided by an embodiment of the present disclosure.

[0102] like Figure 5 As shown, the electronic device 500 may include a processor 520 and a memory 510, wherein the memory 510 is used to store executable instructions; the processor 520 is used to operate the electronic device according to the control of the instructions to execute the method according to any embodiment of the present disclosure.

[0103] It should be noted that the computer-readable medium in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0104] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0105] The computer-readable medium may be included in the electronic device; or it may exist independently without being assembled into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains the current data and voltage data corresponding to the initial state of charge value from the first experimental data, and uses the position corresponding to the initial state of charge value as the current flag; generates a state of charge reference value and a state of charge estimation value based on the current data, the voltage data, the preset nominal capacity and the preset bias capacity; calculates an initial error value based on the state of charge reference value and the state of charge estimation value; generates a first error value through simulation calculation to obtain a first error value set when the state of charge reference value meets the first preset cycle simulation condition; generates cycle simulation verification information based on the initial error value and the first error value set.

[0106] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0107] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0108] The units described in some embodiments of the present disclosure may be implemented by software or by hardware. The described units may also be provided in a processor, for example, may be described as: a processor comprising a first acquisition unit, a determination unit, a second acquisition unit, a replacement unit and a completion unit. The names of these units do not, in certain cases, constitute limitations on the units themselves, for example, the first acquisition unit may also be described as "a unit for acquiring the current version information of the above application in response to detecting a first user operation on the application".

[0109] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0110] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.

Claims

1. A method for controlling a wireless audio device, characterized in that: Applied to an earphone compartment, where an earphone is placed, the method comprises: Acquire trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; In response to the trigger information, obtaining first state information of the headset at a current moment; When the first state information satisfies a preset condition, the main control chip of the headset is controlled to perform power-on initialization so that the headset enters a wake-up state, and an audio connection preprocessing instruction is sent to the headset in the wake-up state to control the headset to perform audio connection preprocessing. The earphone compartment is connected to a terminal device used by a user in a wired or wireless communication manner; The acquiring trigger information for the headset includes: Acquire the trigger information sent by the terminal device when receiving the audio service.

2. The method according to claim 1, characterized in that The trigger information includes the service type of the audio service received by the terminal device; The sending of the audio connection preprocessing instruction to the headset in the awake state includes: An audio connection preprocessing instruction corresponding to the service type is sent to the headset.

3. The method according to claim 1, characterized in that A touch sensor is provided on the outer shell of the earphone compartment; The acquiring trigger information for the headset includes: Acquire a touch data value detected by the touch sensor; When the touch data value is greater than a preset touch threshold, the trigger information is generated.

4. The method according to claim 1, characterized in that: When the first state information satisfies a preset condition, controlling the headset to enter a wake-up state includes: When the headset is in a dormant state and the power level of the headset at a current moment is not less than a preset power threshold, a wake-up instruction is sent to the headset to control the headset to enter a wake-up state.

5. The method according to any one of claims 1 to 4, characterized in that: After the step of controlling the headset to enter the awake state, the method further includes: detecting second status information of the earphone compartment, wherein the second status information indicates whether the earphone compartment is in an open state; When the second status information within a preset time period indicates that the earphone compartment is not in an open state, the earphone is controlled to enter a sleep state from a wake-up state.

6. The method according to claim 5, characterized in that The method further comprises: When the second status information within a preset time period indicates that the earphone compartment is in an open state, the earphone is controlled to communicate with a terminal device used by the user.

7. The method according to claim 1, characterized in that The audio connection preprocessing includes at least one of the following processes: configuring DSP link information, configuring a microphone, and configuring a speaker.

8. A control device for a wireless audio device, characterized in that: Applicable to an earphone compartment, in which earphones are placed, the device comprises: A first acquisition module, used to acquire trigger information for the earphone, wherein the trigger information is used to trigger the earphone compartment to wake up the earphone; A second acquisition module, configured to acquire first state information of the headset at a current moment in response to the trigger information; a control module, configured to control the main control chip of the headset to perform power-on initialization so that the headset enters a wake-up state when the first state information satisfies a preset condition, and send an audio connection preprocessing instruction to the headset in the wake-up state to control the headset to perform audio connection preprocessing, The earphone compartment is connected to a terminal device used by a user in a wired or wireless communication manner; The first acquisition module is specifically used to obtain the trigger information sent by the terminal device when receiving an audio service.

9. An earphone compartment, characterized in that: include: A memory for storing executable instructions; A processor is used to run the earphone compartment to execute the method described in any one of claims 1-7 under the control of the instructions.

Citation Information

Patent Citations

  • Mode control method, earphone system and computer readable storage medium

    CN111131966A

  • Method and device for waking up earphone

    CN113015051A

  • Bluetooth headset and communication method based on same

    WO2017181730A1