Earphone control method and device, earphone and medium
By collecting physiological characteristic signals from the main and secondary earbuds, the system automatically identifies the usage mode of TWS earbuds and configures the audio data stream, solving the problem of cumbersome audio allocation errors in existing technologies and achieving convenient audio channel management.
Patent Information
- Application Number
- CN202511793443.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-28
- Publication Date
- 2026-03-03
AI Technical Summary
In existing technologies, the problem of incorrect audio allocation in TWS earphones when shared by two people usually requires manually switching the usage mode, which is cumbersome and easy to forget.
By collecting physiological characteristic signals through the main and secondary earphones, the system automatically identifies whether the current usage mode is single or dual-user mode, and automatically configures the audio data stream according to the different modes.
It enables headphones to automatically identify usage modes based on physiological characteristic signals, improving the accuracy and convenience of audio channel allocation and avoiding errors caused by manual switching.
Smart Images

Figure CN121603828A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of headphone technology, and more specifically, to a headphone control method, device, headphone, and medium. Background Technology
[0002] With the increasing popularity of True Wireless Stereo (TWS) earbuds, scenarios where two people share a single pair of earbuds, such as two users listening to music or watching videos together, are becoming more and more common. In existing technologies, users typically need to manually select between single-user and dual-user modes via the corresponding earbud app on their device or a physical button on the earbuds. This process is cumbersome and prone to forgetting to switch modes, leading to incorrect audio distribution. Summary of the Invention
[0003] The purpose of this disclosure is to provide a new technical solution for headphone control.
[0004] According to a first aspect of the present disclosure, a headphone control method is provided, the headphone including a main headphone and a secondary headphone, the method comprising: Acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone; The current usage mode of the earphone is determined based on the first physiological characteristic signal and the second physiological characteristic signal; wherein, the current usage mode includes a single-person usage mode and a dual-person usage mode; Based on the current usage mode, configure corresponding audio data streams for the main earphone and the secondary earphone respectively.
[0005] Optionally, the method further includes: Acquire the first wearing status signal collected by the main earphone and the second wearing status signal collected by the secondary earphone; When the first wearing status signal indicates that the main earphone is in the wearing state and the second wearing status signal indicates that the secondary earphone is in the wearing state, the first physiological characteristic signal is collected by the main earphone and the second physiological characteristic signal is collected by the secondary earphone.
[0006] Optionally, determining the current usage mode of the headphones based on the first physiological characteristic signal and the second physiological characteristic signal includes: Obtain the similarity between the first physiological feature signal and the second physiological feature signal; If the similarity meets the first preset condition, the current usage mode of the headphones is determined to be a single-person usage mode; If the similarity does not meet the first preset condition, the current usage mode of the headphones is determined to be a dual-user usage mode.
[0007] Optionally, configuring corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode includes: When the current usage mode is single-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously; When the current usage mode is single-user mode and there are two audio data streams, the high-priority audio data stream is configured to be played on the main earphone, and in response to the user's touch input on the secondary earphone, the low-priority audio data stream is configured to be played on the secondary earphone.
[0008] Optionally, configuring corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode includes: When the current usage mode is a dual-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously; When the current usage mode is a dual-user mode and there are two audio data streams, the first physiological feature signal and the second physiological feature signal are compared with the pre-stored physiological feature signals to obtain the comparison results. Based on the comparison results, the target earphone is determined from the main earphone and the secondary earphone. The high-priority audio data stream is configured to be played on the target earphone, and the low-priority audio data stream is configured to be played on the other earphone.
[0009] Optionally, the method further includes: When the current usage mode is a dual-user usage mode, the first physiological feature signal and the second physiological feature signal are compared with the pre-stored physiological feature signals to obtain the comparison results; Based on the comparison results, the target earphone is determined from the main earphone and the secondary earphone, and a new wearing status signal is acquired from the other earphone in the main earphone and the secondary earphone excluding the target earphone; If a change in the set wearing state of the other earphone is detected based on the new wearing state signal, the new physiological characteristic signal collected by the other earphone is acquired. When the new physiological characteristic signal and the pre-stored physiological characteristic signal meet the second preset condition, the dual-user mode is switched to the single-user mode.
[0010] Optionally, the two audio data streams include a first audio data stream and a second audio data stream, the two audio data streams are audio data streams from different applications, and the two audio data streams have different priorities.
[0011] According to a second aspect of the present disclosure, a headphone control device is provided, the headphone including a main earphone and a secondary earphone, the device comprising: The acquisition module is used to acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone; The determining module is configured to determine the current usage mode of the earphone based on the first physiological characteristic signal and the second physiological characteristic signal; wherein the current usage mode includes a single-person usage mode and a dual-person usage mode; The processing module is used to configure corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode.
[0012] According to a third aspect of the present disclosure, an earphone is provided, comprising: a memory for storing executable computer instructions; and a processor for executing the method described in accordance with the first aspect above, under the control of the executable computer instructions.
[0013] According to a fourth aspect of the present disclosure, a computer-readable storage medium is provided that stores computer instructions thereon, which, when executed by a processor, perform the method described in the first aspect above. One beneficial effect of this embodiment is that the earphone can acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone, and determine whether the current usage mode of the earphone is a single-person usage mode or a dual-person usage mode based on the comparison result of the first physiological characteristic signal and the second physiological characteristic signal. In order to configure the corresponding audio data streams for the main earphone and the secondary earphone respectively according to the different current usage modes, that is, the earphone can automatically identify whether it is currently used by a single person or shared by two people based on the physiological characteristic signals collected by the main earphone and the secondary earphone respectively, and automatically allocate audio channels according to this status. Other features and advantages of this specification will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0014] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of this specification and, together with their description, serve to explain the principles of this specification.
[0015] Figure 1 This is a schematic flowchart of the headphone control method provided in an embodiment of this disclosure; Figure 2This is a block diagram of the headphone control device provided in an embodiment of this disclosure; Figure 3 This is a block diagram of the headphones provided in an embodiment of this disclosure. Detailed Implementation
[0016] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the embodiments of the present disclosure.
[0017] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit this disclosure or its application or use.
[0018] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.
[0019] In all the examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.
[0020] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.
[0021] <Application Scenarios> In one embodiment, a headphone control system to which the headphone control method of the present disclosure can be applied may include headphones and an audio source device.
[0022] The earphones can be TWS earphones, and can include a main earphone and a secondary earphone. The main earphone can include a first terminal communication module, a first processing unit, a first device communication module, a first physiological signal detection module, and a first wearing detection module. The first terminal communication module is used for communication between the main earphone and the audio source device, and the first terminal communication module can be a first Bluetooth module. The first device communication module is used for communication between the main earphone and the secondary earphone, and the first device communication module can be a first ISM (Industrial Scientific Medical) wireless transmission module. The first physiological signal detection module is used to detect the physiological characteristic signals of the wearer of the main earphone, and the first physiological signal detection module can include bioelectric electrodes, a photoplethysmography sensor (PPG) sensor, and a skin conductance electrode. The first wearing detection module is used to detect the wearing status of the main earphone.
[0023] The secondary earphone may include a second terminal communication module, a second processing unit, a second device communication module, a second physiological signal detection module, and a second wear detection module. The second terminal communication module is used for communication between the secondary earphone and the audio source device; this module may be a second Bluetooth module. The second device communication module is used for communication between the secondary earphone and the primary earphone; this module may be a second ISM wireless transmission module. The second physiological signal detection module is used to detect the physiological signals of the wearer of the secondary earphone; this module may include bioelectric electrodes, a PPG sensor, and electrodermal activity electrodes. The second wear detection module is used to detect the wearing status of the secondary earphone. The audio source device can be a mobile phone, tablet computer, desktop computer, wearable device, or any other device with audio output function. This embodiment does not limit this.
[0024] In related technologies, users typically need to manually select between single-user and dual-user modes via a corresponding headphone application on the terminal device or a physical button on the headphones. This operation is cumbersome and prone to forgetting to switch, leading to incorrect audio allocation. In this embodiment, the headphones can determine the current usage mode based on the physiological characteristic signals collected by the main and secondary headphones. The current usage mode includes single-user and dual-user modes, so that corresponding audio data streams can be configured for the main and secondary headphones respectively based on the current usage mode. That is, the headphones can automatically identify whether it is single-user or dual-user use through physiological characteristic signals and automatically allocate audio channels according to the identification result.
[0025] <Method Implementation> Figure 1 An embodiment of the present disclosure illustrates a headphone control method that can be executed by headphones, for example, by a headphone processor. This processor may include, for example, a first processing unit of the main headphone, or alternatively, a first processing unit of the main headphone and a second processing unit of the secondary headphone. Figure 1 As shown, the headphone control method of this embodiment may include the following steps S1100 to S1300: Step S1100: Obtain the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone.
[0026] The main earphone may include a first physiological signal detection module, which can collect the physiological characteristic signals of the wearer of the main earphone.
[0027] The first physiological signal detection module may include, for example, bioelectric electrodes, a PPG sensor, and a skin conductance electrode. The bioelectric electrodes are used to acquire the electrocardiogram (ECG) signal of the wearer of the main earphone. The PPG sensor is used to acquire the photoplethysmography (PPG) signal of the wearer of the main earphone. The skin conductance electrode is used to acquire the skin conductance response signal of the wearer of the main earphone. That is, the first physiological characteristic signal may include an ECG signal, a PPG signal, and a skin conductance response signal.
[0028] The secondary earphone may include a second physiological signal detection module, which can collect the physiological characteristic signals of the wearer of the secondary earphone.
[0029] The second physiological signal detection module may include, for example, bioelectric electrodes, a PPG sensor, and a skin conductance electrode. The bioelectric electrodes are used to acquire the electrocardiogram (ECG) signal of the wearer of the secondary earphone. The PPG sensor is used to acquire the photoplethysmography (PPG) signal of the wearer of the secondary earphone. The skin conductance electrode is used to acquire the skin conductance response signal of the wearer of the secondary earphone. That is, the first physiological characteristic signal may include the ECG signal, the PPG signal, and the skin conductance response signal.
[0030] For example, the first physiological characteristic signal can be a first signal vector composed of an electrocardiogram (ECG) signal, a photoplethysmography (PPG) signal, and a skin conductance response (SCRR) signal. The second physiological characteristic signal can be a second signal vector composed of an ECG signal, a PPG signal, and a SCRR signal.
[0031] After performing the above step S1100 to acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone, proceed to: Step S1200: Determine the current usage mode of the headphones based on the first physiological characteristic signal and the second physiological characteristic signal.
[0032] The current usage modes include single-user mode and dual-user mode. Single-user mode is when one user uses both the main and secondary earpieces simultaneously. Dual-user mode is when one user uses the main earpiece and the other uses the secondary earpiece.
[0033] In one example, after acquiring the first physiological feature signal collected by the main earphone and the second physiological feature signal collected by the secondary earphone, the similarity between the first and second physiological feature signals can be calculated. If the similarity meets a preset condition, the current usage mode of the earphones can be determined to be a single-person usage mode; if the similarity does not meet the preset condition, the current usage mode of the earphones can be determined to be a dual-person usage mode.
[0034] The preset conditions may include a similarity greater than or equal to a first preset similarity, which can be preset based on experience and scenario. When the similarity is greater than or equal to the first preset similarity, it indicates that the first physiological feature signal and the second physiological feature signal are physiological feature signals of the same user.
[0035] For example, the similarity between the first signal vector and the second signal vector can be obtained. If the similarity is greater than or equal to the first preset similarity, the current usage mode of the headphones is determined to be a single-person usage mode. If the similarity is less than the first preset similarity, the current usage mode of the headphones is determined to be a two-person usage mode.
[0036] After performing the above step S1200 to determine the current usage mode of the headphones based on the first physiological characteristic signal and the second physiological characteristic signal, proceed to: Step S1300: Configure corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode.
[0037] In this embodiment, the main earphone and the secondary earphone can be configured with corresponding audio data streams according to the different current usage modes.
[0038] In one example, step S1300, which configures corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode, may further include: Scenario 1: When the current usage mode is single-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously.
[0039] For example, in single-user mode, if the audio source device has only one audio data stream, it can directly send this audio data stream to both the main and secondary earpieces. The first terminal communication module of the main earpiece receives the audio data stream and processes it through a first processing unit. The second terminal communication module of the secondary earpiece receives the audio data stream and processes it through a second processing unit. This method of directly distributing the audio data stream to the main and secondary earpieces by the audio source device can reduce the transmission latency of the audio data stream.
[0040] For example, in single-user mode, if the audio source device has only one audio data stream, it can first send this audio data stream to the main earphone. The main earphone's first terminal communication module receives this audio data stream. On one hand, the main earphone processes this audio data stream through its first processing unit; on the other hand, the main earphone's first device communication module sends this audio data stream to the secondary earphone. The secondary earphone's second terminal communication module receives this audio data stream and processes it through its second processing unit. This method of forwarding audio data streams from the main earphone to the secondary earphone reduces the earphone's power consumption.
[0041] Scenario 2: When the current usage mode is single-user mode and there are two audio data streams, the high-priority audio data stream is configured to be played on the main earphone, and in response to the user's touch input on the secondary earphone, the low-priority audio data stream is configured to be played on the secondary earphone.
[0042] The two audio data streams may include a first audio data stream and a second audio data stream, and the two audio data streams are typically audio data streams from different applications of the audio source device, and the two audio data streams may have different priorities.
[0043] For example, the two audio data streams can include a call audio data stream and a media playback audio data stream. The call audio data stream comes from a calling application, while the media playback audio data stream can come from a multimedia application such as a music application. Furthermore, the call audio data stream can have a higher priority than the media playback audio data stream; of course, users can also set the priorities of different audio data streams according to their needs.
[0044] Touch input can be a tap input, such as a user double-tapping the secondary earphone.
[0045] In this scenario, if the current usage mode is single-user mode, and the audio device simultaneously hosts both call audio and media playback audio streams (e.g., listening to music in a music app while simultaneously answering a call in a phone app), the call audio stream has higher priority than the media playback audio stream. Therefore, the audio source device can configure the call audio stream to the primary earpiece. The user can then double-click the secondary earpiece, and the audio source device can configure the media playback audio stream to the secondary earpiece, thus achieving dual audio output in single-user mode. In one example, step S1300, which configures corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode, may further include: Scenario 3: When the current usage mode is a dual-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously.
[0046] For example, when the current usage mode is a dual-user mode, if the audio source device has only one audio data stream, the audio source device can directly send the audio data stream to the main earphone and the secondary earphone respectively. The first terminal communication module of the main earphone receives the audio data stream and processes it through the first processing unit. The second terminal communication module of the secondary earphone receives the audio data stream and processes it through the second processing unit, thereby reducing the transmission latency of the audio data stream.
[0047] Scenario 4: When the current usage mode is a dual-user mode and there are two audio data streams, the first physiological feature signal and the second physiological feature signal are compared with the pre-stored physiological feature signals to obtain the comparison results. Based on the comparison results, the target earphone is determined from the main earphone and the secondary earphone. The high-priority audio data stream is configured to be played on the target earphone, and the low-priority audio data stream is configured to be played on the other earphone.
[0048] The target earphone can be the earphone used by the primary user, and the pre-stored physiological characteristic signals can be the physiological characteristic signals of the primary user. By comparing the physiological characteristic signals collected by the primary earphone and the secondary earphone with the pre-stored physiological characteristic signals, the earphone used by the primary user can be determined as the target earphone. For example, the physiological characteristic signals can be compared with the pre-stored physiological characteristic signals to obtain the similarity between the two. If the similarity is greater than or equal to a second preset similarity, the primary earphone or the secondary earphone that collected the physiological characteristic signals is determined as the target earphone.
[0049] In this scenario, if the current usage mode is a dual-user mode, and the audio device simultaneously hosts two audio data streams: a call audio stream and a media playback audio stream (e.g., listening to music while simultaneously answering a call using a call app), the call audio stream has a higher priority than the media playback audio stream. In this case, the similarity between the physiological feature signal collected by the primary earpiece and pre-stored physiological feature signals, as well as the similarity between the physiological feature signal collected by the secondary earpiece and pre-stored physiological feature signals, can be obtained. For example, if the similarity between the physiological feature signal collected by the primary earpiece and the pre-stored physiological feature signal is greater than a second preset similarity, the primary earpiece can be designated as the target earpiece. The audio source device can then allocate the higher-priority call audio stream to the primary earpiece and the lower-priority media playback audio stream to the secondary earpiece.
[0050] In other words, the headset will force the call audio stream to be routed to the headset used by the primary user, while forcing the media audio stream to continue playing on the headset used by the other user. The other user cannot hang up the primary user's call through their own headset, and the primary user cannot deprive the other user of their music through their own headset, thus achieving audio privacy and operational isolation.
[0051] In this embodiment, the earphone can acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone. Based on the comparison result of the first and second physiological characteristic signals, it determines whether the current usage mode of the earphone is a single-person usage mode or a dual-person usage mode. In order to configure the corresponding audio data streams for the main earphone and the secondary earphone respectively according to the different current usage modes, that is, the earphone can automatically identify whether it is currently used by a single person or shared by two people based on the physiological characteristic signals collected by the main earphone and the secondary earphone respectively, and automatically allocate audio channels according to this status, thereby improving the accuracy of audio channel allocation.
[0052] In one embodiment, the headphone control method of this disclosure further includes: acquiring a first wearing status signal collected by the main headphone and a second wearing status signal collected by the secondary headphone; when the first wearing status signal indicates that the main headphone is in a wearing state and the second wearing status signal indicates that the secondary headphone is in a wearing state, acquiring a first physiological characteristic signal by the main headphone and a second physiological characteristic signal by the secondary headphone.
[0053] The main earphone may include a first wearing detection module, which can collect the wearing status signal of the main earphone so as to determine whether the main earphone is being worn.
[0054] The secondary earphone may include a second wearing detection module, which can collect the wearing status signal of the secondary earphone to determine whether the secondary earphone is being worn.
[0055] In this embodiment, the first physiological characteristic signal is collected through the main earphone and the second physiological characteristic signal is collected through the secondary earphone only when both the main earphone and the secondary earphone are being worn, so as to reduce the power consumption of the main earphone and the secondary earphone.
[0056] In one embodiment, the headphone control method of this disclosure further includes the following steps S3100 to S3400: Step S3100: When the current usage mode is a dual-user mode, the first physiological feature signal and the second physiological feature signal are compared with the pre-stored physiological feature signals to obtain the comparison results.
[0057] Step S3200: Based on the comparison result, determine the target earphone from the main earphone and the secondary earphone, and acquire a new wearing status signal collected by the other earphone among the main earphone and the secondary earphone excluding the target earphone.
[0058] The determination of the target earphone can be referred to the above embodiments.
[0059] Step S3300: When a change in the set wearing state of the other earphone is detected based on the new wearing state signal, a new physiological characteristic signal collected by the other earphone is acquired.
[0060] The setting of wearing status changes can include the change from wearing to not wearing to wearing status changes.
[0061] Step S3400: If the new physiological characteristic signal and the pre-stored physiological characteristic signal meet the second preset condition, switch the dual-user mode to the single-user mode.
[0062] The second preset condition may include a similarity between the new physiological feature signal and a pre-stored physiological feature signal that is greater than or equal to a third preset similarity. The third preset similarity may be the same as the second preset similarity.
[0063] Through this embodiment, if the authentication result is the same person when using the dual-person mode, the dual-person mode can be switched to the single-person mode.
[0064] <Device Embodiment> Figure 2 This is a schematic diagram of a headphone control device according to one embodiment, wherein the headphone includes a main earphone and a secondary earphone, as shown in the figure. Figure 2 As shown, the headphone control device 200 may include an acquisition module 210, a determination module 220, and a processing module 230.
[0065] The acquisition module 210 is used to acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone; The determining module 220 is used to determine the current usage mode of the earphone based on the first physiological characteristic signal and the second physiological characteristic signal; wherein the current usage mode includes a single-person usage mode and a dual-person usage mode; The processing module 230 is configured to configure corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode.
[0066] In one embodiment, the acquisition module 210 is further configured to acquire a first wearing status signal collected by the main earphone and a second wearing status signal collected by the secondary earphone; when the first wearing status signal indicates that the main earphone is in a wearing state and the second wearing status signal indicates that the secondary earphone is in a wearing state, the first physiological characteristic signal is collected by the main earphone and the second physiological characteristic signal is collected by the secondary earphone.
[0067] In one embodiment, the determining module 220 is specifically used to obtain the similarity between the first physiological feature signal and the second physiological feature signal; if the similarity meets a first preset condition, determine that the current usage mode of the earphone is a single-person usage mode; if the similarity does not meet the first preset condition, determine that the current usage mode of the earphone is a two-person usage mode.
[0068] In one embodiment, the processing module 230 is specifically configured to, when the current usage mode is a single-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously; when the current usage mode is a single-user mode and there are two audio data streams, configure the high-priority audio data stream to be played by the main earphone, and in response to the user's touch input to the secondary earphone, configure the low-priority audio data stream to be played by the secondary earphone.
[0069] In one embodiment, the processing module 230 is specifically configured to, when the current usage mode is a dual-user mode and there is one audio data stream, control the main earphone and the secondary earphone to synchronously play the audio data stream; when the current usage mode is a dual-user mode and there are two audio data streams, compare the first physiological feature signal and the second physiological feature signal with pre-stored physiological feature signals respectively to obtain comparison results, determine the target earphone from the main earphone and the secondary earphone according to the comparison results, configure the high-priority audio data stream to be played on the target earphone, and configure the low-priority audio data stream to be played on the other earphone.
[0070] In one embodiment, the device 200 further includes a switching module (not shown).
[0071] The processing module 230 is further configured to, when the current usage mode is a dual-user usage mode, compare the first physiological feature signal and the second physiological feature signal with pre-stored physiological feature signals respectively to obtain a comparison result; and determine the target earphone from the main earphone and the secondary earphone based on the comparison result; The acquisition module 210 is further configured to acquire a new wearing status signal collected by the other earphone among the main earphone and the secondary earphone (excluding the target earphone); and to acquire a new physiological characteristic signal collected by the other earphone when a change in the set wearing status of the other earphone is detected based on the new wearing status signal. The switching module is used to switch the dual-user mode to the single-user mode when the new physiological characteristic signal and the pre-stored physiological characteristic signal meet the second preset condition.
[0072] In one embodiment, the two audio data streams include a first audio data stream and a second audio data stream, the two audio data streams are audio data streams from different applications, and the two audio data streams have different priorities.
[0073] In this embodiment, the earphone can acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone. Based on the comparison result of the first and second physiological characteristic signals, it can determine whether the current usage mode of the earphone is a single-person usage mode or a dual-person usage mode. In order to configure the corresponding audio data streams for the main earphone and the secondary earphone respectively according to the different current usage modes, that is, the earphone can automatically identify whether it is currently used by a single person or shared by two people based on the physiological characteristic signals collected by the main earphone and the secondary earphone respectively, and automatically allocate audio channels according to this status. <Headphone Example> Figure 3 This is a schematic diagram of the hardware structure of an earphone according to one embodiment. For example... Figure 3 As shown, the headset 1000 includes a processor 1100 and a memory 1200.
[0074] The memory 1200 can be used to store executable computer instructions.
[0075] The processor 1100 can be used to execute a headphone control method according to an embodiment of the present disclosure, under the control of executable computer instructions.
[0076] The headset 1000 may include the headset control device 200 described above. In one embodiment, each module of the headphone control device 200 can be implemented by the processor 1100 running computer instructions stored in the memory 1200.
[0077] Computer-readable storage media This disclosure also provides a computer-readable storage medium storing computer instructions thereon, which, when executed by a processor, perform the headphone control method provided in this disclosure.
[0078] This disclosure can be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having computer-readable program instructions loaded thereon for causing a processor to implement various aspects of this disclosure.
[0079] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media can be, for example—but not limited to—electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital multifunction disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any suitable combination of the foregoing. The computer-readable storage media used herein are not to be construed as transient signals themselves, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.
[0080] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to the computer-readable storage media in the respective computing / processing device.
[0081] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone 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). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays (FPGAs), or programmable logic arrays (PLAs), is personalized by utilizing the status information of the computer-readable program instructions to implement various aspects of this disclosure.
[0082] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0083] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0084] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0085] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It will be known to those skilled in the art that implementation in hardware, implementation in software, and implementation in a combination of software and hardware are equivalent.
[0086] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or technical improvements to the embodiments in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.
Claims
1. A method for controlling headphones, the headphones comprising a main earphone and a secondary earphone, the method comprising: Acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone; The current usage mode of the earphone is determined based on the first physiological characteristic signal and the second physiological characteristic signal; wherein, the current usage mode includes a single-person usage mode and a dual-person usage mode; Based on the current usage mode, configure corresponding audio data streams for the main earphone and the secondary earphone respectively.
2. The method according to claim 1, wherein, The method further includes: Acquire the first wearing status signal collected by the main earphone and the second wearing status signal collected by the secondary earphone; When the first wearing status signal indicates that the main earphone is in the wearing state and the second wearing status signal indicates that the secondary earphone is in the wearing state, the first physiological characteristic signal is collected by the main earphone and the second physiological characteristic signal is collected by the secondary earphone.
3. The method according to claim 1, wherein, Determining the current usage mode of the headphones based on the first physiological characteristic signal and the second physiological characteristic signal includes: Obtain the similarity between the first physiological feature signal and the second physiological feature signal; If the similarity meets the first preset condition, the current usage mode of the headphones is determined to be a single-person usage mode; If the similarity does not meet the first preset condition, the current usage mode of the headphones is determined to be a dual-user usage mode.
4. The method according to claim 1, wherein, The step of configuring corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode includes: When the current usage mode is single-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously; When the current usage mode is single-user mode and there are two audio data streams, the high-priority audio data stream is configured to be played on the main earphone, and in response to the user's touch input on the secondary earphone, the low-priority audio data stream is configured to be played on the secondary earphone.
5. The method according to claim 1, wherein, The step of configuring corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode includes: When the current usage mode is a dual-user mode and there is one audio data stream, control the main earphone and the secondary earphone to play the audio data stream synchronously; When the current usage mode is a dual-user mode and there are two audio data streams, the first physiological feature signal and the second physiological feature signal are compared with the pre-stored physiological feature signals to obtain the comparison results. Based on the comparison results, the target earphone is determined from the main earphone and the secondary earphone. The high-priority audio data stream is configured to be played on the target earphone, and the low-priority audio data stream is configured to be played on the other earphone.
6. The method according to claim 5, wherein, The method further includes: When the current usage mode is a dual-user usage mode, the first physiological feature signal and the second physiological feature signal are compared with the pre-stored physiological feature signals to obtain the comparison results; Based on the comparison results, the target earphone is determined from the main earphone and the secondary earphone, and a new wearing status signal is acquired from the other earphone in the main earphone and the secondary earphone excluding the target earphone; If a change in the set wearing state of the other earphone is detected based on the new wearing state signal, the new physiological characteristic signal collected by the other earphone is acquired. When the new physiological characteristic signal and the pre-stored physiological characteristic signal meet the second preset condition, the dual-user mode is switched to the single-user mode.
7. The method according to claim 4 or 5, wherein, The two audio data streams include a first audio data stream and a second audio data stream. The two audio data streams are audio data streams from different applications and have different priorities.
8. A headphone control device, the headphone including a main earphone and a secondary earphone, the device comprising: The acquisition module is used to acquire the first physiological characteristic signal collected by the main earphone and the second physiological characteristic signal collected by the secondary earphone; The determining module is configured to determine the current usage mode of the earphone based on the first physiological characteristic signal and the second physiological characteristic signal; wherein the current usage mode includes a single-person usage mode and a dual-person usage mode; The processing module is used to configure corresponding audio data streams for the main earphone and the secondary earphone respectively according to the current usage mode.
9. An earphone, comprising: Memory is used to store executable computer instructions; A processor configured to execute the method according to any one of claims 1-7, under the control of the executable computer instructions.
10. A computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, perform the method of any one of claims 1-7.