WO2020151003A1 - 一种建立蓝牙数据通道的方法及装置 - Google Patents

一种建立蓝牙数据通道的方法及装置 Download PDF

Info

Publication number
WO2020151003A1
WO2020151003A1 PCT/CN2019/073207 CN2019073207W WO2020151003A1 WO 2020151003 A1 WO2020151003 A1 WO 2020151003A1 CN 2019073207 W CN2019073207 W CN 2019073207W WO 2020151003 A1 WO2020151003 A1 WO 2020151003A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication device
message
parameter
mode
data channel
Prior art date
Application number
PCT/CN2019/073207
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 华为技术有限公司
Priority to PCT/CN2019/073207 priority Critical patent/WO2020151003A1/zh
Priority to CN201980089665.5A priority patent/CN113348685B/zh
Priority to EP19911776.3A priority patent/EP3908017A4/en
Publication of WO2020151003A1 publication Critical patent/WO2020151003A1/zh
Priority to US17/383,717 priority patent/US11800337B2/en

Links

Images

Classifications

    • 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/24Negotiation of communication capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4112Peripherals receiving signals from specially adapted client devices having fewer capabilities than the client, e.g. thin client having less processing power or no tuning capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • H04N21/4383Accessing a communication channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • H04N21/4518Management of client data or end-user data involving characteristics of one or more peripherals, e.g. peripheral type, software version, amount of memory available or display capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/654Transmission by server directed to the client
    • H04N21/6547Transmission by server directed to the client comprising parameters, e.g. for client setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server
    • H04N21/6583Acknowledgement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8106Monomedia components thereof involving special audio data, e.g. different tracks for different languages
    • H04N21/8113Monomedia components thereof involving special audio data, e.g. different tracks for different languages comprising music, e.g. song in MP3 format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • 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

Definitions

  • This application relates to the field of Bluetooth technology, and in particular to a method and device for establishing a Bluetooth data channel.
  • Bluetooth low energy (BLE) business has a trend to replace the traditional Bluetooth business in all aspects, especially in the audio field.
  • SIG Special interest group
  • ISO BLE isochronous channels
  • ISO is a data path based on a connection-oriented asynchronous logical link (asynchronous connection logical transport, ACL).
  • Bluetooth devices need to perform a three-way handshake based on BLE ACL during the ISO establishment process.
  • the first two handshakes are used to negotiate BLE service parameters between Bluetooth devices, and the third handshake is used
  • a connection-oriented data stream (connected isochronous stream, CIS) channel between Bluetooth devices is established, and then the BLE service data is transmitted through the CIS channel.
  • CIS connected isochronous stream
  • the embodiments of the present application provide a method and device for establishing a Bluetooth data channel, which are used to solve the technical problem that the process of establishing an ISO after the start of the BLE service takes too long and causes the BLE service delay to be too high.
  • the present application provides a method for establishing a Bluetooth data channel.
  • the first communication device negotiates with the second communication device to determine a first parameter before starting a service in the first mode, and the first parameter can be used for Establish a data channel between the first communication device and the second communication device.
  • the data channel is used to transmit Bluetooth data in the first mode.
  • the first communication device starts the service in the first mode, it sends the data to the second communication device.
  • the second communication device sends a first message, and the first message is used to request the second communication device to establish the data channel based on the first parameter.
  • the first communication device has negotiated and determined the first parameter with the second communication device before starting the service in the first mode, and there is no need to negotiate the first parameter after starting the service in the first mode, so it can reduce In the BLE service, the time consuming between the start of the service in the first mode and the establishment of the data channel can reduce the delay of the BLE service.
  • the first mode may be an audio mode
  • the service involved above may be an audio service.
  • the audio mode may be related to the quality of the Bluetooth data of the audio service.
  • the audio service may be divided into different modes according to the quality of the Bluetooth data.
  • the first mode may also refer to a video service or other types of services.
  • a second message may be sent to the second communication device, and the second message is used to request negotiation between the first communication device and the second communication device. Parameters used when the second communication device transmits Bluetooth data in the first mode.
  • the first communication device receives a third message sent by the second communication device, and the third message is used to determine the first parameter.
  • the first communication device and the second communication device can negotiate and determine the first parameter through the second message and the third message.
  • the second message may be specifically used to indicate at least one parameter
  • the at least one parameter includes the first parameter
  • the third message may be specifically used to indicate that the second communication device agrees to establish based on the first parameter.
  • the data channel may be specifically used to indicate that the second communication device agrees to establish based on the first parameter.
  • the second message may also be used to request negotiation of parameters used in the second mode of Bluetooth data transmission between the first communication device and the second communication device, and the third message may also be used to determine The second parameter is used to transmit Bluetooth data in the second mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the second parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the second parameter.
  • the second message may also be used to request negotiation of parameters used in the third mode of Bluetooth data transmission between the first communication device and the second communication device, and the third message may also be used to determine The third parameter is used to transmit Bluetooth data in the third mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the third parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the third parameter.
  • the second message may be an L2CAP message.
  • the first communication device can negotiate with the second communication device through the L2CAP message to determine the parameters used when transmitting Bluetooth data in one or more modes.
  • the third message may also be an L2CAP message.
  • the first mode may be any one of a high-quality music mode, a normal-sound quality music mode, or a voice mode.
  • the first mode, the second mode, and the third mode involved in this application may be one of a high-quality music mode, a normal-sound quality music mode, or a voice mode, respectively.
  • the second terminal device may negotiate with the first terminal device to determine the first parameter before the first communication device starts the service in the first mode, The first parameter can be used to establish a data channel between the first communication device and the second communication device, and the data channel is used to transmit Bluetooth data in the first mode.
  • the second terminal device may receive a first message from the first communication device, and the first message is used to request the second communication device to establish the data channel.
  • a second message may be received from the first communication device, and the second message is used to request negotiation between the first communication device and the first communication device. Parameters used when the second communication device transmits Bluetooth data in the first mode. Thereafter, the second communication device may send a third message to the first communication device, and the third message is used to determine the first parameter.
  • the first communication device and the second communication device can determine the first parameter by displaying the second message and the third message.
  • the second message may be used to indicate at least one parameter
  • the at least one parameter includes the first parameter
  • the third message may be specifically used to indicate that the second communication device agrees to establish the Data channel.
  • the second message may also be used to request negotiation of parameters used in the second mode of Bluetooth data transmission between the first communication device and the second communication device, and the third message may also be used to determine The second parameter is used to transmit Bluetooth data in the second mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the second parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the second parameter.
  • the second message may also be used to request negotiation of parameters used in the third mode of Bluetooth data transmission between the first communication device and the second communication device, and the third message may also be used to determine The third parameter is used to transmit Bluetooth data in the third mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the third parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the third parameter.
  • the second message may be an L2CAP message.
  • the first mode may be any one of a high-quality music mode, a normal-sound quality music mode, or a voice mode.
  • the first mode, the second mode, and the third mode involved in this application may be one of a high-quality music mode, a normal-sound quality music mode, or a voice mode, respectively.
  • an embodiment of the present application provides a communication device for implementing the method for establishing a Bluetooth data channel provided in the first aspect or any one of the possible designs in the first aspect.
  • the communication device may have the functions that the first communication device and/or the second communication device in the foregoing method example of the first aspect have when executing the method for establishing a Bluetooth data channel provided in the embodiments of the present application.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • the communication device may include a first negotiation unit and a first message sending unit, and these units can perform the establishment of Bluetooth data provided by the first aspect or any one of the possible designs in the first aspect.
  • a first negotiation unit and a first message sending unit can perform the establishment of Bluetooth data provided by the first aspect or any one of the possible designs in the first aspect.
  • the communication device may include a second negotiation unit and a first message receiving unit, and these units can perform the establishment of Bluetooth data provided by the first aspect or any one of the possible designs in the first aspect.
  • a second negotiation unit and a first message receiving unit can perform the establishment of Bluetooth data provided by the first aspect or any one of the possible designs in the first aspect.
  • the structure of the communication device may include a transceiver, a memory, and a processor, where the processor, the memory, and the transceiver may be connected by a bus or other media.
  • the transceiver can be used for communication with communication devices.
  • the memory can be used to store computer programs.
  • the processor may be used to call a computer program stored in the memory to execute the corresponding function in the example of the method for establishing a Bluetooth data channel provided by the first aspect or any one of the possible designs in the first aspect.
  • the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
  • the program When the program is executed by a processor, the computer executes the first aspect or any one of the first aspects. Possible design methods provided.
  • the embodiments of the present application also provide a computer program product.
  • the computer program product stores instructions that, when run on a computer, enable the computer to execute the first aspect or any one of the first aspects. The method provided by the design.
  • an embodiment of the present application provides a chip system, which includes a processor and may also include a memory, for implementing the first aspect or any one of the possible design methods of the first aspect.
  • the chip system can be composed of chips, or can include chips and other discrete devices.
  • an embodiment of the present application provides a communication system, which includes the communication device described in the second aspect.
  • FIG. 1 is a schematic diagram of the architecture of a communication system to which an embodiment of the application is applicable;
  • FIG. 2 is a schematic flowchart of a method for establishing a Bluetooth data channel provided by an embodiment of the application
  • FIG. 3 is a schematic flowchart of another method for establishing a Bluetooth data channel provided by an embodiment of the application.
  • FIG. 4 is a schematic flowchart of another method for establishing a Bluetooth data channel provided by an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 6 is a schematic structural diagram of another communication device provided by an embodiment of this application.
  • FIG. 7 is a schematic structural diagram of another communication device provided by an embodiment of this application.
  • At least one refers to one or more than one, that is, one, two, three or more.
  • Carrying can mean that a certain message is used to carry certain information or data, or it can mean that a certain message consists of certain information.
  • the communication system provided by the embodiment of the application is introduced, which can be used to implement the method for establishing a Bluetooth data channel provided by the embodiment of the application, and then the specific implementation of the method for establishing a Bluetooth data channel provided by the embodiment of the application is introduced. Finally, the communication device provided by the embodiment of the present application is introduced.
  • the communication system provided by the embodiment of the present application may include at least two Bluetooth communication devices.
  • the Bluetooth communication device here can perform BLE services (for example, BLE-based audio services) and/or transmit BLE service data based on Bluetooth related protocols.
  • the BLE service is used as an audio service to describe the embodiments of this application, but it should not be understood that the BLE service involved in this application only includes audio services.
  • BLE services may also include video services or other types of services, and these services may have many different modes.
  • the mode of the BLE service may be related to the quality of the Bluetooth data of the BLE service.
  • BLE services such as audio and video can be classified according to high quality (such as high sound quality or high picture quality), medium quality (such as medium sound quality or medium picture quality), and low quality (such as bass quality or low picture quality).
  • One type of BLE service corresponds to different modes. In each mode, the parameters used to establish a data channel between Bluetooth communication devices may be different, and different data channels are used to transmit Bluetooth data of the BLE service in different modes.
  • a wireless communication system 100 may include a first Bluetooth communication device 101 and a second Bluetooth communication device 102, wherein the first Bluetooth communication device 101 and the second Bluetooth communication device 102
  • the Bluetooth communication device 102 includes, but is not limited to, a smart terminal such as a smart phone, a notebook or a tablet computer with a Bluetooth function, and a playback device such as a headset, a stereo, or a car player.
  • the smart terminal is generally used as the initiator device of the BLE service, which starts the audio service and sends BLE service data to the receiver device of the BLE service
  • the playback device generally acts as the receiver device of the audio service, and the device can receive the initiation of the audio service Bluetooth data of the audio service provided by the party device, and play audio to the user based on the Bluetooth data.
  • this application does not exclude that the audio service can be started by the playback device, for example, the user can start the audio service by operating a Bluetooth headset.
  • the first Bluetooth communication device 101 is a smart phone and the second Bluetooth communication device 102 is a Bluetooth headset as an example, and further detailed description is provided, but it should not be It is understood that the method for establishing a Bluetooth data channel involved in this application requires a smart phone or other device as the initiator of the BLE service to execute the step of sending the first message in the method for establishing a Bluetooth data channel provided by this application, and should not It is understood that the first message involved in this application must be received by a Bluetooth headset or other device that is the recipient of the BLE service, that is, when the method for establishing a Bluetooth data channel provided in this application is executed, the steps performed by the smart phone and the Bluetooth headset can interact with each other. Change the executive body.
  • the first Bluetooth communication device 101 is a smart phone and the second Bluetooth communication device 102 is a Bluetooth headset as an example.
  • the method for establishing a Bluetooth data channel provided by the embodiment of the application is described in detail, which may include the following steps:
  • the smart phone Before starting the service in the first mode, the smart phone negotiates with the Bluetooth headset to determine a first parameter.
  • the first parameter is used to establish a data channel between the smart phone and the Bluetooth headset, and the data channel is used for transmission. Bluetooth data in the first mode.
  • the above first mode may be a mode, and the first parameter is used to establish a data channel for Bluetooth data transmission in this mode, that is, the first parameter corresponds to the mode.
  • the first mode may be one of the following modes: a high sound quality music mode, a normal sound quality music mode, or a voice mode.
  • the data channel may be an ISO channel
  • the first parameter may be a CIS parameter (parameter) of the ISO channel.
  • S101 needs to be performed before the smart phone starts the service in the first mode.
  • the smart phone After starting the service in the first mode, the smart phone sends a first message to the Bluetooth headset, where the first message is used to request the Bluetooth headset to establish the data channel according to the first parameter determined through the foregoing negotiation.
  • the steps shown in S102 may be performed during the process of establishing a Bluetooth connection between the smart phone and the Bluetooth headset.
  • the Bluetooth headset receives the first message sent by the smart phone. Thereafter, according to the first message, the Bluetooth headset and the smart phone can establish the data channel according to the first parameter determined in advance through negotiation, and then transmit the first mode of Bluetooth data with the smart phone based on the established data channel. For example, based on the data channel, the Bluetooth headset can receive the Bluetooth data transmitted from the smart terminal, and then the Bluetooth headset can play the received Bluetooth data.
  • the first parameter can be determined through negotiation between the smart phone and the Bluetooth headset before the smart phone starts the service in the first mode, so that after the smart phone starts the service, the smart phone can be based on the first parameter that has been negotiated and determined in advance.
  • the parameter requests the Bluetooth headset to establish a data channel, so the time between starting the service and requesting the establishment of the data channel can be reduced, thereby reducing the service delay.
  • the service involved in the steps shown in FIG. 2 may be an audio service
  • the first mode may be the first audio mode. Therefore, the above method can reduce the time delay between the start of audio service and the establishment of the data channel for transmitting Bluetooth audio data.
  • the audio mode may be related to the quality of the Bluetooth data of the audio service.
  • the first mode may include any one of a high-quality music mode, a normal-sound quality music mode, and a voice mode.
  • the services involved above can also be video services or other types of services.
  • the smart phone can send a second message to the Bluetooth headset.
  • the second message is used to request the negotiation of the first mode of Bluetooth data transmission between the smart phone and the Bluetooth headset.
  • the second message can be used to indicate at least one candidate parameter, so that the Bluetooth headset can select a suitable parameter (that is, as the first parameter) from the at least one candidate parameter after receiving the second message
  • the smart phone can receive a third message fed back from the Bluetooth headset, and the third message can be used by the smart phone to determine the first parameter.
  • a more specific negotiation process can be: the second message sent by the smart phone to the Bluetooth headset can carry an alternative parameter. If the Bluetooth headset determines that the alternative parameter can be used as the parameter corresponding to the first mode, the Bluetooth headset can pass the second message
  • the three messages indicate agreement to use the candidate parameter as the parameter corresponding to the first mode. For example, the Bluetooth headset can use the specific value of the specific bit in the third message to indicate that the candidate parameter is agreed to be the parameter corresponding to the first mode.
  • the at least one candidate parameter indicated in the second message does not include a suitable parameter for establishing a data channel between the smart phone and the Bluetooth headset, or the second message does not contain any optional parameters. Parameters, and the Bluetooth headset needs to be requested to indicate the available parameters. At this time, the Bluetooth headset can indicate the new parameter as the first parameter through the third message.
  • the above process of negotiating and determining the first parameter between the smart phone and the Bluetooth headset may be started at the moment when the Bluetooth connection is established between the smart phone and the Bluetooth headset.
  • the foregoing second message may be a link layer CIS request message (link_layer connected isochronous stream request, LL_CIS_REQ).
  • the third message may be a link layer CIS response message (link_layer connected isochronous stream response, LL_CIS_RSP).
  • the smart phone and the Bluetooth headset can also negotiate and determine other multiple sets of parameters through the steps shown in S101.
  • different sets of parameters can be used to establish a protocol for transmitting different modes of Bluetooth data. Transmission channel.
  • the second message can also be used to request negotiation of audio parameters used when transmitting Bluetooth audio data in the second audio mode between the smartphone and the Bluetooth headset, and/or, to request negotiation of the smartphone Audio parameters used when transmitting Bluetooth audio data in the third audio mode with the Bluetooth headset.
  • the third message can also be used to determine the second parameter, which is used to determine the transmission channel that needs to be established to transmit Bluetooth audio data in the second audio mode between the smartphone and the Bluetooth headset, and/or the third message is also used To determine the third parameter, the third parameter is used to determine the transmission channel that needs to be established to transmit Bluetooth audio data in the third audio mode between the smart phone and the Bluetooth headset.
  • the smart phone can request to negotiate with the Bluetooth headset to determine multiple sets of parameters by sending a second message.
  • different sets of parameters can be used to establish transmission channels for transmitting different modes of Bluetooth data.
  • the smart phone can send a second message to request to negotiate with the Bluetooth headset to determine the audio parameters corresponding to the three audio modes: high-quality music mode, normal sound-quality music mode, and voice mode, and the Bluetooth headset sends
  • a third message indicates the audio parameters corresponding to the above three audio modes, so that the smartphone and the Bluetooth headset can negotiate the audio parameters corresponding to the above three audio modes through a second message and a third message,
  • each interaction each interaction includes two handshake processes
  • it can save the number of interactions required to negotiate the audio parameters corresponding to the above three audio modes. Thereby reducing the delay caused by the process of negotiating parameters.
  • the first message, the second message, and the third message involved in this application may all be link layer (link layer, LL) messages, which are sent through the link layer of the terminal device,
  • the message may be a link layer discovery protocol (link layer discovery protocol, LLCP) message or a logical link control and adaptation protocol (logical link control and adaptation protocol, L2CAP) message.
  • L2CAP link control and adaptation protocol
  • the second message is an L2CAP message
  • the message can carry more bits of information than the LLCP message used in parameter (parameters for establishing a Bluetooth data channel) negotiation between Bluetooth communication devices.
  • the second message can be used to request negotiation of parameters corresponding to multiple modes, for example, respectively carrying candidate parameters corresponding to each mode, which provides the possibility for negotiating parameters corresponding to multiple modes through one second message.
  • the third message may also be an L2CAP message.
  • the smart phone may send the first message after determining to start the service in the first mode.
  • the audio service in the first audio mode can be started when the smart phone has never played the audio service and entered the state where the audio service in the first audio mode has been played.
  • the audio service of the audio mode other than the audio mode is switched to the state of playing the audio service of the first audio mode.
  • the smart phone may send the first message after determining that the user operates the smart phone to trigger audio playback in the high-quality music mode; or, the smart phone may confirm that the user passes After the operation of the smart phone, the music in the normal sound quality music mode is switched to the music in the high sound quality music mode, and the first message is sent.
  • the first message involved in this application may be a link layer CIS indication (link_layer connected isochronous stream indication, LL_CIS_IND) message.
  • This message can be used to request the establishment of a CIS channel.
  • the message sent by the smart phone can carry information for indicating parameters (such as the first parameter), so that the Bluetooth headset can determine which parameter the smart phone requests to establish the CIS channel according to the information.
  • the message can carry information for indicating the service, so that the Bluetooth headset can determine which type of service the smart phone has started based on the information (for example, indicating which type of audio service is the audio service), so as to determine which type of audio service is the audio service according to the service.
  • the corresponding parameters establish the corresponding CIS channel.
  • the method for establishing a Bluetooth data channel provided in the embodiment of the present application is further introduced.
  • the first terminal device and the second terminal device may be the aforementioned smart phone and Bluetooth headset, respectively, or the aforementioned Bluetooth headset and smart phone, respectively.
  • the first terminal device and the second terminal device can configure information and/or parameters through a host, and the terminal device can configure information and/or parameters through a link layer (also called a controller) according to the host. Or parameters for sending and/or receiving link layer messages.
  • the first terminal device and the second terminal device can configure information through the host and send the information through the link layer.
  • the functions of the host and link layer can be implemented in software. As shown in Figure 3, taking the audio service as an example, the method includes the following steps:
  • S201 The host of the smart phone generates a first parameter, and the first parameter is used to establish an audio data channel for transmitting Bluetooth audio data in the first audio mode.
  • S202 The host of the smart phone sends the first parameter to the link layer, so that the link layer sends the second message to the Bluetooth headset.
  • the link layer of the smart phone generates and sends a second message to the link layer of the Bluetooth headset.
  • the second message includes the first parameter and is used to request the Bluetooth headset to determine whether the first parameter included in the second information can be used as the establishment audio Parameters of the data channel, the audio data channel is used for the smartphone and the Bluetooth headset to transmit Bluetooth audio data in the first audio mode.
  • the link layer of the smart phone may also send a response message to the host of the smart phone after receiving the first parameter.
  • the second message involved in S203 may be a link layer message, such as an LLCP message or an L2CAP message.
  • the link layer of the Bluetooth headset receives the second message, and sends a first request message to the host of the Bluetooth headset.
  • the first request message is used to indicate the first parameter and to query the host of the Bluetooth headset whether the first parameter is Can be used as a parameter for establishing audio data channels.
  • S205 If the host of the Bluetooth headset determines that the first parameter included in the second message can be used as a parameter for establishing an audio data channel, it sends an acceptance response to the link layer of the Bluetooth headset to indicate that the first parameter can be used for establishing an audio data channel. parameter.
  • the link layer of the Bluetooth headset sends a third message to the link layer of the smartphone according to the acceptance response to indicate that the Bluetooth headset agrees to use the first parameter as a parameter for establishing an audio data channel.
  • the link layer of the Bluetooth headset may also send a response message to the host of the Bluetooth headset after receiving the acceptance response to indicate that the acceptance response is received.
  • S207 The link layer of the smart phone receives the third message.
  • starting the audio service in the first audio mode can mean that the smart phone enters the state of starting to play the audio service in the first audio mode from the state of never playing the audio service, or it can mean that the smart phone has switched from playing the audio service in the first audio mode outside The audio service of the audio mode is switched to the state of playing the audio service of the first audio mode.
  • the link layer of the smart phone sends a first message to the link layer of the Bluetooth headset according to the second request message sent by the host.
  • the first message is used to request the establishment of an audio data channel based on the first parameter. Used to transmit Bluetooth audio data in the first audio mode between the smart phone and the Bluetooth headset.
  • the first message may include the first parameter, or information used to indicate the first parameter, such as the identifier and number of the first parameter.
  • the first message may also carry information for indicating the first audio mode, such as the identifier of the audio mode.
  • the link layer of the smart phone can also send a response message to the host after receiving the request message.
  • the first message here can be the LL_CIS_IND message.
  • the link layer of the Bluetooth headset After receiving the first message, the link layer of the Bluetooth headset sends an inquiry request to the host of the Bluetooth headset to inquire whether an audio data channel can be established according to the first parameter.
  • the link layer of the Bluetooth headset receives a response message sent by the host of the Bluetooth headset.
  • the response message may indicate that the host agrees to establish an audio data channel according to the first parameter.
  • S212 An audio data channel is established between the Bluetooth headset and the smart phone based on the first parameter.
  • the Bluetooth headset can also negotiate with the smartphone to determine the second parameter and the third parameter by referring to the steps shown in S201 to S207, where the second parameter is used to establish the transmission The audio data channel of the Bluetooth audio data in the second audio mode, and the third parameter is used to establish the audio data channel for transmitting the Bluetooth audio data in the third audio mode.
  • the steps shown in S201 above may be executed after the Bluetooth connection between the smart phone and the Bluetooth headset is established.
  • the smart phone and the Bluetooth headset can also negotiate audio parameters corresponding to audio modes other than the first audio mode.
  • the negotiation method is not specifically limited in this application. For example, S201 Proceed to the steps shown in S207.
  • the smart phone negotiates with the Bluetooth headset to determine the first parameter corresponding to the first audio mode, so that after the audio service in the first audio mode is started, the smart phone With the Bluetooth headset, the audio data channel can be established directly according to the first parameter determined through negotiation to realize the transmission of Bluetooth audio data in the first audio mode, thereby saving the transmission of Bluetooth audio data when starting the audio service in the first audio mode Time delay, thereby reducing the BLE audio service delay.
  • the smart phone and the Bluetooth headset can directly establish an audio data channel based on the second parameter determined through negotiation to realize the transmission of Bluetooth audio data in the second audio mode.
  • the smart phone and the Bluetooth headset may directly establish an audio data channel according to the third parameter determined through negotiation to realize the transmission of Bluetooth audio data in the third audio mode.
  • the above process as shown in Figure 3 can also be used to establish a Bluetooth data channel under a video service or other services.
  • the process of the method for establishing a Bluetooth data channel provided by the present application when negotiating parameters corresponding to multiple modes and establishing a Bluetooth data channel through a second message is introduced.
  • the method for establishing a Bluetooth data channel provided in the embodiment of the present application may include the following steps:
  • the host of the smart phone generates a first parameter, a second parameter, and a third parameter.
  • the first parameter is used to establish an audio data channel for transmitting Bluetooth audio data in the first audio mode
  • the second parameter is used to establish a second The audio data channel of the Bluetooth audio data in the audio mode
  • the third parameter is used to establish the audio data channel for transmitting the Bluetooth audio data in the third audio mode.
  • the host of the smart phone sends a second message to the host of the Bluetooth headset, which carries the first parameter, the second parameter, and the third parameter.
  • the second message may be an L2CAP message, and the second message is used to query the Bluetooth headset first Whether the parameter can be used as an audio parameter for establishing an audio data channel in the first audio mode, whether the second parameter can be used as an audio parameter for establishing an audio data channel in a second audio mode, and whether the third parameter can be used as an audio parameter for establishing a third audio mode The audio parameters of the audio data channel under.
  • the host of the Bluetooth headset determines that the first parameter can be used as the audio parameter for establishing the audio data channel in the first audio mode, the second parameter can be used as the audio parameter for establishing the audio data channel in the second audio mode, and the third parameter can be As the audio parameters for establishing the audio data channel in the third audio mode, a third message is sent to the host of the smart phone to indicate the result of the above judgment, and the host of the Bluetooth headset can also send this to the link layer of the Bluetooth headset.
  • the first parameter, the second parameter, and the third parameter are configured to configure the first parameter, the second parameter, and the third parameter to the link layer of the Bluetooth headset.
  • the host of the smart phone may configure the first parameter, the second parameter, and the third parameter to the link layer of the smart phone.
  • starting the audio service in the first audio mode can mean that the smart phone enters the state of starting to play the audio service in the first audio mode from the state of never playing the audio service, or it can mean that the smart phone has switched from playing the audio service in the first audio mode outside The audio service of the audio mode is switched to the state of playing the audio service of the first audio mode.
  • the link layer of the smart phone sends a first message to the link layer of the Bluetooth headset according to the request message sent by the host, the first message is used to request the establishment of an audio data channel based on the first parameter, and the audio data channel is used for The smartphone and the Bluetooth headset transmit Bluetooth audio data in the first audio mode.
  • the first message may include the first parameter, or include information used to indicate the first parameter, such as the identifier and number of the first parameter.
  • the first message may also carry information used to indicate the first audio mode, such as carrying an identifier of the audio mode.
  • the link layer of the smart phone can also send a response message to the host after receiving the request message.
  • the link layer of the Bluetooth headset After receiving the first message, the link layer of the Bluetooth headset sends an inquiry request to the host of the Bluetooth headset to inquire whether an audio data channel can be established according to the first parameter.
  • the link layer of the Bluetooth headset receives a response message sent by the host of the Bluetooth headset.
  • the response message may indicate that the host agrees to establish an audio data channel according to the first parameter.
  • S309 The Bluetooth headset and the smart phone establish an audio data channel according to the first parameter.
  • the steps shown in S301 above may be executed after the Bluetooth connection between the smart phone and the Bluetooth headset is established.
  • the smart phone negotiates with the Bluetooth headset to determine the first parameter corresponding to the first audio mode, the second parameter corresponding to the second audio mode, and the third audio mode Corresponding to the third parameter, so that after starting the audio service in the first audio mode, the smartphone and the Bluetooth headset can directly establish an audio data channel according to the negotiated first parameter to realize the transmission of Bluetooth audio data in the first audio mode , In order to reduce the delay of BLE audio service.
  • the smart phone and the Bluetooth headset can directly establish an audio data channel based on the second parameter determined through negotiation to realize the transmission of Bluetooth audio data in the second audio mode.
  • the smart phone and the Bluetooth headset can directly establish an audio data channel according to the third parameter determined through negotiation to realize the transmission of Bluetooth audio data in the third audio mode.
  • the above process as shown in Figure 4 can also be used to establish a Bluetooth data channel under a video service or other services.
  • an embodiment of the present application also provides a communication device, which can be used to implement the first communication device (such as a smart phone) and/or the second communication device in the above method embodiment. Functions performed by communication devices (such as Bluetooth headsets).
  • an embodiment of the present application also provides a communication device 500, which is configured to perform the operations performed by the first terminal device in the above method for establishing a Bluetooth data channel.
  • the communication device 500 may include a first negotiation unit 501 and a first message sending unit 502.
  • the communication device 500 may further include a processing unit 503.
  • the first negotiation unit 501 may be used to negotiate with the second communication device to determine the first parameter before the first terminal device starts the service in the first mode, and the first parameter may be used to establish the first communication device and the second communication device.
  • a data channel between two communication devices, and the data channel is used to transmit Bluetooth data in the first mode.
  • the first message sending unit 502 can be used to send a first message to the second communication device, and the first message is used to request the second communication device to establish the data channel .
  • services described here may be audio services, video services or other types of services.
  • the first negotiation unit 501 may send a second message to the second communication device, and the second message is used to request negotiation of the first mode of transmission between the first communication device and the second communication device.
  • the parameters used in the Bluetooth data may also receive a third message sent by the second communication device, where the third message is used to determine the first parameter.
  • the second message may be specifically used to indicate at least one parameter
  • the at least one parameter includes the first parameter
  • the third message may be specifically used to indicate that the second communication device agrees to establish the data channel based on the first parameter
  • the second message can also be used to request negotiation of parameters used in the second mode of Bluetooth data transmission between the first communication device and the second communication device, and the third message can also be used to determine the second parameter.
  • the two parameters are used to transmit Bluetooth data in the second mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the second parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the second parameter.
  • the second message may also be used to request negotiation of parameters used when transmitting Bluetooth data in the third mode between the first communication device and the second communication device.
  • the third message may also be used to determine a third parameter. Used to transmit Bluetooth data in the third mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the third parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the third parameter.
  • the second message may be an L2CAP message.
  • the first communication device can negotiate with the second communication device through the L2CAP message to determine the parameters used when transmitting Bluetooth data in one or more modes.
  • the third message may also be an L2CAP message.
  • the above first mode may be any one of a high-quality music mode, a normal-sound quality music mode, or a voice mode.
  • the first mode, the second mode, and the third mode mentioned above may be one of a high-quality music mode, a normal-sound quality music mode, or a voice mode, respectively.
  • the service of the first mode may be an audio service.
  • the first mode may be any one of a high sound quality music mode, a normal sound quality music mode, or a voice mode.
  • the first mode, the second mode, and the third mode involved in this application may be one of a high-quality music mode, a normal-sound quality music mode, or a voice mode, respectively.
  • processing unit 503 may be used to configure the information and parameters required by the first negotiation unit 501 and the first message sending unit 502 to send messages.
  • first negotiation unit 501 and the first message sending unit 502 described above may be implemented by the link layer in the first terminal device.
  • the function of the processing unit 503 can be implemented by the host in the first terminal device.
  • the above first negotiation unit 501, the first message sending unit 502, and the processing unit 503 may be independent of each other, or may be partially or fully integrated into one, which is not specifically limited in this application.
  • an embodiment of the present application also provides a communication device 600 for performing operations performed by the second terminal device in the above method for establishing a Bluetooth data channel.
  • the communication device 600 may include a second negotiation unit 601 and a first message receiving unit 602.
  • the communication device 600 may further include a processing unit 603.
  • the second negotiation unit 601 may negotiate with the first terminal device to determine the first parameter before the first communication device starts the service in the first mode, and the first parameter may be used to establish the first communication device and the second communication device.
  • a data channel between communication devices where the data channel is used to transmit Bluetooth data in the first mode.
  • the first message receiving unit 602 may receive a first message from the first communication device, and the first message is used to request the second communication device to establish the data channel .
  • services described here may be audio services, video services or other types of services.
  • the second negotiation unit 601 may receive a second message from the first communication device, and the second message is used to request negotiation of the first communication device Parameters used when transmitting Bluetooth data in the first mode with the second communication device. Thereafter, the second negotiation unit 601 may send a third message to the first communication device, and the third message is used to determine the first parameter.
  • the second message may be specifically used to indicate at least one parameter
  • the at least one parameter includes the first parameter
  • the third message may be specifically used to indicate that the second communication device agrees to establish the data channel based on the first parameter
  • the second message can also be used to request negotiation of parameters used in the second mode of Bluetooth data transmission between the first communication device and the second communication device, and the third message can also be used to determine the second parameter.
  • the two parameters are used to transmit Bluetooth data in the second mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the second parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the second parameter.
  • the second message may also be used to request negotiation of parameters used when transmitting Bluetooth data in the third mode between the first communication device and the second communication device.
  • the third message may also be used to determine a third parameter. Used to transmit Bluetooth data in the third mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the third parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the third parameter.
  • the second message may be an L2CAP message.
  • the first communication device can negotiate with the second communication device through the L2CAP message to determine the parameters used when transmitting Bluetooth data in one or more modes.
  • the third message may also be an L2CAP message.
  • the service of the first mode may be an audio service.
  • the first mode may be any one of a high sound quality music mode, a normal sound quality music mode, or a voice mode.
  • the first mode, the second mode, and the third mode mentioned above may be one of a high-quality music mode, a normal-sound quality music mode, or a voice mode, respectively.
  • processing unit 603 can be used to configure the information and parameters required by the second negotiation unit 601 and the first message receiving unit 602 to send messages.
  • the corresponding functions of the second negotiation unit 601 and the first message receiving unit 602 described above can be implemented by the link layer in the second terminal device.
  • the function of the processing unit 603 can be implemented by the host in the second terminal device.
  • the above second negotiation unit 601, the first message receiving unit 602, and the processing unit 603 may be independent of each other, or may be partially or fully integrated into one, which is not specifically limited in this application.
  • the units in the communication device 500 as shown in FIG. 5 and the communication device 600 as shown in FIG. 6 may be separated from each other, or may be partially or fully integrated into one body.
  • the above communication device 500 as shown in FIG. 5 and the communication device 600 as shown in FIG. 6 can be realized by integrating the units into an integrated chip.
  • an embodiment of the present application further provides a communication device 700 for performing operations performed by the first terminal device and/or the second communication device in the method for establishing a Bluetooth data channel.
  • the communication device 700 may include a transceiver 701, a processor 702, and a memory 703.
  • the transceiver 701 may be a wireless transceiver, which may be used to support the communication device 700 to receive and send signaling and data through Bluetooth and/or wireless air interface.
  • the transceiver 701 may also be a wired communication interface, such as a wire interface such as an optical fiber communication interface and a copper wire.
  • the memory 703 can be used to store program instructions and data.
  • the processor 702 can be used for the communication device 700 to call and execute the program instructions in the memory 703. When the program is executed, the processor 702 can execute the method provided by the above-mentioned embodiment by the first terminal device and/or the second communication device. operating.
  • the above transceiver 701, the processor 702, and the memory 703 may be connected through a bus structure or other connection media.
  • the transceiver 701 can be used to implement the corresponding functions of the first negotiation unit 501 and the first message sending unit 502 in the communication device 500 as shown in FIG. 5.
  • the processor 702 may be used to perform corresponding functions of the processing unit 503.
  • the transceiver 701 can be used to negotiate with the second communication device to determine the first parameter before the first terminal device starts the service in the first mode.
  • the first parameter can be used to establish the first communication device and the second communication device.
  • the data channel is used to transmit Bluetooth data in the first mode.
  • the transceiver 701 can be used to send a first message to the second communication device, and the first message is used to request the second communication device to establish the data channel.
  • services described here may be audio services, video services or other types of services.
  • the transceiver 701 may send a second message to the second communication device.
  • the second message is used to request negotiation of the first mode of Bluetooth transmission between the first communication device and the second communication device. Parameters used in data.
  • the transceiver 701 may also receive a third message sent by the second communication device, where the third message is used to determine the first parameter.
  • the transceiver 701 can be used to implement the corresponding functions of the second negotiation unit 601 and the first message receiving unit 602 in the communication device 600 shown in FIG. 6.
  • the processor 702 can perform corresponding functions of the processing unit 603.
  • the transceiver 701 can be used to negotiate with the first terminal device to determine a first parameter before the first communication device starts a service in the first mode, and the first parameter can be used for A data channel between the first communication device and the second communication device is established, and the data channel is used to transmit Bluetooth data in the first mode.
  • the transceiver 701 may receive a first message from the first communication device, and the first message is used to request the second communication device to establish the data channel.
  • the transceiver 701 may receive a second message from the first communication device, and the second message is used to request negotiation between the first communication device and the second communication device. The parameters used when transferring Bluetooth data in the first mode between. Thereafter, the transceiver 701 may send a third message to the first communication device, and the third message is used to determine the first parameter.
  • the second message can also be used to request negotiation of parameters used when transmitting Bluetooth data in the second mode between the first communication device and the second communication device.
  • the third message can also be used to determine the second parameter. Used to transmit Bluetooth data in the second mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the second parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the second parameter.
  • the second message can also be used to request negotiation of parameters used when transmitting Bluetooth data in the third mode between the first communication device and the second communication device, and the third message can also be used to determine a third parameter.
  • the three parameters are used to transmit Bluetooth data in the third mode between the first communication device and the second communication device.
  • the second message may also be used to indicate at least one parameter, the at least one parameter includes the third parameter, and the third message is specifically used to indicate that the second communication device agrees to establish the data channel based on the third parameter.
  • the second message may be an L2CAP message.
  • the first communication device can negotiate with the second communication device through the L2CAP message to determine the parameters used when transmitting Bluetooth data in one or more modes.
  • the third message may also be an L2CAP message.
  • the service of the first mode may be an audio service.
  • the first mode may be any one of a high sound quality music mode, a normal sound quality music mode, or a voice mode.
  • the first mode, the second mode, and the third mode mentioned above may be one of a high-quality music mode, a normal-sound quality music mode, or a voice mode, respectively.
  • FIG. 7 is only a schematic diagram, and the present application does not limit the communication device to further include other necessary components not shown in FIG. 7.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the computer executes the above method embodiment and method implementation. Examples of operations performed by the first communication device and/or the second communication device in any one of the possible implementation manners.
  • this application also provides a computer program product, which when invoked and executed by a computer, enables the computer to implement the above method embodiment and any possible implementation of the method embodiment Operations performed by the first communication device and/or the second communication device.
  • this application also provides a chip or chip system, which is coupled with a transceiver and used to implement the above method embodiment and any one of the possible implementation manners of the method embodiment.
  • "coupling" means that two components are directly or indirectly combined with each other. This combination can be fixed or movable. This combination can allow fluid, electricity, electrical signals or other types of signals to be connected to the two components. Communicate between.
  • the chip system may include the chip. Specifically, the chip or chip system can be used to execute the steps performed by the first communication device and/or the second communication device provided in the embodiments of the present application.
  • this application also provides a communication system that can be used to implement the foregoing method embodiment and any possible implementation of the method embodiment.
  • the communication system has the structure shown in FIG. 1.
  • These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

一种建立蓝牙数据通道的方法及装置,根据该方法,第一通信装置在启动第一模式的业务之前,与第二通信装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,第一通信装置在启动该第一模式的业务后,向该第二通信装置发送第一消息,该第一消息用于请求该第二通信装置基于第一参数建立该数据通道。采用以上方法,第一通信装置在启动第一模式的业务之前已经与第二通信装置协商确定了第一参数,因此可降低BLE业务中,在第一模式的业务的启动与建立数据通道之间的耗时,可降低BLE业务的时延。

Description

一种建立蓝牙数据通道的方法及装置 技术领域
本申请涉及蓝牙技术领域,尤其涉及一种建立蓝牙数据通道的方法及装置。
背景技术
随着蓝牙协议的不断演进,蓝牙低功耗(bluetooth low energy,BLE)业务已经有各方面都要取代传统蓝牙业务的趋势,尤其是在音频领域。蓝牙技术联盟(special interest group,SIG)的未来协议草案已经提出了BLE同步通道(isochronous channels,ISO)方案,是一种应用于BLE业务的技术方案。ISO是建立在面向连接的异步逻辑链路(asynchronous connection logical transport,ACL)基础之上的数据通路。
目前,在BLE业务开始后,蓝牙设备之间在建立ISO的过程中需要基于BLE ACL进行三次握手,其中,前两次握手用于蓝牙设备之间协商BLE业务所需参数,第三次握手用于建立蓝牙设备之间的面向连接的数据流(connected isochronous stream,CIS)通道,之后通过CIS通道传输BLE业务数据。
以上在BLE业务开始后建立ISO的过程耗时过长,使得目前BLE业务存在时延过大的问题。
发明内容
本申请实施例提供一种建立蓝牙数据通道的方法及装置,用于解决目前BLE业务开始后建立ISO的过程耗时过长,导致BLE业务时延过高的技术问题。
第一方面,本申请提供一种建立蓝牙数据通道的方法,根据该方法,第一通信装置在启动第一模式的业务之前,与第二通信装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,该数据通道用于传输该第一模式的蓝牙数据,该第一通信装置在启动该第一模式的业务后,向该第二通信装置发送第一消息,该第一消息用于请求该第二通信装置基于该第一参数建立该数据通道。
采用以上方法,第一通信装置在启动第一模式的业务之前已经与第二通信装置协商确定了第一参数,而无须在启动第一模式的业务之后再进第一参数的协商,因此可降低BLE业务中,在第一模式的业务的启动与建立数据通道之间的耗时,可降低BLE业务的时延。具体的,第一模式可以是一种音频模式,则以上所涉及的业务可以是一种音频业务。该音频模式可与音频业务的蓝牙数据的质量有关,例如,可根据蓝牙数据的质量,将音频业务划分为不同的模式。另外,第一模式也可以是指一种视频业务,或者其他类型的业务。
在一种可能的设计中,第一通信装置与第二通信装置协商确定第一参数时,可向该第二通信装置发送第二消息,该第二消息用于请求协商该第一通信装置与该第二通信装置之间传输第一模式的蓝牙数据时使用的参数。该第一通信装置接收该第二通信装置发送的第三消息,该第三消息用于确定该第一参数。采用该设计,第一通信装置与第二通信装置可通过第二消息与第三消息协商确定第一参数。
在一种可能的设计中,该第二消息具体可用于指示至少一个参数,该至少一个参数包括该第一参数,该第三消息具体可用于指示该第二通信装置同意基于该第一参数建立该数 据通道。
在一种可能的设计中,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据时使用的参数,该第三消息还可用于确定第二参数,该第二参数用于该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第二参数,该第三消息具体用于指示该第二通信装置同意基于该第二参数建立该数据通道。
在一种可能的设计中,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据时使用的参数,该第三消息还可用于确定第三参数,该第三参数用于该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第三参数,该第三消息具体用于指示该第二通信装置同意基于该第三参数建立该数据通道。
在一种可能的设计中,该第二消息可以是L2CAP消息。采用该设计,第一通信装置可通过L2CAP消息与第二通信装置之间协商确定一个或多个模式下传输蓝牙数据时使用的参数。在实施中,第三消息也可以是L2CAP消息。
在一种可能的设计中,该第一模式可以是高音质音乐模式、普通音质音乐模式或语音模式中的任意一种。另外,本申请所涉及的第一模式、第二模式以及第三模式,可分别为高音质音乐模式、普通音质音乐模式或语音模式中的一种。
另外,若本申请提供的建立蓝牙数据通道的方法由第二终端装置实施,则第二终端装置可在第一通信装置启动第一模式的业务之前,与第一终端装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,该数据通道用于传输该第一模式的蓝牙数据。在该第一通信装置在启动该第一模式的业务后,第二终端装置可从该第一通信装置接收第一消息,该第一消息用于请求该第二通信装置建立该数据通道。
在一种可能的设计中,第二通信装置与第一通信装置协商确定第一参数时,可从该第一通信装置接收第二消息,该第二消息用于请求协商该第一通信装置与该第二通信装置之间传输第一模式的蓝牙数据时使用的参数。此后,该第二通信装置可向该第一通信装置发送第三消息,该第三消息用于确定该第一参数。采用该设计,第一通信装置与第二通信装置可通过第二消息与第三消息显示确定第一参数。
在一种可能的设计中,该第二消息可用于指示至少一个参数,该至少一个参数包括该第一参数,该第三消息具体可用于指示该第二通信装置同意基于该第一参数建立该数据通道。
在一种可能的设计中,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据时使用的参数,该第三消息还可用于确定第二参数,该第二参数用于该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第二参数,该第三消息具体用于指示该第二通信装置同意基于该第二参数建立该数据通道。
在一种可能的设计中,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据时使用的参数,该第三消息还可用于确定第三参数,该第三参数用于该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第三参数,该第三消息具体用 于指示该第二通信装置同意基于该第三参数建立该数据通道。
在一种可能的设计中,该第二消息可以是L2CAP消息。
在一种可能的设计中,该第一模式可以是高音质音乐模式、普通音质音乐模式或语音模式中的任意一种。另外,本申请所涉及的第一模式、第二模式以及第三模式,可分别为高音质音乐模式、普通音质音乐模式或语音模式中的一种。
第二方面,本申请实施例提供一种通信装置,用于实现上述第一方面或第一方面中的任意一种可能的设计所提供的建立蓝牙数据通道的方法。该通信装置可具有实现上述第一方面方法示例中第一通信装置和/或第二通信装置执行本申请实施例提供的建立蓝牙数据通道的方法时所具有的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
在一种可能的设计中,该通信装置可包括第一协商单元以及第一消息发送单元,这些单元可以执行上述第一方面或第一方面中的任意一种可能的设计所提供的建立蓝牙数据通道的方法示例中第一通信装置相应的功能,具体参见方法示例中的详细描述,此处不做赘述。
在一种可能的设计中,该通信装置可包括第二协商单元以及第一消息接收单元,这些单元可以执行上述第一方面或第一方面中的任意一种可能的设计所提供的建立蓝牙数据通道的方法示例中第二通信装置相应的功能,具体参见方法示例中的详细描述,此处不做赘述。
在另一种可能的设计中,该通信装置的结构可包括收发器、存储器和处理器,其中,该处理器、该存储器以及该收发器可以通过总线或其他介质连接。该收发器可用于通信装置进行通信。存储器可用于存储计算机程序。该处理器可用于调用存储在该存储器中的计算机程序,执行上述第一方面或第一方面中的任意一种可能的设计所提供的建立蓝牙数据通道的方法示例中相应的功能。
第三方面,本申请实施例中还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,使该计算机执行上述第一方面或第一方面的任意一种可能的设计提供的方法。
第四方面,本申请实施例中还提供一种计算机程序产品,该计算机程序产品中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面或第一方面的任意一种可能的设计提供的方法。
第六方面,本申请实施例提供了一种芯片系统,该芯片系统包括处理器,还可以包括存储器,用于实现第一方面或第一方面的任一种可能的设计提供的方法。该芯片系统可以由芯片构成,也可以包含芯片和其他分立器件。
第七方面,本申请实施例提供了一种通信系统,该通信系统包括第二方面所述的通信装置。
附图说明
图1为本申请实施例适用的一种通信系统的架构示意图;
图2为本申请实施例提供的一种建立蓝牙数据通道的方法的流程示意图;
图3为本申请实施例提供的另一种建立蓝牙数据通道的方法的流程示意图;
图4为本申请实施例提供的另一种建立蓝牙数据通道的方法的流程示意图;
图5为本申请实施例提供的一种通信装置的结构示意图;
图6为本申请实施例提供的另一种通信装置的结构示意图;
图7为本申请实施例提供的另一种通信装置的结构示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。其中,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
下面对本申请涉及或可能涉及的词语进行解释:
1、至少一个,是指一个,或一个以上,即包括一个、两个、三个及以上。
2、携带,可以是指某消息用于承载某信息或数据,也可以是指某消息由某信息构成。
下面,结合附图对本申请实施例进行详细说明。首先,介绍本申请实施例提供的通信系统,该通信系统可用于执行本申请实施例提供的建立蓝牙数据通道的方法,之后介绍本申请实施例提供的建立蓝牙数据通道的方法的具体实现方式,最后介绍本申请实施例提供的通信装置。
本申请实施例提供的通信系统,可包括至少两个蓝牙通信装置。这里的蓝牙通信装置,可基于蓝牙相关协议,执行BLE业务(如,基于BLE的音频业务)和/或传输BLE业务数据。
下面,以BLE业务为音频业务对本申请实施例予以说明,但不应理解为,本申请所涉及的BLE业务仅包括音频业务。BLE业务还可包括视频业务或其他类型的业务,这些业务可能存在多种不同的模式。其中,BLE业务的模式可与BLE业务的蓝牙数据的质量有关。例如,可根据高质量(如高音质或者高画质)、中质量(如中音质或者中画质)以及低质量(如低音质或者低画质)对音频以及视频等BLE业务进行分类,每一类BLE业务对应不同的模式。在每种模式下,在蓝牙通信装置之间建立数据通道时所依据的参数可能不同,不同的数据通道用于传输不同模式下BLE业务的蓝牙数据。
示例性的,如图1所示,本申请实施例提供的一种无线通信系统100可包括第一蓝牙通信装置101,以及第二蓝牙通信装置102,其中,第一蓝牙通信装置101以及第二蓝牙通信装置102包括但不限于具备蓝牙功能的智能手机、笔记本或平板电脑等智能终端、耳机、音响或者车载播放设备等播放装置。其中,智能终端一般作为BLE业务的发起方设备,由其开始音频业务并向BLE业务的接受方设备发送BLE业务数据,播放装置一般作为音频业务的接受方设备,该装置可接收音频业务的发起方设备提供的音频业务的蓝牙数据,并基于蓝牙数据向用户播放音频。但本申请并不排除可由播放装置启动音频业务,如,用户可通过对蓝牙耳机的操作启动音频业务。为了更加清楚的描述本申请所提供的建立蓝牙数据通道的方法,以下,以第一蓝牙通信装置101为智能手机,第二蓝牙通信装置102为蓝牙耳机为例,进一步进行具体描述,但不应理解为,本申请所涉及的建立蓝牙数据通道的方法须由智能手机等作为BLE业务的发起方设备执行本申请提供的建立蓝牙数据通道的方法中的发送第一消息的步骤,以及,不应理解为须由蓝牙耳机等作为BLE业务的接受方设备接收本申请所涉及的第一消息,即在执行本申请提供的建立蓝牙数据通道的方法时,智能手机与蓝牙耳机所执行的步骤可以互换执行主体。
如图2所示,为本申请实施例提供的一种建立蓝牙数据通道的方法流程图,图2中以第一蓝牙通信装置101为智能手机、第二蓝牙通信装置102为蓝牙耳机为例,对本申请实施例提供的建立蓝牙数据通道的方法进行详细阐述,可包括如下步骤:
S101:智能手机在启动该第一模式的业务之前,与蓝牙耳机之间协商确定第一参数,该第一参数用于该智能手机与该蓝牙耳机之间建立数据通道,该数据通道用于传输第一模式的蓝牙数据。
示例性的,以上第一模式可以是一种模式,第一参数用于建立该模式下蓝牙数据传输的数据通道,即该第一参数与该模式相对应。具体的,第一模式可以是以下模式中的一种:高音质音乐模式、普通音质音乐模式或者语音模式。具体的,数据通道可以是ISO通道,第一参数可以是该ISO通道的CIS参数(parameter)。
S101需要在智能手机启动第一模式的业务之前进行。
S102:智能手机在启动该第一模式的业务后,向该蓝牙耳机发送第一消息,该第一消息用于请求蓝牙耳机根据上述协商确定的该第一参数建立所述数据通道。示例性的,S102所示步骤可在智能手机与蓝牙耳机建立蓝牙连接的过程中进行。
S103:蓝牙耳机接收该智能手机发送的第一消息。此后,根据该第一消息,蓝牙耳机与智能手机可根据上述预先协商确定的第一参数来建立所述数据通道,然后基于建立的数据通道,与智能手机之间传输第一模式的蓝牙数据。比如,基于该数据通道,蓝牙耳机可接收到智能终端传输来的蓝牙数据,然后蓝牙耳机就可播放接收到的该蓝牙数据。
采用以上方法,可在智能手机启动第一模式的业务之前,由智能手机与蓝牙耳机之间协商确定第一参数,从而在智能手机启动业务后,智能手机就能够根据已经预先协商确定的第一参数请求蓝牙耳机建立数据通道,因此可降低启动业务到请求建立数据通道之间的耗时,从而降低业务的时延。
示例性的,如图2所示步骤中涉及的业务可以是音频业务,则第一模式可以是第一音频模式。从而采用以上方法,可减少音频业务启动,到用于传输蓝牙音频数据的数据通道建立之间的时延。具体的,音频模式可与音频业务的蓝牙数据的质量有关,例如,该第一模式可包括高音质音乐模式、普通音质音乐模式以及语音模式中的任意一种。同理,以上所涉及的业务还可以是视频业务或者其他类型的业务。
上述智能手机与蓝牙耳机之间协商确定第一参数时,智能手机可向蓝牙耳机发送第二消息,该第二消息用于请求协商智能手机与蓝牙耳机之间传输第一模式的蓝牙数据时使用的参数,示例性的,第二消息可用于指示至少一个备选参数,从而蓝牙耳机可在收到第二消息后,从至少一个备选参数中选择合适的参数(即作为第一参数)用于建立数据通道;此后,智能手机可接收蓝牙耳机进行反馈的第三消息,该第三消息可用于智能手机确定该第一参数。
更为具体的协商过程可以为:智能手机向蓝牙耳机发送的第二消息中可携带一个备选参数,若蓝牙耳机确定该备选参数可作为第一模式对应的参数,则蓝牙耳机可通过第三消息指示同意将该备选参数作为第一模式对应的参数,如,蓝牙耳机可通过第三消息中特定比特位的特定数值,表示同意将该备选参数作为第一模式对应的参数。
应理解,本申请也不应排除,第二消息所指示的至少一个备选参数中不包括适用于智能手机与蓝牙耳机之间建立数据通道的合适参数,或者,第二消息不包含任何备选参数,而需要请求蓝牙耳机指示可用的参数,此时蓝牙耳机可通过第三消息指示新的参数作为第 一参数。
一种可选的实现方式中,以上智能手机与蓝牙耳机之间协商确定第一参数的过程,可以在智能手机与蓝牙耳机之间建立完成蓝牙连接的时刻开始进行。
在实施中,上述第二消息可以是链路层CIS请求消息(link_layer connected isochronous stream request,LL_CIS_REQ)。第三消息可以是链路层CIS应答消息(link_layer connected isochronous stream response,LL_CIS_RSP)。
在一种可能的实现方式中,智能手机与蓝牙耳机之间还可通过S101所示步骤,协商确定其他多组参数,其中,不同组的参数可用于建立用于传输不同种模式的蓝牙数据的传输通道。
具体的,以音频业务为例,第二消息还可以用于请求协商智能手机与蓝牙耳机之间传输第二音频模式的蓝牙音频数据时使用的音频参数,和/或,用于请求协商智能手机与蓝牙耳机之间传输第三音频模式的蓝牙音频数据时使用的音频参数。第三消息还可用于确定第二参数,该第二参数用于确定智能手机与蓝牙耳机之间传输第二音频模式的蓝牙音频数据所需建立的传输通道,和/或,第三消息还用于确定第三参数,该第三参数用于确定智能手机与蓝牙耳机之间传输第三音频模式的蓝牙音频数据所需建立的传输通道。
另外,智能手机可通过发送一个第二消息,请求与蓝牙耳机协商确定多组参数,其中,不同组的参数可用于建立用于传输不同种模式的蓝牙数据的传输通道。以音频业务为例,智能手机可通过发送一个第二消息,请求与蓝牙耳机协商确定高音质音乐模式、普通音质音乐模式以及语音模式三种音频模式分别对应的音频参数,以及,蓝牙耳机通过发送一个第三消息,指示以上三种音频模式分别对应的音频参数,从而智能手机可与蓝牙耳机通过一个第二消息以及一个第三消息,进行以上三种音频模式分别对应的音频参数的协商过程,相比于目前每次交互(每次交互包含两次握手过程)只能协商一种音频模式对应的音频参数的流程,能够节省协商以上三种音频模式分别对应的音频参数所需的交互次数,从而降低协商参数过程产生的时延。
在一种可能的实现方式中,本申请所涉及的第一消息、第二消息以及第三消息均可以为链路层(link layer,LL)消息,该消息通过终端装置的链路层发送,该消息可以是链路层链路发现协议(link layer discovery protocol,LLCP)消息或逻辑链路控制和适配协议(logical link control and adaptation protocol,L2CAP)消息。示例性的,若第二消息是L2CAP消息,该消息相比于目前蓝牙通信装置之间进行参数(用于建立蓝牙数据通道的参数)协商时所使用的LLCP消息能够携带更多比特的信息。从而,该第二消息可用于请求协商多种模式分别对应的参数,例如,分别携带每种模式分别对应的备选参数,为通过一个第二消息协商多个模式分别对应的参数提供了可能。另外,第三消息也可以是L2CAP消息。
在S102所示步骤的实施中,智能手机可在确定启动第一模式的业务后发送第一消息。其中,以音频业务为例,启动第一音频模式的音频业务可以为智能手机从未播放音频业务的状态进入到开始播放第一音频模式的音频业务的状态,也可以为智能手机从播放第一音频模式以外的音频模式的音频业务切换到播放第一音频模式的音频业务的状态。以第一音频模式为高音质音乐模式为例,智能手机可在确定用户通过对智能手机的操作,触发高音质音乐模式的音频播放后,发送第一消息;或者,智能手机可在确定用户通过对智能手机的操作,将播放的普通音质音乐模式的音乐切换到播放高音质音乐模式的音乐后,发送第一消息。
示例性的,本申请所涉及的第一消息,可以是链路层CIS指示(link_layer connected isochronous stream indication,LL_CIS_IND)消息。该消息可用于请求建立CIS通道。具体的,智能手机发送的该消息可携带用于指示参数(如第一参数)的信息,从而蓝牙耳机可根据该信息确定智能手机请求根据哪种参数建立CIS通道。另外,该消息可携带用于指示业务的信息,从而蓝牙耳机可根据该信息确定智能手机启动的是哪种类型的业务(如,指示音频业务为哪种类型的音频业务),以便根据该业务对应的参数建立相应的CIS通道。
下面结合图3,以第二消息、第三消息为链路层消息为例,进一步介绍本申请实施例提供的建立蓝牙数据通道的方法。其中,第一终端装置和第二终端装置分别可以为上述提的智能手机和蓝牙耳机,也可以分别为上述提及的蓝牙耳机和智能手机。第一终端装置和第二终端装置可通过主机(host)配置信息和/或参数,以及,终端装置可通过链路层(也可被称为控制层(controller))根据主机配置的信息和/或参数,进行链路层消息的发送和/或接收。例如,第一终端装置和第二终端装置可通过主机配置信息,并通过链路层发送该信息。在本申请中,主机、链路层的功能可通过软件方式实现。如图3所示,以音频业务为例,该方法包括以下步骤:
S201:智能手机的主机生成第一参数,第一参数用于建立传输第一音频模式的蓝牙音频数据的音频数据通道。
S202:智能手机的主机将第一参数发送至链路层,用于令链路层向蓝牙耳机发送第二消息。
S203:智能手机的链路层生成并向蓝牙耳机的链路层发送第二消息,该第二消息包括第一参数,用于请求蓝牙耳机确定第二信息包括的第一参数是否可作为建立音频数据通道的参数,该音频数据通道用于智能手机与蓝牙耳机传输第一音频模式的蓝牙音频数据。智能手机的链路层还可在接收到第一参数后,向智能手机的主机发送响应消息。在实施中,S203所涉及的第二消息可以是链路层消息,如LLCP消息或者L2CAP消息。
S204:蓝牙耳机的链路层接收第二消息,向蓝牙耳机的主机发送第一请求消息,该第一请求消息用于指示第一参数,以及用于询问蓝牙耳机的主机,该第一参数是否可作为建立音频数据通道的参数。
S205:蓝牙耳机的主机若判断第二消息包括的第一参数可作为建立音频数据通道的参数,则向蓝牙耳机的链路层发送接受响应,以表示该第一参数可作为建立音频数据通道的参数。
S206:蓝牙耳机的链路层根据接受响应,向智能手机的链路层发送第三消息,以表示蓝牙耳机同意将第一参数作为建立音频数据通道的参数。蓝牙耳机的链路层还可在接收到接受响应后,蓝牙耳机的主机发送响应消息,以表示接收到该接受响应。
S207:智能手机的链路层接收第三消息。
S208:在启动第一音频模式的音频业务后,智能手机的主机向链路层发送第二请求消息,该第二请求消息用于表示智能手机启动第一音频模式的音频业务。其中,启动第一音频模式的音频业务,可以是指智能手机从未播放音频业务的状态进入到开始播放第一音频模式的音频业务的状态,也可以是指智能手机从播放第一音频模式以外的音频模式的音频业务切换到播放第一音频模式的音频业务的状态。
S209:智能手机的链路层根据主机发送的第二请求消息,向蓝牙耳机的链路层发送第 一消息,该第一消息用于请求基于该第一参数建立音频数据通道,该音频数据通道用于智能手机与蓝牙耳机传输第一音频模式的蓝牙音频数据。其中,第一消息中可包括第一参数,或者用于指示第一参数的信息,如第一参数的标识、编号等等。第一消息还可携带用于指示第一音频模式的信息,如该音频模式的标识。智能手机的链路层还可在接收请求消息后,向主机发送响应消息。这里的第一消息,可以是LL_CIS_IND消息。
S210:蓝牙耳机的链路层接收第一消息后,向蓝牙耳机的主机发送询问请求,以询问是否可根据第一参数建立音频数据通道。
S211:蓝牙耳机的链路层接收蓝牙耳机的主机发送的响应消息,该响应消息可表示主机同意根据第一参数建立音频数据通道。
S212:蓝牙耳机与智能手机之间基于第一参数建立音频数据通道。
在实施中,在启动第一音频模式的音频业务,蓝牙耳机还可与智能手机之间参照S201至S207所示步骤协商确定第二参数以及第三参数,其中,第二参数用于建立传输第二音频模式的蓝牙音频数据的音频数据通道,第三参数用于建立传输第三音频模式的蓝牙音频数据的音频数据通道。
示例性的,以上S201所示步骤可在智能手机与蓝牙耳机之间的蓝牙连接建立完成后执行。
应理解,在以上S208所示步骤之前,智能手机与蓝牙耳机之间还可协商第一音频模式以外的音频模式对应的音频参数,本申请对于协商的方式,不做具体限定,可以参照如S201至S207所示步骤进行。
采用以上流程,可在智能手机启动第一音频模式的音频业务之前,由智能手机与蓝牙耳机协商确定第一音频模式对应的第一参数,从而在启动第一音频模式的音频业务后,智能手机与蓝牙耳机可直接根据协商确定好的第一参数,建立音频数据通道,实现第一音频模式的蓝牙音频数据的传输,由此可节省启动第一音频模式的音频业务时的蓝牙音频数据的传输时延,从而降低BLE音频业务时延。同理,在启动第二音频模式的音频业务后,智能手机也可以与蓝牙耳机可直接根据协商确定好的第二参数,建立音频数据通道,实现第二音频模式的蓝牙音频数据的传输。以及,在启动第三音频模式的音频业务后,智能手机还可与蓝牙耳机直接根据协商确定好的第三参数,建立音频数据通道,实现第三音频模式的蓝牙音频数据的传输。同理,如图3所示上述过程,还可用于建立视频业务或其他业务下的蓝牙数据通道。
下面,以协商多个模式分别对应的多组参数为例,介绍本申请提供的建立蓝牙数据通道的方法在通过第二消息协商多个模式分别对应的参数并建立蓝牙数据通道时的流程。如图4所示,以音频业务为例,本申请实施例提供的建立蓝牙数据通道的方法可包括以下步骤:
S301:智能手机的主机生成第一参数、第二参数以及第三参数,其中,第一参数用于建立传输第一音频模式的蓝牙音频数据的音频数据通道,第二参数用于建立传输第二音频模式的蓝牙音频数据的音频数据通道,第三参数用于建立传输第三音频模式的蓝牙音频数据的音频数据通道。
S302:智能手机的主机向蓝牙耳机的主机发送第二消息,其中携带第一参数、第二参数以及第三参数,该第二消息可以是L2CAP消息,该第二消息用于询问蓝牙耳机第一参数是否可作为建立第一音频模式下的音频数据通道的音频参数、第二参数是否可作为建立 第二音频模式下的音频数据通道的音频参数,以及第三参数是否可作为建立第三音频模式下的音频数据通道的音频参数。
S303:蓝牙耳机的主机若判断第一参数可以作为建立第一音频模式下的音频数据通道的音频参数、第二参数可以作为建立第二音频模式下的音频数据通道的音频参数以及第三参数可以作为建立第三音频模式下的音频数据通道的音频参数,则向智能手机的主机发送第三消息,用于指示以上判断的结果,以及蓝牙耳机的主机还可向蓝牙耳机的链路层发送该第一参数、第二参数以及第三参数,从而将第一参数、第二参数以及第三参数配置给蓝牙耳机的链路层。
S304:智能手机的主机在接收该第三消息后,可将该第一参数、第二参数以及第三参数配置给智能手机的链路层。
S305:在启动第一音频模式的音频业务后,智能手机的主机向链路层发送请求消息,该请求消息用于表示启动第一音频模式的音频业务。其中,启动第一音频模式的音频业务,可以是指智能手机从未播放音频业务的状态进入到开始播放第一音频模式的音频业务的状态,也可以是指智能手机从播放第一音频模式以外的音频模式的音频业务切换到播放第一音频模式的音频业务的状态。
S306:智能手机的链路层根据主机发送的请求消息,向蓝牙耳机的链路层发送第一消息,该第一消息用于请求基于该第一参数建立音频数据通道,该音频数据通道用于智能手机与蓝牙耳机传输第一音频模式的蓝牙音频数据。其中,第一消息可包括第一参数,或者包括用于指示第一参数的信息,如第一参数的标识、编号等等。第一消息还可携带用于指示第一音频模式的信息,如携带该音频模式的标识。智能手机的链路层还可在接收请求消息后,向主机发送响应消息。
S307:蓝牙耳机的链路层接收第一消息后,向蓝牙耳机的主机发送询问请求,以询问是否可根据第一参数建立音频数据通道。
S308:蓝牙耳机的链路层接收蓝牙耳机的主机发送的响应消息,该响应消息可表示主机同意根据第一参数建立音频数据通道。
S309:蓝牙耳机与智能手机根据第一参数建立音频数据通道。
示例性的,以上S301所示步骤可在智能手机与蓝牙耳机之间的蓝牙连接建立完成后执行。
采用以上流程,可在智能手机启动第一音频模式的音频业务之前,由智能手机与蓝牙耳机协商确定第一音频模式对应的第一参数、第二音频模式对应的第二参数以及第三音频模式对应的第三参数,从而在启动第一音频模式的音频业务后,智能手机与蓝牙耳机可直接根据协商确定好的第一参数,建立音频数据通道,实现第一音频模式的蓝牙音频数据的传输,以降低BLE音频业务时延。同理,在启动第二音频模式的音频业务后,智能手机也可以与蓝牙耳机可直接根据协商确定好的第二参数,建立音频数据通道,实现第二音频模式的蓝牙音频数据的传输。以及,在启动第三音频模式的音频业务后,智能手机与蓝牙耳机可直接根据协商确定好的第三参数,建立音频数据通道,实现第三音频模式的蓝牙音频数据的传输。同理,如图4所示上述过程,还可用于建立视频业务或其他业务下的蓝牙数据通道。
基于与以上方法实施例相同的技术构思,本申请实施例还提供了一种通信装置,该通信装置可用于实现上述方法实施例中的由第一通信装置(如智能手机)和/或第二通信装置 (如蓝牙耳机)执行的功能。
如图5示,本申请实施例还提供一种通信装置500,用于执行上述建立蓝牙数据通道的方法中第一终端装置所执行的操作。该通信装置500可以包括第一协商单元501以及第一消息发送单元502。另外,通信装置500还可包括处理单元503。
在实施中,第一协商单元501可用于在第一终端装置启动第一模式的业务之前,与第二通信装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,该数据通道用于传输该第一模式的蓝牙数据。在该第一通信装置启动该第一模式的业务后,第一消息发送单元502可用于向该第二通信装置发送第一消息,该第一消息用于请求该第二通信装置建立该数据通道。
应理解,这里所述的业务可以是音频业务,还可以是视频业务或者其他类型的业务。
在协商确定第一参数时,第一协商单元501可向该第二通信装置发送第二消息,该第二消息用于请求协商该第一通信装置与该第二通信装置之间传输第一模式的蓝牙数据时使用的参数。第一协商单元501还可接收该第二通信装置发送的第三消息,该第三消息用于确定该第一参数。
示例性的,该第二消息具体可用于指示至少一个参数,该至少一个参数包括该第一参数,该第三消息具体可用于指示该第二通信装置同意基于该第一参数建立该数据通道。
另外,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据时使用的参数,该第三消息还可用于确定第二参数,该第二参数用于该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第二参数,该第三消息具体用于指示该第二通信装置同意基于该第二参数建立该数据通道。
该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据时使用的参数,该第三消息还可用于确定第三参数,该第三参数用于该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第三参数,该第三消息具体用于指示该第二通信装置同意基于该第三参数建立该数据通道。
在实施中,该第二消息可以是L2CAP消息。采用该设计,第一通信装置可通过L2CAP消息与第二通信装置之间协商确定一个或多个模式下传输蓝牙数据时使用的参数。在实施中,第三消息也可以是L2CAP消息。
以上第一模式可以是高音质音乐模式、普通音质音乐模式或语音模式中的任意一种。另外,以上所涉及的第一模式、第二模式以及第三模式,可分别为高音质音乐模式、普通音质音乐模式或语音模式中的一种。
示例性的,第一模式的业务可以是一种音频业务。具体的,第一模式可以是高音质音乐模式、普通音质音乐模式或语音模式中的任意一种。另外,本申请所涉及的第一模式、第二模式以及第三模式,可分别为高音质音乐模式、普通音质音乐模式或语音模式中的一种。
另外,处理单元503可用于配置以上第一协商单元501以及第一消息发送单元502发送消息时所需的信息、参数。
应理解,以上所述第一协商单元501、第一消息发送单元502的相应功能,可由第一终端装置中的链路层实现。处理单元503的功能可由第一终端装置中的主机实现。另外, 根据通信装置500具体实现条件的限制,以上第一协商单元501、第一消息发送单元502以及处理单元503可相互独立,也可部分或全部集成为一体,本申请不做具体限定。
如图6示,本申请实施例还提供一种通信装置600,用于执行上述建立蓝牙数据通道的方法中第二终端装置所执行的操作。该通信装置600可以包括第二协商单元601以及第一消息接收单元602。另外,通信装置600还可包括处理单元603。
在实施中,第二协商单元601可在第一通信装置启动第一模式的业务之前,与第一终端装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,该数据通道用于传输该第一模式的蓝牙数据。在该第一通信装置在启动该第一模式的业务后,第一消息接收单元602可从该第一通信装置接收第一消息,该第一消息用于请求该第二通信装置建立该数据通道。
应理解,这里所述的业务可以是音频业务,还可以是视频业务或者其他类型的业务。
示例性的,第二通信装置与第一通信装置协商确定第一参数时,第二协商单元601可从该第一通信装置接收第二消息,该第二消息用于请求协商该第一通信装置与该第二通信装置之间传输第一模式的蓝牙数据时使用的参数。此后,第二协商单元601可向该第一通信装置发送第三消息,该第三消息用于确定该第一参数。
示例性的,该第二消息具体可用于指示至少一个参数,该至少一个参数包括该第一参数,该第三消息具体可用于指示该第二通信装置同意基于该第一参数建立该数据通道。
另外,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据时使用的参数,该第三消息还可用于确定第二参数,该第二参数用于该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第二参数,该第三消息具体用于指示该第二通信装置同意基于该第二参数建立该数据通道。
该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据时使用的参数,该第三消息还可用于确定第三参数,该第三参数用于该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第三参数,该第三消息具体用于指示该第二通信装置同意基于该第三参数建立该数据通道。
在实施中,该第二消息可以是L2CAP消息。采用该设计,第一通信装置可通过L2CAP消息与第二通信装置之间协商确定一个或多个模式下传输蓝牙数据时使用的参数。在实施中,第三消息也可以是L2CAP消息。
示例性的,第一模式的业务可以是一种音频业务。具体的,第一模式可以是高音质音乐模式、普通音质音乐模式或语音模式中的任意一种。另外,以上所涉及的第一模式、第二模式以及第三模式,可分别为高音质音乐模式、普通音质音乐模式或语音模式中的一种。
另外,处理单元603可用于配置以上第二协商单元601以及第一消息接收单元602发送消息时所需的信息、参数。
应理解,以上所述第二协商单元601以及第一消息接收单元602的相应功能,可由第二终端装置中的链路层实现。处理单元603的功能可由第二终端装置中的主机实现。另外,根据通信装置600具体实现条件的限制,以上第二协商单元601、第一消息接收单元602以及处理单元603可相互独立,也可部分或全部集成为一体,本申请不做具体限定。
在以上实施例中,如图5所示通信装置500以及如图6所示通信装置600中各单元可 相互分立,也可部分或全部集成为一体。具体的,可通过将个单元集成为一体的芯片,实现以上如图5所示通信装置500以及如图6所示通信装置600。
如图7所示,本申请实施例还提供一种通信装置700,用于执行上述建立蓝牙数据通道的方法中第一终端装置和/或第二通信装置所执行的操作。该通信装置700可以包括收发器701、处理器702以及存储器703。
具体的,该收发器701可以是无线收发器,可用于支持通信装置700通过蓝牙和/或无限空口进行接收和发送信令、数据。收发器701也可以是有线通信接口,如光纤通信接口、铜线等导线接口。存储器703可用于存储程序指令和数据。处理器702可用于通信装置700调用并执行存储器703中的程序指令,当程序被执行时,使得处理器702执行上述实施例提供的方法中由第一终端装置和/或第二通信装置执行的操作。以上收发器701、处理器702以及存储器703之间可通过总线(bus)结构或其他连接介质实现连接。
在实现第一终端装置所执行的操作时,收发器701可用于实现如图5所示通信装置500中第一协商单元501以及第一消息发送单元502相应的功能。处理器702可用于执行处理单元503相应的功能。
具体的,收发器701可用于在第一终端装置启动第一模式的业务之前,与第二通信装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,该数据通道用于传输该第一模式的蓝牙数据。在该第一通信装置启动该第一模式的业务后,收发器701可用于向该第二通信装置发送第一消息,该第一消息用于请求该第二通信装置建立该数据通道。
应理解,这里所述的业务可以是音频业务,还可以是视频业务或者其他类型的业务。
在协商确定第一参数时,收发器701可向该第二通信装置发送第二消息,该第二消息用于请求协商该第一通信装置与该第二通信装置之间传输第一模式的蓝牙数据时使用的参数。收发器701还可接收该第二通信装置发送的第三消息,该第三消息用于确定该第一参数。
在实现第二终端装置所执行的操作时,收发器701可用于实现如图6所示通信装置600中第二协商单元601以及第一消息接收单元602相应的功能。处理器702可执行实现处理单元603相应的功能。
具体的,在实现第二终端装置所执行的操作时,收发器701可用于在第一通信装置启动第一模式的业务之前,与第一终端装置协商确定第一参数,该第一参数可用于建立该第一通信装置与该第二通信装置之间的数据通道,该数据通道用于传输该第一模式的蓝牙数据。在该第一通信装置在启动该第一模式的业务后,收发器701可从该第一通信装置接收第一消息,该第一消息用于请求该第二通信装置建立该数据通道。
第二通信装置与第一通信装置协商确定第一参数时,收发器701可从该第一通信装置接收第二消息,该第二消息用于请求协商该第一通信装置与该第二通信装置之间传输第一模式的蓝牙数据时使用的参数。此后,收发器701可向该第一通信装置发送第三消息,该第三消息用于确定该第一参数。
该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据时使用的参数,该第三消息还可用于确定第二参数,该第二参数用于该第一通信装置与该第二通信装置之间传输第二模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第二参数,该第三消息具体用于指示该第二通信装 置同意基于该第二参数建立该数据通道。
另外,该第二消息还可用于请求协商该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据时使用的参数,该第三消息还可用于确定第三参数,该第三参数用于该第一通信装置与该第二通信装置之间传输第三模式的蓝牙数据。具体的,第二消息还可用于指示至少一个参数,该至少一个参数包括该第三参数,该第三消息具体用于指示该第二通信装置同意基于该第三参数建立该数据通道。
在实施中,该第二消息可以是L2CAP消息。采用该设计,第一通信装置可通过L2CAP消息与第二通信装置之间协商确定一个或多个模式下传输蓝牙数据时使用的参数。在实施中,第三消息也可以是L2CAP消息。
示例性的,第一模式的业务可以是一种音频业务。具体的,第一模式可以是高音质音乐模式、普通音质音乐模式或语音模式中的任意一种。另外,以上所涉及的第一模式、第二模式以及第三模式,可分别为高音质音乐模式、普通音质音乐模式或语音模式中的一种。
可以理解的是,图7仅为示意图,本申请并不限制该通信装置还具备图7中未示出的其他必要组件。
基于与上述方法实施例相同构思,本申请实施例中还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,使该计算机执行上述方法实施例、方法实施例的任意一种可能的实现方式中由第一通信装置和/或第二通信装置执行的操作。
基于与上述方法实施例相同构思,本申请还提供一种计算机程序产品,该计算机程序产品在被计算机调用执行时,可以使得计算机实现上述方法实施例、方法实施例的任意一种可能的实现方式中由第一通信装置和/或第二通信装置执行的操作。
基于与上述方法实施例相同构思,本申请还提供一种芯片或芯片系统,该芯片与收发器耦合,用于实现上述方法实施例、方法实施例的任意一种可能的实现方式中由第一通信装置和/或第二通信装置执行的操作。其中,“耦合”是指两个部件彼此直接或间接地结合,这种结合可以是固定的或可移动性的,这种结合可以允许流动液、电、电信号或其它类型信号在两个部件之间进行通信。该芯片系统可包括该芯片。具体的,该芯片或芯片系统,可用于执行由本申请实施例提供的第一通信装置和/或第二通信装置执行的步骤。
基于与上述方法实施例相同构思,本申请还提供一种通信系统,该通信系统可用于实现上述方法实施例、方法实施例的任意一种可能的实现方式中由第一通信装置和/或第二通信装置执行的操作。示例性的,该通信系统具有如图1所示结构。
本申请实施例是参照实施例所涉及的方法、装置、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机 或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。

Claims (16)

  1. 一种建立蓝牙数据通道的方法,其特征在于,包括:
    第一通信装置在启动第一模式的业务之前,与第二通信装置协商确定第一参数,所述第一参数用于建立所述第一通信装置与所述第二通信装置之间的数据通道,所述数据通道用于传输所述第一模式的蓝牙数据;
    所述第一通信装置在启动所述第一模式的业务后,向所述第二通信装置发送第一消息,所述第一消息用于请求所述第二通信装置基于所述第一参数建立所述数据通道。
  2. 如权利要求1所述的方法,其特征在于,第一通信装置与第二通信装置协商确定第一参数,包括:
    所述第一通信装置向所述第二通信装置发送第二消息,所述第二消息用于请求协商所述第一通信装置与所述第二通信装置之间传输第一模式的蓝牙数据时使用的参数;
    所述第一通信装置接收所述第二通信装置发送的第三消息,所述第三消息用于确定所述第一参数。
  3. 如权利要求2所述的方法,其特征在于,所述第二消息具体用于指示至少一个参数,所述至少一个参数包括所述第一参数,所述第三消息具体用于指示所述第二通信装置同意基于所述第一参数建立所述数据通道。
  4. 如权利要求2或3所述的方法,其特征在于,所述第二消息还用于请求协商所述第一通信装置与所述第二通信装置之间传输第二模式的蓝牙数据时使用的参数,所述第三消息还用于确定第二参数,所述第二参数用于所述第一通信装置与所述第二通信装置之间传输第二模式的蓝牙数据。
  5. 如权利要求2至4任一所述的方法,其特征在于,所述第二消息还用于请求协商所述第一通信装置与所述第二通信装置之间传输第三模式的蓝牙数据时使用的参数,所述第三消息还用于确定第三参数,所述第三参数用于所述第一通信装置与所述第二通信装置之间传输第三模式的蓝牙数据。
  6. 如权利要求2至5任一所述的方法,其特征在于,所述第二消息为逻辑链路控制和适配协议L2CAP消息。
  7. 如权利要求1至6任一所述的方法,其特征在于,所述第一模式为以下模式中的任意一种:
    高音质音乐模式;或者
    普通音质音乐模式;或者
    语音模式。
  8. 一种建立蓝牙数据通道的方法,其特征在于,包括:
    在第一通信装置启动第一模式的业务之前,第二通信装置与所述第一通信装置协商确定第一参数,所述第一参数用于建立所述第一通信装置与所述第二通信装置之间的数据通道,所述数据通道用于传输所述第一模式的蓝牙数据;
    所述第二通信装置从所述第一通信装置接收第一消息,所述第一消息用于请求所述第二通信装置基于所述第一参数建立所述数据通道,所述第一消息是在所述第一通信装置启动所述第一模式的业务后发送的。
  9. 一种建立蓝牙数据通道的第一通信装置,其特征在于,包括:
    第一协商单元,用于在所述第一通信装置启动第一模式的业务之前,与第二通信装置协商确定第一参数,所述第一参数用于建立所述第一通信装置与所述第二通信装置之间的数据通道,所述数据通道用于传输所述第一模式的蓝牙数据;
    第一消息发送单元,用于在所述第一通信装置启动所述第一模式的业务后,向所述第二通信装置发送第一消息,所述第一消息用于请求所述第二通信装置基于所述第一参数建立所述数据通道。
  10. 如权利要求9所述的第一通信装置,其特征在于,所述第一协商单元具体用于:
    向所述第二通信装置发送第二消息,所述第二消息用于请求协商所述第一通信装置与所述第二通信装置之间传输第一模式的蓝牙数据时使用的参数;
    接收所述第二通信装置发送的第三消息,所述第三消息用于确定所述第一参数。
  11. 如权利要求9或10所述的第一通信装置,其特征在于,所述第二消息具体用于指示至少一个参数,所述至少一个参数包括所述第一参数,所述第三消息具体用于指示所述第二通信装置同意基于所述第一参数建立所述数据通道。
  12. 如权利要求10或11所述的第一通信装置,其特征在于,所述第二消息还用于请求协商所述第一通信装置与所述第二通信装置之间传输第二模式的蓝牙数据时使用的参数,所述第三消息还用于确定第二参数,所述第二参数用于所述第一通信装置与所述第二通信装置之间传输第二模式的蓝牙数据。
  13. 如权利要求10至12任一所述的第一通信装置,其特征在于,所述第二消息还用于请求协商所述第一通信装置与所述第二通信装置之间传输第三模式的蓝牙数据时使用的参数,所述第三消息还用于确定第三参数,所述第三参数用于所述第一通信装置与所述第二通信装置之间传输第三模式的蓝牙数据。
  14. 如权利要求10至13任一所述的第一通信装置,其特征在于,所述第二消息为L2CAP消息。
  15. 如权利要求9至14任一所述的第一通信装置,其特征在于,所述第一模式为以下模式中的任意一种:
    高音质音乐模式;或者
    普通音质音乐模式;或者
    语音模式。
  16. 一种建立蓝牙数据通道的第二通信装置,其特征在于,包括:
    第二协商单元,用于在第一通信装置启动第一模式的业务之前,与所述第一通信装置协商确定第一参数,所述第一参数用于建立所述第一通信装置与所述第二通信装置之间的数据通道,所述数据通道用于传输所述第一模式的蓝牙数据;
    第一消息接收单元,用于从所述第一通信装置接收第一消息,所述第一消息用于请求所述第二通信装置基于所述第一参数建立所述数据通道,所述第一消息是在所述第一通信装置启动所述第一模式的业务后发送的。
PCT/CN2019/073207 2019-01-25 2019-01-25 一种建立蓝牙数据通道的方法及装置 WO2020151003A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2019/073207 WO2020151003A1 (zh) 2019-01-25 2019-01-25 一种建立蓝牙数据通道的方法及装置
CN201980089665.5A CN113348685B (zh) 2019-01-25 2019-01-25 一种建立蓝牙数据通道的方法及装置
EP19911776.3A EP3908017A4 (en) 2019-01-25 2019-01-25 METHOD AND APPARATUS FOR ESTABLISHING A BLUETOOTH DATA CHANNEL
US17/383,717 US11800337B2 (en) 2019-01-25 2021-07-23 Method and apparatus for establishing Bluetooth data channel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/073207 WO2020151003A1 (zh) 2019-01-25 2019-01-25 一种建立蓝牙数据通道的方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/383,717 Continuation US11800337B2 (en) 2019-01-25 2021-07-23 Method and apparatus for establishing Bluetooth data channel

Publications (1)

Publication Number Publication Date
WO2020151003A1 true WO2020151003A1 (zh) 2020-07-30

Family

ID=71736036

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073207 WO2020151003A1 (zh) 2019-01-25 2019-01-25 一种建立蓝牙数据通道的方法及装置

Country Status (4)

Country Link
US (1) US11800337B2 (zh)
EP (1) EP3908017A4 (zh)
CN (1) CN113348685B (zh)
WO (1) WO2020151003A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11384458B2 (en) 2018-09-07 2022-07-12 Willacoochee Industrial Fabrics, Inc. Woven geotextile fabrics with integrated geotextile grids or geogrids
WO2022160287A1 (zh) * 2021-01-29 2022-08-04 华为技术有限公司 一种cis链路调整方法以及相关设备
CN116017201A (zh) * 2022-12-06 2023-04-25 远峰科技股份有限公司 基于蓝牙车钥匙系统的无损信息监听方法及装置
US11873588B2 (en) 2018-09-07 2024-01-16 Willacoochee Industrial Fabrics, Inc. Woven geotextile fabric with integrated geotextile grids or geogrids

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113965915B (zh) * 2021-10-14 2024-03-29 维沃移动通信有限公司 数据处理方法和电子设备
CN115022852B (zh) * 2021-12-16 2023-10-20 荣耀终端有限公司 控制蓝牙传输速率的方法及电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394600A (zh) * 2014-10-24 2015-03-04 小米科技有限责任公司 传输文件的方法及装置
CN104469665A (zh) * 2014-12-29 2015-03-25 深圳市理奥网络技术有限公司 一种数据处理方法以及用户端
US9930477B2 (en) * 2015-12-10 2018-03-27 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
CN108270554A (zh) * 2016-12-30 2018-07-10 国民技术股份有限公司 一种终端配对方法及系统

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8666313B2 (en) * 2011-07-29 2014-03-04 Motorola Solutions, Inc. Pairing devices using data exchanged in an out-of-band channel
CN105227418B (zh) * 2014-05-29 2018-10-09 华为技术有限公司 数据通道建立方法和通信设备
WO2016101774A1 (zh) * 2014-12-26 2016-06-30 国民技术股份有限公司 无线通信方法、装置及其应用系统和设备
US20160359925A1 (en) * 2015-06-08 2016-12-08 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
WO2017010812A1 (ko) * 2015-07-13 2017-01-19 엘지전자(주) 무선 통신 시스템에서 데이터를 송수신하는 방법 및 장치
CN106612445A (zh) * 2015-10-21 2017-05-03 中国移动通信集团公司 一种无线同屏音频通道的控制方法、发送设备及接受设备
CN109479226A (zh) * 2016-12-24 2019-03-15 华为技术有限公司 一种无线连接切换方法及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104394600A (zh) * 2014-10-24 2015-03-04 小米科技有限责任公司 传输文件的方法及装置
CN104469665A (zh) * 2014-12-29 2015-03-25 深圳市理奥网络技术有限公司 一种数据处理方法以及用户端
US9930477B2 (en) * 2015-12-10 2018-03-27 Lg Electronics Inc. Method and apparatus for transmitting and receiving data in wireless communication system
CN108270554A (zh) * 2016-12-30 2018-07-10 国民技术股份有限公司 一种终端配对方法及系统

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11384458B2 (en) 2018-09-07 2022-07-12 Willacoochee Industrial Fabrics, Inc. Woven geotextile fabrics with integrated geotextile grids or geogrids
US11873588B2 (en) 2018-09-07 2024-01-16 Willacoochee Industrial Fabrics, Inc. Woven geotextile fabric with integrated geotextile grids or geogrids
WO2022160287A1 (zh) * 2021-01-29 2022-08-04 华为技术有限公司 一种cis链路调整方法以及相关设备
CN116017201A (zh) * 2022-12-06 2023-04-25 远峰科技股份有限公司 基于蓝牙车钥匙系统的无损信息监听方法及装置
CN116017201B (zh) * 2022-12-06 2023-07-18 远峰科技股份有限公司 基于蓝牙车钥匙系统的无损信息监听方法及装置

Also Published As

Publication number Publication date
US11800337B2 (en) 2023-10-24
EP3908017A4 (en) 2022-01-26
EP3908017A1 (en) 2021-11-10
CN113348685A (zh) 2021-09-03
CN113348685B (zh) 2023-06-06
US20210352458A1 (en) 2021-11-11

Similar Documents

Publication Publication Date Title
WO2020151003A1 (zh) 一种建立蓝牙数据通道的方法及装置
EP3893109B1 (en) Method and device for connecting bluetooth devices
WO2018032455A1 (zh) 一种蓝牙通信的方法及终端
WO2021082875A1 (zh) 主从蓝牙耳机切换的方法及装置、蓝牙耳机、系统
US20150351142A1 (en) Seamless connectivity between hearing aid and multiple devices
US8966138B2 (en) Communication between a host device and an accessory using multiple-endpoint identification
EP3554109B1 (en) Method for establishing communication, and terminal
US20120135686A1 (en) Method and system for orderly connection of a bluetooth headset controlled by terminal
CN104335642A (zh) 用于音频设备的智能电池耗损均衡
WO2014110855A1 (zh) 一种数据传输的方法及终端
JP2010279042A (ja) 情報処理装置および方法、並びにプログラム
US20220264672A1 (en) Method of data transmission between bluetooth tws devices, and bluetooth tws device
WO2021242430A1 (en) Connected isochronous stream swapping
CN110166988A (zh) 一种无线通信系统及其方法
US8862748B2 (en) Method and system for optimizing power consumption and reducing MIPS requirements for wireless communication
WO2022222556A1 (zh) 一种蓝牙设备中编解码能力的获取方法及电子设备
WO2022206270A1 (zh) 设备添加方法、装置、蓝牙芯片及设备
WO2022198391A1 (zh) 一种通信方法、通信装置及终端
WO2021239032A1 (zh) 蓝牙协议连接方法、装置、存储介质及相关设备
TW202232983A (zh) 可避免聲音中斷的藍牙通信系統及相關的藍牙設備群
WO2024087219A1 (zh) 音频数据的传输方法、装置、芯片、设备及存储介质
TWI406580B (zh) 可降低無線資源耗費的傳輸方法及其相關裝置
WO2020062861A1 (zh) 一种蓝牙音箱语音播放控制的方法及装置
WO2023246056A1 (zh) 设备连接方法及装置、存储介质、芯片
WO2024060750A1 (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: 19911776

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019911776

Country of ref document: EP

Effective date: 20210803