WO2023082448A1 - 耳机交互方法、耳机套件、耳机部件及存储介质 - Google Patents

耳机交互方法、耳机套件、耳机部件及存储介质 Download PDF

Info

Publication number
WO2023082448A1
WO2023082448A1 PCT/CN2021/143051 CN2021143051W WO2023082448A1 WO 2023082448 A1 WO2023082448 A1 WO 2023082448A1 CN 2021143051 W CN2021143051 W CN 2021143051W WO 2023082448 A1 WO2023082448 A1 WO 2023082448A1
Authority
WO
WIPO (PCT)
Prior art keywords
earphone
target
terminal
data transmission
transmission device
Prior art date
Application number
PCT/CN2021/143051
Other languages
English (en)
French (fr)
Inventor
邓俊鑫
周辉
张培祺
杨道宏
Original Assignee
新线科技有限公司
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 新线科技有限公司 filed Critical 新线科技有限公司
Publication of WO2023082448A1 publication Critical patent/WO2023082448A1/zh

Links

Images

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
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C11/00Receptacles for purposes not provided for in groups A45C1/00-A45C9/00
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • AHUMAN NECESSITIES
    • A45HAND OR TRAVELLING ARTICLES
    • A45CPURSES; LUGGAGE; HAND CARRIED BAGS
    • A45C11/00Receptacles for purposes not provided for in groups A45C1/00-A45C9/00
    • A45C2011/001Receptacles for purposes not provided for in groups A45C1/00-A45C9/00 for portable audio devices, e.g. headphones or MP3-players
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application belongs to the technical field of earphones, and in particular relates to an earphone interaction method, an earphone set, an earphone part and a storage medium.
  • Bluetooth headsets apply Bluetooth technology to hands-free headsets, allowing users to freely communicate in various ways without being tied to wires.
  • the Bluetooth headset is connected to the terminal, there is a certain distance between the Bluetooth headset and the terminal, and the user can realize command interaction with the terminal by touching the body of the Bluetooth headset.
  • the Bluetooth headset when the Bluetooth headset is worn on the user's ear, the Bluetooth headset is out of the user's sight, resulting in inaccurate user touch operations on the Bluetooth headset, resulting in inaccurate interaction between the Bluetooth headset and the terminal.
  • the embodiments of the present application provide an earphone interaction method, an earphone set, an earphone component, and a storage medium, so as to solve the problem of how to accurately realize the interaction between an earphone and a terminal in the prior art.
  • the first aspect of the embodiments of the present application provides a headset interaction method, which is applied to headsets, and the method includes:
  • the second aspect of the embodiment of the present application provides an earphone interaction method, which is applied to an earphone box, and the method includes:
  • the third aspect of the embodiments of the present application provides an earphone interaction method, which is applied to a data transmission device, and the method includes:
  • the fourth aspect of the embodiment of the present application provides an earphone set, including:
  • An earphone box configured to perform the steps of the earphone interaction method as described in the second aspect
  • a data transmission device configured to execute the steps of the earphone interaction method according to the third aspect.
  • the fifth aspect of the embodiment of the present application provides an earphone component, including a memory, a processor, and a computer program stored in the memory and operable on the processor.
  • the processor executes the computer program
  • the earphone component is made to implement the steps of the earphone interaction method described in the first aspect, or the steps of the earphone interaction method described in the second aspect, or the steps of the earphone interaction method described in the third aspect.
  • a sixth aspect of the embodiments of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the earphone component realizes the The steps of the earphone interaction method described above, or the steps of the earphone interaction method described in the second aspect, or the steps of the earphone interaction method described in the third aspect.
  • the beneficial effect of the embodiment of the present application compared with the prior art is: in the embodiment of the present application, after receiving the target command sent by the earphone box, the earphone transmits the target command to the target terminal to instruct the target terminal to follow the target command Execute the target processing action. Since the earphone box does not need to be worn, it usually falls within the user's line of sight. Therefore, the command interaction with the target terminal is realized through the target command sent by the earphone box, compared to the command interaction with the target terminal by touching the headset body worn by the user. In this way, the target terminal can be accurately controlled, and the convenience and accuracy of earphone interaction can be improved.
  • FIG. 1 is a first schematic diagram of an earphone interaction system provided by an embodiment of the present application
  • Fig. 2 is a second schematic diagram of the earphone interaction system provided by the embodiment of the present application.
  • Fig. 3 is a third schematic diagram of the earphone interaction system provided by the embodiment of the present application.
  • FIG. 4 is a schematic flowchart of the first implementation of the earphone interaction method provided by the embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a second implementation of the earphone interaction method provided by the embodiment of the present application.
  • Fig. 6 is a fourth schematic diagram of the earphone interaction system provided by the embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a third implementation of the earphone interaction method provided by the embodiment of the present application.
  • Fig. 8 is a first structural schematic diagram of an earphone interaction device provided by an embodiment of the present application.
  • Fig. 9 is a second structural schematic diagram of the earphone interaction device provided by the embodiment of the present application.
  • FIG. 10 is a schematic diagram of a third structure of an earphone interaction device provided by an embodiment of the present application.
  • Fig. 11 is a first schematic diagram of the earphone kit provided by the embodiment of the present application.
  • Fig. 12 is a second schematic diagram of the earphone kit provided by the embodiment of the present application.
  • Fig. 13 is a schematic diagram of an earphone component provided by an embodiment of the present application.
  • the Bluetooth headset when the Bluetooth headset is worn on the user's ear, the Bluetooth headset is out of the user's sight, resulting in inaccurate user touch operations on the Bluetooth headset, resulting in inaccurate interaction between the Bluetooth headset and the terminal.
  • an embodiment of the present application provides an earphone interaction method, which accurately realizes the interaction between the earphone box, the earphone, and the target terminal, and conveniently and accurately realizes the control of the target terminal.
  • the earphone box may include an earphone charging box or an earphone storage box.
  • the earphone charging box refers to a device that is matched with the earphone and can charge the earphone.
  • the earphone charging box can communicate with the earphone, such as a Bluetooth communication connection.
  • An earphone storage box refers to a device for accommodating an earphone, and the earphone storage box can communicate with the earphone, such as a Bluetooth communication connection.
  • a data transmission device refers to a device with a communication function.
  • the data transmission device may be a Universal Serial Bus (Universal Serial Bus, USB) transmitter.
  • USB Universal Serial Bus
  • a USB transmitter refers to a device that can be included in the headset kit and has a USB data and wireless data (Bluetooth data) conversion function.
  • the USB transmitter can be connected to the USB interface of the terminal to perform USB data communication with the terminal; at the same time, it can perform wireless data communication with the earphone, so that the USB data of the terminal and the wireless data of the earphone can be mutually converted to realize the communication between the terminal and the earphone.
  • indirect communication refers to a device that can be included in the headset kit and has a USB data and wireless data (Bluetooth data) conversion function.
  • the USB transmitter can be connected to the USB interface of the terminal to perform USB data communication with the terminal; at the same time, it can perform wireless data communication with the earphone, so that the USB data of the terminal and the wireless data of the earphone can be mutually converted to realize the communication between the terminal and the earphone. indirect communication.
  • the classic Bluetooth mode refers to the Bluetooth mode in the Bluetooth 3.0 version and below, based on the basic rate and enhanced rate (Basic Rate/Enhanced Data Rate, BR/EDR) radio frequency working in the 2.4GHz frequency band.
  • the command and data interaction can be realized based on the Bluetooth serial port protocol (Serial Port Profile, SPP); it can be based on the Advanced Audio Distribution Profile (A2DP) or the Bluetooth Hands-free Profile (HPF) ) for audio data transmission.
  • SPP Serial Port Profile
  • A2DP Advanced Audio Distribution Profile
  • HPF Bluetooth Hands-free Profile
  • Bluetooth Low Energy (Bluetooth Low Energy, BLE) mode refers to the Bluetooth version 4.0 and above mode used to realize small data volume and low power consumption Bluetooth transmission.
  • the embodiment of the present application will be described by taking the earphone charging box as the earphone box as an example, and the corresponding embodiment of the earphone storage box can be deduced in the same way; meanwhile, the embodiment of the present application will be described by taking the USB transmitter as the data transmission device as an example.
  • the above-mentioned earphones and USB transmitters can both be equipped with dual-mode Bluetooth communication modules, so that the earphones and USB transmitters can perform Bluetooth data communication in a dual mode in which the classic Bluetooth mode and the low-power Bluetooth mode coexist.
  • the headset charging box that only needs to transmit control command data may only be equipped with a BLE communication module.
  • an earphone interaction system corresponding to the above earphone interaction method is shown in FIG. 1 .
  • the earphone interaction system includes an earphone set consisting of an earphone and an earphone charging box, and a target terminal that establishes direct or indirect communication with the earphone and can perform command and data interaction with the earphone.
  • the earphone and the earphone charging box can establish a Bluetooth communication connection.
  • the user can perform target operations on the headset charging box, generate target commands, and send the target commands to the headset; the headset receives the target commands and directly or indirectly transmits the target commands to the target terminal ; The target terminal executes a target processing action according to the target instruction, generates a target feedback result, and directly or indirectly returns the target feedback result to the earphone; the earphone receives and outputs the target feedback result.
  • an earphone interaction system corresponding to the earphone interaction method is shown in FIG. 2 .
  • the earphone interaction system includes an earphone set consisting of an earphone, an earphone charging box and a USB transmitter corresponding to the earphone.
  • the USB transmitter is connected to the first terminal, and the first terminal can be used as a target terminal to indirectly implement instruction and data interaction with the earphone through the USB transmitter.
  • the earphone charging box and the USB transmitter can respectively establish a Bluetooth communication connection with the earphone.
  • the user can perform target operations on the headset charging box, generate a target command, and send the target command to the headset.
  • the earphone receives the target command and sends it to the USB transmitter; the USB transmitter receives the target command and sends it to the target terminal; the target terminal executes the target processing action according to the target command, generates a target feedback result, and sends the target
  • the feedback result is returned to the USB transmitter; the USB transmitter receives the target feedback result and transmits it to the earphone; the earphone receives and outputs the target feedback result.
  • the headset interaction system further adds a second terminal capable of establishing a communication connection with the headset to the system as shown in FIG. 2 , as shown in FIG. 3 .
  • the earphone outputting the target feedback result may include sending the target feedback result to the second terminal.
  • Fig. 4 shows a schematic flow chart of the first earphone interaction method provided by the embodiment of the present application.
  • the earphone interaction method shown in Fig. 4 in the embodiment of the present application is applied to the earphone, and the details are as follows:
  • the earphone charging box establishes a communication connection with the earphone in advance.
  • a BLE connection can be realized between the earphone and the earphone charging box, and the earphone can receive the target instruction sent by the earphone charging box through the BLE mode.
  • the target instruction is an instruction for controlling the audio playback state of the target terminal, including instructions for controlling any function such as starting, stopping, volume up, and volume down of the audio playback.
  • the target instruction is an instruction for controlling the voice communication software of the target terminal to switch working states; Entry state, meeting end state, etc.
  • the target instruction is transmitted to the target terminal, so as to instruct the target terminal to execute a target processing action according to the target instruction.
  • the target terminal in the embodiment of the present application has directly or indirectly established a communication connection with the earphone in advance, and can directly or indirectly perform audio data transmission with the earphone.
  • the target terminal includes, but is not limited to, terminal devices such as desktop computers, notebook computers, tablet computers, all-in-one computers, and mobile phones.
  • the earphone After receiving the target instruction, the earphone directly or indirectly transmits the target instruction to the target terminal, so as to instruct the target terminal to execute the target processing action according to the target instruction.
  • the target instruction is an audio playback state control instruction
  • the target processing action is an instruction to switch the audio playback state of the target terminal.
  • the target instruction is an instruction for controlling the voice communication software of the target terminal to switch working states
  • the target processing action is an action of switching working states of the voice communication software.
  • the command interaction with the target terminal is realized through the target command sent by the earphone charging box.
  • the method of command interaction with the target terminal by the ontology can accurately control the target terminal and improve the convenience and accuracy of earphone interaction.
  • the earphone interaction method shown in FIG. 4 in the embodiment of the present application further includes:
  • the target feedback result is a feedback result obtained after the target terminal executes the target processing action
  • the target feedback result is the feedback result obtained after the target terminal executes the target processing action according to the target instruction, for example, it indicates that the audio playback status of the target terminal has been switched successfully or that the voice communication software working status of the target terminal has been switched successfully feedback results.
  • the earphone directly or indirectly receives the target feedback result sent by the target terminal.
  • the target feedback result is output to feed back to the user whether the current target instruction is executed successfully.
  • the earphone outputting the feedback result includes outputting information representing the target feedback result on the earphone body and/or sending the target feedback result to the earphone charging box for output.
  • outputting the target feedback result on the earphone body can output information representing the target feedback result through audio output or controlling the operation of the indicator light on the earphone body; outputting the target feedback result on the earphone charging box can be controlled by controlling the earphone charging box This is achieved by the way the lights on the LED work.
  • the target feedback result can be received and output after the target command is transmitted to the target terminal, the execution status of the target command can be fed back in time, and the accuracy of the earphone interaction method can be improved.
  • the earphone interaction method shown in FIG. 4 in the embodiment of the present application further includes:
  • the system corresponding to the earphone interaction method in the embodiment of the present application is the earphone interaction system shown in FIG. 2 .
  • the headset Before receiving the target command sent by the headset charging box, the headset first establishes a Bluetooth communication connection with the headset charging box through the BLE mode. Specifically, when the earphone is in the working state, if it detects the broadcast message sent by the earphone charging box, it will establish a BLE communication connection with the earphone charging box after the mutual identity confirmation with the earphone charging box, so that the earphone can be used later. Command data transmission with the headset charging box through the BLE bluetooth channel.
  • the headset can also automatically search for a USB transmitter.
  • a Bluetooth communication connection is established with the USB transmitter through the classic Bluetooth mode.
  • the USB transmitter in the working state refers to the state of being in the power-on state, connected to the USB interface of the first terminal, and establishing a USB communication connection with the first terminal.
  • audio data transmission can be performed based on the USB audio transmission protocol, and instruction data transmission can be performed based on the USB control transmission protocol.
  • the earphone and the USB transmitter After the earphone and the USB transmitter are connected through the classic Bluetooth mode, the earphone and the USB transmitter can perform audio data transmission based on A2DP, and command data transmission based on SPP. Combined with the USB-Bluetooth data conversion function of the USB transmitter, the earphone and the third Audio data transmission and command data transmission between terminals.
  • a Bluetooth communication connection is first established with the earphone charging box and the USB transmitter, so that the first terminal, the USB transmitter, the earphone, and the earphone charging box can be realized later. Interaction, so that when the first terminal does not have the bluetooth communication function or the bluetooth of the first terminal is relatively unstable, the interaction between the earphone and the first terminal can be accurately realized further by means of the USB transmitter.
  • the target terminal is a first terminal that has established a communication connection with the data transmission device, and correspondingly, the transmitting the target instruction to the target terminal includes:
  • the USB transmitter is connected to the USB interface of the first terminal, and establishes a USB communication connection with the first terminal.
  • the headset and the USB transmitter After the headset and the USB transmitter have established a Bluetooth communication connection in the classic Bluetooth mode, the headset can indirectly transmit audio data and some commands with the first terminal in the classic Bluetooth mode by means of the USB transmitter.
  • the first terminal may serve as the target terminal.
  • the earphone specifically sends the target command to the USB transmitter based on SPP, so that after the USB transmitter receives the target command, it converts the target command into the format of the USB control transmission protocol transmitted to the first terminal.
  • the earphone uses the USB transmitter to efficiently and accurately realize the interaction with the first terminal, improving the flexibility and accuracy of the earphone interaction.
  • the establishment of a Bluetooth communication connection with the earphone box through the low-power Bluetooth mode includes:
  • a Bluetooth communication connection is established with the earphone charging box in a master device state, and a Bluetooth communication connection is established with a second terminal in a slave device state.
  • the system corresponding to the earphone interaction method in the embodiment of the present application is the earphone interaction system shown in FIG. 3 .
  • the earphone in the embodiment of the present application can further establish a Bluetooth communication connection between the second terminal, so that it can receive instructions from the second terminal or send a message to the second terminal. Output the command control results of the earphone charging box, which is convenient for users or other managers to check.
  • the second terminal in this embodiment of the present application may be a mobile phone.
  • the Bluetooth communication connection between the earphone, the earphone charging box and the USB transmitter is a Bluetooth connection in BLE mode.
  • the headset since the second terminal as a terminal device is in the BLE mode and usually acts as a master device, the headset needs to establish a BLE communication connection with the second terminal in a slave device state.
  • the earphone charging box can be used as a slave device, therefore, the earphone can establish a BLE communication connection with the earphone charging box in the master device state.
  • the earphone when the earphone is in the working state, it broadcasts in the mode of master device status and slave device status polling in the Bluetooth low energy mode to establish a connection with other devices. Among them, the earphone actively searches for the device in the state of the master device. When the headphone charging box in the working state is found, the earphone sends a connection request to the earphone charging box in the state of the master device, and after both parties confirm their identities, establish a connection with the earphone charging box in the state of the master device. The BLE communication between the headset and the headset charging box is connected, and then the broadcast search work in the master device state is stopped. At the same time, the headset broadcasts its own slave device status message until it receives a connection request sent by the second terminal, and then connects after both parties confirm their identities, thereby establishing a BLE communication connection between the headset in slave device status and the second terminal.
  • the earphone since the earphone can establish a Bluetooth communication connection with the earphone charging box and the second terminal respectively through the master device state and the slave device state in the low-power bluetooth mode, it can flexibly and accurately realize the first terminal, The interaction between the USB transmitter, earphones, earphone charging box and the second terminal realizes richer earphone interaction functions.
  • the headset interaction methods also include:
  • the target feedback result is a feedback result obtained by the first terminal executing the target processing action
  • the target feedback result returned by the USB transmitter may be received.
  • the target feedback result is a feedback result obtained by the first terminal executing a corresponding target processing action according to the target instruction.
  • the earphone receives the target feedback result from the USB transmitter based on SPP in the classic Bluetooth mode, and the target feedback result is obtained from the target terminal by the USB transmitter based on the USB control transmission protocol.
  • the earphone After receiving the target feedback result, the earphone sends the target feedback result to the earphone charging box and/or the second terminal.
  • sending the target feedback result to the earphone charging box can instruct the earphone charging box to intuitively display the execution result of the current target command to the user through the indicator light.
  • Sending the target feedback result to the second terminal enables the user to visually view the current earphone interaction state through the second terminal (such as a mobile phone).
  • the target feedback result can be obtained from the USB transmitter after the target command is sent to the USB transmitter, and the target feedback result can be sent to the earphone charging box and/or the second terminal, it is possible to pass the earphone The charging box or the second terminal timely and accurately feeds back the execution result of the target instruction to the user or the manager.
  • the sending the target feedback result to the earphone box and/or the second terminal includes:
  • the earphone can switch between the state of the master device and the state of the slave device at a preset frequency.
  • the earphone can act as the master device and send the target feedback result to the earphone charging box through BLE.
  • the earphone can serve as the slave device and send the target feedback result to the second terminal through BLE.
  • the target feedback result can be efficiently sent to the earphone charging box and the second terminal, so as to timely feed back the target instruction execution result of the current target terminal to the user or manager.
  • the earphone interaction method shown in FIG. 4 in the embodiment of the present application further includes:
  • the first terminal when the USB transmitter stops working and the earphone cannot detect the working USB transmitter, the first terminal cannot indirectly perform audio data transmission with the earphone as the target terminal due to the stop of the USB transmitter.
  • the second terminal currently having a communication connection with the headset is automatically used as the target terminal.
  • a communication connection can be established with the second terminal through the classic Bluetooth mode, so that the second terminal can communicate with the headset through A2DP or HFP in the classic Bluetooth mode. Audio data transmission, thus becoming the target terminal.
  • a preset request command can be sent through the second terminal to request to occupy the audio data transmission channel of the earphone.
  • the headset receives the preset request command, disconnects the Bluetooth connection with the USB transmitter, and establishes a communication connection with the second terminal through the classic Bluetooth mode, so that the second terminal can communicate with the headset through A2DP or HFP in the classic Bluetooth mode. audio data transmission, and use the second device as the target terminal for subsequent interactive operations.
  • the headset can disconnect from the second terminal after re-detecting the working USB transmitter, or receiving a preset request command from the first terminal through the USB transmitter.
  • the communication connection in the classic bluetooth mode between them, and the communication connection in the classic bluetooth mode is established with the USB transmitter, and the first terminal is used as the target terminal.
  • the target terminal when the USB transmitter stops working, or after receiving the preset request command sent by the second terminal, the target terminal can be flexibly switched to the second terminal, thereby improving the flexibility and flexibility of earphone interaction. Convenience.
  • the receiving the target instruction sent by the earphone box corresponding to the earphone includes:
  • the transmitting the target instruction to the target terminal corresponding to the headset includes:
  • the command data transmission between the headset and the second terminal is realized through BLE, and the classic Bluetooth such as A2DP or HFP is used.
  • the protocol in the mode implements audio data transmission between the headset and the second terminal.
  • the headset can perform polling switching between the master device state and the slave device state at a preset frequency in the BLE mode.
  • the headset polls the status of the master device in BLE mode, it can act as the master device in the BLE channel and receive the target command sent by the headset charging box.
  • the headset polls the status of the slave device in BLE mode, it can act as a slave device in the BLE channel, and send the target instruction to the second terminal as the master device through the BLE channel.
  • the earphone can efficiently transmit instructions with the earphone charging box and the second terminal as the target terminal by switching between the master device state and the slave device state in BLE mode, so as to efficiently realize the earphone charging box, Command interaction between the headset and the target terminal.
  • Fig. 5 shows a schematic flow diagram of the second earphone interaction method provided by the embodiment of the present application.
  • the earphone interaction method shown in Fig. 5 in the embodiment of the present application is applied to the earphone box, for example, the earphone box is the earphone charging box .
  • the headset interaction method shown in Figure 5 is described in detail as follows:
  • a target operation is acquired, and a target instruction is generated according to the target operation.
  • the target operation may be the user's pressing operation on the button of the earphone charging box, or it may be the user's gesture operation on the touch position of the earphone charging box.
  • the corresponding target instruction is an audio playback state switching instruction (such as an instruction to switch between the mute state and the resume audio playback state); when the target operation is a double-click operation, the corresponding The target instruction is an instruction to instruct the target terminal to start screen projection; when the target operation is a triple-click operation, the corresponding target instruction is an instruction to request the target terminal to allow the microphone of the earphone to work so as to allow the user to speak.
  • the earphone charging box After acquiring the target operation, the earphone charging box can generate a target instruction corresponding to the target operation according to the target operation.
  • the earphone charging box has established a BLE communication connection with the earphone in advance.
  • sending the target command is sending the target command to the earphone through the BLE channel.
  • the target terminal at this time is the first terminal that indirectly realizes audio data transmission through the USB transmitter and the earphone
  • the target command can be finally transmitted to the target terminal.
  • the target terminal at this time is the second terminal that directly establishes a Bluetooth communication connection with the headset
  • the target command can be directly transmitted to the target terminal through the transmission link of "earphone charging box ⁇ headset ⁇ target terminal".
  • the earphone charging box cannot detect the earphone in the working state, and establishes a BLE communication connection with the USB transmitter in advance, and the USB transmitter is connected to the USB interface of the target terminal.
  • sending the target command specifically includes: sending the target command to the USB transmitter through the BLE channel, so as to instruct the USB transmitter to transmit the target command to the target terminal.
  • the earphone interaction system corresponding to this embodiment can be shown in Figure 6, where the earphone is located inside the earphone charging box and is in the charging state. At this time, the earphone is not working. The classic Bluetooth mode and BLE mode of the earphone are in a non-working state. At this time, the earphone charging box can be directly connected to the USB transmitter, so as to indirectly perform command interaction with the target terminal.
  • the target instruction After the target instruction is transmitted to the target terminal, it can instruct the target terminal to execute the target processing action.
  • the earphone charging box can generate a target command according to the target operation, and by sending the target command, accurately instruct the target terminal capable of audio data transmission with the earphone to perform the target processing action.
  • the mode of command interaction between the earphone body and the target terminal can improve the convenience and accuracy of the earphone interaction.
  • the earphone interaction method shown in FIG. 5 in the embodiment of the present application further includes:
  • the target feedback result is a feedback result obtained after the target terminal executes a target processing action according to the target instruction
  • the target feedback result returned by the earphone and/or the USB transmitter is received.
  • the target feedback result is the feedback result obtained after the target terminal executes the target processing action according to the target instruction sent by the earphone charging box.
  • the earphone charging box After receiving the target feedback result, the earphone charging box performs a corresponding feedback action according to the target feedback result.
  • the feedback action may be an action of turning on the indicator light on the earphone charging box. For example, if the target feedback result indicates that the target terminal successfully executes the target processing action, the indicator light on the earphone charging box can be controlled to perform a blue light action according to the target feedback result; if the target feedback result indicates that If the target terminal fails to execute the target processing action, it can control the indicator light on the earphone charging box to perform the red light action according to the target feedback result.
  • the feedback action may also include the action of resending the target command in addition to the action of turning on the red light, so as to transmit the target command to the target again Terminal, so that the target terminal can try to perform the target processing action again.
  • the earphone charging box can receive the target feedback result after sending the target command, and execute the corresponding feedback action according to the target feedback result, it can timely feed back the target command execution result of the current target terminal to the user .
  • the earphone interaction method shown in FIG. 5 in the embodiment of the present application further includes:
  • the device search is carried out with the master device status and the slave device status round-robin broadcast;
  • a Bluetooth communication connection is established with the data transmission device in the state of the master device.
  • the earphone when the earphone is charging and in BLE mode, it broadcasts its own status information through the master device status and slave device status polling to search for the earphone or USB transmitter.
  • the main device state and the USB transmitter establishes a BLE communication connection and continues to maintain the BLE slave device status broadcast.
  • the earphone charging box can establish a Bluetooth communication connection with the USB transmitter in the master device state when the USB transmitter is detected through the polling of the master device state and the slave device state, it can When in the working state, it can also communicate directly with the USB transmitter, flexibly realize the interaction between the earphone charging box, the USB transmitter, and the target terminal, and realize the control of the target terminal.
  • the method further includes:
  • a bluetooth communication connection is established with the earphone in the state of the slave device, and the bluetooth communication connection with the data transmission device is disconnected.
  • the BLE slave device status broadcast is still maintained. Afterwards, if the BLE slave device status broadcast of the earphone charging box is discovered by the BLE master device broadcast of the earphone that has entered the working state (for example, the earphone that has been taken out of the earphone charging box after charging), the earphone charging box and the earphone will be identified. , the earphone charging box performs BLE communication connection with the earphone in the state of the master device in the state of the slave device. Further, after the earphone charging box and the USB transmitter can respectively establish a Bluetooth communication connection with the earphone, disconnect the BLE communication connection between the earphone charging box and the USB transmitter.
  • the earphone charging box after the earphone charging box establishes a direct communication connection with the USB transmitter, when it detects the earphone in the working state, it can establish a Bluetooth communication connection with the earphone in the slave device state, so as to realize the connection between the earphone charging box and the earphone.
  • the interaction between them enriches the headset interaction function.
  • Fig. 7 shows a schematic flow chart of the third earphone interaction method provided by the embodiment of the present application.
  • the earphone interaction method shown in Fig. 7 in the embodiment of the present application is applied to a data transmission device.
  • the data transmission device is a USB launcher.
  • the headset interaction method shown in Figure 7 is described in detail as follows:
  • S701 a target instruction sent by an earphone or an earphone box corresponding to the data transmission device is received.
  • the USB transmitter can establish a Bluetooth communication connection with the earphone or the earphone charging box in advance. Afterwards, the target instruction sent by the headset or the headset charging box is received through Bluetooth communication.
  • the target instruction is transmitted to the target terminal, so as to instruct the target terminal to execute a target processing action according to the target instruction.
  • the USB transmitter in the embodiment of the present application is connected to the USB interface of the target terminal, and can interact with the target terminal based on the USB audio transmission protocol and the USB control transmission protocol.
  • the USB transmitter After receiving the target command, the USB transmitter transmits the target command to the target terminal based on the USB control transmission protocol, so as to instruct the target terminal to execute the target processing action according to the target command.
  • the USB transmitter can obtain the target command from the earphone or the earphone charging box, and transmit the target command to the target terminal to instruct the target terminal to perform the target processing action, the target terminal does not have the Bluetooth communication function or the target When the Bluetooth of the terminal is relatively unstable, the target terminal can be accurately controlled through the linkage interaction between the target terminal, USB transmitter, earphone, and earphone charging box.
  • the earphone interaction method shown in FIG. 7 in the embodiment of the present application further includes:
  • the target feedback result is a feedback result obtained by the target terminal executing the target processing action
  • the USB transmitter After transmitting the target instruction to the target terminal, the USB transmitter can receive the target feedback result transmitted by the target terminal and obtained after executing the target processing action through the USB interface and based on the USB control transmission protocol.
  • the USB transmitter After receiving the target feedback result, the USB transmitter transmits the target command to the earphone or the earphone charging box through Bluetooth communication, so that the earphone or the earphone charging box can timely feedback the execution of the target command to the user, improving The intelligence and accuracy of headset interaction,
  • the earphone interaction method shown in FIG. 7 in the embodiment of the present application further includes:
  • step S702 includes:
  • the USB transmitter before receiving the target instruction, can establish a BLE communication connection with the earphone charging box in Bluetooth low energy mode.
  • the first terminal after the USB transmitter is connected to the USB interface of the first terminal, the first terminal is used as the target terminal and enters the working state.
  • the USB transmitter that enters the working state broadcasts the status of the BLE slave device to the outside world.
  • mutual identity confirmation operations are performed with the earphone charging box.
  • the USB transmitter establishes a BLE communication connection with the earphone charging box as a slave device.
  • the USB transmitter may directly receive the target instruction sent by the earphone charging box.
  • the system corresponding to the earphone interaction method may be the earphone interaction system as shown in FIG. 6 .
  • the USB transmitter can directly establish a Bluetooth communication connection with the earphone charging box through the BLE slave device state, it can also directly communicate with the earphone charging box when the earphone is not in the working state, and flexibly implement the earphone charging box. Interaction between charging box, USB transmitter, and target terminal.
  • the earphone interaction method shown in FIG. 7 in the embodiment of the present application further includes:
  • step S702 includes:
  • the USB transmitter detects the Bluetooth connection request of the earphone before receiving the target instruction, it establishes a communication connection with the earphone through the classic Bluetooth mode, so that the USB transmitter subsequently communicates with the earphone through A2DP or HFP.
  • the earphone performs audio data transmission, and exchanges instruction data with the earphone through the SPP.
  • the USB transmitter may receive the target instruction sent by the earphone through SPP, and the target command is an instruction generated by the earphone charging box according to the target operation and sent to the earphone.
  • the system corresponding to the earphone interaction method may be the earphone interaction system as shown in FIG. 2 or FIG. 3 .
  • the USB transmitter can communicate with the earphone in the classic Bluetooth mode to realize the interaction between the target terminal, the USB transmitter, the earphone, and the earphone charging box, and flexibly realize the earphone interactive function.
  • Fig. 8 shows a schematic diagram of the first structure of the earphone interaction device provided by the embodiment of the present application.
  • the earphone interaction device shown in Fig. 8 in the embodiment of the present application is applied to the earphone.
  • the earphone interactive device applied to earphones shown hereafter is simply referred to as the first earphone interactive device.
  • the first earphone interactive device For ease of description, only the parts relevant to the embodiment of the present application are shown:
  • the first earphone interaction device includes: a first instruction receiving unit 81, a first instruction transmission unit 82:
  • the first instruction receiving unit 81 is configured to receive the target instruction sent by the earphone box.
  • the first instruction transmission unit 82 is configured to transmit the target instruction to the target terminal, so as to instruct the target terminal to execute a target processing action according to the target instruction.
  • the first earphone interaction device further includes:
  • the first result receiving unit is configured to receive a target feedback result; the target feedback result is a feedback result obtained by the target terminal executing the target processing action.
  • a first result output unit configured to output the target feedback result.
  • the first earphone interaction device further includes:
  • the first connection unit is configured to establish a Bluetooth communication connection with the earphone box through a low-power Bluetooth mode
  • the second connection unit is configured to establish a Bluetooth communication connection with the data transmission device through the classic Bluetooth mode if the data transmission device in working state is detected.
  • the target terminal is a first terminal that establishes a communication connection with the data transmission device, and correspondingly, the first instruction transmission
  • the unit 82 is specifically configured to transmit the target instruction to the data transmission device, so as to instruct the data transmission device to transmit the target command to the first terminal.
  • the first connection unit is specifically configured to establish a Bluetooth communication connection with the earphone box in a master device state, and establish a Bluetooth communication connection with the second terminal in a slave device state through a Bluetooth low energy consumption mode.
  • the first earphone interaction device further includes:
  • the second result receiving unit is configured to receive a target feedback result returned by the data transmission device;
  • the target feedback result is a feedback result obtained by the first terminal executing the target processing action;
  • a second result output unit configured to send the target feedback result to the earphone box and/or the second terminal.
  • the first earphone interaction device further includes:
  • the third connection unit is configured to establish a communication connection with the second terminal through the classic Bluetooth mode if it detects that the data transmission device has stopped working or receives a preset request instruction sent by the second terminal, And use the second terminal as the target terminal.
  • Fig. 9 shows a schematic diagram of the second structure of the earphone interaction device provided by the embodiment of the application.
  • the earphone interaction device shown in Fig. 9 in the embodiment of the application is applied to the earphone box.
  • Fig. 9 in the embodiment of the application The illustrated earphone interactive device applied to earphones is hereinafter referred to as the second earphone interactive device.
  • the second earphone interactive device For ease of description, only the parts relevant to the embodiment of the present application are shown:
  • the second earphone interaction device includes: a target command generating unit 91 and a target command sending unit 92 . in:
  • a target instruction generating unit 91 configured to acquire a target operation, and generate a target instruction according to the target operation
  • the target instruction sending unit 92 is configured to send the target instruction, so as to transmit the target instruction to the target terminal through the earphone and/or data transmission device corresponding to the earphone box, and instruct the target terminal to execute the target processing action.
  • the second earphone interaction device further includes:
  • a third result receiving unit configured to receive a target feedback result;
  • the target feedback result is a feedback result obtained by the target terminal executing the target processing action;
  • a feedback action executing unit configured to execute a feedback action according to the target feedback result.
  • the second earphone interaction device further includes:
  • the device search unit is used to perform device search in the low-power bluetooth mode with the master device status and the slave device status round-robin broadcast;
  • the fourth connection unit is configured to establish a bluetooth communication connection with the data transmission device in the state of the master device if the data transmission device in the working state is detected.
  • the second earphone interaction device further includes:
  • the fifth connection unit is configured to establish a bluetooth communication connection with the earphone in the state of the slave device and disconnect the bluetooth communication connection with the data transmission device if the earphone in the working state is detected.
  • Fig. 10 shows a schematic diagram of the third structure of the earphone interaction device provided by the embodiment of the present application.
  • the earphone interaction device shown in Fig. 10 in the embodiment of the present application is applied to the data transmission device.
  • the figure in the embodiment of the present application The earphone interactive device shown in 10 and applied to the data transmission device is hereinafter referred to as the third earphone interactive device for short.
  • the third earphone interactive device for short.
  • only the parts relevant to the embodiment of the present application are shown:
  • the third earphone interaction device includes: a second instruction receiving unit 101 and a second instruction transmitting unit 102 . in:
  • the second instruction receiving unit 101 is configured to receive the target instruction sent by the earphone or earphone box corresponding to the data transmission device.
  • the second instruction transmission unit 102 is configured to transmit the target instruction to the target terminal, so as to instruct the target terminal to execute a target processing action according to the target instruction.
  • the third earphone interaction device further includes:
  • a fourth result receiving unit configured to receive a target feedback result fed back by the target terminal; the target feedback result is a feedback result obtained by the target terminal executing the target processing action;
  • a result transmission unit configured to transmit the target feedback result to the earphone or the earphone box.
  • the third earphone interaction device further includes:
  • the sixth connection unit is used to establish a bluetooth communication connection with the earphone box in the slave device state of the bluetooth low power consumption mode
  • the second instruction receiving unit 102 is specifically configured to receive the target instruction sent by the earphone box corresponding to the data transmission device.
  • the third earphone interaction device further includes:
  • the seventh connection unit is used to establish a Bluetooth communication connection with the headset in a classic Bluetooth mode
  • the second instruction receiving unit 102 is specifically configured to receive the target instruction sent by the earphone corresponding to the data transmission device.
  • Fig. 11 shows a schematic diagram of the first structure of the earphone kit provided by the embodiment of the present application.
  • the headset kit includes a headset case and a data transmission unit.
  • the earphone box is used to execute the steps of the earphone interaction method described in the second embodiment
  • the data transmission device is used to execute the steps of the earphone interaction method described in the third embodiment.
  • Fig. 12 shows a second structural schematic view of the earphone set provided by the embodiment of the present application.
  • the earphone kit includes earphones, an earphone case and a data transmission device.
  • the earphone is used to execute the steps of the earphone interaction method described in Embodiment 1;
  • the earphone box is used to execute the steps of the earphone interaction method described in Embodiment 2;
  • the data transmission device is used to execute the steps of the earphone interaction method described in Embodiment 3 The steps of the earphone interaction method.
  • Fig. 13 is a schematic diagram of an earphone component provided by an embodiment of the present application.
  • the earphone component 13 of this embodiment includes: a processor 130 , a memory 131 , and a computer program 132 stored in the memory 131 and operable on the processor 130 , such as an earphone interaction program.
  • the processor 130 executes the computer program 132, the steps in the foregoing embodiments of the earphone interaction method are implemented.
  • the processor 130 executes the computer program 132, the functions of the modules/units in the foregoing device embodiments are realized.
  • the processor 130 executes the computer program 132 to implement steps S401 to S402 as shown in FIG. 4 , that is, to implement the steps in the earphone interaction method described in Embodiment 1.
  • the processor 130 executes the computer program 132, it realizes the functions of each unit in the first embodiment of the earphone interaction device, such as the functions of the first instruction receiving unit 81 to the first instruction transmission unit 82 shown in FIG. 8 .
  • the processor 130 executes the computer program 132 to implement steps S501 to S502 as shown in FIG. 5 , that is, to implement the steps in the earphone interaction method described in the second embodiment.
  • the processor 130 executes the computer program 132, it realizes the functions of the units in the second headphone interaction device embodiment, for example, the functions of the target command generating unit 91 to the target command sending unit 92 shown in FIG. 9 .
  • the processor 130 executes the computer program 132 to implement steps S701 to S702 as shown in FIG. 7, that is, to implement the steps in the earphone interaction method described in the third embodiment. .
  • the processor 130 executes the computer program 132, it realizes the functions of each unit in the third embodiment of the earphone interaction device, for example, the functions of the second instruction receiving unit 101 to the second instruction transmitting unit 102 shown in FIG. 10 .
  • the computer program 132 can be divided into one or more modules/units, and the one or more modules/units are stored in the memory 131 and executed by the processor 130 to complete this application.
  • the one or more modules/units may be a series of computer program instruction segments capable of accomplishing specific functions, and the instruction segments are used to describe the execution process of the computer program 132 in the earphone part 13 .
  • the earphone component may include, but not limited to, a processor 130 and a memory 131 .
  • FIG. 13 is only an example of the earphone part 13, and does not constitute a limitation to the earphone part 13. It may include more or less parts than shown in the figure, or combine certain parts, or different parts. .
  • the so-called processor 130 may be a central processing unit (Central Processing Unit, CPU), and may also be other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the memory 131 may be an internal storage unit of the earphone part 13, and the memory 131 is used to store the computer program and other programs and data required by the earphone part.
  • the memory 131 can also be used to temporarily store data that has been output or will be output.
  • the disclosed device/earphone component and method may be implemented in other ways.
  • the device/earphone component embodiments described above are only illustrative.
  • the division of the modules or units is only a logical function division.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated module/unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments in the present application can also be completed by instructing related hardware through computer programs.
  • the computer programs can be stored in a computer-readable storage medium, and the computer When the program is executed by the processor, the steps in the above-mentioned various method embodiments can be realized.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signal telecommunication signal and software distribution medium, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • General Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Telephone Function (AREA)

Abstract

耳机交互方法、耳机套件、耳机部件(13)及存储介质,适用于耳机技术领域。应用于耳机的耳机交互方法包括:耳机接收耳机盒发送的目标指令(S401);将目标指令传输至目标终端,以指示目标终端根据目标指令执行目标处理动作(S402)。能够灵活准确地实现耳机与终端之间的交互。

Description

耳机交互方法、耳机套件、耳机部件及存储介质
相关申请的交叉引用
本申请主张在2021年11月15日在中国提交的中国专利申请号202111348330.6的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于耳机技术领域,尤其涉及一种耳机交互方法、耳机套件、耳机部件及存储介质。
背景技术
目前,蓝牙耳机将蓝牙技术应用在免持耳机上,让用户可以免除电线的牵绊,自在地以各种方式轻松通话。通常,蓝牙耳机与终端连接后,蓝牙耳机与终端具有一定的距离,用户可以通过触控蓝牙耳机本体来实现与终端的指令交互。
然而,在蓝牙耳机佩戴于用户的耳朵上时,该蓝牙耳机处于用户的视线外,导致用户对该蓝牙耳机的触控操作可能不准确,导致该蓝牙耳机与该终端的交互不准确。
发明内容
有鉴于此,本申请实施例提供了耳机交互方法、耳机套件、耳机部件及存储介质,以解决现有技术中如何准确地实现耳机与终端之间的交互的问题。
本申请实施例的第一方面提供了一种耳机交互方法,应用于耳机,方法包括:
接收耳机盒发送的目标指令;
将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
本申请实施例的第二方面提供了一种耳机交互方法,应用于耳机盒,方法包括:
获取目标操作,根据所述目标操作生成目标指令;
发送所述目标指令,以通过所述耳机盒对应的耳机和/或数据传输装置,将所述目 标指令传输至目标终端,指示所述目标终端执行目标处理动作。
本申请实施例的第三方面提供了一种耳机交互方法,应用于数据传输装置,方法包括:
接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令;
将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
本申请实施例的第四方面提供了一种耳机套件,包括:
耳机盒,用于执行如第二方面所述的耳机交互方法的步骤;
数据传输装置,用于执行如第三方面所述的耳机交互方法的步骤。
本申请实施例的第五方面提供了一种耳机部件,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,当所述处理器执行所述计算机程序时,使得耳机部件实现如第一方面所述耳机交互方法的步骤,或者第二方面所述耳机交互方法的步骤,或者第三方面所述耳机交互方法的步骤。
本申请实施例的第六方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得耳机部件实现如第一方面所述耳机交互方法的步骤,或者第二方面所述耳机交互方法的步骤,或者第三方面所述耳机交互方法的步骤。
本申请实施例与现有技术相比存在的有益效果是:本申请实施例中,耳机在接收耳机盒发送的目标指令后,将该目标指令传输至目标终端,以指示目标终端根据该目标指令执行目标处理动作。由于耳机盒无需进行佩戴,通常落在用户的视线范围内,因此通过耳机盒发送的目标指令来实现与目标终端的指令交互,相对于通过触控用户佩戴的耳机本体来与目标终端进行指令交互的方式,能够准确地对目标终端进行控制,提高耳机交互的便捷性和准确性。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1是本申请实施例提供的耳机交互系统的第一种示意图;
图2是本申请实施例提供的耳机交互系统的第二种示意图;
图3是本申请实施例提供的耳机交互系统的第三种示意图;
图4是本申请实施例提供的耳机交互方法的第一种实现流程示意图;
图5是本申请实施例提供的耳机交互方法的第二种实现流程示意图;
图6是本申请实施例提供的耳机交互系统的第四种示意图;
图7是本申请实施例提供的耳机交互方法的第三种实现流程示意图;
图8是本申请实施例提供的耳机交互装置的第一种结构示意图;
图9是本申请实施例提供的耳机交互装置的第二种结构示意图;
图10是本申请实施例提供的耳机交互装置的第三种结构示意图;
图11是本申请实施例提供的耳机套件的第一种示意图;
图12是本申请实施例提供的耳机套件的第二种示意图;
图13是本申请实施例提供的耳机部件的示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
目前,当蓝牙耳机佩戴于用户的耳朵上时,该蓝牙耳机处于用户的视线外,导致用户对该蓝牙耳机的触控操作可能不准确,导致该蓝牙耳机与终端的交互不准确。
为了解决该技术问题,本申请实施例提供了耳机交互方法,准确地实现耳机盒、耳机和目标终端之间的交互,便捷准确地实现对目标终端的控制。
为了便于理解,首先本申请实施例的一些相关概念进行以下解释:
耳机盒可以包括耳机充电盒或者耳机收纳盒。
耳机充电盒,指的是与耳机配套的,能为该耳机进行充电的装置,该耳机充电盒可以与耳机进行通信连接,例如蓝牙通信连接。
耳机收纳盒,指的是用于收容耳机的装置,该耳机收纳盒可以与耳机进行通信连接,例如蓝牙通信连接。
数据传输装置,指的是具有通信功能的装置。示例性地,该数据传输装置可以为通用串行总线(Universal Serial Bus,USB)发射器。
USB发射器,指的是可以包含在耳机套件中的具有USB数据与无线数据(蓝牙数据)转换功能的装置。该USB发射器能够连接于终端的USB接口,以与终端进行USB数据通信;同时,能够与耳机进行无线数据通信,从而使得终端的USB数据与耳机的无线数据进行相互转化,实现终端与耳机的间接通信。
经典蓝牙模式,指的是在蓝牙3.0版本及以下的,基于基础速率和增强速率(Basic Rate/Enhanced Data Rate,BR/EDR)射频工作在2.4GHz频段上蓝牙模式。在经典蓝牙模式下,可以基于蓝牙串口协议(Serial Port Profile,SPP)实现指令和数据交互;可以基于高级音频分发配置(Advanced Audio Distribution Profile,A2DP)或者蓝牙免提规范(Hands-free Profile,HPF)进行音频数据传输。
低功耗蓝牙(Bluetooth Low Energy,BLE)模式,指的是蓝牙4.0版本及以上的用于实现小数据量、低功耗的蓝牙传输的模式。
以下,以耳机充电盒作为耳机盒为例描述本申请实施例,耳机收纳盒对应的实施例可同理推导;同时以USB发射器作为数据传输装置为例描述本申请实施例。
在一个实施例中,上述的耳机、USB发射器可以均设有双模蓝牙通信模块,使得耳机、USB发射器能够以经典蓝牙模式和低功耗蓝牙模式共存的双模式进行蓝牙数据通信。而无需传输音频数据,只需传输控制指令数据的耳机充电盒,可以只设有BLE通信模块。
在一个实施例中,上述的耳机交互方法对应的耳机交互系统如图1所示。该耳机交互系统包括由耳机和耳机充电盒组成的耳机套件,以及包括与耳机直接或者间接建立通信,能够与耳机进行指令和数据交互的目标终端。该耳机套件中,耳机和耳机充电盒可以建立蓝牙通信连接。在该耳机交互系统中,用户可以在耳机充电盒上进行目标操作,生成目标指令,并将该目标指令发送至耳机;耳机接收该目标指令,并将该目标指令直接或者间接地传输至目标终端;目标终端根据该目标指令执行目标处理动作,生成目标反馈结果,并将该目标反馈结果直接或者间接地返回耳机;耳机接收并输出该目标反馈结果。
在另一个实施例中,该耳机交互方法对应的耳机交互系统如图2所示。该耳机交互系统包括有耳机、耳机充电盒以及耳机对应的USB发射器组成的耳机套件。该USB发射器连接于第一终端,该第一终端可以作为目标终端,通过USB发射器间接地实现与耳机的指令和数据交互。在该耳机套件中,耳机充电盒、USB发射器可以分别与该 耳机建立蓝牙通信连接。在该耳机交互系统中,用户可以在耳机充电盒上进行目标操作,生成目标指令,并将该目标指令发送至耳机。耳机接收该目标指令并将其发送至USB发射器;USB发射器接收该目标指令,并将其发送至目标终端;目标终端根据该目标指令执行目标处理动作,生成目标反馈结果,并将该目标反馈结果返回至USB发射器;USB发射器接收该目标反馈结果,并将其传输至耳机;耳机接收并输出该目标反馈结果。
进一步地,耳机交互系统在如图2所述的系统中进一步增加了能够与耳机建立通信连接的第二终端,如图3所示。对应地,耳机输出该目标反馈结果,可以包括将该目标反馈结果发送至第二终端。
实施例一:
图4示出了本申请实施例提供的耳机交互方法的第一种流程示意图,本申请实施例中图4所示的耳机交互方法应用于耳机,详述如下:
在S401中,接收耳机盒发送的目标指令。
本申请实施例中,耳机充电盒提前与耳机建立了通信连接。在一个实施例中,耳机与该耳机充电盒之间可以实现BLE连接,耳机可以通过BLE模式接收耳机充电盒发送的目标指令。
在一个实施例中,该目标指令为用于控制目标终端的音频播放状态的指令,包括控制音频播放的开启、停止、音量增大、音量减少等任一功能的指令。在另一个实施例中,该目标指令为用于控制目标终端的语音通讯软件进行工作状态切换的指令;例如,该语音通讯软件可以为线上会议软件,该工作状态可以包括会议静音状态、会议进入状态、会议结束状态等。
在S402中,将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
本申请实施例的目标终端提前与耳机直接或者间接地建立了通信连接,能够与该耳机直接或者间接地进行音频数据传输。该目标终端包括但不限于台式电脑、笔记本电脑、平板电脑、一体机、手机等终端设备。
耳机在接收到该目标指令后,将该目标指令直接或者间接地传输至目标终端,以指示目标终端根据该目标指令执行目标处理动作。在一个实施例中,该目标指令为音频播放状态控制指令,则该目标处理动作为切换目标终端的音频播放状态的指令。在 另一个实施例中,该目标指令为用于控制目标终端的语音通讯软件进行工作状态切换的指令,该目标处理动作为语音通讯软件工作状态切换动作。
本申请实施例中,由于耳机充电盒无需进行佩戴,通常落在用户的视线范围内,因此通过耳机充电盒发送的目标指令来实现与目标终端的指令交互,相对于通过触控用户佩戴的耳机本体来与目标终端进行指令交互的方式,能够准确地对目标终端进行控制,提高耳机交互的便捷性和准确性。
可选地,在上述的步骤S402之后,本申请实施例中图4所示的耳机交互方法还包括:
接收目标反馈结果,所述目标反馈结果为所述目标终端执行所述目标处理动作后得到的反馈结果;
输出所述目标反馈结果。
本申请实施例中,目标反馈结果为目标终端根据该目标指令执行目标处理动作后得到的反馈结果,例如表示该目标终端的音频播放状态切换成功或者表示该目标终端的语音通讯软件工作状态切换成功的反馈结果。
耳机直接或者间接地接收目标终端发送的该目标反馈结果。
之后,输出该目标反馈结果,以向用户反馈当前的目标指令是否执行成功。
在一个实施例中,耳机输出反馈结果包括在耳机本体上输出表示该目标反馈结果的信息和/或将该目标反馈结果发送至耳机充电盒进行输出。其中,在耳机本体上输出目标反馈结果可以通过音频输出或者控制耳机本体上的指示灯工作的方式输出表示该目标反馈结果的信息;在耳机充电盒上输出该目标反馈结果可以通过控制耳机充电盒上的指示灯工作的方式来实现。
本申请实施例中,由于在将目标指令传输至目标终端之后,还能够接收并输出目标反馈结果,因此能够及时地反馈目标指令的执行情况,提高耳机交互方法的准确性。
可选地,在所述接收耳机盒发送的目标指令之前,本申请实施例中图4所示的耳机交互方法还包括:
通过低功耗蓝牙模式与所述耳机盒建立蓝牙通信连接;
若检测到处于工作状态的数据传输装置,通过经典蓝牙模式与所述数据传输装置建立蓝牙通信连接。
本申请实施例的耳机交互方法对应的系统为如图2所示的耳机交互系统。
在接收耳机充电盒发送的目标指令之前,耳机先通过BLE模式与耳机充电盒建立蓝牙通信连接。具体地,耳机在处于工作状态时,若检测到耳机充电盒发送的广播消息,则在与该耳机充电盒进行彼此间的身份确认后,与该耳机充电盒建立BLE通信连接,使得耳机之后可以通过BLE蓝牙通道与耳机充电盒进行指令数据传输。
除了搜寻耳机充电盒并与该耳机充电盒建立BLE通信连接外,该耳机还能够自动搜寻USB发射器。当检测到该耳机附近存在处于工作状态的发射器时,通过经典蓝牙模式与该USB发射器建立蓝牙通信连接。其中,处于工作状态的USB发射器指的是处于开机状态,并且已连接于第一终端的USB接口,与第一终端建立了USB通信连接的状态。在该USB发射器和第一终端之间,可以基于USB音频传输协议进行音频数据传输,基于USB控制传输协议进行指令数据传输。在耳机与USB发射器通过经典蓝牙模式连接后,耳机能够与USB发射器基于A2DP进行音频数据传输,基于SPP进行指令数据传输,结合USB发射器的USB-蓝牙数据转换功能,可以实现耳机与第一终端之间的音频数据传输和指令数据传输。
本申请实施例中,在接收耳机充电盒发送的指令之前,先与耳机充电盒、USB发射器建立蓝牙通信连接,使得之后能够在第一终端、USB发射器、耳机、耳机充电盒之间实现交互,使得在第一终端不具有蓝牙通信功能或者第一终端的蓝牙较不稳定的情况下,进一步借助USB发射器准确地实现耳机与第一终端之间的交互。
可选地,所述目标终端为与所述数据传输装置建立了通信连接的第一终端,对应地,所述将所述目标指令传输至目标终端,包括:
将所述目标指令传输至所述数据传输装置,以指示所述数据传输装置将所述目标指令传输至所述第一终端。
本申请实施例中,如上所述,USB发射器连接于第一终端的USB接口,与该第一终端建立了USB通信连接。而在耳机与USB发射器建立了经典蓝牙模式的蓝牙通信连接后,耳机能够借助该USB发射器间接地以经典蓝牙模式与该第一终端进行音频数据传输以及一些指令传输,因此,此时该第一终端可以作为目标终端。
对应地,在步骤S402中,耳机具体是基于SPP,将该目标指令发送至USB发射器,以使得USB发射器在接收到该目标指令后,将该目标指令转换为USB控制传输协议的格式后传输至第一终端。
本申请实施例中,在耳机与USB发射器建立了蓝牙通信连接后,耳机借助该USB 发射器,高效准确地实现与第一终端的交互,提高耳机交互的灵活性和准确性。
可选地,所述通过低功耗蓝牙模式与所述耳机盒建立蓝牙通信连接,包括:
通过低功耗蓝牙模式,以主设备状态与所述耳机充电盒建立蓝牙通信连接,以从设备状态与第二终端建立蓝牙通信连接。
本申请实施例的耳机交互方法对应的系统为如图3所示的耳机交互系统。本申请实施例中的耳机除了能够与耳机充电盒、USB发射器建立蓝牙通信连接外,还能够进一步第二终端建立之间的蓝牙通信连接,从而能够接收第二终端的指令或者向第二终端输出耳机充电盒的指令控制结果,便于用户或者其它管理人员查看。示例性地,本申请实施例的第二终端可以为手机。
由于本申请实施例中,耳机的经典蓝牙模式已被USB发射器占用,因此耳机与耳机充电盒、USB发射器之间的蓝牙通信连接为BLE模式下的蓝牙连接。并且,由于作为终端设备的第二终端在BLE模式下,通常作为主设备,因此,耳机需要以从设备状态与第二终端建立BLE通信连接。而耳机充电盒可以作为从设备,因此,耳机可以主设备状态与耳机充电盒建立BLE通信连接。
具体地,耳机在处于工作状态时,在低功耗蓝牙模式中以主设备状态和从设备状态轮询的方式进行广播以与其它设备建立连接。其中,耳机以主设备状态主动进行设备搜索,当搜索到处于工作状态的耳机充电盒时,耳机以主设备状态发送连接请求该耳机充电盒,并在双方确认身份之后,建立主设备状态下的耳机与耳机充电盒之间的BLE通信连接,之后停止主设备状态下的广播搜索工作。同时,耳机广播自身的从设备状态消息,直至接收到第二终端发送的连接请求,则在双方确认身份后进行连接,从而建立从设备状态下的耳机与第二终端之间的BLE通信连接。
本申请实施例中,由于耳机能够在低功耗蓝牙模式中,通过主设备状态和从设备状态,分别与耳机充电盒和第二终端建立蓝牙通信连接,因此能够灵活准确地实现第一终端、USB发射器、耳机、耳机充电盒以及第二终端之间的交互,实现更丰富的耳机交互功能。
可选地,在所述将所述目标指令传输至所述数据传输装置,以指示所述数据传输装置将所述目标指令传输至所述第一终端之后,本申请实施例中图4所示的耳机交互方法还包括:
接收所述数据传输装置返回的目标反馈结果;所述目标反馈结果为所述第一终端 执行所述目标处理动作得到的反馈结果;
将所述目标反馈结果发送至所述耳机盒和/或所述第二终端。
本申请实施例中,在耳机通过USB发射器将目标指令传输至第一终端之后,可以接收USB发射器返回的目标反馈结果。该目标反馈结果为第一终端根据该目标指令执行对应的目标处理动作的得到的反馈结果。具体地,耳机是在经典蓝牙模式下,基于SPP从USB发射器接收该目标反馈结果,该目标反馈结果是由USB发射器基于USB控制传输协议从目标终端获取到的。
耳机在接收到该目标反馈结果后,将该目标反馈结果发送至耳机充电盒和/或第二终端。其中,将目标反馈结果发送至耳机充电盒,可以指示耳机充电盒通过指示灯直观地向用户展示当前目标指令的执行结果。将该目标反馈结果发送至第二终端,能够使得用户通过第二终端(例如手机)直观地查看当前的耳机交互状态。
本申请实施例中,由于能够在向USB发射器发送目标指令后,从USB发射器获取目标反馈结果,并将该目标反馈结果发送至耳机充电盒和/或第二终端,从而能够通过该耳机充电盒或者第二终端及时准确地向用户或者管理人员反馈该目标指令的执行结果。
可选地,所述将所述目标反馈结果发送至所述耳机盒和/或所述第二终端,包括:
以所述主设备状态,通过所述低功耗蓝牙模式将所述目标反馈结果发送至所述耳机盒;
切换至所述从设备状态,通过所述低功耗蓝牙模式将所述目标反馈结果发送至所述第二终端。
本申请实施例中,耳机能够以预设频率进行主设备状态和从设备状态的切换。当耳机处于主设备状态时,耳机能够作为主设备通过BLE将目标反馈结果发送至耳机充电盒。当耳机切换至从设备状态时,耳机能够作为从设备通过BLE将目标反馈结果发送第二终端。
通过该方法,能够高效地将目标反馈结果发送至耳机充电盒和第二终端,从而及时地向用户或者管理人员反馈该当前目标终端的目标指令执行结果。
可选地,在所述通过经典蓝牙模式与所述数据传输装置建立蓝牙通信连接之后,本申请实施例中图4所示的耳机交互方法还包括:
若检测到所述数据传输装置已停止工作或者接收到所述第二终端发送的预设请求 指令,则通过所述经典蓝牙模式与所述第二终端建立通信连接,并以所述第二终端作为目标终端。
在一个实施例中,当USB发射器停止工作,耳机无法检测到处于工作状态的USB发射器时,第一终端也由于USB发射器的停止而无法作为目标终端间接地与耳机进行音频数据传输。此时,自动将当前与耳机存在通信连接的第二终端作为目标终端。具体地,可以在耳机与第二终端存在BLE通信连接的基础上,通过经典蓝牙模式,与该第二终端建立通信连接,使得该第二终端能够通过经典蓝牙模式的A2DP或HFP实现与耳机的音频数据传输,从而成为目标终端。
在另一个实施例中,在耳机与USB发射器处于经典蓝牙模式下的连接状态时,当需要切换第二终端作为目标终端实现音频数据传输时(例如第二终端为手机,需要该耳机进行来电通话),可以通过第二终端发送预设请求指令,以请求占用耳机的音频数据传输通道。耳机接收该预设请求指令,断开与USB发射器的蓝牙连接,并通过经典蓝牙模式与所述第二终端建立通信连接,使得该第二终端能够通过经典蓝牙模式的A2DP或HFP实现与耳机的音频数据传输,并以该第二设备作为目标终端进行后续的交互操作。
进一步地,在第二终端作为目标终端后,耳机可以在重新检测到处于工作状态的USB发射器,或者通过USB发射器接收到来自第一终端的预设请求指令后,断开与第二终端之间的经典蓝牙模式下的通信连接,并与该USB发射器建立经典蓝牙模式下的通信连接,以该第一终端作为目标终端。
本申请实施例中,由于能够在USB发射器停止工作时,或者接收到第二终端发送的预设请求指令后,能够灵活地将目标终端切换为第二终端,从而提高耳机交互的灵活性和便捷性。
可选地,所述接收耳机对应的耳机盒发送的目标指令,包括:
在所述低功耗蓝牙模式中以所述主设备状态接收所述耳机盒发送的目标指令;
对应地,所述将所述目标指令传输至所述耳机对应的目标终端,包括:
切换至所述从设备状态,将所述目标指令发送至所述第二终端。
本申请实施例中的耳机与作为第二终端既建立了BLE连接,又建立了经典蓝牙模式的连接后,通过BLE实现耳机与第二终端之间的指令数据传输,通过A2DP或者HFP等经典蓝牙模式下的协议实现耳机与第二终端之间的音频数据传输。
本申请实施例中,耳机在BLE模式中能够以预设频率进行主设备状态和从设备状态的轮询切换。当耳机在BLE模式中轮询到主设备状态时,可作为BLE通道中的主设备,接收耳机充电盒发送的目标指令。在接收到目标指令后,当耳机在BLE模式中轮询到从设备状态时,可作为BLE通道中的从设备,将该目标指令通过BLE通道发送至作为主设备的第二终端。
本申请实施例中,耳机能够在BLE模式下通过主设备状态与从设备状态的切换,高效地与耳机充电盒以及作为目标终端的第二终端进行指令传输,从而能够高效地实现耳机充电盒、耳机与目标终端之间的指令交互。
实施例二:
图5示出了本申请实施例提供的耳机交互方法的第二种流程示意图,本申请实施例中图5所示的耳机交互方法应用于耳机盒,示例性地,该耳机盒为耳机充电盒。如图5所示的耳机交互方法详述如下:
在S501中,获取目标操作,根据所述目标操作生成目标指令。
本申请实施例中,目标操作可以为用户在耳机充电盒的按钮上的按压操作,也可以为用户在耳机充电盒的触控位置上进行的手势操作。
在该耳机充电盒上可以进行的目标操作可以有多种,每种目标操作都存在对应的一个目标指令。例如,当该目标操作为单击操作时,对应的目标指令为音频播放状态切换指令(例如在静音状态和恢复音频播放状态之间进行切换的指令);当该目标操作为双击操作时,对应的目标指令为指示目标终端开启投屏的指令;当该目标操作为三击操作时,对应的目标指令为请求目标终端允许该耳机的麦克风工作以允许用户发言的指令。
在获取目标操作后,耳机充电盒可以根据该目标操作,生成该目标操作对应的目标指令。
在S502中,发送所述目标指令,以通过所述耳机盒对应的耳机和/或数据传输装置,将所述目标指令传输至目标终端,指示所述目标终端执行目标处理动作。
在一个实施例中,耳机充电盒提前与耳机建立了BLE通信连接。对应地,本步骤中,发送目标指令为将该目标指令通过BLE通道发送至该耳机。当此时的目标终端为通过USB发射器与耳机间接实现音频数据传输的第一终端时,可以通过“耳机充电盒→耳机→USB发射器→目标终端”的传输链路,将该目标指令最终传输至目标终端。当 此时的目标终端为直接与耳机建立蓝牙通信连接的第二终端时,则可以直接通过“耳机充电盒→耳机→目标终端”的传输链路,将该目标指令传输至目标终端。
在另一个实施例中,耳机充电盒无法检测到处于工作状态的耳机,并提前与USB发射器建立了BLE通信连接,该USB发射器连接于目标终端的USB接口。对应地,本步骤中,发送目标指令具体为:将该目标指令通过BLE通道发送至USB发射器,以指示USB发射器将被该目标指令传输至目标终端。示例性地,该实施例对应的耳机交互系统可以如图6所示,其中,耳机位于耳机充电盒内部,正处于充电状态,此时耳机即为非工作状态,耳机的经典蓝牙模式和BLE模式均处于非工作状态。此时,耳机充电盒可以直接与USB发射器进行连接,从而间接地与目标终端进行指令交互。
该目标指令传输至目标终端后,能够指示该目标终端执行目标处理动作。
本申请实施例中,耳机充电盒能够根据目标操作生成目标指令,并通过发送该目标指令,准确地指示与耳机能够进行音频数据传输的目标终端执行目标处理动作,相对于通过触控用户佩戴的耳机本体来与目标终端进行指令交互的方式,能够提高耳机交互的便捷性和准确性。
可选地,在上述的步骤S502之后,本申请实施例中图5所示的耳机交互方法还包括:
接收目标反馈结果;所述目标反馈结果为所述目标终端根据所述目标指令执行目标处理动作后得到的反馈结果;
根据所述目标反馈结果执行反馈动作。
本申请实施例中,在发送目标指令通过耳机和/或USB发射器最终将目标指令传输至目标终端之后,接收耳机和/或USB发射器返回的目标反馈结果。该目标反馈结果即为目标终端根据该耳机充电盒发送的目标指令执行目标处理动作后得到的反馈结果。
在接收到该目标反馈结果之后,耳机充电盒根据该目标反馈结果执行对应的反馈动作。在一个实施例中,该反馈动作可以为耳机充电盒上的指示灯的亮灯动作。示例性地,若该目标反馈结果为表示目标终端成功执行目标处理动作的结果,则可以根据该目标反馈结果,控制耳机充电盒上的指示灯执行亮蓝灯动作;若该目标反馈结果为表示目标终端执行目标处理动作失败的结果,则可以根据该目标反馈结果,控制耳机充电盒上的指示灯执行亮红灯动作。进一步地,当该目标反馈结果为表示该目标终端执行目标处理动作失败的结果时,该反馈动作处理亮红灯动作外,还可以包括重发目 标指令的动作,以再次将目标指令传送至目标终端,使得目标终端可以再次尝试执行目标处理动作。
本申请实施例中,由于耳机充电盒在发送目标指令后,能够接收目标反馈结果,并根据该目标反馈结果执行对应的反馈动作,从而能够及时地向用户反馈该当前目标终端的目标指令执行结果。
可选地,在所述步骤S501之前,本申请实施例中图5所示的耳机交互方法还包括:
在低功耗蓝牙模式中以主设备状态和从设备状态轮循广播进行设备搜寻;
若检测到处于工作状态的数据传输装置,则以所述主设备状态与所述数据传输装置建立蓝牙通信连接。
本申请实施例中,耳机充电和在BLE模式中,通过主设备状态和从设备状态轮询的方式广播自身的状态信息,以搜寻耳机或者USB发射器。
若在预设时长内无法检测到处于工作状态的耳机,或者检测到所述耳机正处于所述耳机充电盒中进行充电,并且检测到处于工作状态的USB发射器,则以主设备状态与所述USB发射器建立BLE通信连接,并继续保持BLE从设备状态广播。
本申请实施例中,由于耳机充电盒能够通过主设备状态和从设备状态轮询的方式,在检测到USB发射器时以主设备状态与该USB发射器建立蓝牙通信连接,因此能够在耳机不处于工作状态时,也能够直接与USB发射器进行通信,灵活地实现耳机充电盒、USB发射器、目标终端之间的交互,实现对目标终端的控制。
可选地,在所述以所述主设备状态与所述数据传输装置建立蓝牙通信连接之后,所述方法还包括:
若检测到处于工作状态的耳机,则以所述从设备状态与所述耳机建立蓝牙通信连接,并断开与所述数据传输装置的蓝牙通信连接。
本申请实施例中,在耳机充电盒与USB发射器建立蓝牙通信连接之后,仍继续保持BLE从设备状态广播。之后,若该耳机充电盒的BLE从设备状态广播被进入工作状态的耳机(例如充电完毕从耳机充电盒取出的耳机)的BLE主设备广播发现,则所述耳机充电盒与耳机进行身份确认后,所述耳机充电盒以从设备状态与主设备状态的耳机进行BLE通信连接。进一步地,在耳机充电盒、USB发射器均能够分别与耳机建立蓝牙通信连接后,断开耳机充电盒与USB发射器之间的BLE通信连接。
本申请实施例中,由于耳机充电盒在与USB发射器建立直接通信连接后,在检测 到处于工作状态的耳机时,能够以从设备状态与耳机建立蓝牙通信连接,以便实现耳机充电盒与耳机之间的交互,丰富耳机交互功能。
实施例三:
图7示出了本申请实施例提供的耳机交互方法的第三种流程示意图,本申请实施例中图7所示的耳机交互方法应用于数据传输装置,示例性地,该数据传输装置为USB发射器。如图7所示的耳机交互方法详述如下:
在S701中,接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令。
本申请实施例中,USB发射器可以提前与耳机或者耳机充电盒建立蓝牙通信连接。之后,通过蓝牙通信的方式,接收该耳机或者耳机充电盒发送的目标指令。
在S702中,将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
本申请实施例的USB发射器连接于目标终端的USB接口,能够基于USB音频传输协议和USB控制传输协议与目标终端进行交互。
USB发射器接收到该目标指令后,基于USB控制传输协议,将该目标指令传输至目标终端,以指示目标终端根据该目标指令执行目标处理动作。
本申请实施例中,由于USB发射器能够从耳机或者耳机充电盒获取目标指令,并将该目标指令传输至目标终端以指示目标终端执行目标处理动作,因此在目标终端不具有蓝牙通信功能或者目标终端的蓝牙较不稳定的情况下,能够通过目标终端、USB发射器、耳机、耳机充电盒之间的联动交互,准确地对目标终端进行控制。
可选地,在所述将所述目标指令传输至目标终端之后,本申请实施例中图7所示的耳机交互方法还包括:
接收所述目标终端反馈的目标反馈结果;所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
将所述目标反馈结果传输至所述耳机或者所述耳机盒。
在将目标指令传输至目标终端后,USB发射器能够通过USB接口,基于USB控制传输协议,接收目标终端传输的执行目标处理动作后得到的目标反馈结果。
在接收到该目标反馈结果后,USB发射器通过蓝牙通信的方式,将该目标指令传输至耳机或者耳机充电盒,以使得耳机或者耳机充电盒将目标指令的执行情况及时地反馈至用户,提高耳机交互的智能性和准确性,
可选地,在所述步骤S701之前,本申请实施例中图7所示的耳机交互方法还包括:
以低功耗蓝牙模式的从设备状态与耳机盒建立蓝牙通信连接;
对应地,所述步骤S702,包括:
接收所述数据传输装置对应的耳机盒发送的目标指令。
本申请实施例中,USB发射器在接收目标指令之前,可以低功耗蓝牙模式与耳机充电盒建立BLE通信连接。在一个实施例中,USB发射器在连接于第一终端的USB接口后,以该第一终端作为目标终端,并进入工作状态。进入工作状态的USB发射器对外进行BLE从设备状态广播。之后,当检测到处于BLE主设备状态的耳机充电盒发送的连接请求时,与该耳机充电盒进行相互间的身份确认操作。在身份通过确认后,USB发射器以从设备状态与该耳机充电盒建立BLE通信连接。
对应地,在步骤S701中,USB发射器可以直接接收该耳机充电盒发送的目标指令。该实施例中,耳机交互方法对应的系统可以为如图6所示的耳机交互系统。
本申请实施例中,由于USB发射器能够通过BLE从设备状态直接与耳机充电盒建立蓝牙通信连接,因此能够在耳机不处于工作状态时,也能够直接与耳机充电盒进行通信,灵活地实现耳机充电盒、USB发射器、目标终端之间的交互。
可选地,在所述步骤S701之前,本申请实施例中图7所示的耳机交互方法还包括:
以经典蓝牙模式与所述耳机建立蓝牙通信连接;
对应地,所述步骤S702,包括:
接收所述数据传输装置对应的耳机发送的目标指令。
本申请实施例中,USB发射器在接收目标指令之前,如果检测到耳机的蓝牙连接请求,则通过经典蓝牙模式与所述耳机建立通信连接,以使所述USB发射器后续通过A2DP或者HFP与所述耳机进行音频数据传输,通过SPP与所述耳机进行指令数据交互。
对应地,在步骤S702中,USB发射器可以接收该耳机通过SPP发送的目标指令,该目标指令为耳机充电盒根据目标操作生成并发送至耳机的指令。该实施例中,耳机交互方法对应的系统可以为如图2或者图3所示的耳机交互系统。
本申请实施例中,USB发射器能够与耳机进行经典蓝牙模式的蓝牙通信连接,以实现目标终端、USB发射器、耳机、耳机充电盒之间的交互,灵活地实现耳机交互功能。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
实施例四:
图8示出了本申请实施例提供的耳机交互装置的第一种结构示意图,本申请实施例中图8所示的耳机交互装置应用于耳机,为了描述方便,本申请实施例中图8所示的应用于耳机的耳机交互装置以下简称为第一耳机交互装置。为了便于说明,仅示出了与本申请实施例相关的部分:
该第一耳机交互装置包括:第一指令接收单元81、第一指令传输单元82:
第一指令接收单元81,用于接收耳机盒发送的目标指令。
第一指令传输单元82,用于将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
可选地,所述第一耳机交互装置还包括:
第一结果接收单元,用于接收目标反馈结果;所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果。
第一结果输出单元,用于输出所述目标反馈结果。
可选地,所述第一耳机交互装置还包括:
第一连接单元,用于通过低功耗蓝牙模式与所述耳机盒建立蓝牙通信连接;
第二连接单元,用于若检测到处于工作状态的数据传输装置,通过经典蓝牙模式与所述数据传输装置建立蓝牙通信连接。
可选地,在所述耳机与所述数据传输装置建立了蓝牙通信连接之后,所述目标终端为与所述数据传输装置建立了通信连接的第一终端,对应地,所述第一指令传输单元82,具体用于将所述目标指令传输至所述数据传输装置,以指示所述数据传输装置将所述目标指令传输至所述第一终端。
可选地,所述第一连接单元,具体用于通过低功耗蓝牙模式,以主设备状态与所述耳机盒建立蓝牙通信连接,以从设备状态与第二终端建立蓝牙通信连接。
可选地,所述第一耳机交互装置,还包括:
第二结果接收单元,用于接收所述数据传输装置返回的目标反馈结果;所述目标反馈结果为所述第一终端执行所述目标处理动作得到的反馈结果;
第二结果输出单元,用于将所述目标反馈结果发送至所述耳机盒和/或所述第二终端。
可选地,所述第一耳机交互装置,还包括:
第三连接单元,用于若检测到所述数据传输装置已停止工作或者接收到所述第二终端发送的预设请求指令,则通过所述经典蓝牙模式与所述第二终端建立通信连接,并以所述第二终端作为目标终端。
图9示出了本申请实施例提供的耳机交互装置的第二种结构示意图,本申请实施例中图9所示的耳机交互装置应用于耳机盒,为了描述方便,本申请实施例中图9所示的应用于耳机的耳机交互装置以下简称为第二耳机交互装置。为了便于说明,仅示出了与本申请实施例相关的部分:
该第二耳机交互装置包括:目标指令生成单元91和目标指令发送单元92。其中:
目标指令生成单元91,用于获取目标操作,根据所述目标操作生成目标指令;
目标指令发送单元92,用于发送所述目标指令,以通过所述耳机盒对应的耳机和/或数据传输装置,将所述目标指令传输至目标终端,指示所述目标终端执行目标处理动作。
可选地,所述第二耳机交互装置,还包括:
第三结果接收单元,用于接收目标反馈结果;所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
反馈动作执行单元,用于根据所述目标反馈结果执行反馈动作。
可选地,所述第二耳机交互装置,还包括:
设备搜寻单元,用于在低功耗蓝牙模式中以主设备状态和从设备状态轮循广播进行设备搜寻;
第四连接单元,用于若检测到处于工作状态的数据传输装置,则以所述主设备状态与所述数据传输装置建立蓝牙通信连接。
可选地,所述第二耳机交互装置,还包括:
第五连接单元,用于若检测到处于工作状态的耳机,则以所述从设备状态与所述耳机建立蓝牙通信连接,并断开与所述数据传输装置的蓝牙通信连接。
图10示出了本申请实施例提供的耳机交互装置的第三种结构示意图,本申请实施例中图10所示的耳机交互装置应用于数据传输装置,为了描述方便,本申请实施例中 图10所示的应用于数据传输装置的耳机交互装置以下简称为第三耳机交互装置。为了便于说明,仅示出了与本申请实施例相关的部分:
该第三耳机交互装置包括:第二指令接收单元101、第二指令传输单元102。其中:
第二指令接收单元101,用于接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令。
第二指令传输单元102,用于将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
可选地,所述第三耳机交互装置,还包括:
第四结果接收单元,用于接收所述目标终端反馈的目标反馈结果;所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
结果传输单元,用于将所述目标反馈结果传输至所述耳机或者所述耳机盒。
可选地,所述第三耳机交互装置,还包括:
第六连接单元,用于以低功耗蓝牙模式的从设备状态与耳机盒建立蓝牙通信连接;
对应地,所述第二指令接收单元102,具体用于接收所述数据传输装置对应的耳机盒发送的目标指令。
可选地,所述第三耳机交互装置,还包括:
第七连接单元,用于以经典蓝牙模式与所述耳机建立蓝牙通信连接;
对应地,所述第二指令接收单元102,具体用于接收所述数据传输装置对应的耳机发送的目标指令。
图11示出了本申请实施例提供的耳机套件的第一种结构示意图。该耳机套件包括耳机盒和数据传输装置。其中,该耳机盒用于执行如实施例二所述的耳机交互方法的步骤,该数据传输装置用于执行如实施例三所述的耳机交互方法的步骤。
图12示出了本申请实施例提供的耳机套件的第二种结构示意图。该耳机套件包括耳机、耳机盒和数据传输装置。其中,该耳机用于执行如实施例一所述的耳机交互方法的步骤;该耳机盒用于执行如实施例二所述的耳机交互方法的步骤;该数据传输装置用于执行如实施例三所述的耳机交互方法的步骤。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
实施例五:
图13是本申请一实施例提供的耳机部件的示意图。如图13所示,该实施例的耳机部件13包括:处理器130、存储器131以及存储在所述存储器131中并可在所述处理器130上运行的计算机程序132,例如耳机交互程序。所述处理器130执行所述计算机程序132时实现上述各个耳机交互方法实施例中的步骤。或者,所述处理器130执行所述计算机程序132时实现上述各装置实施例中各模块/单元的功能。
具体地,当该耳机部件具体为耳机时,处理器130执行所述计算机程序132时实现如图4所示的步骤S401至S402,即实现实施例一所述的耳机交互方法中的步骤。或者,所述处理器130执行所述计算机程序132时实现上述第一耳机交互装置实施例中各单元的功能,例如图8所示第一指令接收单元81至第一指令传输单元82的功能。
具体地,当该耳机部件具体为耳机盒时,处理器130执行所述计算机程序132时实现如图5所示的步骤S501至S502,即实现实施例二所述的耳机交互方法中的步骤。或者,所述处理器130执行所述计算机程序132时实现上述第二耳机交互装置实施例中各单元的功能,例如图9所示目标指令生成单元91至目标指令发送单元92的功能。
具体地,当该耳机部件具体为数据传输装置时,处理器130执行所述计算机程序132时实现如图7所示的步骤S701至S702,即实现实施例三所述的耳机交互方法中的步骤。或者,所述处理器130执行所述计算机程序132时实现上述第三耳机交互装置实施例中各单元的功能,例如图10所示第二指令接收单元101至第二指令传输单元102的功能。
示例性的,所述计算机程序132可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器131中,并由所述处理器130执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序132在所述耳机部件13中的执行过程。
所述耳机部件可包括,但不仅限于,处理器130、存储器131。本领域技术人员可以理解,图13仅仅是耳机部件13的示例,并不构成对耳机部件13的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件。
所称处理器130可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable  Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器131可以是所述耳机部件13的内部存储单元,所述存储器131用于存储所述计算机程序以及所述耳机部件所需的其他程序和数据。所述存储器131还可以用于暂时地存储已经输出或者将要输出的数据。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/耳机部件和方法,可以通过其它的方式实现。例如,以上所描述的装置/耳机部件实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显 示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (34)

  1. 一种耳机交互方法,应用于耳机,所述方法包括:
    接收耳机盒发送的目标指令;
    将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
  2. 如权利要求1所述的耳机交互方法,其中,所述方法还包括:
    接收目标反馈结果,其中,所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
    输出所述目标反馈结果。
  3. 如权利要求1所述的耳机交互方法,其中,在所述接收耳机盒发送的目标指令之前,所述方法还包括:
    通过低功耗蓝牙模式与所述耳机盒建立蓝牙通信连接;
    若检测到处于工作状态的数据传输装置,通过经典蓝牙模式与所述数据传输装置建立蓝牙通信连接。
  4. 如权利要求3所述的耳机交互方法,其中,所述目标终端为与所述数据传输装置建立了通信连接的第一终端;
    所述将所述目标指令传输至目标终端,包括:
    将所述目标指令传输至所述数据传输装置,以指示所述数据传输装置将所述目标指令传输至所述第一终端。
  5. 如权利要求4所述的耳机交互方法,其中,所述通过低功耗蓝牙模式与所述耳机盒建立蓝牙通信连接,包括:
    通过低功耗蓝牙模式,以主设备状态与所述耳机盒建立蓝牙通信连接,以从设备状态与第二终端建立蓝牙通信连接。
  6. 如权利要求5所述的耳机交互方法,其中,所述方法还包括:
    接收所述数据传输装置返回的目标反馈结果,其中,所述目标反馈结果为所述第一终端执行所述目标处理动作得到的反馈结果;
    将所述目标反馈结果发送至所述耳机盒和/或所述第二终端。
  7. 如权利要求5所述的耳机交互方法,其中,在所述通过经典蓝牙模式与所述数 据传输装置建立蓝牙通信连接之后,所述方法还包括:
    若检测到所述数据传输装置已停止工作或者接收到所述第二终端发送的预设请求指令,则通过所述经典蓝牙模式与所述第二终端建立通信连接,并以所述第二终端作为目标终端。
  8. 一种耳机交互方法,应用于耳机盒,所述方法包括:
    获取目标操作,根据所述目标操作生成目标指令;
    发送所述目标指令,以通过所述耳机盒对应的耳机和/或数据传输装置,将所述目标指令传输至目标终端,指示所述目标终端执行目标处理动作。
  9. 如权利要求8所述的耳机交互方法,其中,在所述发送所述目标指令之后,所述方法还包括:
    接收目标反馈结果,其中,所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
    根据所述目标反馈结果执行反馈动作。
  10. 如权利要求8所述的耳机交互方法,其中,在所述获取目标操作之前,所述方法还包括:
    在低功耗蓝牙模式中以主设备状态和从设备状态轮循广播进行设备搜寻;
    若检测到处于工作状态的数据传输装置,则以所述主设备状态与所述数据传输装置建立蓝牙通信连接。
  11. 如权利要求10所述的耳机交互方法,其中,在所述以所述主设备状态与所述数据传输装置建立蓝牙通信连接之后,所述方法还包括:
    若检测到处于工作状态的耳机,则以所述从设备状态与所述耳机建立蓝牙通信连接,并断开与所述数据传输装置的蓝牙通信连接。
  12. 一种耳机交互方法,应用于数据传输装置,所述方法包括:
    接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令;
    将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
  13. 如权利要求12所述的耳机交互方法,其中,在所述将所述目标指令传输至目标终端之后,所述方法还包括:
    接收所述目标终端反馈的目标反馈结果,其中,所述目标反馈结果为所述目标终 端执行所述目标处理动作得到的反馈结果;
    将所述目标反馈结果传输至所述耳机或者所述耳机盒。
  14. 如权利要求12所述的耳机交互方法,其中,在所述接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令之前,所述方法还包括:
    以低功耗蓝牙模式的从设备状态与耳机盒建立蓝牙通信连接;
    所述接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令,包括:
    接收所述数据传输装置对应的耳机盒发送的目标指令。
  15. 如权利要求12所述的耳机交互方法,其中,在所述接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令之前,还包括:
    以经典蓝牙模式与所述耳机建立蓝牙通信连接;
    所述接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令,包括:
    接收所述数据传输装置对应的耳机发送的目标指令。
  16. 一种耳机交互装置,应用于耳机,所述装置包括:
    第一指令接收单元,用于接收耳机盒发送的目标指令;
    第一指令传输单元,用于将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
  17. 如权利要求16所述的耳机交互装置,其中,所述装置还包括:
    第一结果接收单元,用于接收目标反馈结果,其中,所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
    第一结果输出单元,用于输出所述目标反馈结果。
  18. 如权利要求16所述的耳机交互装置,其中,所述装置还包括:
    第一连接单元,用于通过低功耗蓝牙模式与所述耳机盒建立蓝牙通信连接;
    第二连接单元,用于若检测到处于工作状态的数据传输装置,通过经典蓝牙模式与所述数据传输装置建立蓝牙通信连接。
  19. 如权利要求18所述的耳机交互装置,其中,所述目标终端为与所述数据传输装置建立了通信连接的第一终端;
    所述第一指令传输单元具体用于:
    将所述目标指令传输至所述数据传输装置,以指示所述数据传输装置将所述目标指令传输至所述第一终端。
  20. 如权利要求19所述的耳机交互装置,其中,所述第一连接单元具体用于:
    通过低功耗蓝牙模式,以主设备状态与所述耳机盒建立蓝牙通信连接,以从设备状态与第二终端建立蓝牙通信连接。
  21. 如权利要求20所述的耳机交互装置,其中,所述装置还包括:
    第二结果接收单元,用于接收所述数据传输装置返回的目标反馈结果,其中,所述目标反馈结果为所述第一终端执行所述目标处理动作得到的反馈结果;
    第二结果输出单元,用于将所述目标反馈结果发送至所述耳机盒和/或所述第二终端。
  22. 如权利要求20所述的耳机交互装置,其中,所述装置还包括:
    第三连接单元,用于若检测到所述数据传输装置已停止工作或者接收到所述第二终端发送的预设请求指令,则通过所述经典蓝牙模式与所述第二终端建立通信连接,并以所述第二终端作为目标终端。
  23. 一种耳机交互装置,应用于耳机盒,所述装置包括:
    目标指令生成单元,用于获取目标操作,根据所述目标操作生成目标指令;
    目标指令发送单元,用于发送所述目标指令,以通过所述耳机盒对应的耳机和/或数据传输装置,将所述目标指令传输至目标终端,指示所述目标终端执行目标处理动作。
  24. 如权利要求23所述的耳机交互装置,其中,所述装置还包括:
    第三结果接收单元,用于接收目标反馈结果,其中,所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
    反馈动作执行单元,用于根据所述目标反馈结果执行反馈动作。
  25. 如权利要求23所述的耳机交互方法,其中,所述装置还包括:
    设备搜寻单元,用于在低功耗蓝牙模式中以主设备状态和从设备状态轮循广播进行设备搜寻;
    第四连接单元,用于若检测到处于工作状态的数据传输装置,则以所述主设备状态与所述数据传输装置建立蓝牙通信连接。
  26. 如权利要求25所述的耳机交互装置,其中,所述装置还包括:
    第五连接单元,用于若检测到处于工作状态的耳机,则以所述从设备状态与所述耳机建立蓝牙通信连接,并断开与所述数据传输装置的蓝牙通信连接。
  27. 一种耳机交互装置,应用于数据传输装置,所述装置包括:
    第二指令接收单元,用于接收所述数据传输装置对应的耳机或者耳机盒发送的目标指令;
    第二指令传输单元,用于将所述目标指令传输至目标终端,以指示所述目标终端根据所述目标指令执行目标处理动作。
  28. 如权利要求27所述的耳机交互装置,其中,所述装置还包括:
    第四结果接收单元,用于接收所述目标终端反馈的目标反馈结果,其中,所述目标反馈结果为所述目标终端执行所述目标处理动作得到的反馈结果;
    结果传输单元,用于将所述目标反馈结果传输至所述耳机或者所述耳机盒。
  29. 如权利要求27所述的耳机交互装置,其中,所述装置还包括:
    第六连接单元,用于以低功耗蓝牙模式的从设备状态与耳机盒建立蓝牙通信连接;
    所述第二指令接收单元具体用于:
    接收所述数据传输装置对应的耳机盒发送的目标指令。
  30. 如权利要求27所述的耳机交互装置,其中,所述装置还包括:
    第七连接单元,用于以经典蓝牙模式与所述耳机建立蓝牙通信连接;
    所述第二指令接收单元具体用于:
    接收所述数据传输装置对应的耳机发送的目标指令。
  31. 一种耳机套件,包括:
    耳机盒,用于执行如权利要求8至11任一项所述的耳机交互方法;
    数据传输装置,用于执行如权利要求12至15任一项的耳机交互方法。
  32. 如权利要求31所述的耳机套件,其中,所述耳机套件还包括:
    耳机,用于执行如权利要求1至7任一项所述的耳机交互方法。
  33. 一种耳机部件,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序;
    所述耳机部件为耳机,当所述处理器执行所述计算机程序时,使得所述耳机实现如权利要求1至7任一项所述方法的步骤;
    或者,所述耳机部件为耳机盒,当所述处理器执行所述计算机程序时,使得所述耳机盒实现如权利要求8至11任一项所述方法的步骤;
    或者,所述耳机部件为数据传输装置,当所述处理器执行所述计算机程序时,使 得所述数据传输装置实现如权利要求12至15任一项所述方法的步骤。
  34. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序被处理器执行时,使得耳机部件实现如权利要求1至7任一项所述方法的步骤,或者使得耳机部件实现如权利要求8至11任一项所述方法的步骤,或者使得耳机部件实现如权利要求12至15任一项所述方法的步骤。
PCT/CN2021/143051 2021-11-15 2021-12-30 耳机交互方法、耳机套件、耳机部件及存储介质 WO2023082448A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111348330.6 2021-11-15
CN202111348330.6A CN114245269B (zh) 2021-11-15 2021-11-15 耳机交互方法、耳机套件、耳机部件及存储介质

Publications (1)

Publication Number Publication Date
WO2023082448A1 true WO2023082448A1 (zh) 2023-05-19

Family

ID=80749337

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/143051 WO2023082448A1 (zh) 2021-11-15 2021-12-30 耳机交互方法、耳机套件、耳机部件及存储介质

Country Status (2)

Country Link
CN (1) CN114245269B (zh)
WO (1) WO2023082448A1 (zh)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10485049B1 (en) * 2017-11-15 2019-11-19 Amazon Technologies, Inc. Wireless device connection handover
CN111131952A (zh) * 2019-12-27 2020-05-08 深圳春沐源控股有限公司 耳机组件的控制方法、耳机组件和计算机可读存储介质
CN111787158A (zh) * 2020-07-29 2020-10-16 歌尔科技有限公司 耳机装置、移动设备的消息提醒方法及存储介质
CN111862975A (zh) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 智能终端控制方法、装置、设备、存储介质和系统
CN111954123A (zh) * 2020-08-13 2020-11-17 上海富芮坤微电子有限公司 无线音频设备信息同步的方法、系统、介质及无线音频设备
CN111988693A (zh) * 2020-08-10 2020-11-24 歌尔科技有限公司 基于耳机充电盒的耳机控制方法、系统及可读存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102421055A (zh) * 2011-11-09 2012-04-18 深圳市禹欣鑫电子有限公司 无线数字遥控音箱装置
CN206402400U (zh) * 2016-11-22 2017-08-11 深圳市豪恩声学股份有限公司 自锁结构及耳机
CN109104684B (zh) * 2018-07-26 2020-10-30 Oppo广东移动通信有限公司 麦克风堵孔检测方法及相关产品
CN111866823B (zh) * 2019-04-26 2023-10-13 深圳市三诺声智联股份有限公司 无线耳机充电设备、交互方法及存储介质
CN110166994B (zh) * 2019-05-24 2020-01-14 深圳市烁讯电子有限公司 一种数据分时传输互用方法、系统、移动终端及存储介质
CN112312368A (zh) * 2019-08-01 2021-02-02 阿里巴巴集团控股有限公司 数据处理方法、装置、设备和存储介质
CN111131966B (zh) * 2019-12-26 2022-05-20 上海传英信息技术有限公司 模式控制方法、耳机系统及计算机可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10485049B1 (en) * 2017-11-15 2019-11-19 Amazon Technologies, Inc. Wireless device connection handover
CN111131952A (zh) * 2019-12-27 2020-05-08 深圳春沐源控股有限公司 耳机组件的控制方法、耳机组件和计算机可读存储介质
CN111862975A (zh) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 智能终端控制方法、装置、设备、存储介质和系统
CN111787158A (zh) * 2020-07-29 2020-10-16 歌尔科技有限公司 耳机装置、移动设备的消息提醒方法及存储介质
CN111988693A (zh) * 2020-08-10 2020-11-24 歌尔科技有限公司 基于耳机充电盒的耳机控制方法、系统及可读存储介质
CN111954123A (zh) * 2020-08-13 2020-11-17 上海富芮坤微电子有限公司 无线音频设备信息同步的方法、系统、介质及无线音频设备

Also Published As

Publication number Publication date
CN114245269A (zh) 2022-03-25
CN114245269B (zh) 2023-05-05

Similar Documents

Publication Publication Date Title
US11653398B2 (en) Bluetooth connection method and device
CN112789866B (zh) 应用于tws耳机单双耳切换的音频数据传输方法及设备
WO2020133614A1 (zh) 一种无线通信方法、终端、音频组件、装置及存储介质
CN112868244B (zh) 一种点对多点的数据传输方法及设备
US20100048133A1 (en) Audio data flow input/output method and system
WO2019090726A1 (zh) 选择蓝牙设备的方法、终端和系统
CN110809243B (zh) 无线耳机、无线耳机配对方法、终端及系统
WO2020113587A1 (zh) 一种使用蓝牙耳机进行通话的方法、设备及系统
KR20200106742A (ko) 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법
KR102335903B1 (ko) 전자 장치들 간에 통신 방법 및 장치
CN111654450B (zh) 数据传输方法及装置、存储介质
CN114450971A (zh) 外部音频电子装置、电子装置和管理通信链路的方法
WO2020124371A1 (zh) 一种数据信道的建立方法及设备
WO2022237609A1 (zh) 通信控制方法、电子设备和耳机
KR20200106743A (ko) 블루투스 네트워크 환경에서 응답 메시지를 전송하기 위한 전자 장치 및 그에 관한 방법
WO2024082906A1 (zh) 信息获取方法、装置、蓝牙设备、终端设备及存储介质
WO2023082447A1 (zh) 语音软件工作状态指示方法、耳机套件、耳机部件及计算机可读存储介质
WO2023082448A1 (zh) 耳机交互方法、耳机套件、耳机部件及存储介质
WO2023103732A1 (zh) 耳机设备的状态控制方法、装置、耳机设备及存储介质
WO2021233398A1 (zh) 无线音频系统、无线通讯方法及设备
WO2022160967A1 (zh) 通信方法、移动设备、电子设备和计算机可读存储介质
CN110381418B (zh) 扬声设备、中转设备以及移动终端
CN114205699A (zh) 无线耳机、控制无线耳机的方法及存储介质
CN217063732U (zh) 一种蓝牙通信系统
WO2022052760A1 (zh) 一种组合音箱的配置方法、音箱和电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21963884

Country of ref document: EP

Kind code of ref document: A1