Earphone communication method, device and computer readable storage medium
By setting physical contact points in the earphones and head-mounted devices, Bluetooth information is automatically obtained and sent to establish a Bluetooth connection, which solves the problem of manual operation of users in multi-person usage scenarios, improves connection accuracy and simplifies the operation process.
Patent Information
- Application Number
- CN202210313453.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-28
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2042-03-28
AI Technical Summary
In a scenario where multiple people use a head-mounted device, users need to manually operate the Bluetooth communication connection between the wireless headset and the head-mounted device or between a pair of wireless headsets, which affects the user experience.
Physical contact points are set in the earphones and head-mounted devices, communication connections are established through the contact points, Bluetooth information is automatically obtained and sent to establish a Bluetooth communication connection, and user operations are simplified.
There is no need for users to manually select a connection partner, which improves the accuracy of Bluetooth communication connection between the headset and the head-mounted device or between two headsets and simplifies the operation process.
Smart Images

Figure CN114615588B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of headset technology, and in particular to a headset communication method, device, and computer-readable storage medium. Background Art
[0002] Currently, head-mounted device technologies such as VR and AR are developing at an increasingly rapid pace, with developers striving to improve the user experience of head-mounted devices in all aspects. The open sound field of head-mounted devices can prevent users from having a good sense of immersion, so using headphones with head-mounted devices is a technological trend. However, with the increasing popularity of head-mounted devices, there are more and more scenarios where multiple people use head-mounted devices simultaneously. In such cases, when Bluetooth pairing is performed between wireless headphones and a head-mounted device, or between a pair of wireless headphones, users are often required to manually select their device for pairing, which greatly affects the user experience. Summary of the Invention
[0003] The main purpose of the present invention is to provide a headset communication method, device and computer-readable storage medium, aiming to solve the problem that in scenarios where multiple people use head-mounted devices, users need to manually operate Bluetooth communication connections between wireless headsets and head-mounted devices or between a pair of wireless headsets.
[0004] To achieve the above object, the present invention provides an earphone communication method, which is applied to a first earphone, wherein the first earphone and a head-mounted device are respectively provided with physical contact points, and the method comprises the following steps:
[0005] When the head-mounted device is communicatively connected with the head-mounted device through contact between the physical contact points, receiving device information sent by the head-mounted device;
[0006] Establish a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establish a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone in the device information, wherein the Bluetooth information of the second earphone in the device information is obtained when the head-mounted device is communicated with the second earphone.
[0007] Optionally, the steps of establishing a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information include:
[0008] establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information;
[0009] When the first earphone is determined to be the primary earphone based on the Bluetooth communication connection negotiation with the second earphone, a Bluetooth communication connection is established with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information.
[0010] Optionally, the method further includes:
[0011] When the first headset is in communication with the head mounted device through contact between the physical contact points, obtaining Bluetooth information of the first headset;
[0012] The Bluetooth information of the first earphone is sent to the head-mounted device so that the head-mounted device establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone, and / or the head-mounted device sends the Bluetooth information of the first earphone to the second earphone when communicating with the second earphone, so that the second earphone establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone.
[0013] Optionally, the step of establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information includes:
[0014] determining whether the second headset is a paired headset according to the Bluetooth information of the second headset in the device information;
[0015] If the second headset is a paired headset, obtaining pairing information corresponding to the second headset, and establishing a Bluetooth communication connection with the second headset based on the pairing information;
[0016] If the second headset is an unpaired headset, a Bluetooth communication connection is established after pairing with the second headset according to the Bluetooth information of the second headset.
[0017] To achieve the above object, the present invention further provides an earphone communication method, which is applied to a head-mounted device, wherein the head-mounted device and a first earphone are respectively provided with physical contact points, and the method comprises the following steps:
[0018] acquiring device information when communication is connected with the first headset through contact between the physical contact points;
[0019] Send the device information to the first headset, so that the first headset establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establishes a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information, wherein the Bluetooth information of the second headset in the device information is obtained when the head-mounted device and the second headset are communicated.
[0020] Optionally, the method further includes:
[0021] When the communication connection with the first headset is established through the contact between the physical contact points, receiving Bluetooth information of the first headset sent by the first headset;
[0022] Establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset, and / or when communicating with the second headset, send the Bluetooth information of the first headset to the second headset, so that the second headset can establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset.
[0023] Optionally, when the communication connection with the first headset is established through contact between the physical contact points, the step of acquiring device information includes:
[0024] When the communication connection with the first headset is established through the contact between the physical contact points, determining whether a Bluetooth communication connection has been established with the second headset;
[0025] If a Bluetooth communication connection has been established with the second headset, Bluetooth information of the second headset is obtained as the device information.
[0026] Optionally, the second headset is provided with the physical contact point, and after the step of determining whether a Bluetooth communication connection has been established with the second headset when the second headset is communicatively connected with the first headset through contact between the physical contact points, the method further includes:
[0027] If a Bluetooth communication connection is not established with the second headset, determining whether a contact communication connection is established with the second headset through the physical contact points;
[0028] If the second headset is already connected to the second headset through contact communication between the physical contact points, obtaining Bluetooth information of the second headset and Bluetooth information of the head mounted device as the device information;
[0029] If the second earphone is not connected through the contact communication between the physical contact points, Bluetooth information of the head mounted device is obtained as the device information.
[0030] To achieve the above objectives, the present invention also provides a headset communication device, which includes: a memory, a processor, and a headset communication program stored in the memory and executable on the processor. When the headset communication program is executed by the processor, the steps of the above headset communication method are implemented.
[0031] In addition, to achieve the above-mentioned purpose, the present invention further proposes a computer-readable storage medium, on which a headset communication program is stored. When the headset communication program is executed by a processor, the steps of the above-mentioned headset communication method are implemented.
[0032] In the present invention, by setting physical contact points between the first earphone and the head-mounted device, the first earphone receives device information sent by the head-mounted device, establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone in the device information. This ensures that when the user needs to connect the earphone to the head-mounted device for Bluetooth communication, or connect two earphones for Bluetooth communication, there is no need to manually operate the earphone or the head-mounted device to select a connection object, which simplifies the user's operation method, avoids the situation where the user has difficulty in selecting when there are multiple devices with the same name, and improves the accuracy of establishing Bluetooth communication connections between the earphone and the head-mounted device or between two earphones. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a flow chart of a first embodiment of the headset communication method of the present invention;
[0034] Figure 2 A schematic diagram of an earphone card slot in a head-mounted device according to an embodiment of the present invention;
[0035] Figure 3 This is a flow chart of a third embodiment of the headset communication method of the present invention;
[0036] Figure 4 The present invention is a schematic diagram of the interaction process between a head-mounted device and headphones.
[0037] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0038] It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0039] Reference Figure 1 , Figure 1 FIG. 1 is a flow chart of a first embodiment of a headset communication method according to the present invention.
[0040] The present invention provides an embodiment of a headset communication method. It should be noted that although the flowcharts illustrate a logical order, in some cases, the steps shown or described may be performed in a different order. In this embodiment, the headset communication method is applied to a first headset, which may be a standalone headset or one of a pair of headsets. In this embodiment, the headset communication method includes:
[0041] Step S10, when the communication connection with the head mounted device is established through the contact between the physical contact points, receiving device information sent by the head mounted device;
[0042] The first earphone and the head-mounted device each have physical contact points. The number of physical contact points is not limited in this embodiment. For example, two physical contact points can be provided on each of the first earphone and the head-mounted device. When a physical contact point of the first earphone contacts a physical contact point of the head-mounted device, the first earphone and the head-mounted device establish a communication connection, enabling data exchange.
[0043] In a specific embodiment, before using the first earphone and the head-mounted device, the user can touch the physical contact point of the first earphone with the physical contact point of the head-mounted device, so that the first earphone and the head-mounted device can be communicated and connected through the contact between the physical contact points, and then complete the subsequent Bluetooth communication connection based on the communication connection. After the first earphone establishes a Bluetooth communication connection with the head-mounted device or the second earphone, the user can wear the first earphone for use. At this time, there is no longer a physical connection between the first earphone and the head-mounted device, thereby still ensuring the wireless function of the first earphone.
[0044] Further, in one embodiment, if Figure 2 As shown, a card slot for placing the first earphone can be provided in the head-mounted device, so that when the user places the first earphone in the card slot, the physical contact point of the first earphone contacts the physical contact point of the head-mounted device; when the first earphone is taken out of the card slot, the physical contact point of the first earphone is disconnected from the physical contact point of the head-mounted device, thereby facilitating user operation.
[0045] When the first earphone is communicatively connected to the head-mounted device through contact between physical contact points, the first earphone can receive device information sent by the head-mounted device. The device information may include Bluetooth information of the head-mounted device, or may include Bluetooth information of the second earphone, or may include Bluetooth information of the head-mounted device and Bluetooth information of the second earphone. The Bluetooth information may include Bluetooth address, authentication password and other information used to establish a Bluetooth communication connection, which is not limited in this embodiment. The second earphone can be an earphone on a different side of a pair of earphones from the first earphone. For example, if the first earphone is a left earphone, the second earphone can be a right earphone. It should be noted that the first earphone and the second earphone may be a pair of standard earphones (configured as a pair when leaving the factory), or they may not be. That is, this embodiment allows the user to mix the two pairs of standard earphones when using.
[0046] If the device information includes the Bluetooth information of the second earphone, then the Bluetooth information of the second earphone may be obtained from the second earphone when the head-mounted device is in communication connection with the second earphone. The communication connection between the head-mounted device and the second earphone may refer to a Bluetooth communication connection or a communication connection established through contact between physical contact points. When the head-mounted device sends the Bluetooth information of the second earphone to the first earphone, it may still be in a communication connection state with the second earphone, or it may have been disconnected. The case of the disconnected communication connection state may be that the second earphone and the head-mounted device establish a communication connection through contact of physical contact points, and the second earphone sends the Bluetooth information to the head-mounted device for storage. After the second earphone and the head-mounted device are disconnected from the communication connection, the first earphone establishes a communication connection with the head-mounted device again through contact of physical contact points, and the head-mounted device sends the Bluetooth information of the second earphone to the first earphone, so that the first earphone can establish a Bluetooth communication connection with the second earphone. This situation may occur because the user puts one earphone in contact with the head-mounted device, the head-mounted device obtains Bluetooth information from the earphone, the earphone is disconnected without establishing a Bluetooth communication connection with the head-mounted device, and then the other earphone is put in contact with the head-mounted device.
[0047] In a specific implementation, the device information sent by the head-mounted device to the first headset can be set as needed to specifically include which Bluetooth information of the device, or the head-mounted device can be set to determine which Bluetooth information of the device is specifically included in the device information sent to the first headset based on the current scenario. This is not limited in this embodiment.
[0048] For example, in one embodiment, when the head-mounted device has no communication connection with the second earphone or has not obtained the second earphone's Bluetooth information, it can send its own Bluetooth information to the first earphone, so that the first earphone can establish a Bluetooth communication connection with the head-mounted device itself, and complete the audio playback of the first earphone through the exchange of audio data between the first earphone and the head-mounted device. For another example, in another embodiment, when the head-mounted device establishes a Bluetooth communication connection with the second earphone, it can obtain the second earphone's Bluetooth information and send it to the first earphone, so that the first earphone can establish a Bluetooth communication connection with the second earphone, thereby coordinating the audio playback of the earphone through the communication connection between the two ears. For another example, in another embodiment, when the head-mounted device establishes a communication connection with the second earphone through contact between physical contact points, it can obtain the head-mounted device's own Bluetooth information and the second earphone's Bluetooth information and send them to the first earphone, so that the first earphone can establish Bluetooth communication connections with the head-mounted device and the second earphone respectively, and coordinating the audio playback of the earphone through the exchange of audio data between the first earphone and the head-mounted device, and through the exchange of audio data between the two ears. In addition, in other implementations, it is also possible to determine which Bluetooth information of the device is specifically included in the device information sent to the first headset based on other situations, which will not be elaborated here.
[0049] Step S20: establishing a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establishing a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone in the device information, wherein the Bluetooth information of the second earphone in the device information is obtained when the head-mounted device is communicated with the second earphone.
[0050] After receiving the device information, the first headset can establish a Bluetooth communication connection with the corresponding device based on the Bluetooth information included in the device information. For example, in a specific embodiment, when the device information includes the Bluetooth information of the head-mounted device, the first headset can establish a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device; when the device information includes the Bluetooth information of the second headset, the first headset can establish a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset; when the device information includes the Bluetooth information of the head-mounted device and the Bluetooth information of the second headset, the first headset can establish a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device and establish a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset, or determine whether to establish a Bluetooth communication connection with one or both of the head-mounted device and the second headset based on the Bluetooth information of the second headset according to the current scenario.
[0051] The specific process for the first headset to establish a Bluetooth communication connection with the device based on the device's Bluetooth information can be referenced to the Bluetooth communication connection process specified in the Bluetooth protocol and is not described in detail here. It is understood that if the first headset has learned the Bluetooth information of the other device, it can accurately establish a Bluetooth communication connection with the other device without the user having to manually operate the first headset to control the first headset to establish a Bluetooth communication connection with a specific device.
[0052] Specifically, the head-mounted device sends its own Bluetooth information to the first earphone through a communication connection method of physical contact point contact, so that the first earphone establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device. The user only needs to touch the physical contact point of the first earphone with the head-mounted device to complete the Bluetooth communication connection between the first earphone and the head-mounted device, without manually operating the first earphone or the head-mounted device to select the connection object, which simplifies the user's operation method, avoids the situation where the user has difficulty in selecting when there are multiple devices with the same name, and improves the accuracy of establishing the Bluetooth communication connection between the earphone and the head-mounted device.
[0053] The head-mounted device sends the Bluetooth information of the second earphone to the first earphone through a communication connection method of physical contact point contact, so that the first earphone establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone. When the head-mounted device has obtained the Bluetooth information of the second earphone, the user only needs to touch the physical contact point of the first earphone with the head-mounted device to complete the Bluetooth communication connection between the first earphone and the second earphone. There is no need to manually operate the first earphone or the second earphone to select the connection object, which simplifies the user's operation method, avoids the situation where the user has difficulty in selecting when there are multiple devices with the same name, and improves the accuracy of establishing Bluetooth communication connection between the two earphones.
[0054] The head-mounted device sends its own Bluetooth information and the Bluetooth information of the second earphone to the first earphone through a communication connection method of physical contact point contact, so that the first earphone establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device, and establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone. When the head-mounted device has obtained the Bluetooth information of the second earphone, the user only needs to touch the physical contact point of the first earphone with the head-mounted device to complete the Bluetooth communication connection between the first earphone and the head-mounted device and the second earphone. There is no need to manually operate the first earphone, the second earphone or the head-mounted device to select the connection object, which simplifies the user's operation method, avoids the situation where the user has difficulty in selecting when there are multiple devices with the same name, and improves the accuracy of establishing Bluetooth communication connections between the earphone and the head-mounted device and between the two earphones.
[0055] In this embodiment, by setting physical contact points between the first earphone and the head-mounted device, the first earphone receives device information sent by the head-mounted device, establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone in the device information. This ensures that when the user needs to connect the earphone to the head-mounted device for Bluetooth communication, or connect two earphones for Bluetooth communication, there is no need to manually operate the earphone or the head-mounted device to select a connection object, which simplifies the user's operation method, avoids the situation where the user has difficulty in selecting when there are multiple devices with the same name, and improves the accuracy of establishing Bluetooth communication connections between the earphone and the head-mounted device or between two earphones.
[0056] Furthermore, in one embodiment, the step of establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information in step S20 includes:
[0057] Step S201, determining whether the second headset is a paired headset based on the Bluetooth information of the second headset in the device information;
[0058] When the first headset establishes a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information, the first headset can first determine whether the second headset is a paired headset based on the Bluetooth information of the second headset, that is, whether it has been successfully paired with the first headset. Specifically, the first headset can compare the Bluetooth information of the second headset with the Bluetooth information of the paired headsets stored in the first headset. If the Bluetooth information of the second headset is consistent with the Bluetooth information of one of the paired headsets, the second headset is determined to be a paired headset. If the Bluetooth information is inconsistent with the Bluetooth information of any of the paired headsets, the second headset is determined to be an unpaired headset. The first headset can save the Bluetooth information of the successfully paired headset so that it can directly connect to the headset the next time it establishes a Bluetooth communication connection with the headset, thereby improving the connection speed.
[0059] Step S202: If the second headset is a paired headset, obtaining pairing information corresponding to the second headset, and establishing a Bluetooth communication connection with the second headset based on the pairing information;
[0060] If the second headset is determined to be a paired headset, it means that the second headset has previously been successfully paired with the first headset. In this case, the first headset can obtain the pairing information corresponding to the second headset and establish a Bluetooth communication connection with the second headset based on this pairing information. The pairing information can be information used to establish a Bluetooth communication connection after successful pairing. The specific information included can be determined based on the Bluetooth protocol used. It is understood that if the second headset is a paired headset, the second headset and the first headset may be a standard pair of headsets, or may have been used as a pair of headsets before.
[0061] Step S203: If the second headset is an unpaired headset, pair the second headset with the second headset according to the Bluetooth information of the second headset and establish a Bluetooth communication connection.
[0062] If it is determined that the second headset is an unpaired headset, it means that the second headset has not been paired with the first headset before. At this time, the first headset needs to be paired with the second headset according to the Bluetooth information of the second headset before Bluetooth communication connection is established.
[0063] Furthermore, in one embodiment, when establishing a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, the first headset may first determine whether the head-mounted device is a paired device based on the Bluetooth information of the head-mounted device. If so, the Bluetooth communication connection may be directly established based on the pairing information. If not, pairing may be performed first and then the connection may be established. The specific implementation process can be referred to the process of establishing a Bluetooth communication connection between the first headset and the second headset, and will not be described in detail here.
[0064] Furthermore, in one embodiment, when the head-mounted device establishes a Bluetooth communication connection with the headset based on the Bluetooth information of the headset, it can also first determine whether the headset is a paired device based on the Bluetooth information of the headset. If so, the Bluetooth communication connection is directly established based on the pairing information. If not, it can be paired first and then connected.
[0065] Furthermore, based on the first embodiment described above, a second embodiment of the present invention is provided for a method for communicating between headphones and a headphone case. In this embodiment, the steps of establishing a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and establishing a Bluetooth communication connection with the second headphone based on the Bluetooth information of the second headphone in the device information in step S20 include:
[0066] Step S204: establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information;
[0067] When the device information includes the Bluetooth information of the head-mounted device and the Bluetooth information of the second earphone, the first earphone can first establish a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone, and then determine whether to establish a Bluetooth communication connection with the head-mounted device based on whether the first earphone is the primary earphone. Specifically, after the first earphone establishes a Bluetooth communication connection with the second earphone, it can negotiate to determine which one will be the primary earphone. The primary earphone is responsible for exchanging audio data with the head-mounted device. The two earphones can negotiate to determine which one will be the primary earphone according to a predetermined protocol, and the protocol rules are not limited here.
[0068] Step S205: When the first earphone is determined to be the primary earphone through Bluetooth communication connection negotiation with the second earphone, a Bluetooth communication connection is established with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information.
[0069] When the first earphone is determined to be the main earphone based on the Bluetooth communication connection negotiation with the second earphone, the first earphone can establish a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, so as to subsequently interact with the head-mounted device for audio data to realize the earphone audio playback function.
[0070] Furthermore, in one embodiment, when the first headset determines that the second headset will serve as the master headset based on Bluetooth communication negotiation, the first headset may not need to establish a Bluetooth communication connection with the headset. If the second headset has not established a communication connection with the headset and has not obtained the Bluetooth information of the headset, the first headset may further send the Bluetooth information of the headset to the second headset, so that the second headset, serving as the master headset, can establish a Bluetooth communication connection with the headset.
[0071] In another embodiment, if the first earphone is fixed as the main earphone, then the first earphone can also complete the Bluetooth communication connection with the second earphone and the head-mounted device in no particular order when receiving the Bluetooth information of the head-mounted device and the Bluetooth information of the second earphone.
[0072] Furthermore, in one embodiment, the method further comprises:
[0073] Step S30: when the first headset is in communication with the head mounted device through contact between the physical contact points, obtaining Bluetooth information of the first headset;
[0074] Step S40: Send the Bluetooth information of the first earphone to the head-mounted device, so that the head-mounted device can establish a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone, and / or send the Bluetooth information of the first earphone to the second earphone when the head-mounted device is in communication connection with the second earphone, so that the second earphone can establish a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone.
[0075] When the first earphone is in communication connection with the head-mounted device through contact between physical contact points, the first earphone can also obtain its own Bluetooth information and send it to the head-mounted device. The head-mounted device can establish a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone; or, when the head-mounted device is in communication connection with the second earphone, the head-mounted device can send the Bluetooth information of the first earphone to the second earphone, so that the second earphone can establish a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone; or, when the head-mounted device is in communication connection with the second earphone, the head-mounted device can establish a Bluetooth communication connection with the first earphone while also sending the Bluetooth information of the first earphone to the second earphone, so that the second earphone can establish a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone.
[0076] The head-mounted device can select one of the three aforementioned operations based on the current scenario. For example, when the head-mounted device has no communication connection with the second headset, the first operation can be selected; when the head-mounted device is connected to the second headset via Bluetooth communication, the second operation can be selected; when the head-mounted device is connected to the second headset via physical contact communication, the third operation can be selected if the first headset is the primary headset, and the second operation can be selected if the second headset is the primary headset.
[0077] In this embodiment, when the first earphone and the head-mounted device are communicatively connected through contact between physical contact points, the Bluetooth information of the first earphone is obtained and sent to the head-mounted device so that the head-mounted device can establish a Bluetooth communication connection with the first earphone, and / or the Bluetooth information of the first earphone is forwarded to the second earphone so that the second earphone can establish a Bluetooth communication connection with the first earphone. This ensures that when the user needs to connect the earphone to the head-mounted device for Bluetooth communication, or connect two earphones for Bluetooth communication, there is no need to manually operate the earphone or the head-mounted device to select a connection object, which simplifies the user's operation method, avoids the situation where the user has difficulty in selecting when there are multiple devices with the same name, and improves the accuracy of establishing Bluetooth communication connection between the earphone and the head-mounted device or between two earphones.
[0078] Furthermore, based on the above-mentioned first and / or second embodiments, a third embodiment of the headset communication method of the present invention is proposed. Figure 3 , Figure 3This is a flow chart of a third embodiment of the headset communication method of the present invention. In this embodiment, the method is applied to a head-mounted device, and the head-mounted device and the first headset are respectively provided with physical contact points. The method comprises the following steps:
[0079] Step A10: when the communication connection with the first headset is established through contact between the physical contact points, obtaining device information;
[0080] Step A20, sending the device information to the first headset, so that the first headset establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establishes a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information, wherein the Bluetooth information of the second headset in the device information is obtained when the head-mounted device and the second headset are communicated.
[0081] The specific implementation of steps A10-A20 in this embodiment can refer to the specific implementation of steps S10-S20 in the first embodiment above, and will not be repeated here.
[0082] Furthermore, based on the third embodiment above, a fourth embodiment of a method for communication between an earphone and an earphone box according to the present invention is proposed. In this embodiment, the method further includes:
[0083] Step A30: When the communication connection with the first headset is established through the contact between the physical contact points, receiving the Bluetooth information of the first headset sent by the first headset;
[0084] Step A40: Establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset, and / or when communicating with the second headset, send the Bluetooth information of the first headset to the second headset, so that the second headset can establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset.
[0085] The specific implementation of steps A30-A40 in this embodiment can refer to the specific implementation of steps S30-S40 in the first embodiment above, and will not be repeated here.
[0086] Furthermore, in one embodiment, step A10 includes:
[0087] Step A101, when communication connection is established with the first headset through contact between the physical contact points, determining whether a Bluetooth communication connection has been established with the second headset;
[0088] When the head-mounted device is in communication with the first earphone through contact between physical contact points, it can determine whether a Bluetooth communication connection has been established with the second earphone. It is understood that if the first earphone is the left earphone, the head-mounted device can determine whether a Bluetooth communication connection has been established with the right earphone, and if so, it can be determined that a Bluetooth communication connection has been established with the second earphone; conversely, if the first earphone is the right earphone, the head-mounted device can determine whether a Bluetooth communication connection has been established with the left earphone, and if so, it can be determined that a Bluetooth communication connection has been established with the second earphone.
[0089] Step A102: If a Bluetooth communication connection has been established with the second headset, Bluetooth information of the second headset is obtained as the device information.
[0090] When the head-mounted device establishes a Bluetooth communication connection with the second earphone, the user touches the first earphone to the head-mounted device again, indicating that the user wants to use the first earphone and the second earphone as a pair of earphones. At this time, if the second earphone serves as the main earphone, the head-mounted device can obtain the Bluetooth information of the second earphone as device information, that is, send the Bluetooth information of the second earphone to the first earphone, so that the first earphone establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone. Alternatively, in another embodiment, the head-mounted device can obtain the Bluetooth information of the first earphone and send it to the second earphone, so that the second earphone establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone. Alternatively, the head-mounted device can obtain the Bluetooth information of the first earphone and send it to the second earphone, and also obtain the Bluetooth information of the second earphone and send it to the first earphone, so that the two earphones establish a Bluetooth communication connection as soon as possible.
[0091] Furthermore, in another embodiment, if the first earphone serves as the master earphone, the head-mounted device may obtain the Bluetooth information of the second earphone and the head-mounted device's own Bluetooth information as device information. That is, the second earphone's Bluetooth information and the head-mounted device's Bluetooth information are sent to the first earphone, so that the first earphone establishes a Bluetooth communication connection with the second earphone based on the second earphone's Bluetooth information, and then the first earphone establishes a Bluetooth communication connection with the head-mounted device based on the head-mounted device's Bluetooth information. Alternatively, in one embodiment, the head-mounted device may send the first earphone's Bluetooth information to the second earphone, so that the second earphone establishes a Bluetooth communication connection with the first earphone based on the first earphone's Bluetooth information, and the head-mounted device establishes a Bluetooth communication connection with the first earphone based on the first earphone's Bluetooth information.
[0092] Furthermore, in one embodiment, the second earphone is provided with the physical contact point, and after step A101, the method further includes:
[0093] Step A103: If a Bluetooth communication connection is not established with the second headset, determining whether a contact communication connection has been established with the second headset through the physical contact points;
[0094] Physical contact points may also be provided in the second earphone. If the head-mounted device detects that a Bluetooth communication connection has not been established with the second earphone, it may determine whether a contact communication connection has been established with the second earphone through the physical contact points. It is understood that if the first earphone is the left earphone, the head-mounted device may determine whether a contact communication connection has been established with the right earphone through the physical contact points. If so, it may be determined that a Bluetooth communication connection has been established with the second earphone. Conversely, if the first earphone is the right earphone, the head-mounted device may determine whether a contact communication connection has been established with the left earphone through the physical contact points. If so, it may be determined that a Bluetooth communication connection has been established with the second earphone.
[0095] Step A104: If the second headset is already connected to the second headset through contact communication between the physical contact points, obtaining Bluetooth information of the second headset and Bluetooth information of the head mounted device as the device information;
[0096] When the head-mounted device and the second earphone are connected through contact communication between the physical contact points, the user touches the first earphone to the head-mounted device, indicating that the user wants to use the first earphone and the second earphone as a pair of earphones. At this time, the head-mounted device can obtain the Bluetooth information of the second earphone and the Bluetooth information of the head-mounted device as device information, that is, send the Bluetooth information of the second earphone and the Bluetooth information of the head-mounted device to the first earphone, so that the first earphone establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone, and when the first earphone serves as the primary earphone, establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device.
[0097] Step A105: If the second headset is not connected to the second headset through the contact communication between the physical contact points, obtain the Bluetooth information of the head mounted device as the device information.
[0098] When the headset is connected to the first headset via contact communication between physical contact points and is not connected to the second headset, indicating that the user intends to use the first headset alone, the headset can obtain its own Bluetooth information as device information, that is, send its own Bluetooth information to the first headset, so that the first headset and the headset can establish a Bluetooth communication connection. Alternatively, in one embodiment, the headset can obtain the Bluetooth information of the first headset and establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset.
[0099] In another embodiment, when the head-mounted device is connected to the first earphone through contact communication between physical contact points and is not connected to the second earphone, it can be further detected whether this state of contact communication connection only with the first earphone continues for a certain period of time; if it reaches a certain period of time, it means that the user wants to use the first earphone alone. At this time, the head-mounted device sends its own Bluetooth information as device information to the first earphone; if the communication connection with the second earphone is detected before the certain period of time is reached, it means that the user does not want to use the first earphone alone, but has a priority in operating the first earphone and the second earphone. At this time, the head-mounted device can obtain the Bluetooth information of the second earphone and the head-mounted device's own Bluetooth information and send them to the first earphone as device information.
[0100] Furthermore, in one embodiment, the two earphones (the first earphone and the second earphone) and the head-mounted device (the VR device in the figure) can be connected as follows: Figure 4 Follow the steps shown to perform Bluetooth pairing connection.
[0101] In addition, an embodiment of the present invention further proposes a headset communication device, which may be a headset (hereinafter referred to as the first headset). In this embodiment, the first headset may include a structural shell, a main control module, a memory, and the like. Physical contact points are respectively provided in the first headset and the head-mounted device. The main control module may include a microprocessor, an audio decoding unit, a power supply and a power management unit, sensors required by the system, and other active or passive components (which may be replaced, deleted, or added according to actual functions) to realize the reception and playback functions of wireless audio. The memory of the headset box may store a headset communication program, and the microprocessor may be used to call the headset communication program stored in the memory and perform the following operations:
[0102] When the head-mounted device is communicatively connected with the head-mounted device through contact between the physical contact points, receiving device information sent by the head-mounted device;
[0103] Establish a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establish a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone in the device information, wherein the Bluetooth information of the second earphone in the device information is obtained when the head-mounted device is communicated with the second earphone.
[0104] Furthermore, the operations of establishing a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information include:
[0105] establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information;
[0106] When the first earphone is determined to be the primary earphone based on the Bluetooth communication connection negotiation with the second earphone, a Bluetooth communication connection is established with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information.
[0107] Furthermore, the microprocessor may also be configured to call a headset communication program stored in the memory and perform the following operations:
[0108] When the first headset is in communication with the head mounted device through contact between the physical contact points, obtaining Bluetooth information of the first headset;
[0109] The Bluetooth information of the first earphone is sent to the head-mounted device so that the head-mounted device establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone, and / or the head-mounted device sends the Bluetooth information of the first earphone to the second earphone when communicating with the second earphone, so that the second earphone establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone.
[0110] Furthermore, the operation of establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information includes:
[0111] determining whether the second headset is a paired headset according to the Bluetooth information of the second headset in the device information;
[0112] If the second headset is a paired headset, obtaining pairing information corresponding to the second headset, and establishing a Bluetooth communication connection with the second headset based on the pairing information;
[0113] If the second headset is an unpaired headset, a Bluetooth communication connection is established after pairing with the second headset according to the Bluetooth information of the second headset.
[0114] In addition, an embodiment of the present invention further proposes a headset communication device. In this embodiment, the headset communication device may be a head-mounted device, which may include a structural shell, a main control module, a speaker, a microphone, a memory, and the like. The head-mounted device and the first headset are respectively provided with physical contact points. The main control module may include a microprocessor, an audio decoding unit, a power supply and a power management unit, sensors required by the system, and other active or passive components (which may be replaced, deleted, or added according to actual functions) to realize the reception and playback functions of wireless audio. The memory of the first headset may store a headset communication program, and the microprocessor may be used to call the headset communication program stored in the memory and perform the following operations:
[0115] acquiring device information when communication is connected with the first headset through contact between the physical contact points;
[0116] Send the device information to the first headset, so that the first headset establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information, and / or establishes a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information, wherein the Bluetooth information of the second headset in the device information is obtained when the head-mounted device and the second headset are communicated.
[0117] Furthermore, the microprocessor may also be configured to call a headset communication program stored in the memory and perform the following operations:
[0118] When the communication connection with the first headset is established through the contact between the physical contact points, receiving Bluetooth information of the first headset sent by the first headset;
[0119] Establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset, and / or when communicating with the second headset, send the Bluetooth information of the first headset to the second headset, so that the second headset can establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset.
[0120] Furthermore, when the communication connection with the first headset is established through the contact between the physical contact points, the operation of acquiring device information includes:
[0121] When the communication connection with the first headset is established through the contact between the physical contact points, determining whether a Bluetooth communication connection has been established with the second headset;
[0122] If a Bluetooth communication connection has been established with the second headset, Bluetooth information of the second headset is obtained as the device information.
[0123] Furthermore, the second earphone is provided with the physical contact point, and when the second earphone is communicatively connected with the first earphone through contact between the physical contact points, after determining whether a Bluetooth communication connection has been established with the second earphone, the microprocessor may be further configured to call an earphone communication program stored in the memory and perform the following operations:
[0124] If a Bluetooth communication connection is not established with the second headset, determining whether a contact communication connection is established with the second headset through the physical contact points;
[0125] If connected with the second earphone through contact communication between the physical contact points, obtaining Bluetooth information of the second earphone and Bluetooth information of the head-mounted device as the device information;
[0126] If not connected with the second earphone through contact communication between the physical contact points, obtaining Bluetooth information of the head-mounted device as the device information.
[0127] In addition, the embodiment of the present application also proposes a computer readable storage medium, the storage medium stores an earphone communication program, and the earphone communication program is executed by a processor to realize the steps of the earphone communication method.
[0128] Embodiments of the earphone communication device and the computer readable storage medium of the present application can refer to various embodiments of the earphone communication method of the present application, which will not be described here.
[0129] It should be noted that in this paper, the term "including", "containing" or any other variant thereof is intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such process, method, article or device. Without more limitations, the element defined by the statement "including a" does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0130] The above-mentioned serial numbers of the embodiments of the present application are only for description, not representing the advantages and disadvantages of the embodiments.
[0131] Through the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment method can be realized by software and necessary general hardware platform, of course, it can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for making a terminal device (which can be a mobile phone, computer, server, air conditioner or network device) execute the method described in various embodiments of the present application.
[0132] The above is only the preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent flow transformation made by using the content of the specification and drawings, or directly or indirectly applied to other related technical fields, is also included in the patent protection scope of the present application.
Claims
1. A headset communication method, characterized in that: The method is applied to a first headset, wherein the first headset and a head-mounted device are respectively provided with physical contact points, the head-mounted device is a VR head-mounted device or an AR head-mounted device, and the head-mounted device is provided with a card slot for placing the first headset. When the first headset is placed in the card slot, the physical contact points of the first headset are in contact with the physical contact points of the head-mounted device. When the first headset is removed from the card slot, the physical contact points of the first headset are disconnected from the physical contact points of the head-mounted device. The method includes the following steps: receiving device information sent by the head-mounted device when the head-mounted device is communicatively connected with the head-mounted device through contact between the physical contact points, wherein, when the head-mounted device is communicatively connected with the first earphone through contact between the physical contact points and is not communicatively connected with the second earphone, detecting whether the state of only having contact communication connection with the first earphone continues for a certain period of time; if the certain period of time is reached, the head-mounted device sends its own Bluetooth information to the first earphone as device information; if the communication connection with the second earphone is detected before the certain period of time is reached, the head-mounted device obtains the Bluetooth information of the second earphone and the head-mounted device's own Bluetooth information as device information and sends them to the first earphone; when the head-mounted device establishes a Bluetooth communication connection with the second earphone, the device information includes the Bluetooth information of the second earphone; when the head-mounted device establishes a communication connection with the second earphone through contact between the physical contact points, the device information includes the head-mounted device's own Bluetooth information and the Bluetooth information of the second earphone; When the device information includes the Bluetooth information of the head-mounted device, establishing a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device; When the device information includes the Bluetooth information of the second headset, establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset; When the device information includes the Bluetooth information of the head-mounted device and the Bluetooth information of the second earphone, it is determined whether to establish a Bluetooth communication connection with one or both of the head-mounted device and the second earphone based on the current scenario, wherein the Bluetooth information of the second earphone in the device information is obtained when the head-mounted device and the second earphone are communicated with each other.
2. The headset communication method according to claim 1, wherein: When the device information includes the Bluetooth information of the head-mounted device and the Bluetooth information of the second earphone, the step of determining whether to establish a Bluetooth communication connection with one or both of the head-mounted device and the second earphone according to the current scene includes: establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information; When the first earphone is determined to be the primary earphone based on the Bluetooth communication connection negotiation with the second earphone, a Bluetooth communication connection is established with the head-mounted device based on the Bluetooth information of the head-mounted device in the device information.
3. The headset communication method according to claim 1, wherein: The method further comprises: When the first headset is in communication with the head mounted device through contact between the physical contact points, obtaining Bluetooth information of the first headset; The Bluetooth information of the first earphone is sent to the head-mounted device so that the head-mounted device establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone, and / or the head-mounted device sends the Bluetooth information of the first earphone to the second earphone when communicating with the second earphone, so that the second earphone establishes a Bluetooth communication connection with the first earphone based on the Bluetooth information of the first earphone.
4. The headset communication method according to any one of claims 1 to 3, wherein: The step of establishing a Bluetooth communication connection with the second headset based on the Bluetooth information of the second headset in the device information includes: determining whether the second headset is a paired headset according to the Bluetooth information of the second headset in the device information; If the second headset is a paired headset, obtaining pairing information corresponding to the second headset, and establishing a Bluetooth communication connection with the second headset based on the pairing information; If the second headset is an unpaired headset, a Bluetooth communication connection is established after pairing with the second headset according to the Bluetooth information of the second headset.
5. A headset communication method, characterized in that: The method is applied to a head-mounted device, wherein the head-mounted device and a first earphone are respectively provided with physical contact points, and the head-mounted device is a VR head-mounted device or an AR head-mounted device. The head-mounted device is provided with a card slot for placing the first earphone. When the first earphone is placed in the card slot, the physical contact point of the first earphone contacts the physical contact point of the head-mounted device. When the first earphone is removed from the card slot, the physical contact point of the first earphone is disconnected from the physical contact point of the head-mounted device. The method includes the following steps: When the head-mounted device is communicatively connected with the first earphone through contact between the physical contact points, device information is obtained, wherein, when the head-mounted device is communicatively connected with the first earphone through contact between the physical contact points and is not communicatively connected with the second earphone, whether the state of only having contact communication connection with the first earphone continues for a certain period of time is detected; if the certain period of time is reached, the head-mounted device sends its own Bluetooth information to the first earphone as device information; if the communication connection with the second earphone is detected before the certain period of time is reached, the head-mounted device obtains the Bluetooth information of the second earphone and the head-mounted device's own Bluetooth information as device information and sends them to the first earphone; when the head-mounted device establishes a Bluetooth communication connection with the second earphone, the device information includes the Bluetooth information of the second earphone; when the head-mounted device establishes a communication connection with the second earphone through contact between the physical contact points, the device information includes the head-mounted device's own Bluetooth information and the Bluetooth information of the second earphone; The device information is sent to the first earphone so that the first earphone establishes a Bluetooth communication connection with the head-mounted device based on the Bluetooth information of the head-mounted device when the device information includes the Bluetooth information of the head-mounted device; establishes a Bluetooth communication connection with the second earphone based on the Bluetooth information of the second earphone when the device information includes the Bluetooth information of the second earphone; and determines to establish a Bluetooth communication connection with one or both of the head-mounted device and the second earphone according to the current scenario when the device information includes the Bluetooth information of the head-mounted device and the Bluetooth information of the second earphone, wherein the Bluetooth information of the second earphone in the device information is obtained when the head-mounted device is communicatively connected with the second earphone.
6. The headset communication method according to claim 5, wherein: The method further comprises: When the communication connection with the first headset is established through the contact between the physical contact points, receiving Bluetooth information of the first headset sent by the first headset; Establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset, and / or when communicating with the second headset, send the Bluetooth information of the first headset to the second headset, so that the second headset can establish a Bluetooth communication connection with the first headset based on the Bluetooth information of the first headset.
7. The headset communication method according to claim 5, wherein: When the communication connection with the first headset is established through the contact between the physical contact points, the step of acquiring device information includes: When the communication connection with the first headset is established through the contact between the physical contact points, determining whether a Bluetooth communication connection has been established with the second headset; If a Bluetooth communication connection has been established with the second headset, Bluetooth information of the second headset is obtained as the device information.
8. The headset communication method according to claim 7, wherein: The second earphone is provided with the physical contact points, and after the step of determining whether a Bluetooth communication connection has been established with the second earphone when the second earphone is communicatively connected with the first earphone through contact between the physical contact points, the method further includes: If a Bluetooth communication connection is not established with the second headset, determining whether a contact communication connection is established with the second headset through the physical contact points; If the second headset is already connected to the second headset through contact communication between the physical contact points, obtaining Bluetooth information of the second headset and Bluetooth information of the head mounted device as the device information; If the second earphone is not connected through the contact communication between the physical contact points, Bluetooth information of the head mounted device is obtained as the device information.
9. A headset communication device, characterized in that: The headset communication device includes: a memory, a processor, and a headset communication program stored in the memory and executable on the processor. When the headset communication program is executed by the processor, the steps of the headset communication method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a headset communication program, which, when executed by a processor, implements the steps of the headset communication method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Bluetooth headset pairing method and charging base
CN110430502A
Head-mounted wireless earphone, wireless earphone and wireless communication system
CN110677923A
Sharing method and audio output equipment
CN111586662A