Movatterモバイル変換


[0]ホーム

URL:


CN113596802A - Earphone connection equipment switching method, system and related components - Google Patents

Earphone connection equipment switching method, system and related components
Download PDF

Info

Publication number
CN113596802A
CN113596802ACN202111013223.8ACN202111013223ACN113596802ACN 113596802 ACN113596802 ACN 113596802ACN 202111013223 ACN202111013223 ACN 202111013223ACN 113596802 ACN113596802 ACN 113596802A
Authority
CN
China
Prior art keywords
earphone
wearing
worn
category
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111013223.8A
Other languages
Chinese (zh)
Inventor
王杰松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Goertek Techology Co LtdfiledCriticalGoertek Techology Co Ltd
Priority to CN202111013223.8ApriorityCriticalpatent/CN113596802A/en
Priority to PCT/CN2021/122225prioritypatent/WO2023029143A1/en
Publication of CN113596802ApublicationCriticalpatent/CN113596802A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请公开了一种耳机的连接设备切换方法,应用于耳机设备中的任一耳机,该连接设备切换方法包括:确定所述耳机设备的佩戴类别,所述佩戴类别为同一用户佩戴或不同用户佩戴;根据所述佩戴类别在多个所述连接设备中选择本机的目标连接设备;接收并播放所述目标连接设备的音频信号。本申请能够实现在同一时刻两只耳机分别播放两个连接设备的音频信号,扩大了耳机的适用范围,增强用户体验。本申请还公开了一种耳机的连接设备切换系统、装置及耳机设备,具有以上有益效果。

Figure 202111013223

The present application discloses a connection device switching method of an earphone, which is applied to any earphone in the earphone device. The connection device switching method includes: determining a wearing category of the earphone device, where the wearing category is worn by the same user or a different user Wearing; selecting a local target connection device from among the plurality of connection devices according to the wearing category; receiving and playing the audio signal of the target connection device. The present application can realize that two earphones play audio signals of two connected devices respectively at the same moment, thus expanding the scope of application of the earphones and enhancing the user experience. The present application also discloses an earphone connection device switching system, device and earphone device, which have the above beneficial effects.

Figure 202111013223

Description

Earphone connection equipment switching method, system and related components
Technical Field
The present disclosure relates to the field of audio control, and in particular, to a method and a system for switching connection devices of an earphone, and related components.
Background
Currently, a bluetooth headset has implemented multi-device connection, that is, a pair of TWS (True Wireless Stereo) headsets can be connected to one computer and one mobile phone at the same time, or a pair of TWS headsets can be connected to two mobile phones at the same time. However, at the same time, a pair of TWS headphones can only play the audio of one connected device, for example, when the headphones are playing the audio of the connected device 1, the connected device 2 cannot play the audio through the headphones; when the earphone is playing the audio of the connection device 1, if the connection device 2 has an incoming call, the connection device 2 will directly occupy the earphone, and the audio playing of the device 1 is interrupted. In some special scenes, for example, when two users wear one of the TWS headphones, the existing scheme cannot realize that one headphone plays the audio of one connection device, which affects the user experience.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a system and a device for switching connecting equipment of earphones and the earphone equipment, which can realize that two earphones respectively play audio signals of the two connecting equipment at the same moment, expand the application range of the earphones and enhance the user experience.
In order to solve the above technical problem, the present application provides a method for switching a connection device of an earphone, which is applied to any earphone in an earphone device, and the method for switching the connection device includes:
determining the wearing type of the earphone equipment, wherein the wearing type is worn by the same user or different users;
selecting a local target connecting device from the plurality of connecting devices according to the wearing type;
and receiving and playing the audio signal of the target connection equipment.
Optionally, the process of determining the wearing category of the headset device includes:
acquiring a first inertia parameter of a local machine;
acquiring a second inertial parameter of another earphone in the earphone device;
and when the first inertial parameter and the second inertial parameter have the same direction or opposite directions, judging that the wearing type of the earphone equipment is the same user wearing, otherwise, judging that the wearing type of the earphone equipment is different user wearing.
Optionally, the process of acquiring the first inertial parameter of the local computer includes:
when the local machine is detected to be in a wearing state, acquiring a first inertia parameter of the local machine;
the process of acquiring a second inertial parameter of another one of the headset devices comprises:
and when detecting that the other earphone in the earphone equipment is in the wearing state, acquiring a second inertia parameter of the other earphone.
Optionally, the process of determining the wearing category of the headset device includes:
acquiring the distance between the local earphone and the other earphone in the earphone equipment;
when the distance is smaller than a first preset value, the wearing type of the earphone equipment is that the earphone equipment is worn by the same user;
when the distance is larger than a second preset value, the wearing type of the earphone equipment is that the earphone equipment is worn by different users;
the second preset value is greater than or equal to the first preset value.
Optionally, the process of acquiring the distance between the local device and another earphone in the earphone device includes:
and measuring the distance between the local earphone and the other earphone in the earphone equipment through RSSI.
Optionally, the selecting a local target connection device from the plurality of connection devices according to the wearing category includes:
when the wearing type is that the user wears the earphone, selecting target connecting equipment of another earphone from the plurality of connecting equipment as local target connecting equipment;
and when the wearing type is that the earphone is worn by a plurality of users, selecting a connecting device different from the target connecting device of another earphone from the plurality of connecting devices as the local target connecting device.
Optionally, the selecting a local target connection device from the plurality of connection devices according to the wearing category includes:
acquiring the wearing sequence of the earphone and the other earphone;
and selecting the target connection equipment of the local equipment from the plurality of connection equipment according to the wearing sequence and the wearing type.
In order to solve the above technical problem, the present application further provides a system for switching a connection device of an earphone, which is applied to any earphone in an earphone device, and the system for switching the connection device includes:
the determining module is used for determining the wearing type of the earphone equipment, and the wearing type is worn by the same user or worn by different users;
the selection module is used for selecting the local target connection equipment from the plurality of connection equipment according to the wearing type;
and the control module is used for receiving and playing the audio signal of the target connection equipment.
In order to solve the above technical problem, the present application further provides a device for switching connection devices of an earphone, including:
a memory for storing a computer program;
a processor for implementing the steps of the method for switching a connected device of a headset as described in any one of the above when executing the computer program.
In order to solve the above technical problem, the present application further provides an earphone device, which includes two earphones, wherein the two earphones include the above earphone connection device switching device.
The application provides a method for switching connecting equipment of earphones, which comprises the steps of firstly judging the wearing type of the earphone equipment, namely whether two earphones in the earphone equipment are worn by the same user or different users, then selecting the corresponding target connecting equipment according to the wearing type of the earphone equipment respectively, receiving and playing audio signals of the corresponding target connecting equipment respectively by the two earphones, and not playing audio signals of other connecting equipment, so that the two earphones can play the audio signals of the two connecting equipment respectively at the same moment, the application range of the earphones is expanded, and the user experience is enhanced. The application also provides a system and a device for switching the connecting equipment of the earphone and the earphone equipment, and the system and the device have the same beneficial effects as the method for switching the connecting equipment of the earphone.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart illustrating steps of a method for switching a connection device of an earphone according to the present application;
FIG. 2 is a schematic diagram of a six-axis accelerometer according to the present application;
fig. 3 is a schematic structural diagram of a connection device switching system of an earphone provided in the present application;
fig. 4 is a schematic structural diagram of a connection device switching apparatus of an earphone provided in the present application.
Detailed Description
The core of the application is to provide a method, a system and a device for switching the connecting equipment of the earphones and the earphone equipment, so that the two earphones can respectively play the audio signals of the two connecting equipment at the same moment, the application range of the earphones is expanded, and the user experience is enhanced.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First, it should be noted that the earphone device includes two earphones, which are a left earphone and a right earphone, and both the two earphones can be paired with a plurality of connection devices. Before the scheme is executed, the left earphone is matched with the computer and the mobile phone, and the right earphone is matched with the computer and the mobile phone, so that the left earphone and the right earphone can receive audio signals of the mobile phone and/or the computer selectively.
It will be appreciated that the headphone arrangement may be selected for different wearing categories in different application environments, e.g. in some application environments the left and right headphones may be worn by the same user, in other application environments the left and right headphones may be worn by both users separately, taking into account that the left and right headphones may have different selections for which connected device audio signal they each are to receive in different wearing categories of the headphone arrangement.
Specifically, the execution main body of the scheme of this embodiment may be any earphone taken out of the charging bin and worn in the earphone device, and hereinafter, the control logic of this application will be described by taking a left earphone as an example, and the control logic of a right earphone is the same.
The following describes a method for switching connection devices of earphones provided by the present application in detail.
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for switching a connection device of an earphone according to the present application, where the method for switching the connection device of the earphone includes:
s101: determining the wearing type of the earphone equipment, wherein the wearing type is that the earphone equipment is worn by the same user or different users;
specifically, the wearing type of the headset device is determined, that is, it is determined whether the local headset and the right headset are worn by the same user or worn by two users respectively, wherein the wearing of the same user further includes a case that one user only wears the local headset and the right headset is still not taken out of the charging bin, that is, the wearing of the headset device is performed by a single user.
In this embodiment, the wearing type of the earphone device may be determined according to a preset period, so as to find the change of the wearing type of the earphone device in time and respond.
It can be understood that, assuming that the local machine and the right earphone are both taken out from the charging bin, there is a sequence between the taking-out times of the local machine and the right earphone, and the wearing type of the earphone device can be detected by the earphone taken out first. For example, assuming that the local machine is taken out of the charging bin for wearing, the local machine may detect the wearing type of the headset device at preset time intervals, and send the detection result to the right headset normally worn, so that the right headset determines the wearing type of the headset device according to the detection result of the local machine. Correspondingly, if the right earphone is taken out of the charging bin and worn, the wearing type of the earphone equipment can be detected by the right earphone at preset time intervals, and the wearing type of the earphone equipment can be determined according to the detection result sent by the right earphone after the earphone is worn by the earphone.
Further, any one of the earphone devices may be selected in advance as a master earphone, and the other earphone may be selected as a slave earphone. After the earphone is worn by the main control earphone, the main control earphone can detect the wearing type of the earphone equipment once every preset time and sends the detection result to the normally worn auxiliary control earphone, so that the auxiliary control earphone determines the wearing type of the earphone equipment according to the detection result of the main control earphone. Considering the situation that the slave control earphone is taken out from the charging bin before the master control earphone, if the wearing type detection result sent by the master control earphone is not received in a preset time period from the wearing time of the slave control earphone, the local machine determines that the wearing type of the earphone equipment is single-machine wearing, and if the wearing type detection result sent by the master control earphone is subsequently received, the wearing type of the earphone equipment is determined according to the wearing type detection result.
The judgment of the wearing type is finished by one earphone, so that the two earphones can be ensured to adopt the same wearing type detection result to carry out subsequent control, and the target connecting equipment corresponding to each earphone can be accurately selected in the subsequent process.
Of course, the wearing type of the earphone device may also be detected by each of the two earphones, that is, after the earphone device is taken out from the charging bin and worn, the wearing type of the earphone device is detected, after the right earphone is taken out from the charging bin and worn, the wearing type of the earphone device is detected, and the two earphones select the corresponding target connection devices according to the wearing types obtained by the respective detections.
S102: selecting a local target connecting device from the plurality of connecting devices according to the wearing type;
s103: and receiving and playing the audio signal of the target connection device.
During the actual use of the earphone device, each earphone can only play the audio signal of one connected device at the same time. Therefore, it is necessary to select one of all the connection devices according to the wearing type of the headphone device as the target connection device of the local device, and the local device receives and plays only the audio signal of the target connection device, and does not receive the audio signals of other paired connection devices.
As described above, the wearing category includes wearing by the same user or wearing by different users, in this application, when both earphones in the earphone device are taken out from the charging bin, the same user wears, that is, the local earphone and the right earphone are worn by one user, and different users wear, that is, the local earphone is worn by one user and the right earphone is worn by another user, and when only the local earphone in the earphone device is taken out from the charging bin, the wearing category of the same user further includes wearing by a single earphone.
It will be appreciated that there is a communication link between the local and right ear phones to enable data interaction, so that both may communicate information about the respective selected target connected device.
As an alternative embodiment, the process of selecting the local target connection device from the plurality of connection devices according to the wearing category includes:
when the wearing type is that the user wears the earphone, selecting a target connecting device of another earphone from the plurality of connecting devices as a local target connecting device;
when the wearing type is that the earphone is worn by a plurality of users, a connecting device different from the target connecting device of another earphone is selected from the plurality of connecting devices as the local target connecting device.
Specifically, if the wearing type corresponds to that the local machine and the right earphone are worn by one user, the target connection device selected by the local machine is the same as the target connection device selected by the right earphone, and the local machine and the right earphone both receive and output the audio signal of the same target connection device, so that higher stereo hearing experience can be realized.
If the wearing type corresponding to the local machine and the right earphone is respectively worn by two users, the target connection device selected by the local machine and the target connection device selected by the right earphone can be different. If the local machine is worn by the user A and the right earphone is worn by the user B, if the local machine selects the computer as the target connection equipment, the audio signal of the computer is received and played, and correspondingly, the right earphone selects the mobile phone as the target connection equipment and receives and plays the audio signal of the earphone, so that the purpose that the two earphones respectively play the audio signals of different connection equipment at the same time is achieved. Certainly, in some application environments, for example, when the user a and the user B watch movies through one computer, at this time, the local computer and the right earphone can both select the computer as the target connection device, so that the local computer and the right earphone both receive and play the connection signal of the computer.
If the wearing type is single-machine wearing, namely only the machine is taken out to be worn, and the right earphone is not taken out from the charging bin, the machine can select the target connecting equipment according to the information such as the audio signal playing sequence of each connecting equipment, the playing priority of each connecting equipment and the like. For example, after the mobile phone is taken out of the charging bin and worn, if the mobile phone outputs an audio signal first, the mobile phone is used as a target connection device of the mobile phone; if the mobile phone and the computer both output audio signals, the connection equipment with higher playing priority can be selected as the target connection equipment of the mobile phone and the computer according to the preset playing priority of the mobile phone and the computer; if the mobile phone and the computer both output audio signals, after the mobile phone and the computer are taken out from the charging bin, the mobile phone and the computer both pause the output of the audio signals, and a user selects a certain device to continue playing, wherein the selected device is the target connection device of the mobile phone.
It can be seen that, in this embodiment, the wearing type of the earphone device is first determined, that is, two earphones in the earphone device are worn by the same user or different users, then the two earphones select their respective target connection devices according to the wearing type of the earphone device, and both the two earphones receive and play audio signals of their respective corresponding target connection devices, but do not play audio signals of other connection devices, so that the two earphones can play audio signals of the two connection devices at the same time, the application range of the earphones is expanded, and user experience is enhanced.
On the basis of the above-described embodiment:
as an alternative embodiment, the process of determining the wearing class of the ear speaker device includes:
acquiring a first inertia parameter of a local machine;
acquiring a second inertia parameter of another earphone in the earphone equipment;
when the first inertial parameter and the second inertial parameter are in the same direction or in opposite directions, the wearing type of the earphone equipment is judged to be that the earphone equipment is worn by the same user, otherwise, the wearing type of the earphone equipment is judged to be that the earphone equipment is worn by different users.
As an alternative embodiment, the process of acquiring the first inertia parameter of the local computer includes:
when the local machine is detected to be in a wearing state, acquiring a first inertia parameter of the local machine;
the process of obtaining a second inertial parameter of another headphone in the headphone device includes:
and when the other earphone in the earphone equipment is detected to be in a wearing state, acquiring a second inertia parameter of the other earphone.
Specifically, each earphone in the earphone device comprises an inertial sensor and a proximity sensor, wherein the proximity sensor is used for executing wearing detection of the earphone, the inertial sensor acquires inertial parameters of the earphone after judging that the earphone is normally worn, and the two earphones can wirelessly transmit the respective inertial parameters. The method comprises the steps of explaining a wearing type detection process by taking a left earphone as an example, after the left earphone is taken out from a charging bin, working a proximity sensor in the left earphone, detecting whether the left earphone is worn by a user, if so, working an inertia sensor of the left earphone, obtaining a first inertia parameter of the left earphone, comparing the first inertia parameter with a second inertia parameter after the left earphone obtains the second inertia parameter of the right earphone, judging the wearing type of the earphone equipment to be worn by the same user when the first inertia parameter and the second inertia parameter are in the same direction or in opposite directions, otherwise, judging the wearing type of the earphone equipment to be worn by different users, and similarly judging the wearing type detection process of the right earphone.
Certainly, the above embodiment is a scheme in which both the two earphones perform wearing type detection, as another optional embodiment, the earphone taken out first may be used for detecting the wearing type according to the sequence in which the two earphones are taken out from the charging bin, assuming that the earphone taken out first is a left earphone, after the left earphone is worn normally, the inertial parameter of the left earphone is obtained through the inertial sensor, after the right earphone is taken out and worn, the inertial sensor obtains the inertial parameter of the left earphone, and then the inertial parameter is sent to the left earphone, the left earphone compares the inertial parameter of the left earphone with the inertial parameter sent by the right earphone to obtain the wearing type of the earphone device, and sends the wearing type to the right earphone.
The following illustrates how to determine the wearing type of the headphone device according to the inertial parameters of the left and right headphones: firstly, six axes of the inertial sensor are defined, and the three axes of the inertial sensor have acceleration ax,ay,azThe three-axis angular acceleration is arx,ary,arzA schematic diagram of a six-axis accelerometer is shown with reference to figure 2. After left earphone or right earphone take out from the storehouse that charges, left earphone and right earphone all can wear the detection through proximity sensor, and after detecting that left earphone wears, the inertial sensor of left earphone begins work and gathers six parameters, a promptly1x,a1y,a1z,a1rx,a1ry,a1rzWhen the proximity sensor of the right earphone detects that the right earphone is normally worn, the inertial sensor of the right earphone starts to work and collects six-axis parameters, namely a2x,a2y,a2z,a2rx,a2ry,a2rz
When the left and right earphones are worn by the same user, no matter the head of the userWhat action, the relative position of the left earphone and the right earphone is invariable, the movement direction can be determined, the acceleration direction can be on the same straight line, either in the same direction or in the opposite direction, firstly, the acceleration of three axes is judged, the magnitude of the acceleration resultant vector of the three axes can be different, but the direction is always in the same direction or in the opposite direction, therefore, the direction of the resultant vector is judged,
Figure BDA0003239041640000081
and
Figure BDA0003239041640000082
are in the same direction or opposite directions, the magnitude of the values is not matched, and the directions of the three-axis angular accelerations are necessarily the same, namely a1rxAnd a2rxIn the same direction, a1ryAnd a2ryIn the same direction, a1rzAnd a2rzThe directions are the same. The inertial sensors of the left earphone and the right earphone respectively acquire six-axis parameters according to a preset period (such as 6ms), and when the six-axis parameters acquired in a plurality of continuous periods (such as 300ms) all meet the conditions, the wearing type is judged to be the same user wearing. Further, if a few sampling data in the middle do not meet the condition, the sampling data are discarded, and the data are added for matching to ensure the accuracy.
When the left earphone and the right earphone are worn by different users respectively, the motion conditions of the two users are different, and the synthesized vector direction is the same
Figure BDA0003239041640000091
And
Figure BDA0003239041640000092
angular acceleration a not in a straight line (direction not the same or opposite)1rxAnd a2rxThe directions may be different, a1ryAnd a2ryDirection, a1rzAnd a2rzDirections may be different, if six-axis parameters are acquired in a plurality of continuous periods (e.g. 300ms), as long as one of the above four points can be satisfied each time, the wearing type is determined to be worn by different users. Further, if a few data in the middle do not satisfy the above condition, the data matching is discarded and increasedTo ensure accuracy. It can be understood that the inertial sensor has higher precision, and can accurately identify the difference of the motion conditions of two users when the two users wear the device.
As an alternative embodiment, the process of determining the wearing class of the ear speaker device includes:
acquiring the distance between the local machine and the other earphone in the earphone equipment;
when the distance is smaller than a first preset value, the wearing type of the earphone equipment is that the earphone equipment is worn by the same user;
when the distance is greater than a second preset value, the wearing type of the earphone equipment is different for users to wear;
the second preset value is greater than or equal to the first preset value. As an alternative embodiment, the process of obtaining the distance between the local device and the other earphone in the earphone device includes:
the distance between the local machine and the other earphone in the earphone device is measured by RSSI.
It can be understood that, at present, two earphones in the earphone device communicate through bluetooth, and therefore, the distance between the two earphones can be determined through the bluetooth RSSI ranging principle. Specifically, the bluetooth RSSI ranging principle is to establish a correlation relationship between the bluetooth signal strength and the distance between the transceiver device, so as to calculate the distance between two bluetooth devices (i.e. the left earphone and the right earphone in the present application) by using the RSSI value. The relation is as follows:
d=10(A-txpower)/10n
wherein d is the distance between the left earphone and the right earphone, n is an empirical value, calibration measurement is performed at a factory, txpower is the RSSI value when the current equipment is at a distance of 1m, and A is the currently acquired RSSI value. The value of D and A is approximately proportional. The RSSI calibration is performed on each pair of headphones before shipment from the factory, and the n and txpower values are fixed. Then, a simulation head (50-65cm) is used for calibration, the RSSI value worn by a normal person under the real wearing condition is obtained, and the RSSI value is stored in a flash.
When a user wears the earphone, the A value is detected, if the A value is in the interval stored in the flash, the wearing type is indicated to be that the user wears the earphone, the earphone can be worn by one person through voice prompt, if the earphone is actually worn by two persons, the positions of the two persons are far away, the earphone can be judged to be worn by different users again, the wearing type detection is stopped, the earphone is detected again until the action that the person takes off the earphone is detected, correspondingly, if the A value detected after the earphone is worn is not in the interval, the earphone is directly judged to be worn by different users.
As an alternative embodiment, the process of selecting the local target connection device from the plurality of connection devices according to the wearing category includes:
acquiring the wearing sequence of the earphone and the other earphone;
and selecting the target connecting equipment of the local equipment from the plurality of connecting equipment according to the wearing sequence and the wearing type.
Specifically, the left earphone is assumed to be taken out from the charging bin first, after the left earphone is taken out and worn, one connecting device is selected from a computer or a mobile phone to serve as a target connecting device of the left earphone, if the target connecting device is the mobile phone, the mobile phone is enabled to output an audio signal, the left earphone is guaranteed to be matched with the mobile phone, the audio signal output by the mobile phone is received, then after the right earphone is taken out from the charging bin to be worn, the wearing type is detected, if the right earphone is worn by the same user, the right earphone also selects the earphone to serve as the target connecting device, the audio signal output by the mobile phone is received and played, if the right earphone is worn by different users, the computer is selected as the target connecting device, and the audio signal output by the computer is received and played.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a connection device switching system of an earphone, which is applied to any earphone in the earphone devices, and the connection device switching system includes:
the determiningmodule 11 is configured to determine a wearing type of the headset device, where the wearing type is that the headset device is worn by the same user or worn by different users;
aselection module 12, configured to select a local target connection device from the multiple connection devices according to the wearing category;
and thecontrol module 13 is configured to receive and play an audio signal of the target connected device.
It can be seen that, in this embodiment, the wearing type of the earphone device is first determined, that is, two earphones in the earphone device are worn by the same user or different users, then the two earphones select their respective target connection devices according to the wearing type of the earphone device, and both the two earphones receive and play audio signals of their respective corresponding target connection devices, but do not play audio signals of other connection devices, so that the two earphones can play audio signals of the two connection devices at the same time, the application range of the earphones is expanded, and user experience is enhanced.
As an alternative embodiment, the process of determining the wearing class of the ear speaker device includes:
acquiring a first inertia parameter of a local machine;
acquiring a second inertia parameter of another earphone in the earphone equipment;
when the first inertial parameter and the second inertial parameter are in the same direction or in opposite directions, the wearing type of the earphone equipment is judged to be that the earphone equipment is worn by the same user, otherwise, the wearing type of the earphone equipment is judged to be that the earphone equipment is worn by different users.
As an alternative embodiment, the process of acquiring the first inertia parameter of the local computer includes:
when the local machine is detected to be in a wearing state, acquiring a first inertia parameter of the local machine;
the process of obtaining a second inertial parameter of another headphone in the headphone device includes:
and when the other earphone in the earphone equipment is detected to be in a wearing state, acquiring a second inertia parameter of the other earphone.
As an alternative embodiment, the process of determining the wearing class of the ear speaker device includes:
acquiring the distance between the local machine and the other earphone in the earphone equipment;
when the distance is smaller than a first preset value, the wearing type of the earphone equipment is that the earphone equipment is worn by the same user;
when the distance is greater than a second preset value, the wearing type of the earphone equipment is different for users to wear;
the second preset value is greater than or equal to the first preset value.
As an alternative embodiment, the process of obtaining the distance between the local device and the other earphone in the earphone device includes:
the distance between the local machine and the other earphone in the earphone device is measured by RSSI.
As an alternative embodiment, the process of selecting the local target connection device from the plurality of connection devices according to the wearing category includes:
when the wearing type is that the user wears the earphone, selecting a target connecting device of another earphone from the plurality of connecting devices as a local target connecting device;
when the wearing type is that the earphone is worn by a plurality of users, a connecting device different from the target connecting device of another earphone is selected from the plurality of connecting devices as the local target connecting device.
As an alternative embodiment, the process of selecting the local target connection device from the plurality of connection devices according to the wearing category includes:
acquiring the wearing sequence of the earphone and the other earphone;
and selecting the target connecting equipment of the local equipment from the plurality of connecting equipment according to the wearing sequence and the wearing type.
On the other hand, the present application further provides a device for switching connection devices of earphones, including:
a memory 21 for storing a computer program;
aprocessor 22 for implementing the steps of the method for switching a connected device of a headset as described in any of the above embodiments when executing the computer program.
Specifically, the memory 21 includes a nonvolatile storage medium, an internal memory 21. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory 21 provides an environment for the operating system and the computer-readable instructions in the non-volatile storage medium to run. Theprocessor 22 provides the headphone device with computing and control capabilities and, when executing the computer program stored in the memory 21, may perform the following steps: determining the wearing type of the earphone equipment, wherein the wearing type is that the earphone equipment is worn by the same user or different users; selecting a local target connecting device from the plurality of connecting devices according to the wearing type; and receiving and playing the audio signal of the target connection device.
It can be seen that, in this embodiment, the wearing type of the earphone device is first determined, that is, two earphones in the earphone device are worn by the same user or different users, then the two earphones select their respective target connection devices according to the wearing type of the earphone device, and both the two earphones receive and play audio signals of their respective corresponding target connection devices, but do not play audio signals of other connection devices, so that the two earphones can play audio signals of the two connection devices at the same time, the application range of the earphones is expanded, and user experience is enhanced.
As an alternative embodiment, when theprocessor 22 executes the computer subroutine stored in the memory 21, the following steps can be implemented: acquiring a first inertia parameter of a local machine; acquiring a second inertia parameter of another earphone in the earphone equipment; when the first inertial parameter and the second inertial parameter are in the same direction or in opposite directions, the wearing type of the earphone equipment is judged to be that the earphone equipment is worn by the same user, otherwise, the wearing type of the earphone equipment is judged to be that the earphone equipment is worn by different users.
As an alternative embodiment, when theprocessor 22 executes the computer subroutine stored in the memory 21, the following steps can be implemented: when the local machine is detected to be in a wearing state, acquiring a first inertia parameter of the local machine; the process of obtaining a second inertial parameter of another headphone in the headphone device includes: and when the other earphone in the earphone equipment is detected to be in a wearing state, acquiring a second inertia parameter of the other earphone.
As an alternative embodiment, when theprocessor 22 executes the computer subroutine stored in the memory 21, the following steps can be implemented: acquiring the distance between the local machine and the other earphone in the earphone equipment; when the distance is smaller than a first preset value, the wearing type of the earphone equipment is that the earphone equipment is worn by the same user; when the distance is greater than a second preset value, the wearing type of the earphone equipment is different for users to wear; the second preset value is greater than or equal to the first preset value.
As an alternative embodiment, when theprocessor 22 executes the computer subroutine stored in the memory 21, the following steps can be implemented: the distance between the local machine and the other earphone in the earphone device is measured by RSSI.
As an alternative embodiment, when theprocessor 22 executes the computer subroutine stored in the memory 21, the following steps can be implemented: when the wearing type is that the user wears the earphone, selecting a target connecting device of another earphone from the plurality of connecting devices as a local target connecting device; when the wearing type is that the earphone is worn by a plurality of users, a connecting device different from the target connecting device of another earphone is selected from the plurality of connecting devices as the local target connecting device.
As an alternative embodiment, when theprocessor 22 executes the computer subroutine stored in the memory 21, the following steps can be implemented: acquiring the wearing sequence of the earphone and the other earphone; and selecting the target connecting equipment of the local equipment from the plurality of connecting equipment according to the wearing sequence and the wearing type.
On the other hand, this application still provides an earphone equipment, includes two earphones, and two earphones all include the connecting device auto-change over device of earphone above.
Please refer to the above embodiments for the introduction of the earphone device provided in the present application, which is not described herein again.
The earphone device has the same beneficial effects as the switching method of the connecting device of the earphone.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

Translated fromChinese
1.一种耳机的连接设备切换方法,其特征在于,应用于耳机设备中的任一耳机,该连接设备切换方法包括:1. a connection device switching method of an earphone, is characterized in that, is applied to any earphone in the earphone device, and this connection device switching method comprises:确定所述耳机设备的佩戴类别,所述佩戴类别为同一用户佩戴或不同用户佩戴;determining a wearing category of the headset device, where the wearing category is worn by the same user or worn by different users;根据所述佩戴类别在多个所述连接设备中选择本机的目标连接设备;Selecting the target connected device of the machine from among the plurality of connected devices according to the wearing category;接收并播放所述目标连接设备的音频信号。Receive and play the audio signal of the target connected device.2.根据权利要求1所述的连接设备切换方法,其特征在于,所述确定所述耳机设备的佩戴类别的过程包括:2. The connecting device switching method according to claim 1, wherein the process of determining the wearing category of the earphone device comprises:获取本机的第一惯性参数;Get the first inertia parameter of the machine;获取所述耳机设备中的另一所述耳机的第二惯性参数;acquiring a second inertia parameter of another earphone in the earphone device;当所述第一惯性参数和所述第二惯性参数方向相同或方向相反,判定所述耳机设备的佩戴类别为同一用户佩戴,否则,判定所述耳机设备的佩戴类别为不同用户佩戴。When the direction of the first inertial parameter and the second inertial parameter are the same or opposite, it is determined that the wearing type of the headset device is worn by the same user; otherwise, it is determined that the wearing type of the headset device is worn by different users.3.根据权利要求2所述的连接设备切换方法,其特征在于,所述获取本机的第一惯性参数的过程包括:3. The connecting device switching method according to claim 2, wherein the process of acquiring the first inertial parameter of the local machine comprises:当检测到本机为佩戴状态,获取本机的第一惯性参数;When it is detected that the machine is in a wearing state, the first inertial parameter of the machine is obtained;所述获取所述耳机设备中的另一所述耳机的第二惯性参数的过程包括:The process of acquiring the second inertial parameter of the other earphone in the earphone device includes:当检测到所述耳机设备中的另一所述耳机为所述佩戴状态,获取另一所述耳机的第二惯性参数。When it is detected that the other earphone in the earphone device is in the wearing state, a second inertia parameter of the other earphone is acquired.4.根据权利要求1所述的连接设备切换方法,其特征在于,所述确定所述耳机设备的佩戴类别的过程包括:4. The method for switching connected devices according to claim 1, wherein the process of determining the wearing category of the earphone device comprises:获取本机和所述耳机设备中另一所述耳机之间的距离;Obtain the distance between the local machine and the other earphone in the earphone device;当所述距离小于第一预设值,所述耳机设备的佩戴类别为同一用户佩戴;When the distance is less than the first preset value, the wearing category of the headset device is the same user wearing;当所述距离大于第二预设值,所述耳机设备的佩戴类别为不同用户佩戴;When the distance is greater than the second preset value, the wearing category of the headset device is worn by different users;所述第二预设值大于或等于所述第一预设值。The second preset value is greater than or equal to the first preset value.5.根据权利要求4所述的连接设备切换方法,其特征在于,所述获取本机和所述耳机设备中另一所述耳机之间的距离的过程包括:5. The connecting device switching method according to claim 4, wherein the process of obtaining the distance between the local machine and the other earphone in the earphone device comprises:通过RSSI测量本机和所述耳机设备中另一所述耳机之间的距离。The distance between the local unit and the other earphone in the earphone device is measured by RSSI.6.根据权利要求1所述的连接设备切换方法,其特征在于,所述根据所述佩戴类别在多个所述连接设备中选择本机的目标连接设备的过程包括:6 . The method for switching connected devices according to claim 1 , wherein the process of selecting the target connected device of the local machine among the plurality of connected devices according to the wearing category comprises: 6 .当所述佩戴类别为同一用户佩戴,在多个所述连接设备中选择另一所述耳机的目标连接设备作为本机的目标连接设备;When the wearing category is worn by the same user, selecting another target connection device of the headset from the plurality of connection devices as the target connection device of the local machine;当所述佩戴类别为多个用户佩戴,在多个所述连接设备中选择与另一所述耳机的目标连接设备不同的连接设备作为本机的目标连接设备。When the wearing category is worn by multiple users, a connection device different from the target connection device of the other headset is selected as the local target connection device among the plurality of connection devices.7.根据权利要求1-6任意一项所述的连接设备切换方法,其特征在于,所述根据所述佩戴类别在多个所述连接设备中选择本机的目标连接设备的过程包括:7. The connected device switching method according to any one of claims 1-6, wherein the process of selecting the target connected device of the local machine from among the plurality of connected devices according to the wearing category comprises:获取本机与另一所述耳机的佩戴先后顺序;Obtain the wearing sequence of the device and the other headset;根据所述佩戴先后顺序及所述佩戴类别,在多个所述连接设备中选择本机的目标连接设备。According to the wearing sequence and the wearing category, the target connected device of the local machine is selected from among the plurality of connected devices.8.一种耳机的连接设备切换系统,其特征在于,应用于耳机设备中的任一耳机,该连接设备切换系统包括:8. A connection device switching system of an earphone, characterized in that, applied to any earphone in the earphone device, the connection device switching system comprising:确定模块,用于确定所述耳机设备的佩戴类别,所述佩戴类别为同一用户佩戴或不同用户佩戴;a determining module, configured to determine a wearing category of the headset device, where the wearing category is worn by the same user or worn by different users;选择模块,用于根据所述佩戴类别在多个所述连接设备中选择本机的目标连接设备;a selection module, configured to select a target connection device of the local machine from among the plurality of connection devices according to the wearing category;控制模块,用于接收并播放所述目标连接设备的音频信号。The control module is used for receiving and playing the audio signal of the target connection device.9.一种耳机的连接设备切换装置,其特征在于,包括:9. A connecting device switching device for an earphone, characterized in that, comprising:存储器,用于存储计算机程序;memory for storing computer programs;处理器,用于执行所述计算机程序时实现如权利要求1-7任意一项所述的耳机的连接设备切换方法的步骤。The processor is configured to implement the steps of the method for switching a connected device of an earphone according to any one of claims 1-7 when executing the computer program.10.一种耳机设备,其特征在于,包括两个耳机,两个所述耳机均包括如权利要求9所述的耳机的连接设备切换装置。10 . An earphone device, characterized in that it comprises two earphones, and the two earphones both comprise the earphone connection device switching device according to claim 9 . 11 .
CN202111013223.8A2021-08-312021-08-31Earphone connection equipment switching method, system and related componentsPendingCN113596802A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202111013223.8ACN113596802A (en)2021-08-312021-08-31Earphone connection equipment switching method, system and related components
PCT/CN2021/122225WO2023029143A1 (en)2021-08-312021-09-30Headphone connection device switching method and system, and related components

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202111013223.8ACN113596802A (en)2021-08-312021-08-31Earphone connection equipment switching method, system and related components

Publications (1)

Publication NumberPublication Date
CN113596802Atrue CN113596802A (en)2021-11-02

Family

ID=78240676

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202111013223.8APendingCN113596802A (en)2021-08-312021-08-31Earphone connection equipment switching method, system and related components

Country Status (2)

CountryLink
CN (1)CN113596802A (en)
WO (1)WO2023029143A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114666445A (en)*2022-02-252022-06-24华为技术有限公司 Call method and call device
CN115460495A (en)*2022-09-132022-12-09深圳市宇通联发科技有限公司 Earphone prompting method, device, earphone and storage medium
CN119562181A (en)*2023-09-012025-03-04华为技术有限公司 Headphone control method and wearable device

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105050002A (en)*2015-08-052015-11-11惠州Tcl移动通信有限公司Method and system for playing multimedia of intelligent terminal
US20180279038A1 (en)*2017-03-222018-09-27Bragi GmbHSystem and Method for Sharing Wireless Earpieces
CN111698607A (en)*2020-07-032020-09-22歌尔科技有限公司TWS earphone audio output control method, apparatus, device and medium
CN111787444A (en)*2020-06-192020-10-16深圳市蓝色冰川教育科技有限公司Bluetooth headset pairing method and device, Bluetooth headset and storage medium
CN112752198A (en)*2019-10-312021-05-04深圳市冠旭电子股份有限公司Method, device, terminal and storage medium for controlling earphone to play stereo

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9955264B2 (en)*2013-04-112018-04-24Darryl Dwight BraytonHeadset hearing protection with integrated transceiver and siren alert device
CN109379653B (en)*2018-09-302020-12-04Oppo广东移动通信有限公司 Audio transmission method, device, electronic device and storage medium
CN111182401A (en)*2019-12-312020-05-19联想(北京)有限公司Detection method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105050002A (en)*2015-08-052015-11-11惠州Tcl移动通信有限公司Method and system for playing multimedia of intelligent terminal
US20180279038A1 (en)*2017-03-222018-09-27Bragi GmbHSystem and Method for Sharing Wireless Earpieces
CN112752198A (en)*2019-10-312021-05-04深圳市冠旭电子股份有限公司Method, device, terminal and storage medium for controlling earphone to play stereo
CN111787444A (en)*2020-06-192020-10-16深圳市蓝色冰川教育科技有限公司Bluetooth headset pairing method and device, Bluetooth headset and storage medium
CN111698607A (en)*2020-07-032020-09-22歌尔科技有限公司TWS earphone audio output control method, apparatus, device and medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114666445A (en)*2022-02-252022-06-24华为技术有限公司 Call method and call device
CN114666445B (en)*2022-02-252023-09-01华为技术有限公司Communication method, device, chip and readable storage medium
CN115460495A (en)*2022-09-132022-12-09深圳市宇通联发科技有限公司 Earphone prompting method, device, earphone and storage medium
CN115460495B (en)*2022-09-132025-05-16深圳市宇通联发科技有限公司 Headphone prompt method, device, headphone and storage medium
CN119562181A (en)*2023-09-012025-03-04华为技术有限公司 Headphone control method and wearable device
WO2025045236A1 (en)*2023-09-012025-03-06华为技术有限公司Earphone control method and wearable device

Also Published As

Publication numberPublication date
WO2023029143A1 (en)2023-03-09

Similar Documents

PublicationPublication DateTitle
CN113596802A (en)Earphone connection equipment switching method, system and related components
CN108966087B (en)Wearing condition detection method and device of wireless earphone and wireless earphone
US8678876B2 (en)Method and apparatus for remote controlled object gaming with proximity-based augmented reality enhancement
US12108237B2 (en)Head tracking correlated motion detection for spatial audio applications
CN109104684A (en)Microphone hole blockage detection method and related product
CN107182011B (en)Audio playing method and system, mobile terminal and WiFi earphone
US10674305B2 (en)Remote multi-dimensional audio
CN110099322B (en)Method and device for detecting wearing state of earphone
CN111698607B (en)TWS earphone audio output control method, apparatus, device and medium
US11716601B2 (en)Device presence detection system
CN114267152B (en) Anti-fall reminder method, device and computer-readable storage medium
CN110987154B (en)Detection method and device for knocking event, medium and head-mounted equipment
CN116887106A (en)Audio synchronization method, earphone and earphone system
CN110933550A (en)Control method and system of wireless earphone pair and wireless communication equipment
US12022252B2 (en)Sound input-output control apparatus, sound input-output control method, and non-transitory computer-readable medium
TWI716828B (en)System and earphone related to transforming sensed data
CN114513722A (en)Wearing detection method and device for earphone, earphone equipment and storage medium
CN115706882A (en)Audio signal processing method and device
US20240089687A1 (en)Spatial audio adjustment for an audio device
CN114915887B (en) Headphone status detection method, headphone, device, and computer-readable storage medium
US20250048013A1 (en)Operating state detection using pulsed acoustic signals
US20250150757A1 (en)System for locating an audio event
JP6415275B2 (en) Hands-free device, electronic device, information system, and power control method for hands-free device
CN114710726A (en)Center positioning method and device of intelligent wearable device and storage medium
TWI661808B (en)Physiological detection system, method and wearable device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20211102


[8]ページ先頭

©2009-2025 Movatter.jp