CN113905309B - Wireless connection switching method and wireless component - Google Patents

Wireless connection switching method and wireless component Download PDF

Info

Publication number
CN113905309B
CN113905309B CN202110940426.5A CN202110940426A CN113905309B CN 113905309 B CN113905309 B CN 113905309B CN 202110940426 A CN202110940426 A CN 202110940426A CN 113905309 B CN113905309 B CN 113905309B
Authority
CN
China
Prior art keywords
wireless
bluetooth headset
sound source
communication mode
source equipment
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.)
Active
Application number
CN202110940426.5A
Other languages
Chinese (zh)
Other versions
CN113905309A (en
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.)
Jiangxi Chuangcheng Microelectronics Co ltd
Original Assignee
Jiangxi Chuangcheng Microelectronics 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 Jiangxi Chuangcheng Microelectronics Co ltd filed Critical Jiangxi Chuangcheng Microelectronics Co ltd
Priority to CN202110940426.5A priority Critical patent/CN113905309B/en
Publication of CN113905309A publication Critical patent/CN113905309A/en
Application granted granted Critical
Publication of CN113905309B publication Critical patent/CN113905309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R3/00Circuits for transducers, loudspeakers or microphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • H04L1/0025Transmission of mode-switching indication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04RLOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
    • H04R1/00Details of transducers, loudspeakers or microphones
    • H04R1/10Earpieces; Attachments therefor ; Earphones; Monophonic headphones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a wireless connection switching method and a wireless component, wherein the wireless connection switching method is applied to the wireless component and comprises the following steps: when the Bluetooth headset works in the first communication mode and is in wireless connection with the sound source equipment, the Bluetooth headset sends the identity of the Bluetooth headset to the sound source equipment, and when the wireless adapter is connected to an external interface of the sound source equipment, the wireless adapter sends the identity of the Bluetooth headset to the sound source equipment; when the Bluetooth headset works in the first communication mode and receives the mode switching instruction sent by the sound source equipment, the Bluetooth headset is switched from the first communication mode to the second communication mode; the Bluetooth headset establishes wireless connection with the wireless adapter in the second communication mode. The invention can reduce the operation of users and improve the convenience of use.

Description

Wireless connection switching method and wireless component
Technical Field
The present invention relates to the field of bluetooth technologies, and in particular, to a wireless connection switching method and a wireless component.
Background
At present, bluetooth audio products are widely popularized in daily life and work of people, and particularly Bluetooth headphones are used and popularized, so that the audio playing is well bound by a traditional wire, and user experience is greatly improved.
In order to reduce transmission delay, some existing bluetooth headsets also have a private communication protocol and are equipped with a wireless adapter (wireless transceiver), and the wireless adapter can be connected to an external interface (such as a USB interface) of the sound source device, so that the sound source device can perform audio transmission with the bluetooth headsets through the wireless adapter, and meanwhile, because the wireless connection is established between the wireless adapter and the bluetooth headsets by adopting the private communication protocol, smaller transmission delay can be realized.
However, with the bluetooth headset having both the bluetooth standard communication protocol and the private communication protocol at present, a user is generally required to manually operate to switch the wireless connection object (for example, the connection object is switched from the audio source device to the wireless adapter), which brings inconvenience to the user during the use process.
Disclosure of Invention
Based on the above-mentioned current situation, the main objective of the present invention is to provide a wireless connection switching method and a wireless component, which are convenient for users to switch wireless connection objects for bluetooth headsets having both bluetooth standard communication protocols and proprietary communication protocols.
In order to achieve the above object, the present invention provides a wireless connection switching method, which is applied to a wireless component, where the wireless component includes a bluetooth headset and a wireless adapter, the bluetooth headset has a first communication mode and a second communication mode, and is switchable between the first communication mode and the second communication mode, the first communication mode adopts a bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol, and the method includes:
S110: when the Bluetooth headset works in the first communication mode and is in wireless connection with the sound source equipment, the Bluetooth headset sends an identity of the Bluetooth headset to the sound source equipment, and when the wireless adapter is connected with an external interface of the sound source equipment, the wireless adapter sends the identity of the Bluetooth headset to the sound source equipment, so that the sound source equipment can send a mode switching instruction to the Bluetooth headset when detecting that the Bluetooth headset is in wireless connection with the Bluetooth headset according to acquired wireless component information and the wireless adapter is connected with the external interface of the Bluetooth headset, wherein the wireless component information comprises an association relation between the identity of the Bluetooth headset and the identity of the wireless adapter;
S120: when the Bluetooth headset works in the first communication mode and receives the mode switching instruction sent by the sound source equipment, the Bluetooth headset is switched from the first communication mode to the second communication mode;
s130: the Bluetooth headset establishes wireless connection with the wireless adapter in the second communication mode, so that the sound source equipment transmits audio signals to the Bluetooth headset through the wireless adapter and/or the Bluetooth headset transmits audio signals to the sound source equipment through the wireless adapter.
Further, the step S110 further includes:
When the Bluetooth headset works in the first communication mode and is in wireless connection with the sound source equipment, the Bluetooth headset also sends the wireless component information to the sound source equipment.
Further, the step S110 further includes:
when the wireless adapter is connected to the external interface of the sound source equipment, the wireless adapter also sends the wireless component information to the sound source equipment.
Further, the S130 includes:
the Bluetooth headset detects the wireless signal of the wireless adapter in the second communication mode, and sends a wireless connection request to the wireless adapter after detecting the wireless signal of the wireless adapter;
and the wireless adapter establishes wireless connection with the Bluetooth headset after receiving the wireless connection request.
Further, the S130 includes:
The wireless adapter detects the wireless signal of the Bluetooth headset, and sends a wireless connection request to the Bluetooth headset after detecting the wireless signal of the Bluetooth headset;
And the Bluetooth headset establishes wireless connection with the wireless adapter after receiving the wireless connection request in the second communication mode.
Further, the method further comprises:
And if the Bluetooth headset does not detect the wireless signal of the wireless adapter in the second communication mode and the duration time of the wireless signal reaches the preset time, the Bluetooth headset is switched from the second communication mode to the first communication mode.
Further, the wireless adapter includes a key, the method further comprising:
the wireless adapter starts or closes the wireless communication function according to the output instruction of the key.
In order to achieve the above object, the present invention further provides a wireless connection switching method, which is applied to a sound source device, and the method includes:
S210: the sound source equipment detects whether the sound source equipment is connected with a Bluetooth headset in a wireless component in a wireless mode or not and whether an external interface of the sound source equipment is connected with a wireless adapter in the wireless component or not according to the acquired wireless component information, wherein the wireless component information comprises an association relationship between an identity of the Bluetooth headset and an identity of the wireless adapter;
S220: when the sound source equipment detects that the sound source equipment is connected with the Bluetooth earphone in a wireless mode and an external interface of the sound source equipment is connected with the wireless adapter, a mode switching instruction is sent to the Bluetooth earphone, so that the Bluetooth earphone is switched from a current first communication mode to a second communication mode, wireless connection is established between the Bluetooth earphone and the wireless adapter in the second communication mode, the sound source equipment transmits audio signals to the Bluetooth earphone through the wireless adapter and/or the Bluetooth earphone transmits audio signals to the sound source equipment through the wireless adapter, wherein the first communication mode adopts a Bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol.
Further, before the step S210, the method further includes:
when the sound source equipment is in wireless connection with the Bluetooth headset, the sound source equipment acquires the wireless component information sent by the Bluetooth headset.
Further, before the step S210, the method further includes:
When the wireless adapter is connected to the external interface of the sound source equipment, the sound source equipment acquires the wireless component information sent by the wireless adapter.
In order to achieve the above object, the present invention further provides a wireless component, including a bluetooth headset and a wireless adapter, where the bluetooth headset includes a first processing module, the first processing module has a first communication mode and a second communication mode and is switchable between the first communication mode and the second communication mode, the first communication mode adopts a bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol;
The wireless adapter comprises a data interface and a second processing module, wherein the second processing module has a wireless communication function based on a private communication protocol, and the data interface is used for accessing an external interface of the sound source equipment;
and the first processing module and the second processing module can execute the wireless connection switching method applied to the wireless component.
Further, the wireless adapter further comprises a key, and the second processing module is further configured to turn on or off the wireless communication function of the wireless adapter according to an output instruction of the key.
Further, the first processing module includes a bluetooth chip having the first communication mode and the second communication mode and being switchable between the first communication mode and the second communication mode.
In order to achieve the above object, the present invention further provides a sound source device, which includes a processing module, where the processing module is capable of executing the above method for switching wireless connection applied to the sound source device.
In order to achieve the above object, the present invention further provides an audio system, which includes the above wireless component and the above sound source device.
In order to achieve the above object, the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the above-mentioned wireless connection switching method applied to a wireless component or the above-mentioned wireless connection switching method applied to an audio source device.
According to the wireless connection switching method provided by the invention, the Bluetooth headset in the wireless component sends the self identity to the sound source device when being in wireless connection with the sound source device, and the wireless adapter in the wireless component sends the self identity to the sound source device through the external interface when being connected to the external interface of the sound source device, so that the sound source device can automatically control the Bluetooth headset to be switched from the first communication mode to the second communication mode when detecting that the sound source device is in wireless connection with the Bluetooth headset and simultaneously the self external interface is connected to the wireless adapter, the Bluetooth headset is switched from the current first communication mode to the second communication mode when receiving the mode switching instruction, and then wireless connection with the wireless adapter can be established under the second communication mode.
Drawings
Hereinafter, preferred embodiments according to the present application will be described with reference to the accompanying drawings. In the figure:
Fig. 1 is a flowchart of a wireless connection switching method according to an embodiment of the present invention;
Fig. 2 is a flowchart of another wireless connection switching method according to an embodiment of the present invention.
Detailed Description
The present application is described below based on examples, but the present application is not limited to only these examples. In the following detailed description of the present application, certain specific details are set forth in order to avoid obscuring the present application, and in order to avoid obscuring the present application, well-known methods, procedures, flows, and components are not presented in detail.
Moreover, those of ordinary skill in the art will appreciate that the drawings are provided herein for illustrative purposes and that the drawings are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description and the claims, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, it is the meaning of "including but not limited to".
In the description of the present application, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Furthermore, in the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
Referring to fig. 1, fig. 1 is a flowchart of a wireless connection switching method provided in an embodiment of the present invention, where the wireless connection switching method is applied to a wireless component, the wireless component includes a bluetooth headset and a wireless adapter (wireless transceiver), the bluetooth headset has a first communication mode and a second communication mode, and is switchable between the first communication mode and the second communication mode, the first communication mode adopts a bluetooth standard communication protocol, the second communication mode adopts a private communication protocol, the wireless adapter includes a data interface and has a wireless communication function based on the private communication protocol, and is capable of establishing a wireless connection with the bluetooth headset operating in the second communication mode, and the data interface of the bluetooth headset is used for accessing an external interface of an audio source device, and the wireless connection switching method includes:
S110: when the Bluetooth headset works in the first communication mode and is in wireless connection (Bluetooth connection) with the sound source equipment, the Bluetooth headset sends the identity of the Bluetooth headset to the sound source equipment, and when the wireless adapter is connected with an external interface of the sound source equipment, the wireless adapter sends the identity of the Bluetooth headset to the sound source equipment, so that the sound source equipment sends a mode switching instruction to the Bluetooth headset when detecting that the Bluetooth headset is in wireless connection with the Bluetooth headset according to acquired wireless component information and the external interface of the Bluetooth headset is connected with the wireless adapter, wherein the wireless component information comprises the association relationship between the identity of the Bluetooth headset and the identity of the wireless adapter.
The identity is information for identifying the identity of the device, for example, the identity can be a hardware communication address (such as a wireless communication address), or can be information such as an identity identifier, etc., not only the identity of the bluetooth headset and the wireless adapter in the same wireless component are respectively stored, but also the identity of the other party is mutually stored, that is, the bluetooth headset stores not only the identity of the bluetooth headset but also the identity of the wireless adapter associated with the bluetooth headset, and the wireless adapter stores not only the identity of the bluetooth headset but also the identity of the bluetooth headset associated with the bluetooth headset, and specifically, both the bluetooth headset and the wireless adapter can store the wireless component information of the wireless component.
The data interface of the wireless adapter may be a USB interface, for example, a USB TYPE-C interface, a Micro USB interface, or a lighting interface, and when the data interface of the wireless adapter is inserted into an external interface of the audio device, the identity of the other party may be identified through an enumeration operation between the audio device and the wireless adapter, and the wireless adapter may send its identity to the audio device.
S120: when the Bluetooth headset works in the first communication mode and receives the mode switching instruction sent by the sound source equipment, the Bluetooth headset is switched from the first communication mode to the second communication mode.
S130: the Bluetooth headset establishes wireless connection with the wireless adapter in the second communication mode, so that the sound source equipment transmits audio signals to the Bluetooth headset through the wireless adapter and/or the Bluetooth headset transmits audio signals to the sound source equipment through the wireless adapter.
After the wireless connection is established between the Bluetooth headset and the wireless adapter connected with the external interface of the sound source equipment, the Bluetooth headset and the sound source equipment can be subjected to audio transmission through the wireless adapter, namely, the sound source equipment can transmit audio data to the wireless adapter through the external interface of the Bluetooth headset, the wireless adapter can transmit the audio data to the Bluetooth headset through the wireless connection after correspondingly processing the audio data, or the audio data (such as audio collected by a microphone on the Bluetooth headset) of the Bluetooth headset can be transmitted to the wireless adapter, the wireless adapter can transmit the audio data to the external interface of the sound source equipment after correspondingly processing the audio data, and then the audio data is transmitted to the sound source equipment.
According to the wireless connection switching method provided by the embodiment of the invention, when the Bluetooth headset in the wireless component is in wireless connection with the sound source equipment, the self identity is sent to the sound source equipment through the external interface when the wireless adapter in the wireless component is connected with the external interface of the sound source equipment, so that the sound source equipment can automatically control the Bluetooth headset to be switched from the first communication mode to the second communication mode when detecting that the Bluetooth headset is in wireless connection with the wireless adapter and simultaneously send a mode switching instruction to the Bluetooth headset when the Bluetooth headset is connected with the external interface of the wireless adapter, the Bluetooth headset is switched from the current first communication mode to the second communication mode when receiving the mode switching instruction, and then wireless connection with the wireless adapter can be established under the second communication mode.
In this embodiment, the private communication protocol is different from the bluetooth standard communication protocol, and compared with the bluetooth standard communication protocol, the private protocol can reduce fields of a frame header and a frame tail, so that overhead of the protocol can be reduced, smaller transmission delay is realized, and the private communication protocol in this embodiment can adopt the existing private communication protocol.
The audio device in this embodiment may be a mobile phone, a tablet computer, a notebook computer or a desktop computer, the wireless component information of the wireless component includes an identity of a bluetooth headset in the wireless component, an identity of a wireless adapter and an association relationship between the two, the audio device may acquire the wireless component information in different manners, for example, the audio device may acquire and store the wireless component information of the wireless component by scanning a two-dimensional code, in addition, a user may input the wireless component information of the wireless component into the audio device by manually inputting the wireless component information of the wireless component, specifically, the audio device may install a corresponding APP, and the user may implement different operations through the APP;
preferably, in an embodiment, the bluetooth headset stores wireless component information of the wireless component in advance, and the S110 further includes:
When the Bluetooth headset works in the first communication mode and is in wireless connection with the sound source equipment, the Bluetooth headset also transmits the wireless component information to the sound source equipment. The wireless component information of the wireless component is sent to the sound source equipment through the Bluetooth headset, the identification of the sound source equipment to the wireless component is achieved, specifically, when the Bluetooth headset working in a first communication mode is in wireless connection with the sound source equipment, the Bluetooth headset sends prestored wireless component information to the sound source equipment through wireless connection, when the sound source equipment detects that the Bluetooth headset is in wireless connection with the sound source equipment according to the wireless component information and an external interface of the sound source equipment is connected to the wireless adapter, the sound source equipment sends a mode switching instruction to the Bluetooth headset through wireless connection with the Bluetooth headset, and the Bluetooth headset controls the Bluetooth headset to be switched to a second communication mode from the first communication mode when receiving the mode switching instruction, so that wireless connection with the sound source equipment is disconnected, and a wireless connection object can be switched to the wireless adapter.
In addition, in another embodiment, the wireless component information of the wireless component is pre-stored in the wireless adapter, and the S110 further includes:
When the wireless adapter is connected to the external interface of the sound source equipment, the wireless adapter also transmits the wireless component information to the sound source equipment. The wireless component information of the wireless component is sent to the sound source equipment through the wireless adapter, the recognition of the sound source equipment to the wireless component is achieved, specifically, when a data interface of the wireless adapter is connected with an external interface of the sound source equipment, the wireless adapter is communicated with the sound source equipment through the data interface, the wireless adapter sends the wireless component information of the wireless component to the sound source equipment, when the sound source equipment detects that the sound source equipment is connected with the Bluetooth headset in a wireless mode according to the wireless component information and simultaneously the external interface of the sound source equipment is connected with the wireless adapter, the sound source equipment sends a mode switching instruction to the Bluetooth headset through wireless connection with the Bluetooth headset, and the Bluetooth headset controls the Bluetooth headset to be switched to a second communication mode from a first communication mode when receiving the mode switching instruction, so that wireless connection with the sound source equipment is disconnected, and a wireless connection object can be switched to the wireless adapter.
When the bluetooth headset switches to the second communication mode, it may establish a wireless connection with the wireless adapter based on a private communication protocol, for example, in an embodiment of the present invention, the wireless connection with the wireless adapter may be implemented by using the bluetooth headset to send a connection request, and the S130 may specifically include:
The Bluetooth headset detects the wireless signal of the wireless adapter in the second communication mode, and sends a wireless connection request to the wireless adapter after detecting the wireless signal of the wireless adapter; and the wireless adapter establishes wireless connection with the Bluetooth headset after receiving the wireless connection request.
Specifically, wireless communication addresses of the other party can be stored between the Bluetooth headset and the wireless adapter, when the Bluetooth headset is switched to the second communication mode, wireless signals of the wireless adapter can be detected according to the wireless communication addresses of the pre-stored wireless adapter, when the wireless signals of the wireless adapter are detected, wireless connection requests are sent to the wireless adapter, and when the wireless adapter detects the wireless connection requests sent by the Bluetooth headset according to the wireless communication addresses of the pre-stored Bluetooth headset, wireless connection is established between the wireless adapter and the wireless adapter.
In addition, in another embodiment of the present invention, the wireless connection with the bluetooth headset may be implemented by sending a connection request by using the wireless adapter, and the S130 may specifically include:
The wireless adapter detects the wireless signal of the Bluetooth headset, and sends a wireless connection request to the Bluetooth headset after detecting the wireless signal of the Bluetooth headset; and the Bluetooth headset establishes wireless connection with the wireless adapter after receiving the wireless connection request in the second communication mode.
Specifically, wireless communication addresses of the other parties can be stored between the Bluetooth headset and the wireless adapter, when the wireless adapter starts the wireless communication function of the wireless adapter, wireless signals of the Bluetooth headset can be detected according to the wireless communication addresses of the Bluetooth headset, when the wireless signals of the Bluetooth headset are detected, wireless connection requests are sent to the Bluetooth headset, and when the Bluetooth headset detects the wireless connection requests sent by the wireless adapter according to the wireless communication addresses of the wireless adapter, wireless connection is established between the wireless connection requests.
Preferably, in an embodiment, the wireless connection method in the embodiment of the present invention further includes:
And if the Bluetooth headset does not detect the wireless signal of the wireless adapter in the second communication mode and the duration time of the wireless signal reaches the preset time, the Bluetooth headset is switched from the second communication mode to the first communication mode. In the second communication mode, when the Bluetooth headset does not detect the wireless signal of the wireless adapter within a certain time, the current second communication mode can be automatically switched to the first communication mode, and then wireless connection between the Bluetooth headset and the sound source equipment can be realized.
For example, the wireless adapter adopts an external power supply mode, when the sound source equipment is plugged in, the sound source equipment supplies power, the wireless adapter can automatically start the wireless communication function of the wireless adapter after power supply is obtained, at the moment, the wireless adapter can establish wireless connection with the Bluetooth headset working in the second communication mode, when the wireless adapter is pulled out from an external interface of the sound source equipment, the wireless adapter loses power supply so as to automatically close the wireless communication function, the wireless connection between the wireless adapter and the Bluetooth headset is disconnected, when the Bluetooth headset does not detect a wireless signal of the wireless adapter in the second communication mode and the duration time of the wireless signal reaches the preset time, the Bluetooth headset is switched to the first communication mode by the current second communication mode, so that a wireless connection object can be automatically switched to the sound source equipment, and the convenience of use of a user is realized.
In addition, the wireless adapter can also adopt a self-powered mode, and further comprises a power supply battery and a key, and the wireless adapter can start or close the wireless communication function of the wireless adapter according to the output instruction of the key.
Referring to fig. 2, fig. 2 is a flowchart of another wireless connection switching method provided in an embodiment of the present invention, where the wireless connection switching method is applied to a sound source device, and the sound source device may be the above-mentioned sound source device, and the wireless connection switching method includes:
S210: the sound source equipment detects whether the sound source equipment is connected with a Bluetooth headset in a wireless component in a wireless mode or not and whether an external interface of the sound source equipment is connected with a wireless adapter in the wireless component or not according to the acquired wireless component information, wherein the wireless component information comprises an association relation between an identity of the Bluetooth headset and an identity of the wireless adapter;
S220: when the sound source equipment detects that the sound source equipment is connected with the Bluetooth earphone in a wireless mode and an external interface of the sound source equipment is connected with the wireless adapter, a mode switching instruction is sent to the Bluetooth earphone, so that the Bluetooth earphone is switched from a current first communication mode to a second communication mode, wireless connection is established between the Bluetooth earphone and the wireless adapter in the second communication mode, the sound source equipment transmits audio signals to the Bluetooth earphone through the wireless adapter and/or the Bluetooth earphone transmits audio signals to the sound source equipment through the wireless adapter, wherein the first communication mode adopts a Bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol.
According to the wireless connection switching method provided by the embodiment of the invention, the sound source equipment detects whether the sound source equipment is connected with the Bluetooth earphone in the wireless component in a wireless way or not and whether the external interface of the sound source equipment is connected with the wireless adapter in the wireless component or not according to the acquired wireless component information, and when the sound source equipment detects that the sound source equipment is connected with the Bluetooth earphone in a wireless way and the external interface of the sound source equipment is connected with the wireless adapter in a wireless way, a mode switching instruction is sent to the Bluetooth earphone, when the sound source equipment receives the mode switching instruction, the Bluetooth earphone is switched to a second communication mode from a current first communication mode, and then wireless connection between the Bluetooth earphone and the wireless adapter can be established in the second communication mode.
The sound source device can be a mobile phone, a tablet computer, a notebook computer or a desktop computer, the wireless component information of the wireless component comprises the identity of the Bluetooth headset in the wireless component, the identity of the wireless adapter and the association relation between the two, the sound source device can acquire the wireless component information in different modes, for example, the sound source device can acquire and store the wireless component information of the wireless component in a mode of scanning a two-dimensional code, and in addition, a user can input the wireless component information of the wireless component into the sound source device in a manual input mode.
Preferably, in an embodiment, before said S210, the method further comprises:
when the sound source equipment is in wireless connection with the Bluetooth headset, the sound source equipment acquires the wireless component information sent by the Bluetooth headset.
In another embodiment, before the step S210, the method further includes:
When the wireless adapter is connected to the external interface of the sound source equipment, the sound source equipment acquires the wireless component information sent by the wireless adapter.
The embodiment of the invention also provides a wireless assembly, which comprises a Bluetooth headset and a wireless adapter, wherein the Bluetooth headset comprises a first processing module, the first processing module is provided with a first communication mode and a second communication mode, the first communication mode and the second communication mode can be switched, the first communication mode adopts a Bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol;
The wireless adapter comprises a data interface and a second processing module, wherein the second processing module has a wireless communication function based on a private communication protocol, and the data interface is used for accessing an external interface of the sound source equipment;
and the first processing module and the second processing module can execute the wireless connection switching method applied to the wireless component.
The first processing module may be a chip or may include a plurality of chips; the second processing module may be a chip or may include a plurality of chips.
Preferably, in an embodiment, the wireless adapter further includes a key, and the second processing module is further configured to turn on or off its wireless communication function according to an output instruction of the key.
For example, in one embodiment, the first processing module includes a bluetooth chip having the first communication mode and the second communication mode and being switchable between the first communication mode and the second communication mode.
The embodiment of the invention also provides the sound source equipment, which comprises a processing module, wherein the processing module can execute the wireless connection switching method applied to the sound source equipment.
The embodiment of the invention also provides an audio system which comprises the wireless component and the sound source equipment.
The embodiment of the invention also provides a computer readable storage medium storing a computer program which when executed by a processor realizes the wireless connection switching method applied to the wireless component or the wireless connection switching method applied to the sound source device.
Those skilled in the art will appreciate that the above-described preferred embodiments can be freely combined and stacked without conflict.
It will be understood that the above-described embodiments are merely illustrative and not restrictive, and that all obvious or equivalent modifications and substitutions to the details given above may be made by those skilled in the art without departing from the underlying principles of the invention, are intended to be included within the scope of the appended claims.

Claims (12)

1. A wireless connection switching method applied to a wireless component, the wireless component comprising a bluetooth headset and a wireless adapter, the bluetooth headset having a first communication mode and a second communication mode and being switchable between the first communication mode and the second communication mode, the first communication mode employing a bluetooth standard communication protocol, the second communication mode employing a proprietary communication protocol, the method comprising:
S110: when the Bluetooth headset works in the first communication mode and is in wireless connection with the sound source equipment, the Bluetooth headset sends an identity of the Bluetooth headset to the sound source equipment, and when the wireless adapter is connected with an external interface of the sound source equipment, the wireless adapter sends the identity of the Bluetooth headset to the sound source equipment, so that the sound source equipment can send a mode switching instruction to the Bluetooth headset when detecting that the Bluetooth headset is in wireless connection with the Bluetooth headset according to acquired wireless component information and the wireless adapter is connected with the external interface of the Bluetooth headset, wherein the wireless component information comprises an association relation between the identity of the Bluetooth headset and the identity of the wireless adapter;
S120: when the Bluetooth headset works in the first communication mode and receives the mode switching instruction sent by the sound source equipment, the Bluetooth headset is switched from the first communication mode to the second communication mode;
s130: the Bluetooth headset establishes wireless connection with the wireless adapter in the second communication mode, so that the sound source equipment transmits audio signals to the Bluetooth headset through the wireless adapter and/or the Bluetooth headset transmits audio signals to the sound source equipment through the wireless adapter.
2. The method of claim 1, wherein S110 further comprises:
When the Bluetooth headset works in the first communication mode and is in wireless connection with the sound source equipment, the Bluetooth headset also sends the wireless component information to the sound source equipment.
3. The method of claim 1, wherein S110 further comprises:
when the wireless adapter is connected to the external interface of the sound source equipment, the wireless adapter also sends the wireless component information to the sound source equipment.
4. A method according to any one of claims 1-3, wherein S130 comprises:
the Bluetooth headset detects the wireless signal of the wireless adapter in the second communication mode, and sends a wireless connection request to the wireless adapter after detecting the wireless signal of the wireless adapter;
and the wireless adapter establishes wireless connection with the Bluetooth headset after receiving the wireless connection request.
5. A method according to any one of claims 1-3, wherein S130 comprises:
The wireless adapter detects the wireless signal of the Bluetooth headset, and sends a wireless connection request to the Bluetooth headset after detecting the wireless signal of the Bluetooth headset;
And the Bluetooth headset establishes wireless connection with the wireless adapter after receiving the wireless connection request in the second communication mode.
6. The method according to any one of claims 1-5, further comprising:
And if the Bluetooth headset does not detect the wireless signal of the wireless adapter in the second communication mode and the duration time of the wireless signal reaches the preset time, the Bluetooth headset is switched from the second communication mode to the first communication mode.
7. The method of any of claims 1-5, wherein the wireless adapter comprises a key, the method further comprising:
the wireless adapter starts or closes the wireless communication function according to the output instruction of the key.
8. A wireless connection switching method applied to a sound source device, the method comprising:
S210: the sound source equipment detects whether the sound source equipment is connected with a Bluetooth headset in a wireless component in a wireless mode or not and whether an external interface of the sound source equipment is connected with a wireless adapter in the wireless component or not according to the acquired wireless component information, wherein the wireless component information comprises an association relationship between an identity of the Bluetooth headset and an identity of the wireless adapter;
S220: when the sound source equipment detects that the sound source equipment is connected with the Bluetooth earphone in a wireless mode and an external interface of the sound source equipment is connected with the wireless adapter, a mode switching instruction is sent to the Bluetooth earphone, so that the Bluetooth earphone is switched from a current first communication mode to a second communication mode, wireless connection is established between the Bluetooth earphone and the wireless adapter in the second communication mode, the sound source equipment transmits audio signals to the Bluetooth earphone through the wireless adapter and/or the Bluetooth earphone transmits audio signals to the sound source equipment through the wireless adapter, wherein the first communication mode adopts a Bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol.
9. The method of claim 8, wherein prior to S210, the method further comprises:
when the sound source equipment is in wireless connection with the Bluetooth headset, the sound source equipment acquires the wireless component information sent by the Bluetooth headset.
10. The method of claim 8, wherein prior to S210, the method further comprises:
When the wireless adapter is connected to the external interface of the sound source equipment, the sound source equipment acquires the wireless component information sent by the wireless adapter.
11. A wireless assembly comprising a Bluetooth headset and a wireless adapter, wherein the Bluetooth headset comprises a first processing module, the first processing module has a first communication mode and a second communication mode and can be switched between the first communication mode and the second communication mode, the first communication mode adopts a Bluetooth standard communication protocol, and the second communication mode adopts a private communication protocol;
The wireless adapter comprises a data interface and a second processing module, wherein the second processing module has a wireless communication function based on a private communication protocol, and the data interface is used for accessing an external interface of the sound source equipment;
And the first processing module and the second processing module are capable of performing the method according to any of claims 1-7.
12. The wireless assembly of claim 11, wherein the wireless adapter further comprises a key, the second processing module further configured to turn on or off its wireless communication function based on an output instruction of the key.
CN202110940426.5A 2021-08-17 2021-08-17 Wireless connection switching method and wireless component Active CN113905309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110940426.5A CN113905309B (en) 2021-08-17 2021-08-17 Wireless connection switching method and wireless component

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110940426.5A CN113905309B (en) 2021-08-17 2021-08-17 Wireless connection switching method and wireless component

Publications (2)

Publication Number Publication Date
CN113905309A CN113905309A (en) 2022-01-07
CN113905309B true CN113905309B (en) 2024-04-26

Family

ID=79187571

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110940426.5A Active CN113905309B (en) 2021-08-17 2021-08-17 Wireless connection switching method and wireless component

Country Status (1)

Country Link
CN (1) CN113905309B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1377144A (en) * 2001-03-28 2002-10-30 国际商业机器公司 Bluetooth adaptor for infrared interface and communication method therefor
CN205754327U (en) * 2016-06-21 2016-11-30 深圳市丰景晟电子科技有限公司 A kind of multifunction blue tooth adapter
CN109890018A (en) * 2019-01-29 2019-06-14 深圳傲智天下信息科技有限公司 Blue-tooth transmission method, bluetooth transceiver and the computer readable storage medium of audio
CN211352414U (en) * 2020-01-14 2020-08-25 珠海市杰理科技股份有限公司 Bluetooth headset charging box and communication circuit, chip and audio playing system thereof
CN112511937A (en) * 2020-11-17 2021-03-16 歌尔科技有限公司 Bluetooth headset and use mode switching method of Bluetooth headset

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7269183B2 (en) * 2001-04-27 2007-09-11 Broadcom Corporation System and method for connecting bluetooth-enabled devices to a personal computer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1377144A (en) * 2001-03-28 2002-10-30 国际商业机器公司 Bluetooth adaptor for infrared interface and communication method therefor
CN205754327U (en) * 2016-06-21 2016-11-30 深圳市丰景晟电子科技有限公司 A kind of multifunction blue tooth adapter
CN109890018A (en) * 2019-01-29 2019-06-14 深圳傲智天下信息科技有限公司 Blue-tooth transmission method, bluetooth transceiver and the computer readable storage medium of audio
CN211352414U (en) * 2020-01-14 2020-08-25 珠海市杰理科技股份有限公司 Bluetooth headset charging box and communication circuit, chip and audio playing system thereof
CN112511937A (en) * 2020-11-17 2021-03-16 歌尔科技有限公司 Bluetooth headset and use mode switching method of Bluetooth headset

Also Published As

Publication number Publication date
CN113905309A (en) 2022-01-07

Similar Documents

Publication Publication Date Title
US11129218B2 (en) Bluetooth communication method and terminal
US11805350B2 (en) Point-to-multipoint data transmission method and device
JP5273214B2 (en) Near field communication device
CN108419226B (en) Method for connecting Bluetooth devices and Bluetooth devices
US10609538B2 (en) Method and device for identifying bluetooth headset voice source
EP3883259A1 (en) Audio data transmission method and device applied to monaural and binaural modes switching of tws earphone
KR20200139198A (en) Earphone wireless communication method, master earphone, slave earphone and earphone system
WO2020124581A1 (en) Audio data transmission method and electronic device
US8028111B2 (en) Radio communication apparatus, communication control method, and computer-readable program
CN111343622A (en) Bluetooth sound box synchronous playing method, device and system
US9106309B2 (en) Vehicular communication system, vehicular communication apparatus and portable terminal apparatus
WO2012142794A1 (en) Method for pairing bluetooth accessory with bluetooth device, and bluetooth accessory
KR20190065786A (en) Method for reconnecting bluetooth communication and apparatus using the same
JP2015144402A (en) On-vehicle device and on-vehicle device control method
US8041299B2 (en) Communication base system and method of using the same
CN105551491A (en) Voice recognition method and device
CN111971985A (en) Earphone pairing method, earphone control method, Bluetooth earphone accommodating device and medium
CN113905309B (en) Wireless connection switching method and wireless component
CN112866855A (en) Hearing aid method and system, earphone charging box and storage medium
KR101745910B1 (en) Bluetooth headset for mobile phone
CN113498045A (en) Communication equipment pairing connection method, communication terminal and device with storage function
WO2021233398A1 (en) Wireless audio system, wireless communication method, and device
CN111132108B (en) Information processing method and electronic equipment
CN112004218B (en) Bluetooth connection pairing method
JP2013062581A (en) Radio communication device, opposite device, and short-range wireless communication system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant