WO2023019446A1 - Communication method and communication device - Google Patents

Communication method and communication device Download PDF

Info

Publication number
WO2023019446A1
WO2023019446A1 PCT/CN2021/113098 CN2021113098W WO2023019446A1 WO 2023019446 A1 WO2023019446 A1 WO 2023019446A1 CN 2021113098 W CN2021113098 W CN 2021113098W WO 2023019446 A1 WO2023019446 A1 WO 2023019446A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast
bis
broadcast receiver
big
sender
Prior art date
Application number
PCT/CN2021/113098
Other languages
French (fr)
Chinese (zh)
Inventor
董建利
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN202180097734.4A priority Critical patent/CN117242758A/en
Priority to PCT/CN2021/113098 priority patent/WO2023019446A1/en
Publication of WO2023019446A1 publication Critical patent/WO2023019446A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/20Support for services
    • H04L49/201Multicast operation; Broadcast operation

Definitions

  • the present application relates to the communication field, and more specifically, to a communication method and a communication device.
  • Bluetooth low energy (bluetooth low energy, BLE) technology is a low-energy, low-latency Bluetooth technology.
  • the broadcast sender can configure the broadcast synchronization group (broadcast isochronous group, BIG).
  • the BIG may include one or more broadcast isochronous streams (broadcast isochronous stream, BIS).
  • the broadcast sender can send data to the broadcast receiver (synchronized receiver) through the one or more BIS.
  • the broadcast receiver can only receive the data sent by the broadcast sender through the BIS.
  • the broadcast receiver may wish to send data to the broadcast sender or other broadcast receivers.
  • the existing technology needs to communicate between the broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers. Establishing a new BLE connection in between, resulting in waste of power consumption and bandwidth.
  • the present application provides a communication method and a communication device to solve the above problems of waste of power consumption and bandwidth.
  • a communication method including: a first broadcast receiver enables a first transmission path corresponding to a first broadcast synchronization stream BIS, and the first BIS belongs to a broadcast synchronization group BIG configured by a broadcast sender, so The first transmission path is used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers; the first broadcast receiver sends data based on the first transmission path.
  • a communication method including: a broadcast sender configures a broadcast synchronization group BIG, the BIG includes a first broadcast synchronization stream BIS, the first BIS corresponds to a first transmission path, and the first transmission path Used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers.
  • a communication device is provided, the device is a first broadcast receiver, and the device includes: an enabling unit, configured to enable a first transmission path corresponding to a first broadcast synchronization stream BIS, the first A BIS belongs to the broadcast synchronization group BIG configured by the broadcast sender, and the first transmission path is used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers; the first sending unit is configured to The first transmission path sends data.
  • a communication device is provided, the device is a broadcast sender, and the device includes: a configuration unit configured to configure a broadcast synchronization group BIG, the BIG includes a first broadcast synchronization stream BIS, and the first The BIS corresponds to a first transmission path, and the first transmission path is a transmission path through which the first broadcast receiver sends data to the broadcast sender and/or at least one other broadcast receiver.
  • a communication device including a memory and a processor, the memory is used to store a program, and the processor is used to invoke the program in the memory to execute the method according to the first aspect.
  • a communication device including a memory and a processor, the memory is used to store a program, and the processor is used to invoke the program in the memory to execute the method described in the second aspect.
  • an apparatus including a processor, configured to call a program from a memory to execute the method described in the first aspect.
  • an apparatus including a processor, configured to call a program from a memory to execute the method described in the second aspect.
  • a ninth aspect provides a chip, including a processor, configured to call a program from a memory, so that a device installed with the chip executes the method described in the first aspect.
  • a chip including a processor, configured to call a program from a memory, so that a device installed with the chip executes the method described in the second aspect.
  • a computer-readable storage medium on which a program is stored, and the program causes a computer to execute the method described in the first aspect.
  • a computer-readable storage medium on which a program is stored, and the program causes a computer to execute the method described in the second aspect.
  • a thirteenth aspect provides a computer program product, including a program, the program causes a computer to execute the method described in the first aspect.
  • a fourteenth aspect provides a computer program product, including a program, the program causes a computer to execute the method described in the second aspect.
  • a fifteenth aspect provides a computer program, the computer program causes a computer to execute the method described in the first aspect.
  • a sixteenth aspect provides a computer program, the computer program causes a computer to execute the method described in the second aspect.
  • the BIG configured in the embodiment of the present application includes the first BIS sent by the first broadcast receiver. Therefore, the first broadcast receiver can use the first BIS to send data to the broadcast sender or other broadcast receivers, thereby avoiding communication between the first broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers. Establishes a new BLE connection, which reduces power consumption and saves bandwidth.
  • FIG. 1 is an example diagram of a BIG/BIS configuration manner in the related art.
  • Fig. 2 is an example diagram of a bluetooth broadcasting scenario to which the embodiment of the present application can be applied.
  • Fig. 3 is an exemplary diagram of another Bluetooth broadcasting scenario to which the embodiment of the present application can be applied.
  • Fig. 4 is a schematic flowchart of a communication method provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another communication method provided by an embodiment of the present application.
  • Fig. 7 is an example diagram of the sending and receiving process of the BIS provided by the embodiment of the present application.
  • FIG. 8 is an example diagram of applying the embodiment of the present application to a game scene.
  • FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of the device provided by the embodiment of the present application.
  • Bluetooth is used to transmit data such as audio information, file information and broadcast information across devices, and can realize short-distance data exchange between different devices.
  • BLE technology is a new generation of Bluetooth communication technology. This technology has the characteristics of low energy consumption and low delay, so it is widely used in various scenarios that require short-distance communication.
  • BLE technology supports broadcasting scenarios.
  • a broadcast sender can broadcast data, and the broadcast data can be simultaneously received by multiple broadcast receivers (also called synchronous receivers or broadcast synchronizers).
  • multiple broadcast receivers also called synchronous receivers or broadcast synchronizers.
  • the present application does not limit broadcast data, and the broadcast data may be audio data, video data, or text data.
  • BLE Audio BLE Audio
  • multiple broadcast receivers can simultaneously receive audio data (such as music and/or voice) sent by the broadcast sender.
  • audio data such as music and/or voice
  • VR virtual reality
  • AR augmented reality
  • multiple broadcast receivers can simultaneously receive video data (such as virtual images) and/or audio data sent by the broadcast sender.
  • Both the broadcast sender and the broadcast receiver are devices or devices that support Bluetooth communication.
  • either the broadcast sender or the broadcast receiver can be one of the following devices: mobile phone, tablet computer, notebook computer, palmtop computer, personal digital assistant (personal digital assistant, PDA), portable media player (portable media player) , PMP), digital TV, desktop computer, Bluetooth headset, Bluetooth audio and other electronic equipment.
  • Bluetooth broadcasting can be widely used in game rooms, cinemas, conference rooms, classrooms, airports and other scenarios.
  • the game terminal can be used as a broadcast sender, and multiple Bluetooth headsets can be used as broadcast receivers.
  • the game terminal can synchronously send game sounds to multiple Bluetooth headsets through Bluetooth broadcasting.
  • Players can receive the game sound by wearing a Bluetooth headset, so as to achieve the effect of multiple players participating in the game at the same time.
  • the Bluetooth headset collects and transmits the voice of the speaker.
  • multiple Bluetooth speakers can be set up in different positions in the meeting room.
  • the Bluetooth headset can be used as the broadcast sender, and multiple Bluetooth speakers can be used as the broadcast receiver.
  • the Bluetooth headset can send speech voices to multiple Bluetooth speakers synchronously through Bluetooth broadcasting, so that audiences at various positions in the conference room can listen to the speech content and achieve good listening effects.
  • BIS is a broadcast synchronization stream
  • BIG is a broadcast synchronization group.
  • BIG is a collection of multiple BIS.
  • one BIG can include 31 BIS.
  • Broadcast senders can configure BIG/BIS.
  • the broadcast sender can configure at least one of the following parameters: the number of BISs in the BIG; the index of the BIS; the time interval between corresponding sub-events (events) in two adjacent BISs in the BIG; The time interval between two consecutive sub-events; the maximum number of data bytes that can be carried by the protocol data unit (PDU) of each BIS in the BIG; and whether the data in the BIG is encrypted.
  • PDU protocol data unit
  • Multiple broadcast receivers receive data in BIS by synchronizing to BIG/BIS.
  • step S110 the broadcast sender starts periodic advertising (PA).
  • Step S120 the broadcast sender starts BIG.
  • the BIG may include one or more BISs.
  • the BIG/BIS can be carried in periodic broadcast.
  • Step S130 the broadcast sender enables the transmission path.
  • the transmission path is the transmission path corresponding to the BIS that the broadcast sender needs to send. This transmission path can be used to transmit audio data. Therefore, in some embodiments, this transmission path may also be referred to as an audio transmission path (audio data path).
  • broadcast receiver 1, broadcast receiver 2 and broadcast receiver 3 respectively scan and synchronize to BIG/BIS.
  • broadcast receivers can first sync to Bluetooth periodic broadcasts. Broadcast receivers can then resynchronize to BIG/BIS via periodic broadcasts. Alternatively, broadcast receivers can sync to the Bluetooth periodic broadcast as well as BIG/BIS at the same time.
  • Each BIS in the BIG can be used to deliver the corresponding audio stream.
  • one BIS may correspond to one audio channel, and in order to support multiple audio channels, one BIS may include two BISs. Broadcast senders can use two BISs to transmit the left and right channels of audio, respectively.
  • a BIG can include 5 BIS, thus supporting 5.1 surround sound channels.
  • one BIG may include multiple BISs, and the multiple BISs may carry voices in different national languages, so as to provide simultaneous transmission of multilingual voices for users of different nationalities. Therefore, BIG/BIS can provide a new experience for Bluetooth users.
  • FIG. 2 shows a scenario where the broadcast sender is a master device (master) 210 and the broadcast synchronization receivers are two slave devices (slave) 220 .
  • the BIG in FIG. 2 may include BIS1 and BIS2.
  • BIS1 and BIS2 can be used to transmit the left and right channels of audio respectively.
  • Two slave devices 220 can be synchronized to the BIG to simultaneously receive audio streams in BIS1 and BIS2.
  • the slave device 220 receives audio data of two channels, which enables users using the slave device 220 to obtain a richer audio experience.
  • the broadcast sender can send data to multiple broadcast receivers through BIG/BIS.
  • Broadcast receivers usually only receive data through BIS.
  • broadcast receivers may wish to send data to broadcast senders or other broadcast receivers.
  • the prior art needs to establish a new BLE connection between the broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers.
  • one possible implementation is to establish a new BLE connection between the broadcast receiver and other broadcast receivers or between the broadcast sender and the broadcast receiver respectively, another possible implementation It is the broadcast receiver that establishes a new BLE connection with the broadcast sender. Through the BLE connection, the broadcast receiver can send data to the broadcast sender, and the broadcast sender broadcasts the data.
  • both of the above two methods have many disadvantages. Combining with the game scene shown in FIG. 3 , the problems existing in these two methods are analyzed below.
  • a plurality of players (Fig. 3 takes 5 players as an example) are sitting in the same room and playing a competitive game. 325 is synchronized to the game terminal 310 to listen to the game sound. If local game communication is required between players, voice data needs to be exchanged between the Bluetooth headsets 321-325. Taking the exchange of voice data between the Bluetooth earphone 321 and other Bluetooth earphones as an example, the exchange of voice data between the Bluetooth earphones can be realized in two ways: method 1 and method 2.
  • Method 1 The Bluetooth headset 321 establishes a BLE connection 332 with the game terminal 310 , and sends voice data to the game terminal 310 through the BLE connection 332 . Afterwards, the game terminal 310 sends out the voice data through the Bluetooth broadcast audio 331 for other players to listen to.
  • Method 2 The Bluetooth headset 321 establishes BLE connections 333-336 with the Bluetooth headsets 322-325 respectively.
  • BLE connections 333-336 can be used to exchange voice data.
  • the overhead of establishing Bluetooth BLE connections between Bluetooth headsets will be very high.
  • maintaining multiple BLE connections requires a high degree of scheduling.
  • this method will cause waste of power consumption and bandwidth as a whole.
  • FIG. 4 is a schematic flowchart of a communication method proposed in an embodiment of the present application.
  • the method in FIG. 4 is executed by the broadcast sender and the first broadcast receiver.
  • the first broadcast receiver may be any one of multiple broadcast receivers.
  • Step S410 the broadcast sender configures BIG.
  • the BIG includes a first BIS, and the first BIS corresponds to a first transmission path, and the first transmission path is a transmission path for sending data from a first broadcast receiver to a broadcast sender and/or other broadcast receivers.
  • the BIG may include one or more BISs, which is not limited in this application.
  • the first BIS is any one of the multiple BISs.
  • BISs in the BIG may be sent by the broadcast sender or by the first broadcast receiver.
  • a BIG may include a second BIS sent by the broadcast sender. If there are multiple broadcast receivers, the BIS to send can be configured for these broadcast receivers respectively.
  • the first broadcast receiver may only send the first BIS, or may send multiple BISs.
  • the multiple BISs can be used to deliver corresponding data streams of the first broadcast receiver respectively.
  • the first broadcast receiver may send two BIS, which are respectively used to transmit the left channel and the right channel of the first broadcast receiver's audio.
  • Step S420 the first broadcast receiver enables the first transmission path corresponding to the first BIS.
  • the first broadcast receiver needs to respectively enable transmission paths corresponding to multiple BISs.
  • the data sent by the first broadcast receiver can be received based on the first transmission path.
  • Step S430 the first broadcast receiver sends data based on the first transmission path.
  • the first broadcast receiver can send data to the broadcast sender, and can also send data to other broadcast receivers of the broadcast sender. That is to say, the first broadcast receiver can broadcast data through the method provided in this application.
  • This application configures the BIG through the broadcast sender, and configures the first BIS in the BIG to be sent by the broadcast receiver.
  • the first broadcast receiver can use the first BIS to send data to the broadcast sender or other broadcast receivers, thereby avoiding the establishment of a new broadcast between the first broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers.
  • BLE connection which reduces power consumption and saves bandwidth.
  • the first broadcast receiver can send at least one BIS including the first BIS
  • other broadcast receivers or broadcast senders can send other BIS in BIG separately. This not only meets the broadcast sender's need to send data, but also realizes "distributed broadcast” sending.
  • step S410 the method described in this application may further include step S405.
  • Step S405 establishing a connection between the broadcast sender and the first broadcast receiver.
  • the connection realizes information interaction between the broadcast sender and the first broadcast receiver, so that the configured BIG information can be sent to the first broadcast receiver.
  • connection between the broadcast sender and the first broadcast receiver may be a direct connection or an indirect connection. That is to say, the broadcast sender and the first broadcast receiver can be connected through at least one other device.
  • connection type may be a BLE connection, a Bluetooth broadcast connection or other non-Bluetooth connections.
  • the connection can be disconnected to avoid resource waste.
  • FIG. 5 is a schematic flowchart of another communication method proposed by the embodiment of the present application. The method in FIG. 5 is executed by the broadcast sender and the first broadcast receiver.
  • Step S510 the broadcast sender configures BIG.
  • BIG includes the first BIS.
  • the first BIS corresponds to the first transmission path, and the first transmission path is used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers.
  • step S510 reference may be made to step S410 in Embodiment 1, which will not be repeated in this application.
  • step S580 the first broadcast receiver enables the first transmission path corresponding to the first BIS.
  • both the broadcast sender and the first broadcast receiver enter a streaming data sending state.
  • both the broadcast sender and the first broadcast receiver can become data senders and broadcast.
  • the broadcast sender may send data to the first broadcast receiver or other broadcast receivers.
  • the first broadcast receiver may send data to the broadcast sender or other broadcast receivers based on the first transmission path.
  • step S510 may further include one or more of steps S520 to S570.
  • Step S520 the first broadcast receiver synchronizes to the first BIS.
  • the first broadcast receiver can be synchronized to other BISs in the BIG except the first BIS, so that data can be received or sent synchronously through other BISs.
  • step S530 the broadcast sender sends query information to the first broadcast receiver, and the query message is used to query whether the first broadcast receiver supports a framed mode or an unframed mode.
  • the unframed mode For the unframed mode, the data transmission of the upper layer and the lower layer is synchronous, and complete data can be transmitted.
  • the data transmission of the upper layer and the lower layer is not synchronous, and the transmitted data needs to be segmented.
  • the unframed mode has high requirements on the system, and not all devices can support the unframed mode.
  • the broadcast sender can determine the mode in which the BIG is configured by querying whether the first broadcast receiver supports the unframed mode or the framed mode. For example, when the first broadcast receiver supports the unframed mode, the broadcast sender can configure the BIG as the unframed mode; when the first broadcast receiver supports the framed mode, the broadcast sender can configure the BIG as the framed mode. Or, when there are multiple broadcast receivers, only when all the broadcast receivers support the unframed mode, the broadcast sender can configure the BIG as the unframed mode; otherwise, the broadcast sender can configure the BIG as the framed mode.
  • This application does not limit the manner in which the broadcast sender queries the unframed mode or the framed mode of the first broadcast receiver.
  • the broadcast sender may send a query message to the first broadcast receiver, and after receiving the query message, the first broadcast receiver sends a message to the broadcast sender that the first broadcast receiver supports unframed mode or framed mode.
  • step S540 the broadcast sender sends configuration information to the first broadcast receiver.
  • the configuration information may be used to configure the first BIS.
  • the broadcast sender may instruct the first broadcast receiver to send the first BIS by sending configuration information.
  • the broadcast sender may send the first BIS in step S590.
  • the broadcast sender may establish a BLE connection with the first broadcast receiver, and send configuration information through the BLE connection.
  • the broadcast sender may also establish a broadcast connection with the first broadcast receiver, and send configuration information through broadcast.
  • the broadcast sender may directly send configuration information to the first broadcast receiver, or may indirectly send configuration information to the first broadcast receiver.
  • the broadcast sender may first send configuration information to a device that has established a connection with the first broadcast receiver, and the configuration information is sent to the first broadcast receiver through the device.
  • the first broadcast receiver may feedback and confirm to the broadcast sender.
  • the broadcast sender may also indicate the BIS received by the first broadcast receiver through configuration information.
  • the first broadcast receiver may receive the BIS received by the first broadcast receiver in subsequent steps.
  • the BIS received by the first broadcast receiver may be at least one BIS in the BIG except the first BIS. Since the first BIS is the BIS sent by the first broadcast receiver, the broadcast sender will also receive the data sent by itself after receiving the first BIS, which will cause data redundancy. Therefore, without receiving the first BIS, the broadcast sender will not receive the data sent by itself.
  • the broadcast sender will not listen The voice message sent by myself has arrived.
  • the BIS received by the first broadcast receiver may be configured as required.
  • the first broadcast receiver can receive all BIS in BIG except the first BIS, then the first broadcast receiver can not only receive the data sent by the broadcast sender, but also receive the data sent by all other broadcast receivers .
  • the Bluetooth headset 321 is the first broadcast receiver as an example, the Bluetooth headset 321 can receive all BIS except the first BIS in the BIG configured by the game terminal 310, and then receive the game terminal 310 and other Bluetooth broadcast receivers. Voice information sent by earphones 322-325.
  • the configuration information may include an index of a BIS transmitted by the first broadcast receiver and/or an index of a received BIS.
  • the index of the BIS transmitted by the first broadcast receiver may include the index of the first BIS.
  • the index of the BIS sent by the first broadcast receiver may also include the indices of other multiple BISs. For example, if the index of the second BIS sent by the broadcast sender is 1 and the index of the first BIS is 2, the index of the BIS sent by the first broadcast receiver can be 2, and the index of the BIS received by the first broadcast receiver Can be 1.
  • step S550 the broadcast sender starts periodic broadcasting.
  • Step S560 the broadcast sender starts BIG.
  • Step S570 the broadcast sender enables the corresponding transmission path for the second BIS.
  • the second BIS is any BIS in the BIG configured by the broadcast sender, and the second BIS is different from the first BIS.
  • the broadcast sender can enable the corresponding second transmission path for the second BIS, then in step S590, the broadcast sender can send the data of the broadcast sender to the first broadcast receiver and/or other broadcast receivers through the second transmission path .
  • the broadcast sender needs to enable the transmission paths corresponding to multiple BISs respectively.
  • FIG. 6 is a schematic flowchart of another communication method proposed by the embodiment of the present application.
  • the method in FIG. 6 may be executed by the broadcast sender and three broadcast receivers, and the first broadcast receiver may be any one of broadcast receiver 1 , broadcast receiver 2 , and broadcast receiver 3 .
  • step S611 to step S613 the broadcast sender establishes BLE connections with broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 respectively.
  • the broadcast sender sends the first query message, the second query message, and the third query message to broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 respectively, so as to obtain broadcast receiver 1, broadcast Receiver 2 and Broadcast Receiver 3 support framed mode or unframed mode.
  • the broadcast sender sends the first configuration information, the second configuration information and the third configuration information to the broadcast receiver 1, the broadcast receiver 2 and the broadcast receiver 3 respectively, so as to configure the BIG.
  • the first configuration information includes the index of BIS sent and received by broadcast receiver 1; the second configuration information includes the index of BIS sent and received by broadcast receiver 2; the third configuration information includes the index of BIS sent and received by broadcast receiver 3 index of the BIS.
  • the indexes of the BIS sent and received by the broadcast sender, broadcast receiver 1 , broadcast receiver 2 and broadcast receiver 3 are shown in Table 1.
  • FIG. 7 shows the situation that the broadcast sender, broadcast receiver 1, broadcast receiver 2 and broadcast receiver 3 receive and send BIS.
  • a broadcast sender only sends data and does not receive any data.
  • Broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 not only send data, but also receive all data sent by themselves.
  • Table 1 and FIG. 7 that the situation shown in Table 1 is suitable for a game scene similar to that in FIG. 3 , where the game scene may include 3 players.
  • the three players can not only receive audio data from the game terminal, but also transmit voice data to each other during the game, realizing the function of chatting synchronously during the game.
  • step S640 the broadcast sender starts periodic broadcasting.
  • Step S650 the broadcast sender starts the BIG
  • step S660 the broadcast sender enables a voice data transmission path for the target BIS (the BIS sent by the broadcast sender).
  • step S671 to step S673 broadcast receiver 1, broadcast receiver 2 and broadcast receiver 3 respectively scan and synchronize to BIG/BIS.
  • the broadcast receivers respectively enable data transmission paths for the target BIS (the BIS that needs to be sent).
  • the target BIS the BIS that needs to be sent.
  • broadcast receiver 1 enables the voice data transmission path for BIS2;
  • broadcast receiver 2 enables the voice data transmission path for BIS3;
  • broadcast receiver 3 enables the voice data transmission path for BIS4.
  • step S690 the broadcast sender, broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 all enter the streaming data sending state, and can send data.
  • FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication device 900 shown in FIG. 9 may include an enabling unit 910 and a first sending unit 920 .
  • the communication device 900 is the first broadcast receiver.
  • the configuration unit 910 is configured to enable the first transmission path corresponding to the first broadcast synchronization stream BIS, the first BIS belongs to the broadcast synchronization group BIG configured by the broadcast sender, and the first transmission path is used for the first broadcast receiver to send The broadcast sender and/or other broadcast receivers send data.
  • the first sending unit 920 is configured to send data based on the first transmission path.
  • the BIG includes multiple BISs, and the first BIS is one of the multiple BISs.
  • the communication device 900 further includes: a first receiving unit, configured to receive configuration information from the broadcast sender, where the configuration information is used to configure the first BIS.
  • the configuration information is also used to configure the BIS received by the first broadcast receiver.
  • the BIS received by the first broadcast receiver includes at least one BIS in the BIG other than the first BIS.
  • the configuration information includes an index of the BIS sent and/or received by the first broadcast receiver.
  • the communication device 900 further includes: a second receiving unit, configured to receive a query message from the broadcast sender, and the query message is used to query whether the broadcast receiver supports framing mode or unframed mode.
  • a second receiving unit configured to receive a query message from the broadcast sender, and the query message is used to query whether the broadcast receiver supports framing mode or unframed mode.
  • the communications apparatus 900 further includes: a synchronization unit, configured to synchronize to the first BIS.
  • FIG. 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • the communication device 1000 shown in FIG. 10 may include a configuration unit 1010 .
  • Communication device 1000 is a broadcast sender.
  • the configuration unit 1010 is used to configure the broadcast synchronization group BIG, the BIG includes the first broadcast synchronization stream BIS, and the first BIS corresponds to the first transmission path, and the first transmission path is from the first broadcast receiver to the broadcast sender and and/or at least one other broadcast receiver's transmission path for sending data.
  • the communications apparatus 1000 further includes: a first sending unit, configured to send configuration information to the first broadcast receiver, where the configuration information is used to configure the first BIS.
  • a first sending unit configured to send configuration information to the first broadcast receiver, where the configuration information is used to configure the first BIS.
  • the BIG includes multiple BISs, and the first BIS is one of the multiple BISs.
  • the configuration information is also used to configure the BIS received by the first broadcast receiver.
  • the BIS received by the first broadcast receiver is at least one BIS in the BIG except the first BIS.
  • the configuration information includes an index of the BIS sent and/or received by the first broadcast receiver.
  • the communication device 1000 further includes: a second sending unit, configured to send a query message to the first broadcast receiver, where the query message is used to query whether the first broadcast receiver supports a framing mode or Unframed mode.
  • a second sending unit configured to send a query message to the first broadcast receiver, where the query message is used to query whether the first broadcast receiver supports a framing mode or Unframed mode.
  • the communication device 1000 further includes at least one of the following units: a first starting unit, used to start periodic broadcast; a second starting unit, used to start the BIG; an enabling unit, used to enable The second transmission path corresponding to the second BIS, the second BIS is any BIS in the BIG except the first BIS; a transmission unit, configured to receive the broadcast from the first broadcast based on the second transmission path sender and/or said other broadcast receivers.
  • a first starting unit used to start periodic broadcast
  • a second starting unit used to start the BIG
  • an enabling unit used to enable The second transmission path corresponding to the second BIS, the second BIS is any BIS in the BIG except the first BIS
  • a transmission unit configured to receive the broadcast from the first broadcast based on the second transmission path sender and/or said other broadcast receivers.
  • Fig. 11 is a schematic structural diagram of a device according to an embodiment of the present application.
  • the dashed line in Figure 11 indicates that the unit or module is optional.
  • the apparatus 1100 may be used to implement the methods described in the foregoing method embodiments.
  • Device 1100 may be a chip or a communication device.
  • Apparatus 1100 may include one or more processors 1110 .
  • the processor 1110 can support the device 1100 to implement the methods described in the foregoing method embodiments.
  • the processor 1110 may be a general purpose processor or a special purpose processor.
  • the processor may be a central processing unit (central processing unit, CPU).
  • the processor can also be other general-purpose processors, digital signal processors (digital signal processors, DSPs), application specific integrated circuits (application specific integrated circuits, ASICs), off-the-shelf programmable gate arrays (field programmable gate arrays, FPGAs) Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • Apparatus 1100 may also include one or more memories 1120 .
  • a program is stored in the memory 1120, and the program can be executed by the processor 1110, so that the processor 1110 executes the methods described in the foregoing method embodiments.
  • the memory 1120 may be independent from the processor 1110 or may be integrated in the processor 1110 .
  • Apparatus 1100 may also include a transceiver 1130 .
  • the processor 1110 can communicate with other devices or chips through the transceiver 1130 .
  • the processor 1110 may send and receive data with other devices or chips through the transceiver 1130 .
  • the embodiment of the present application also provides a computer-readable storage medium for storing programs.
  • the computer-readable storage medium can be applied to the communication device provided in the embodiments of the present application, and the program enables the computer to execute the methods performed by the communication device in the various embodiments of the present application.
  • the embodiment of the present application also provides a computer program product.
  • the computer program product includes programs.
  • the computer program product can be applied to the communication device provided in the embodiments of the present application, and the program enables the computer to execute the methods performed by the communication device in the various embodiments of the present application.
  • the embodiment of the present application also provides a computer program.
  • the computer program can be applied to the communication device provided in the embodiments of the present application, and the computer program enables the computer to execute the methods performed by the communication device in the various embodiments of the present application.
  • B corresponding to A means that B is associated with A, and B can be determined according to A.
  • determining B according to A does not mean determining B only according to A, and B may also be determined according to A and/or other information.
  • sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be read by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital versatile disc (digital video disc, DVD)) or a semiconductor medium (for example, a solid state disk (solid state disk, SSD) )wait.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a digital versatile disc (digital video disc, DVD)
  • a semiconductor medium for example, a solid state disk (solid state disk, SSD)

Abstract

The present application provides a communication method and a communication device. The communication method comprises: a first broadcast receiver enables a first transmission path corresponding to a first broadcast isochronous stream (BIS), the first BIS belonging to a broadcast isochronous group (BIG) configured by a broadcast transmitter, the first transmission path being used for sending data to the broadcast transmitter and/or other broadcast receivers by the first broadcast receiver; and the first broadcast receiver sends the data on the basis of the first transmission path. The BIG configured in the present application comprises a BIS sent by the first broadcast receiver. Therefore, the first broadcast receiver can use the BIS to send the data to the broadcast transmitter and/or other broadcast receivers, so as to avoid the establishment of a new BLE connection between the first broadcast receiver and the broadcast transmitter or between the broadcast receiver and other broadcast receivers, thereby reducing the power consumption and saving the bandwidth.

Description

通信方法及通信装置Communication method and communication device 技术领域technical field
本申请涉及通信领域,并且更为具体地,涉及一种通信方法及通信装置。The present application relates to the communication field, and more specifically, to a communication method and a communication device.
背景技术Background technique
低功耗蓝牙(bluetooth low energy,BLE)技术是一种低能耗、低时延的蓝牙技术。BLE中,广播发送者(isochronous broadcaster)可以配置广播同步组(broadcast isochronous group,BIG)。该BIG可以包括一个或多个广播同步流(broadcast isochronous stream,BIS)。广播发送者可以通过该一个或多个BIS向广播接收者(synchronized receiver)发送数据。Bluetooth low energy (bluetooth low energy, BLE) technology is a low-energy, low-latency Bluetooth technology. In BLE, the broadcast sender (isochronous broadcaster) can configure the broadcast synchronization group (broadcast isochronous group, BIG). The BIG may include one or more broadcast isochronous streams (broadcast isochronous stream, BIS). The broadcast sender can send data to the broadcast receiver (synchronized receiver) through the one or more BIS.
由此可见,在现有技术中,广播接收者只能通过BIS接收广播发送者发送的数据。在有些情况下,广播接收者可能希望向广播发送者或者其他广播接收者发送数据,针对这种情况,现有技术需要在广播接收者和广播发送者之间或者广播接收者其他广播接收者之间建立新的BLE连接,造成功耗和带宽的浪费。It can be seen that, in the prior art, the broadcast receiver can only receive the data sent by the broadcast sender through the BIS. In some cases, the broadcast receiver may wish to send data to the broadcast sender or other broadcast receivers. In this case, the existing technology needs to communicate between the broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers. Establishing a new BLE connection in between, resulting in waste of power consumption and bandwidth.
发明内容Contents of the invention
本申请提供一种通信方法及通信装置,以解决上述功耗和带宽的浪费的问题。The present application provides a communication method and a communication device to solve the above problems of waste of power consumption and bandwidth.
第一方面,提供了一种通信方法,包括:第一广播接收者使能第一广播同步流BIS对应的第一传输路径,所述第一BIS属于广播发送者配置的广播同步组BIG,所述第一传输路径用于第一广播接收者向所述广播发送者和/或其他广播接收者发送数据;所述第一广播接收者基于所述第一传输路径发送数据。In a first aspect, a communication method is provided, including: a first broadcast receiver enables a first transmission path corresponding to a first broadcast synchronization stream BIS, and the first BIS belongs to a broadcast synchronization group BIG configured by a broadcast sender, so The first transmission path is used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers; the first broadcast receiver sends data based on the first transmission path.
第二方面,提供了一种通信方法,包括:广播发送者配置广播同步组BIG,所述BIG包括第一广播同步流BIS,所述第一BIS对应第一传输路径,所述第一传输路径用于第一广播接收者向所述广播发送者和/或其他广播接收者发送数据。In a second aspect, a communication method is provided, including: a broadcast sender configures a broadcast synchronization group BIG, the BIG includes a first broadcast synchronization stream BIS, the first BIS corresponds to a first transmission path, and the first transmission path Used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers.
第三方面,提供了一种通信装置,所述装置为第一广播接收者,所述装置包括:使能单元,用于使能第一广播同步流BIS对应的第一传输路径,所述第一BIS属于广播发送者配置的广播同步组BIG,所述第一传输路径用于第一广播接收者向所述广播发送者和/或其他广播接收者发送数据;第一发送单元,用于基于所述第一传输路径发送数据。In a third aspect, a communication device is provided, the device is a first broadcast receiver, and the device includes: an enabling unit, configured to enable a first transmission path corresponding to a first broadcast synchronization stream BIS, the first A BIS belongs to the broadcast synchronization group BIG configured by the broadcast sender, and the first transmission path is used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers; the first sending unit is configured to The first transmission path sends data.
第四方面,提供了一种通信装置,所述装置为广播发送者,所述装置包括:配置单元,用于配置广播同步组BIG,所述BIG包括第一广播同步流BIS,所述第一BIS对应第一传 输路径,所述第一传输路径为第一广播接收者向广播发送者和/或至少一个其他广播接收者发送数据的传输路径。In a fourth aspect, a communication device is provided, the device is a broadcast sender, and the device includes: a configuration unit configured to configure a broadcast synchronization group BIG, the BIG includes a first broadcast synchronization stream BIS, and the first The BIS corresponds to a first transmission path, and the first transmission path is a transmission path through which the first broadcast receiver sends data to the broadcast sender and/or at least one other broadcast receiver.
第五方面,提供一种通信装置,包括存储器和处理器,所述存储器用于存储程序,所述处理器用于调用所述存储器中的程序,以执行如第一方面所述的方法。According to a fifth aspect, a communication device is provided, including a memory and a processor, the memory is used to store a program, and the processor is used to invoke the program in the memory to execute the method according to the first aspect.
第六方面,提供一种通信装置,包括存储器和处理器,所述存储器用于存储程序,所述处理器用于调用所述存储器中的程序,以执行第二方面所述的方法。According to a sixth aspect, a communication device is provided, including a memory and a processor, the memory is used to store a program, and the processor is used to invoke the program in the memory to execute the method described in the second aspect.
第七方面,提供一种装置,包括处理器,用于从存储器中调用程序,以执行第一方面所述的方法。In a seventh aspect, an apparatus is provided, including a processor, configured to call a program from a memory to execute the method described in the first aspect.
第八方面,提供一种装置,包括处理器,用于从存储器中调用程序,以执行第二方面所述的方法。In an eighth aspect, an apparatus is provided, including a processor, configured to call a program from a memory to execute the method described in the second aspect.
第九方面,提供一种芯片,包括处理器,用于从存储器调用程序,使得安装有所述芯片的设备执行第一方面所述的方法。A ninth aspect provides a chip, including a processor, configured to call a program from a memory, so that a device installed with the chip executes the method described in the first aspect.
第十方面,提供一种芯片,包括处理器,用于从存储器调用程序,使得安装有所述芯片的设备执行第二方面所述的方法。In a tenth aspect, a chip is provided, including a processor, configured to call a program from a memory, so that a device installed with the chip executes the method described in the second aspect.
第十一方面,提供一种计算机可读存储介质,其上存储有程序,所述程序使得计算机执行第一方面所述的方法。In an eleventh aspect, a computer-readable storage medium is provided, on which a program is stored, and the program causes a computer to execute the method described in the first aspect.
第十二方面,提供一种计算机可读存储介质,其上存储有程序,所述程序使得计算机执行第二方面所述的方法。In a twelfth aspect, a computer-readable storage medium is provided, on which a program is stored, and the program causes a computer to execute the method described in the second aspect.
第十三方面,提供一种计算机程序产品,包括程序,所述程序使得计算机执行第一方面所述的方法。A thirteenth aspect provides a computer program product, including a program, the program causes a computer to execute the method described in the first aspect.
第十四方面,提供一种计算机程序产品,包括程序,所述程序使得计算机执行第二方面所述的方法。A fourteenth aspect provides a computer program product, including a program, the program causes a computer to execute the method described in the second aspect.
第十五方面,提供一种计算机程序,所述计算机程序使得计算机执行第一方面所述的方法。A fifteenth aspect provides a computer program, the computer program causes a computer to execute the method described in the first aspect.
第十六方面,提供一种计算机程序,所述计算机程序使得计算机执行第二方面所述的方法。A sixteenth aspect provides a computer program, the computer program causes a computer to execute the method described in the second aspect.
本申请实施例配置的BIG中包括由第一广播接收者发送的第一BIS。因此,第一广播接收者可以利用第一BIS向广播发送者或者其他广播接收者发送数据,从而避免了在第一广播接收者和广播发送者之间或者广播接收者和其他广播接收者之间建立新的BLE连接,从而降低了功耗,并节省了带宽。The BIG configured in the embodiment of the present application includes the first BIS sent by the first broadcast receiver. Therefore, the first broadcast receiver can use the first BIS to send data to the broadcast sender or other broadcast receivers, thereby avoiding communication between the first broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers. Establishes a new BLE connection, which reduces power consumption and saves bandwidth.
附图说明Description of drawings
图1是相关技术中的BIG/BIS的配置方式的示例图。FIG. 1 is an example diagram of a BIG/BIS configuration manner in the related art.
图2是可应用本申请实施例的一种蓝牙广播场景的示例图。Fig. 2 is an example diagram of a bluetooth broadcasting scenario to which the embodiment of the present application can be applied.
图3是可应用本申请实施例的另一蓝牙广播场景的示例图。Fig. 3 is an exemplary diagram of another Bluetooth broadcasting scenario to which the embodiment of the present application can be applied.
图4是本申请实施例提供的一种通信方法示意性流程图。Fig. 4 is a schematic flowchart of a communication method provided by an embodiment of the present application.
图5是本申请实施例提供的另一种通信方法示意性流程图。FIG. 5 is a schematic flowchart of another communication method provided by an embodiment of the present application.
图6是本申请实施例提供的又一种通信方法示意性流程图。FIG. 6 is a schematic flowchart of another communication method provided by an embodiment of the present application.
图7是本申请实施例提供的BIS的收发过程的示例图。Fig. 7 is an example diagram of the sending and receiving process of the BIS provided by the embodiment of the present application.
图8为将本申请实施例应用于游戏场景的示例图。FIG. 8 is an example diagram of applying the embodiment of the present application to a game scene.
图9为本申请实施例提供的一种通信装置的结构示意图。FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
图10为本申请实施例提供的另一种通信装置的结构示意图。FIG. 10 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
图11为本申请实施例提供的装置的结构示意图。Fig. 11 is a schematic structural diagram of the device provided by the embodiment of the present application.
具体实施方式Detailed ways
为了便于理解,先对本申请涉及的一些相关概念进行介绍。For ease of understanding, some related concepts involved in this application are introduced first.
蓝牙作为一项无线通信技术,用于跨设备传输音频信息、文件信息和广播信息等数据,可以实现不同设备之间的短距离数据交换。BLE技术是新一代的蓝牙通信技术。该技术具有低能耗、低时延的特点,因此,被广泛应用于各种需要进行短距离通信的场景。As a wireless communication technology, Bluetooth is used to transmit data such as audio information, file information and broadcast information across devices, and can realize short-distance data exchange between different devices. BLE technology is a new generation of Bluetooth communication technology. This technology has the characteristics of low energy consumption and low delay, so it is widely used in various scenarios that require short-distance communication.
BLE技术支持广播场景。在广播场景中,广播发送者可以将数据进行广播,广播的数据可以被多个广播接收者(也可以称为同步接收者或广播同步者)同时接收。BLE technology supports broadcasting scenarios. In a broadcast scenario, a broadcast sender can broadcast data, and the broadcast data can be simultaneously received by multiple broadcast receivers (also called synchronous receivers or broadcast synchronizers).
本申请不限制广播的数据,广播的数据可以为音频数据、视频数据或者文本数据等。例如,在BLE音频(BLE Audio)技术中,多个广播接收者可以同时接收广播发送者发送的音频数据(如音乐和/或语音)。或者,在虚拟现实(virtual reality,VR)技术或增强现实(augmented reality,AR)技术中,多个广播接收者可以同时接收广播发送者发送的视频数据(如虚拟图像)和/或音频数据。The present application does not limit broadcast data, and the broadcast data may be audio data, video data, or text data. For example, in BLE Audio (BLE Audio) technology, multiple broadcast receivers can simultaneously receive audio data (such as music and/or voice) sent by the broadcast sender. Or, in virtual reality (virtual reality, VR) technology or augmented reality (augmented reality, AR) technology, multiple broadcast receivers can simultaneously receive video data (such as virtual images) and/or audio data sent by the broadcast sender.
广播发送者和广播接收者均为支持蓝牙通信的设备或装置。例如,广播发送者或广播接收者均可以是以下设备中的一种:手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(personal digital assistant,PDA)、便捷式媒体播放器(portable media player,PMP)、数字TV、台式计算机、蓝牙耳机、蓝牙音响等电子设备。Both the broadcast sender and the broadcast receiver are devices or devices that support Bluetooth communication. For example, either the broadcast sender or the broadcast receiver can be one of the following devices: mobile phone, tablet computer, notebook computer, palmtop computer, personal digital assistant (personal digital assistant, PDA), portable media player (portable media player) , PMP), digital TV, desktop computer, Bluetooth headset, Bluetooth audio and other electronic equipment.
蓝牙广播可以广泛应用在游戏室、电影院、会议室、教室、机场等场景。Bluetooth broadcasting can be widely used in game rooms, cinemas, conference rooms, classrooms, airports and other scenarios.
以游戏室场景为例,玩家可以在同一房间里玩电子游戏。游戏终端可以作为广播发送 者,多个蓝牙耳机可以作为广播接收者。游戏终端可以通过蓝牙广播向多个蓝牙耳机同步发送游戏声音。玩家通过佩戴蓝牙耳机,即可接收到游戏声音,从而实现多个玩家同时参与到游戏中的效果。Take the game room scene as an example, where players can play a video game in the same room. The game terminal can be used as a broadcast sender, and multiple Bluetooth headsets can be used as broadcast receivers. The game terminal can synchronously send game sounds to multiple Bluetooth headsets through Bluetooth broadcasting. Players can receive the game sound by wearing a Bluetooth headset, so as to achieve the effect of multiple players participating in the game at the same time.
以会议室场景为例,在一个会议室中,蓝牙耳麦收集并发送演讲者的语音。为了取得良好的播放效果,会议室中的不同位置可以设置多个蓝牙音箱。对于这种场景,蓝牙耳麦可以作为广播发送者,多个蓝牙音箱可以作为广播接收者。蓝牙耳麦可以通过蓝牙广播向多个蓝牙音箱同步发送演讲语音,从而使得会议室中各个位置的观众都可以收听到演讲内容,并且取得良好的收听效果。Take the conference room scenario as an example. In a conference room, the Bluetooth headset collects and transmits the voice of the speaker. In order to achieve a good playback effect, multiple Bluetooth speakers can be set up in different positions in the meeting room. For this scenario, the Bluetooth headset can be used as the broadcast sender, and multiple Bluetooth speakers can be used as the broadcast receiver. The Bluetooth headset can send speech voices to multiple Bluetooth speakers synchronously through Bluetooth broadcasting, so that audiences at various positions in the conference room can listen to the speech content and achieve good listening effects.
在蓝牙规范(或协议)中,BIS是广播同步流,BIG是广播同步组。BIG为多个BIS的集合。例如,一个BIG可以包括31个BIS。In the Bluetooth specification (or protocol), BIS is a broadcast synchronization stream, and BIG is a broadcast synchronization group. BIG is a collection of multiple BIS. For example, one BIG can include 31 BIS.
广播发送者可以配置BIG/BIS。例如广播发送者可以配置以下参数中的至少一种:BIG中BIS的数目;BIS的索引;BIG中相邻的两个BIS中相应的子事件(event)之间的时间间隔;每个BIS的两个连续子事件之间的时间间隔;BIG中的每个BIS的协议数据单元(protocol data unit,PDU)能承载的数据字节的最大个数;以及BIG中的数据是否加密。Broadcast senders can configure BIG/BIS. For example, the broadcast sender can configure at least one of the following parameters: the number of BISs in the BIG; the index of the BIS; the time interval between corresponding sub-events (events) in two adjacent BISs in the BIG; The time interval between two consecutive sub-events; the maximum number of data bytes that can be carried by the protocol data unit (PDU) of each BIS in the BIG; and whether the data in the BIG is encrypted.
多个广播接收者通过同步到BIG/BIS,接收BIS中的数据。Multiple broadcast receivers receive data in BIS by synchronizing to BIG/BIS.
下面结合图1,以一个广播发送者对应3个广播接收者为例,对BIG/BIS的同步过程进行举例说明。In the following, in combination with FIG. 1 , taking one broadcast sender corresponding to three broadcast receivers as an example, the synchronization process of BIG/BIS will be described as an example.
步骤S110,广播发送者开启周期广播(periodic advertising,PA)。In step S110, the broadcast sender starts periodic advertising (PA).
步骤S120,广播发送者启动BIG。该BIG可以包括一个或多个BIS。该BIG/BIS可以承载于周期广播中。Step S120, the broadcast sender starts BIG. The BIG may include one or more BISs. The BIG/BIS can be carried in periodic broadcast.
步骤S130,广播发送者使能传输路径。该传输路径为广播发送者需要发送的BIS对应的传输路径。该传输路径可用于传输音频数据。因此,在一些实施例中,该传输路径也可称为音频传输路径(audio data path)。Step S130, the broadcast sender enables the transmission path. The transmission path is the transmission path corresponding to the BIS that the broadcast sender needs to send. This transmission path can be used to transmit audio data. Therefore, in some embodiments, this transmission path may also be referred to as an audio transmission path (audio data path).
步骤S141~步骤S143,广播接收者1、广播接收者2和广播接收者3分别扫描同步到BIG/BIS。例如,广播接收者可以先同步到蓝牙周期广播。然后,广播接收者可以通过周期广播再同步到BIG/BIS。或者,广播接收者可以同时同步到蓝牙周期广播以及BIG/BIS。From step S141 to step S143, broadcast receiver 1, broadcast receiver 2 and broadcast receiver 3 respectively scan and synchronize to BIG/BIS. For example, broadcast receivers can first sync to Bluetooth periodic broadcasts. Broadcast receivers can then resynchronize to BIG/BIS via periodic broadcasts. Alternatively, broadcast receivers can sync to the Bluetooth periodic broadcast as well as BIG/BIS at the same time.
经过上述过程,BIG/BIS同步完成。接下来,可以进入流(steaming)数据发送状态,即广播发送者可以利用BIG中的BIS向广播接收者发送数据,参见图1中的步骤S151-S153。After the above process, BIG/BIS is completed synchronously. Next, it can enter the streaming data sending state, that is, the broadcast sender can use the BIS in the BIG to send data to the broadcast receiver, see steps S151-S153 in FIG. 1 .
BIG中的各个BIS可以用来传递相应的音频流。例如,一个BIS可以对应一个声道,为了支持多声道,一个BIG中可以包括2个BIS。广播发送者可以使用两个BIS分别传输 音频的左声道和右声道。或者,一个BIG可以包括5个BIS,从而支持5.1环绕声道。或者,一个BIG中可以包括多个BIS,该多个BIS可以分别承载不同国家语言的语音,从而为不同国籍的用户提供多语言语音的同步传输。因此,BIG/BIS可以为蓝牙用户提供全新的体验。Each BIS in the BIG can be used to deliver the corresponding audio stream. For example, one BIS may correspond to one audio channel, and in order to support multiple audio channels, one BIS may include two BISs. Broadcast senders can use two BISs to transmit the left and right channels of audio, respectively. Alternatively, a BIG can include 5 BIS, thus supporting 5.1 surround sound channels. Alternatively, one BIG may include multiple BISs, and the multiple BISs may carry voices in different national languages, so as to provide simultaneous transmission of multilingual voices for users of different nationalities. Therefore, BIG/BIS can provide a new experience for Bluetooth users.
图2为广播发送者为主设备(master)210,广播同步接收者为2个从设备(slave)220的场景。以图2为例,图2中BIG可以包括BIS1和BIS2。BIS1和BIS2可以分别用于传输音频的左声道和右声道。两个从设备220可以同步到该BIG,以同时接收BIS1和BIS2中的音频流。一方面,基于BIG/BIS,可以实现一对二的音频传输;另一方面,从设备220接收到了两个声道的音频数据,这使使用从设备220的用户可以获得更丰富的音频体验。FIG. 2 shows a scenario where the broadcast sender is a master device (master) 210 and the broadcast synchronization receivers are two slave devices (slave) 220 . Taking FIG. 2 as an example, the BIG in FIG. 2 may include BIS1 and BIS2. BIS1 and BIS2 can be used to transmit the left and right channels of audio respectively. Two slave devices 220 can be synchronized to the BIG to simultaneously receive audio streams in BIS1 and BIS2. On the one hand, based on BIG/BIS, one-to-two audio transmission can be realized; on the other hand, the slave device 220 receives audio data of two channels, which enables users using the slave device 220 to obtain a richer audio experience.
由上述内容可知,广播发送者可以通过BIG/BIS向多个广播接收者发送数据。广播接收者通常只能通过BIS接收数据。但是,在有些情况下,广播接收者可能希望向广播发送者或者其他广播接收者发送数据。针对这种情况,现有技术需要在广播接收者和广播发送者之间或者广播接收者其他广播接收者之间建立新的BLE连接。It can be seen from the above content that the broadcast sender can send data to multiple broadcast receivers through BIG/BIS. Broadcast receivers usually only receive data through BIS. However, in some cases, broadcast receivers may wish to send data to broadcast senders or other broadcast receivers. In view of this situation, the prior art needs to establish a new BLE connection between the broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers.
为了支持广播接收者发送数据,一种可能的实现方式是在广播接收者和其他广播接收者之间或在广播发送者和广播接收者之间分别建立新的BLE连接,另一种可能的实现方式是广播接收者与广播发送者建立新的BLE连接,通过该BLE连接,广播接收者可以将数据发送至广播发送者,并由广播发送者对外广播该数据。但是,上述两种方式均存在很多弊端。下面结合图3所示的游戏场景,对这两种方式存在的问题进行分析。In order to support the broadcast receiver to send data, one possible implementation is to establish a new BLE connection between the broadcast receiver and other broadcast receivers or between the broadcast sender and the broadcast receiver respectively, another possible implementation It is the broadcast receiver that establishes a new BLE connection with the broadcast sender. Through the BLE connection, the broadcast receiver can send data to the broadcast sender, and the broadcast sender broadcasts the data. However, both of the above two methods have many disadvantages. Combining with the game scene shown in FIG. 3 , the problems existing in these two methods are analyzed below.
如图3所示,多个玩家(图3以5个玩家为例)坐在同一个房间里在玩竞技游戏,游戏终端310可以通过蓝牙广播331发送游戏声音,游戏玩家可以通过蓝牙耳机321-325同步到游戏终端310来收听游戏声音。如果玩家之间需要进行本地游戏交流,即需要在蓝牙耳机321-325之间交换语音数据。以蓝牙耳机321与其他蓝牙耳机交换语音数据为例,可以通过方式一和方式二两种方式实现蓝牙耳机之间交换语音数据。As shown in Fig. 3, a plurality of players (Fig. 3 takes 5 players as an example) are sitting in the same room and playing a competitive game. 325 is synchronized to the game terminal 310 to listen to the game sound. If local game communication is required between players, voice data needs to be exchanged between the Bluetooth headsets 321-325. Taking the exchange of voice data between the Bluetooth earphone 321 and other Bluetooth earphones as an example, the exchange of voice data between the Bluetooth earphones can be realized in two ways: method 1 and method 2.
方式一:蓝牙耳机321与游戏终端310建立BLE连接332,将语音数据通过BLE连接332发送给游戏终端310。之后,游戏终端310再将语音数据通过蓝牙广播音频331发送出来,供其他玩家收听。Method 1: The Bluetooth headset 321 establishes a BLE connection 332 with the game terminal 310 , and sends voice data to the game terminal 310 through the BLE connection 332 . Afterwards, the game terminal 310 sends out the voice data through the Bluetooth broadcast audio 331 for other players to listen to.
方式二:蓝牙耳机321与蓝牙耳机322-325分别建立BLE连接333-336。BLE连接333-336可以用来交换语音数据。Method 2: The Bluetooth headset 321 establishes BLE connections 333-336 with the Bluetooth headsets 322-325 respectively. BLE connections 333-336 can be used to exchange voice data.
对于方式一,蓝牙耳机321将语音数据通过BLE连接332发送给游戏终端310,并通过游戏终端310转发。这种方式会导致语音数据的传输延迟变大,且蓝牙耳机321也会收到自身发出语音。For method one, the Bluetooth headset 321 sends the voice data to the game terminal 310 through the BLE connection 332 , and forwards it through the game terminal 310 . This way will increase the transmission delay of the voice data, and the Bluetooth headset 321 will also receive the voice from itself.
对于方式二,如果游戏玩家较多,蓝牙耳机之间互相建立蓝牙BLE连接的开销将很大。并且,维护多条BLE连接对调度程度的要求很高。另外,这种方式整体也会造成功耗和带宽的浪费。For the second method, if there are many game players, the overhead of establishing Bluetooth BLE connections between Bluetooth headsets will be very high. Moreover, maintaining multiple BLE connections requires a high degree of scheduling. In addition, this method will cause waste of power consumption and bandwidth as a whole.
由上文可知,对于广播接收者需要发送数据的情况,如果采用上述方式一和方式二,则会存在功耗和带宽浪费、时延增大或用户体验较差等诸多问题。因此,需要一种更合理的解决方案。It can be seen from the above that for the situation where the broadcast receiver needs to send data, if the above-mentioned method 1 and method 2 are adopted, there will be many problems such as waste of power consumption and bandwidth, increased delay or poor user experience. Therefore, a more rational solution is required.
下面通过图4~图8介绍本申请实施例,以解决上述问题。The embodiments of the present application are described below by referring to FIG. 4 to FIG. 8 , so as to solve the above problems.
实施例一Embodiment one
图4为本申请实施例提出的一种通信方法的流程示意图。图4的方法由广播发送者和第一广播接收者执行。第一广播接收者可以为多个广播接收者中的任意一个。FIG. 4 is a schematic flowchart of a communication method proposed in an embodiment of the present application. The method in FIG. 4 is executed by the broadcast sender and the first broadcast receiver. The first broadcast receiver may be any one of multiple broadcast receivers.
步骤S410,广播发送者配置BIG。所述BIG包括第一BIS,所述第一BIS对应第一传输路径,所述第一传输路径为第一广播接收者向广播发送者和/或其他广播接收者发送数据的传输路径。Step S410, the broadcast sender configures BIG. The BIG includes a first BIS, and the first BIS corresponds to a first transmission path, and the first transmission path is a transmission path for sending data from a first broadcast receiver to a broadcast sender and/or other broadcast receivers.
BIG可以包括一个或多个BIS,本申请对此不作限制。当BIG包括多个BIS时,第一BIS为多个BIS中的任意一个BIS。The BIG may include one or more BISs, which is not limited in this application. When the BIG includes multiple BISs, the first BIS is any one of the multiple BISs.
BIG中的多个BIS可以由广播发送者发送,也可以由第一广播接收者发送。例如BIG可以包括由广播发送者发送的第二BIS。如果广播接收者的数量为多个,可以为这些广播接收者分别配置发送的BIS。Multiple BISs in the BIG may be sent by the broadcast sender or by the first broadcast receiver. For example a BIG may include a second BIS sent by the broadcast sender. If there are multiple broadcast receivers, the BIS to send can be configured for these broadcast receivers respectively.
第一广播接收者可以仅发送第一BIS,也可以发送多个BIS。对于第一广播接收者发送多个BIS的情况,多个BIS可以分别用来传递第一广播接收者的相应的数据流。例如,第一广播接收者可以发送2个BIS,这两个BIS分别用于传输第一广播接收者的音频的左声道和右声道。The first broadcast receiver may only send the first BIS, or may send multiple BISs. For the case where the first broadcast receiver sends multiple BISs, the multiple BISs can be used to deliver corresponding data streams of the first broadcast receiver respectively. For example, the first broadcast receiver may send two BIS, which are respectively used to transmit the left channel and the right channel of the first broadcast receiver's audio.
步骤S420,第一广播接收者使能第一BIS对应的第一传输路径。Step S420, the first broadcast receiver enables the first transmission path corresponding to the first BIS.
可以理解的是,第一广播接收者发送的BIS可以为多个。在这种情况下,第一广播接收者需要分别使能多个BIS对应的传输路径。It can be understood that there may be multiple BIS sent by the first broadcast receiver. In this case, the first broadcast receiver needs to respectively enable transmission paths corresponding to multiple BISs.
对于其他同步到第一BIS的蓝牙设备(包括其他广播接收者以及广播发送者),则可以基于第一传输路径接收到该第一广播接收者发送的数据。For other Bluetooth devices (including other broadcast receivers and broadcast senders) synchronized to the first BIS, the data sent by the first broadcast receiver can be received based on the first transmission path.
步骤S430,第一广播接收者基于第一传输路径发送数据。基于第一传输路径,第一广播接收者可以向广播发送者发送数据,也可以向广播发送者的其他广播接收者发送数据。也就是说,第一广播接收者可以通过本申请提供的方法,实现数据的广播。Step S430, the first broadcast receiver sends data based on the first transmission path. Based on the first transmission path, the first broadcast receiver can send data to the broadcast sender, and can also send data to other broadcast receivers of the broadcast sender. That is to say, the first broadcast receiver can broadcast data through the method provided in this application.
本申请通过广播发送者配置BIG,将BIG中的第一BIS配置为可以由广播接收者发 送。第一广播接收者可以利用第一BIS向广播发送者或者其他广播接收者发送数据,从而避免了在第一广播接收者和广播发送者之间或者广播接收者和其他广播接收者之间建立新的BLE连接,从而降低了功耗,并节省了带宽。This application configures the BIG through the broadcast sender, and configures the first BIS in the BIG to be sent by the broadcast receiver. The first broadcast receiver can use the first BIS to send data to the broadcast sender or other broadcast receivers, thereby avoiding the establishment of a new broadcast between the first broadcast receiver and the broadcast sender or between the broadcast receiver and other broadcast receivers. BLE connection, which reduces power consumption and saves bandwidth.
对于广播发送者配置的BIG中包括多个BIS的情况,BIG的不同BIS可以由不同的设备传输,第一广播接收者发送可以发送包括第一BIS的至少一个BIS,其他广播接收者或者广播发送者可以分别发送BIG中的其他BIS。这不仅满足了广播发送者需要发送数据的需求,也实现了“分布式广播”发送。For the case where multiple BIS are included in the BIG configured by the broadcast sender, different BIS of the BIG can be transmitted by different devices, the first broadcast receiver can send at least one BIS including the first BIS, and other broadcast receivers or broadcast senders Or can send other BIS in BIG separately. This not only meets the broadcast sender's need to send data, but also realizes "distributed broadcast" sending.
可选地,在步骤S410前,本申请所述的方法还可以包括步骤S405。Optionally, before step S410, the method described in this application may further include step S405.
步骤S405,建立广播发送者和第一广播接收者之间的连接。该连接实现广播发送者与第一广播接收者之间信息的交互,从而可以将配置的BIG信息发送至第一广播接收者。Step S405, establishing a connection between the broadcast sender and the first broadcast receiver. The connection realizes information interaction between the broadcast sender and the first broadcast receiver, so that the configured BIG information can be sent to the first broadcast receiver.
广播发送者与第一广播接收者之间存在连接可以是直接连接,也可以是间接连接。也就是说,广播发送者与第一广播接收者之间可以通过至少一个其他设备实现连接。The connection between the broadcast sender and the first broadcast receiver may be a direct connection or an indirect connection. That is to say, the broadcast sender and the first broadcast receiver can be connected through at least one other device.
本申请对连接的类型不限制,例如连接的类型可以为BLE连接、蓝牙广播连接或其他非蓝牙的连接。The application does not limit the connection type, for example, the connection type may be a BLE connection, a Bluetooth broadcast connection or other non-Bluetooth connections.
当BIG配置完成后,该连接可以断开,以避免资源浪费。After the BIG configuration is completed, the connection can be disconnected to avoid resource waste.
可以理解的是,除了建立新的连接,也可以基于广播发送者和第一广播接收者之间已有的连接实现广播发送者向第一广播接收者之间与BIG配置相关的信息的交互。It can be understood that, in addition to establishing a new connection, the exchange of information related to BIG configuration between the broadcast sender and the first broadcast receiver can also be realized based on the existing connection between the broadcast sender and the first broadcast receiver.
实施例二Embodiment two
图5为本申请实施例提出的另一种通信方法的流程示意图。图5的方法由广播发送者和第一广播接收者执行。FIG. 5 is a schematic flowchart of another communication method proposed by the embodiment of the present application. The method in FIG. 5 is executed by the broadcast sender and the first broadcast receiver.
步骤S510,广播发送者配置BIG。BIG包括第一BIS。第一BIS对应第一传输路径,第一传输路径用于第一广播接收者向广播发送者和/或其他广播接收者发送数据。对于步骤S510,相关描述可以参见实施例一中的步骤S410,本申请不再赘述。Step S510, the broadcast sender configures BIG. BIG includes the first BIS. The first BIS corresponds to the first transmission path, and the first transmission path is used for the first broadcast receiver to send data to the broadcast sender and/or other broadcast receivers. For the relevant description of step S510, reference may be made to step S410 in Embodiment 1, which will not be repeated in this application.
步骤S580,第一广播接收者使能第一BIS对应的第一传输路径。In step S580, the first broadcast receiver enables the first transmission path corresponding to the first BIS.
步骤S590,广播发送者和第一广播接收者均进入流数据发送状态。在流数据发送状态,广播发送者和第一广播接收者均可以成为数据的发送者并进行广播。广播发送者可以向第一广播接收者或者其他广播接收者发送数据。第一广播接收者可以基于第一传输路径向广播发送者或者其他广播接收者发送数据。In step S590, both the broadcast sender and the first broadcast receiver enter a streaming data sending state. In the streaming data sending state, both the broadcast sender and the first broadcast receiver can become data senders and broadcast. The broadcast sender may send data to the first broadcast receiver or other broadcast receivers. The first broadcast receiver may send data to the broadcast sender or other broadcast receivers based on the first transmission path.
除了步骤S510、步骤S580和步骤590。本申请提出的通信方法还可以包括步骤S520~步骤S570中的一项或多项。Except step S510, step S580 and step 590. The communication method proposed in this application may further include one or more of steps S520 to S570.
步骤S520,第一广播接收者同步到第一BIS。Step S520, the first broadcast receiver synchronizes to the first BIS.
可选地,第一广播接收者可以同步到BIG中除了第一BIS的其他BIS,从而可以通过其他BIS同步接收或发送数据。Optionally, the first broadcast receiver can be synchronized to other BISs in the BIG except the first BIS, so that data can be received or sent synchronously through other BISs.
步骤S530,广播发送者向第一广播接收者发送查询信息,所述查询消息用于查询所述第一广播接收者支持成帧(framed)模式或非成帧(unframed)模式。In step S530, the broadcast sender sends query information to the first broadcast receiver, and the query message is used to query whether the first broadcast receiver supports a framed mode or an unframed mode.
对于unframed模式,上层和底层的数据传输是同步的,可以传输完整的数据。对于framed模式,上层和底层的数据传输不是同步的,传输的数据需要进行分段。显然unframed模式对系统高的要求较高,并非所有设备都可以支持unframed模式。For the unframed mode, the data transmission of the upper layer and the lower layer is synchronous, and complete data can be transmitted. For the framed mode, the data transmission of the upper layer and the lower layer is not synchronous, and the transmitted data needs to be segmented. Obviously, the unframed mode has high requirements on the system, and not all devices can support the unframed mode.
配置BIG时,需要配置其支持unframed模式还是framed模式,这可以根据第一广播接收者具有的能力确定。因此,广播发送者可以通过查询第一广播接收者支持unframed模式或framed模式确定配置BIG的模式。例如,当第一广播接收者支持unframed模式时,则广播发送者可以将BIG配置为unframed模式;当第一广播接收者支持framed模式时,则广播发送者可以将BIG配置为framed模式。或者,当存在多个广播接收者时,只有所有的广播接收者均支持unframed模式时,广播发送者可以将BIG配置为unframed模式,否则,广播发送者可以将BIG配置为framed模式。When configuring the BIG, it needs to be configured whether it supports the unframed mode or the framed mode, which can be determined according to the capability of the first broadcast receiver. Therefore, the broadcast sender can determine the mode in which the BIG is configured by querying whether the first broadcast receiver supports the unframed mode or the framed mode. For example, when the first broadcast receiver supports the unframed mode, the broadcast sender can configure the BIG as the unframed mode; when the first broadcast receiver supports the framed mode, the broadcast sender can configure the BIG as the framed mode. Or, when there are multiple broadcast receivers, only when all the broadcast receivers support the unframed mode, the broadcast sender can configure the BIG as the unframed mode; otherwise, the broadcast sender can configure the BIG as the framed mode.
本申请不限制广播发送者查询第一广播接收者unframed模式或framed模式的方式。例如,广播发送者可以向第一广播接收者发送查询消息,第一广播接收者接收到查询消息后,向广播发送者发送第一广播接收者支持unframed模式或framed模式。This application does not limit the manner in which the broadcast sender queries the unframed mode or the framed mode of the first broadcast receiver. For example, the broadcast sender may send a query message to the first broadcast receiver, and after receiving the query message, the first broadcast receiver sends a message to the broadcast sender that the first broadcast receiver supports unframed mode or framed mode.
步骤S540,广播发送者向第一广播接收者发送配置信息。配置信息可以用于配置第一BIS。广播发送者可以通过发送配置信息,指示由第一广播接收者发送第一BIS。广播发送者可以在步骤S590阶段发送第一BIS。In step S540, the broadcast sender sends configuration information to the first broadcast receiver. The configuration information may be used to configure the first BIS. The broadcast sender may instruct the first broadcast receiver to send the first BIS by sending configuration information. The broadcast sender may send the first BIS in step S590.
本申请不限制广播发送者发送配置信息的方式。例如,广播发送者可以与第一广播接收者建立BLE连接,通过BLE连接发送配置信息。或者,广播发送者也可以与第一广播接收者建立广播连接,通过广播发送配置信息。This application does not limit the way the broadcast sender sends the configuration information. For example, the broadcast sender may establish a BLE connection with the first broadcast receiver, and send configuration information through the BLE connection. Alternatively, the broadcast sender may also establish a broadcast connection with the first broadcast receiver, and send configuration information through broadcast.
广播发送者可以直接向第一广播接收者发送配置信息,也可以间接向第一广播接收者发送配置信息。例如,广播发送者可以将配置信息先发给已经与第一广播接收者建立连接的设备,通过该设备向第一广播接收者发送配置信息。The broadcast sender may directly send configuration information to the first broadcast receiver, or may indirectly send configuration information to the first broadcast receiver. For example, the broadcast sender may first send configuration information to a device that has established a connection with the first broadcast receiver, and the configuration information is sent to the first broadcast receiver through the device.
第一广播接收者在接收到广播发送者发送的配置信息后,可以向广播发送者进行反馈确认。After receiving the configuration information sent by the broadcast sender, the first broadcast receiver may feedback and confirm to the broadcast sender.
广播发送者也可以通过配置信息指示由第一广播接收者接收的BIS。第一广播接收者可以在后续的步骤中接收所述由第一广播接收者接收的BIS。例如,由第一广播接收者接收的BIS可以为BIG中除了第一BIS的至少一个BIS。由于第一BIS为第一广播接收者发 送的BIS,广播发送者接收第一BIS也就会接收自身发送的数据,这会造成数据的冗余。因此不接收第一BIS,该广播发送者就不会收到自己发送的数据。以图3所示的游戏场景为例,第一广播接收者不接收第一BIS,或者第一广播接收者接收到第一BIS后不使用该第一BIS,则该广播发送者就不会收听到自己发送的语音信息了。或者,可以根据需要配置第一广播接收者接收的BIS。例如,第一广播接收者可以接收BIG中除了第一BIS的所有BIS,则该第一广播接收者不仅可以接收到广播发送者发送的数据,还可以接收到其他所有的广播接收者发送的数据。以图3所示的游戏场景,蓝牙耳机321为第一广播接收者为例,蓝牙耳机321接收游戏终端310配置的BIG中除了第一BIS的所有BIS,即可接收到游戏终端310以及其他蓝牙耳机322-325发送的语音信息。The broadcast sender may also indicate the BIS received by the first broadcast receiver through configuration information. The first broadcast receiver may receive the BIS received by the first broadcast receiver in subsequent steps. For example, the BIS received by the first broadcast receiver may be at least one BIS in the BIG except the first BIS. Since the first BIS is the BIS sent by the first broadcast receiver, the broadcast sender will also receive the data sent by itself after receiving the first BIS, which will cause data redundancy. Therefore, without receiving the first BIS, the broadcast sender will not receive the data sent by itself. Take the game scene shown in Figure 3 as an example, if the first broadcast receiver does not receive the first BIS, or the first broadcast receiver does not use the first BIS after receiving the first BIS, then the broadcast sender will not listen The voice message sent by myself has arrived. Alternatively, the BIS received by the first broadcast receiver may be configured as required. For example, the first broadcast receiver can receive all BIS in BIG except the first BIS, then the first broadcast receiver can not only receive the data sent by the broadcast sender, but also receive the data sent by all other broadcast receivers . Taking the game scene shown in Figure 3, the Bluetooth headset 321 is the first broadcast receiver as an example, the Bluetooth headset 321 can receive all BIS except the first BIS in the BIG configured by the game terminal 310, and then receive the game terminal 310 and other Bluetooth broadcast receivers. Voice information sent by earphones 322-325.
配置信息可以包括由第一广播接收者发送的BIS的索引(index)和/或接收的BIS的索引。由第一广播接收者发送的BIS的索引可以包括第一BIS的索引。或者,当第一广播接收者发送多个BIS时,由第一广播接收者发送的BIS的索引还可以包括其他多个BIS的索引。例如,如果广播发送者发送的第二BIS的索引为1,第一BIS的索引为2,由第一广播接收者发送的BIS的索引可以为2,由第一广播接收者接收的BIS的索引可以为1。The configuration information may include an index of a BIS transmitted by the first broadcast receiver and/or an index of a received BIS. The index of the BIS transmitted by the first broadcast receiver may include the index of the first BIS. Or, when the first broadcast receiver sends multiple BISs, the index of the BIS sent by the first broadcast receiver may also include the indices of other multiple BISs. For example, if the index of the second BIS sent by the broadcast sender is 1 and the index of the first BIS is 2, the index of the BIS sent by the first broadcast receiver can be 2, and the index of the BIS received by the first broadcast receiver Can be 1.
步骤S550,广播发送者启动周期广播。In step S550, the broadcast sender starts periodic broadcasting.
步骤S560,广播发送者启动BIG。Step S560, the broadcast sender starts BIG.
步骤S570,广播发送者为第二BIS使能对应的传输路径。Step S570, the broadcast sender enables the corresponding transmission path for the second BIS.
由上文可知,BIG/BIS承载于蓝牙周期广播,因此,在启动BIG之前,广播发送者需要启动周期广播。广播发送者启动BIG后,第一广播接收者即可扫描同步到BIG/BIS。广播接收者可以先同步到周期广播,在同步到BIG/BIS,也可以同时同步到周期广播和BIG/BIS。It can be seen from the above that BIG/BIS is carried by Bluetooth periodic broadcast, therefore, before starting BIG, the broadcast sender needs to start periodic broadcast. After the broadcast sender starts BIG, the first broadcast receiver can scan and synchronize to BIG/BIS. Broadcast receivers can synchronize to periodic broadcast first, and then synchronize to BIG/BIS, or synchronize to periodic broadcast and BIG/BIS at the same time.
第二BIS为广播发送者配置的BIG中的任意一个BIS,且第二BIS与第一BIS不同。The second BIS is any BIS in the BIG configured by the broadcast sender, and the second BIS is different from the first BIS.
广播发送者可以为第二BIS使能对应的第二传输路径,则在步骤S590,广播发送者可以通过第二传输路径向第一广播接收者和/或其他广播接收者发送广播发送者的数据。The broadcast sender can enable the corresponding second transmission path for the second BIS, then in step S590, the broadcast sender can send the data of the broadcast sender to the first broadcast receiver and/or other broadcast receivers through the second transmission path .
可以理解的是,广播发送者发送的BIS可以为多个。在这种情况下,广播发送者需要分别使能多个BIS对应的传输路径。It can be understood that there may be multiple BISs sent by the broadcast sender. In this case, the broadcast sender needs to enable the transmission paths corresponding to multiple BISs respectively.
实施例三Embodiment Three
图6为本申请实施例提出的又一种通信方法的流程示意图。图6的方法可以由广播发送者和3个广播接收者执行,第一广播接收者可以为广播接收者1、广播接收者2以及广播接收者3中任意一个。FIG. 6 is a schematic flowchart of another communication method proposed by the embodiment of the present application. The method in FIG. 6 may be executed by the broadcast sender and three broadcast receivers, and the first broadcast receiver may be any one of broadcast receiver 1 , broadcast receiver 2 , and broadcast receiver 3 .
步骤S611~步骤S613,广播发送者分别与广播接收者1、广播接收者2以及广播接收 者3建立BLE连接。From step S611 to step S613, the broadcast sender establishes BLE connections with broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 respectively.
步骤S621~步骤S623,广播发送者分别向广播接收者1、广播接收者2以及广播接收者3发送第一查询消息、第二查询消息和第三查询消息,以分别获取广播接收者1、广播接收者2以及广播接收者3支持framed模式或unframed模式。In steps S621 to S623, the broadcast sender sends the first query message, the second query message, and the third query message to broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 respectively, so as to obtain broadcast receiver 1, broadcast Receiver 2 and Broadcast Receiver 3 support framed mode or unframed mode.
步骤S631~步骤S633,广播发送者分别向广播接收者1、广播接收者2以及广播接收者3发送第一配置信息、第二配置信息和第三配置信息,以配置BIG。In steps S631 to S633, the broadcast sender sends the first configuration information, the second configuration information and the third configuration information to the broadcast receiver 1, the broadcast receiver 2 and the broadcast receiver 3 respectively, so as to configure the BIG.
其中第一配置信息包括由广播接收者1发送和接收的BIS的索引;第二配置信息包括由广播接收者2发送和接收的BIS的索引;第三配置信息包括由广播接收者3发送和接收的BIS的索引。The first configuration information includes the index of BIS sent and received by broadcast receiver 1; the second configuration information includes the index of BIS sent and received by broadcast receiver 2; the third configuration information includes the index of BIS sent and received by broadcast receiver 3 index of the BIS.
可选地,由广播发送者、广播接收者1、广播接收者2以及广播接收者3发送和接收的BIS的索引如表1所示。Optionally, the indexes of the BIS sent and received by the broadcast sender, broadcast receiver 1 , broadcast receiver 2 and broadcast receiver 3 are shown in Table 1.
表1Table 1
设备equipment 发送的BIS索引BIS index sent 接收的BIS索引Received BIS index
广播发送者broadcast sender 11 none
广播接收者1broadcast receiver 1 22 1/3/41/3/4
广播接收者2broadcast receiver 2 33 1/2/41/2/4
广播接收者3broadcast receiver 3 44 1/2/31/2/3
针对表1所示的情形,图7显示了广播发送者、广播接收者1、广播接收者2和广播接收者3接收以及发送BIS的情况。广播发送者只发送数据,不接收任何数据。广播接收者1、广播接收者2和广播接收者3不仅发送数据,还会接收除了自身发送的所有数据。由表1和图7可以看出,表1所示的情况适合与图3类似的游戏场景,其中,该游戏场景可以包括3个玩家。如图8所示,3个玩家不仅可以接收游戏终端的音频数据,也可以在游戏的过程中相互传输语音数据,实现了在游戏过程中同步聊天的功能。Regarding the situation shown in Table 1, FIG. 7 shows the situation that the broadcast sender, broadcast receiver 1, broadcast receiver 2 and broadcast receiver 3 receive and send BIS. A broadcast sender only sends data and does not receive any data. Broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 not only send data, but also receive all data sent by themselves. It can be seen from Table 1 and FIG. 7 that the situation shown in Table 1 is suitable for a game scene similar to that in FIG. 3 , where the game scene may include 3 players. As shown in Figure 8, the three players can not only receive audio data from the game terminal, but also transmit voice data to each other during the game, realizing the function of chatting synchronously during the game.
步骤S640,广播发送者开启周期广播。In step S640, the broadcast sender starts periodic broadcasting.
步骤S650,广播发送者启动BIGStep S650, the broadcast sender starts the BIG
步骤S660,广播发送者为目标BIS(广播发送者发送的BIS)使能语音数据传输路径。In step S660, the broadcast sender enables a voice data transmission path for the target BIS (the BIS sent by the broadcast sender).
步骤S671~步骤S673,广播接收者1、广播接收者2和广播接收者3分别扫描同步到BIG/BIS。From step S671 to step S673, broadcast receiver 1, broadcast receiver 2 and broadcast receiver 3 respectively scan and synchronize to BIG/BIS.
步骤S681~步骤S683,广播接收者分别为目标BIS(需要发送的BIS)使能数据传输路径。以表1所示的情况为例,广播接收者1为BIS2使能语音数据传输路径;广播接收者2为BIS3使能语音数据传输路径;广播接收者3为BIS4使能语音数据传输路径。In steps S681 to S683, the broadcast receivers respectively enable data transmission paths for the target BIS (the BIS that needs to be sent). Taking the situation shown in Table 1 as an example, broadcast receiver 1 enables the voice data transmission path for BIS2; broadcast receiver 2 enables the voice data transmission path for BIS3; broadcast receiver 3 enables the voice data transmission path for BIS4.
基于上述步骤,即完成了BIG的配置和同步。Based on the above steps, the configuration and synchronization of BIG is completed.
步骤S690,广播发送者、广播接收者1、广播接收者2和广播接收者3均进入流数据发送状态,均可以发送数据。In step S690, the broadcast sender, broadcast receiver 1, broadcast receiver 2, and broadcast receiver 3 all enter the streaming data sending state, and can send data.
上文结合图4至图8,详细描述了本申请的方法实施例,下面结合图9至图11,详细描述本申请的装置实施例。应理解,方法实施例的描述与装置实施例的描述相互对应,因此,未详细描述的部分可以参见前面方法实施例。The method embodiment of the present application is described in detail above with reference to FIG. 4 to FIG. 8 , and the device embodiment of the present application is described in detail below in conjunction with FIG. 9 to FIG. 11 . It should be understood that the descriptions of the method embodiments correspond to the descriptions of the device embodiments, therefore, for parts not described in detail, reference may be made to the foregoing method embodiments.
图9是本申请实施例提供的通信装置的结构示意图。图9所示的通信装置900可以包括使能单元910以及第一发送单元920。通信装置900为第一广播接收者。FIG. 9 is a schematic structural diagram of a communication device provided by an embodiment of the present application. The communication device 900 shown in FIG. 9 may include an enabling unit 910 and a first sending unit 920 . The communication device 900 is the first broadcast receiver.
配置单元910用于使能第一广播同步流BIS对应的第一传输路径,所述第一BIS属于广播发送者配置的广播同步组BIG,所述第一传输路径用于第一广播接收者向所述广播发送者和/或其他广播接收者发送数据。The configuration unit 910 is configured to enable the first transmission path corresponding to the first broadcast synchronization stream BIS, the first BIS belongs to the broadcast synchronization group BIG configured by the broadcast sender, and the first transmission path is used for the first broadcast receiver to send The broadcast sender and/or other broadcast receivers send data.
第一发送单元920用于基于所述第一传输路径发送数据。The first sending unit 920 is configured to send data based on the first transmission path.
可选地,所述BIG包括多个BIS,所述第一BIS为所述多个BIS中的一个BIS。Optionally, the BIG includes multiple BISs, and the first BIS is one of the multiple BISs.
可选地,所述通信装置900还包括:第一接收单元,所述第一接收单元用于从所述广播发送者接收配置信息,所述配置信息用于配置所述第一BIS。Optionally, the communication device 900 further includes: a first receiving unit, configured to receive configuration information from the broadcast sender, where the configuration information is used to configure the first BIS.
可选地,所述配置信息还用于配置由所述第一广播接收者接收的BIS。Optionally, the configuration information is also used to configure the BIS received by the first broadcast receiver.
可选地,所述由所述第一广播接收者接收的BIS包括所述BIG中的除所述第一BIS之外的至少一个BIS。Optionally, the BIS received by the first broadcast receiver includes at least one BIS in the BIG other than the first BIS.
可选地,所述配置信息包括所述第一广播接收者发送和/或接收的BIS的索引。Optionally, the configuration information includes an index of the BIS sent and/or received by the first broadcast receiver.
可选地,所述通信装置900还包括:第二接收单元,所述第二接收单元用于从所述广播发送者接收查询消息,所述查询消息用于查询所述广播接收者支持成帧模式或非成帧模式。Optionally, the communication device 900 further includes: a second receiving unit, configured to receive a query message from the broadcast sender, and the query message is used to query whether the broadcast receiver supports framing mode or unframed mode.
可选地,所述通信装置900还包括:同步单元,用于同步到所述第一BIS。Optionally, the communications apparatus 900 further includes: a synchronization unit, configured to synchronize to the first BIS.
图10是本申请实施例提供的通信装置的结构示意图。图10所示的通信装置1000可以包括配置单元1010。通信装置1000为广播发送者。FIG. 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application. The communication device 1000 shown in FIG. 10 may include a configuration unit 1010 . Communication device 1000 is a broadcast sender.
配置单元1010用于配置广播同步组BIG,所述BIG包括第一广播同步流BIS,所述第一BIS对应第一传输路径,所述第一传输路径为第一广播接收者向广播发送者和/或至少一个其他广播接收者发送数据的传输路径。The configuration unit 1010 is used to configure the broadcast synchronization group BIG, the BIG includes the first broadcast synchronization stream BIS, and the first BIS corresponds to the first transmission path, and the first transmission path is from the first broadcast receiver to the broadcast sender and and/or at least one other broadcast receiver's transmission path for sending data.
可选地,所述通信装置1000还包括:第一发送单元,用于向所述第一广播接收者发送配置信息,所述配置信息用于配置所述第一BIS。Optionally, the communications apparatus 1000 further includes: a first sending unit, configured to send configuration information to the first broadcast receiver, where the configuration information is used to configure the first BIS.
可选地,所述BIG包括多个BIS,所述第一BIS为所述多个BIS中的一个BIS。Optionally, the BIG includes multiple BISs, and the first BIS is one of the multiple BISs.
可选地,所述配置信息还用于配置由所述第一广播接收者接收的BIS。Optionally, the configuration information is also used to configure the BIS received by the first broadcast receiver.
可选地,所述由所述第一广播接收者接收的BIS为所述BIG中的除所述第一BIS之外的至少一个BIS。Optionally, the BIS received by the first broadcast receiver is at least one BIS in the BIG except the first BIS.
可选地,所述配置信息包括所述第一广播接收者发送和/或接收的BIS的索引。Optionally, the configuration information includes an index of the BIS sent and/or received by the first broadcast receiver.
可选地,所述通信装置1000还包括:第二发送单元,用于向所述第一广播接收者发送查询消息,所述查询消息用于查询所述第一广播接收者支持成帧模式或非成帧模式。Optionally, the communication device 1000 further includes: a second sending unit, configured to send a query message to the first broadcast receiver, where the query message is used to query whether the first broadcast receiver supports a framing mode or Unframed mode.
可选地,所述通信装置1000还包括以下单元中的至少一项:第一启动单元,用于启动周期广播;第二启动单元,用于启动所述BIG;使能单元,用于使能第二BIS对应的第二传输路径,所述第二BIS为所述BIG中除了所述第一BIS的任一BIS;传输单元,用于基于所述第二传输路径向所述第一广播接收者和/或所述其他广播接收者发送数据。Optionally, the communication device 1000 further includes at least one of the following units: a first starting unit, used to start periodic broadcast; a second starting unit, used to start the BIG; an enabling unit, used to enable The second transmission path corresponding to the second BIS, the second BIS is any BIS in the BIG except the first BIS; a transmission unit, configured to receive the broadcast from the first broadcast based on the second transmission path sender and/or said other broadcast receivers.
图11是本申请实施例的装置示意性结构图。图11中的虚线表示该单元或模块为可选的。该装置1100可用于实现上述方法实施例中描述的方法。装置1100可以是芯片或通信装置。Fig. 11 is a schematic structural diagram of a device according to an embodiment of the present application. The dashed line in Figure 11 indicates that the unit or module is optional. The apparatus 1100 may be used to implement the methods described in the foregoing method embodiments. Device 1100 may be a chip or a communication device.
装置1100可以包括一个或多个处理器1110。该处理器1110可支持装置1100实现前文方法实施例所描述的方法。该处理器1110可以是通用处理器或者专用处理器。例如,该处理器可以为中央处理单元(central processing unit,CPU)。或者,该处理器还可以是其他通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。Apparatus 1100 may include one or more processors 1110 . The processor 1110 can support the device 1100 to implement the methods described in the foregoing method embodiments. The processor 1110 may be a general purpose processor or a special purpose processor. For example, the processor may be a central processing unit (central processing unit, CPU). Alternatively, the processor can also be other general-purpose processors, digital signal processors (digital signal processors, DSPs), application specific integrated circuits (application specific integrated circuits, ASICs), off-the-shelf programmable gate arrays (field programmable gate arrays, FPGAs) Or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
装置1100还可以包括一个或多个存储器1120。存储器1120上存储有程序,该程序可以被处理器1110执行,使得处理器1110执行前文方法实施例所描述的方法。存储器1120可以独立于处理器1110也可以集成在处理器1110中。Apparatus 1100 may also include one or more memories 1120 . A program is stored in the memory 1120, and the program can be executed by the processor 1110, so that the processor 1110 executes the methods described in the foregoing method embodiments. The memory 1120 may be independent from the processor 1110 or may be integrated in the processor 1110 .
装置1100还可以包括收发器1130。处理器1110可以通过收发器1130与其他设备或芯片进行通信。例如,处理器1110可以通过收发器1130与其他设备或芯片进行数据收发。Apparatus 1100 may also include a transceiver 1130 . The processor 1110 can communicate with other devices or chips through the transceiver 1130 . For example, the processor 1110 may send and receive data with other devices or chips through the transceiver 1130 .
本申请实施例还提供一种计算机可读存储介质,用于存储程序。该计算机可读存储介质可应用于本申请实施例提供的通信装置中,并且该程序使得计算机执行本申请各个实施例中的由通信装置执行的方法。The embodiment of the present application also provides a computer-readable storage medium for storing programs. The computer-readable storage medium can be applied to the communication device provided in the embodiments of the present application, and the program enables the computer to execute the methods performed by the communication device in the various embodiments of the present application.
本申请实施例还提供一种计算机程序产品。该计算机程序产品包括程序。该计算机程序产品可应用于本申请实施例提供的通信装置中,并且该程序使得计算机执行本申请各个实施例中的由通信装置执行的方法。The embodiment of the present application also provides a computer program product. The computer program product includes programs. The computer program product can be applied to the communication device provided in the embodiments of the present application, and the program enables the computer to execute the methods performed by the communication device in the various embodiments of the present application.
本申请实施例还提供一种计算机程序。该计算机程序可应用于本申请实施例提供的通信装置中,并且该计算机程序使得计算机执行本申请各个实施例中的由通信装置执行的方法。The embodiment of the present application also provides a computer program. The computer program can be applied to the communication device provided in the embodiments of the present application, and the computer program enables the computer to execute the methods performed by the communication device in the various embodiments of the present application.
应理解,在本申请实施例中,“与A相应的B”表示B与A相关联,根据A可以确定B。但还应理解,根据A确定B并不意味着仅仅根据A确定B,还可以根据A和/或其它信息确定B。It should be understood that in this embodiment of the present application, "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B may also be determined according to A and/or other information.
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" in this article is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and/or B may mean: A exists alone, and A and B exist at the same time , there are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual objects are an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the sequence numbers of the above-mentioned processes do not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向 另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够读取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,数字通用光盘(digital video disc,DVD))或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be read by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital versatile disc (digital video disc, DVD)) or a semiconductor medium (for example, a solid state disk (solid state disk, SSD) )wait.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (44)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    第一广播接收者使能第一广播同步流BIS对应的第一传输路径,所述第一BIS属于广播发送者配置的广播同步组BIG,所述第一传输路径用于所述第一广播接收者向所述广播发送者和/或其他广播接收者发送数据;The first broadcast receiver enables the first transmission path corresponding to the first broadcast synchronization stream BIS, the first BIS belongs to the broadcast synchronization group BIG configured by the broadcast sender, and the first transmission path is used for the first broadcast reception or send data to said broadcast sender and/or other broadcast receivers;
    所述第一广播接收者基于所述第一传输路径发送数据。The first broadcast receiver sends data based on the first transmission path.
  2. 根据权利要求1所述的方法,其特征在于,所述BIG包括多个BIS,所述第一BIS为所述多个BIS中的一个BIS。The method according to claim 1, wherein the BIG includes multiple BISs, and the first BIS is one of the multiple BISs.
  3. 根据权利要求1或2所述的方法,其特征在于,在所述第一广播接收者使能第一广播同步流BIS对应的第一传输路径之前,还包括:The method according to claim 1 or 2, further comprising: before the first broadcast receiver enables the first transmission path corresponding to the first broadcast synchronization stream BIS:
    所述第一广播接收者从所述广播发送者接收配置信息,所述配置信息用于配置所述第一BIS。The first broadcast receiver receives configuration information from the broadcast sender, and the configuration information is used to configure the first BIS.
  4. 根据权利要求3所述的方法,其特征在于,所述配置信息还用于配置由所述第一广播接收者接收的BIS。The method according to claim 3, wherein the configuration information is also used to configure the BIS received by the first broadcast receiver.
  5. 根据权利要求4所述的方法,其特征在于,所述由第一广播接收者接收的BIS包括所述BIG中的除所述第一BIS之外的至少一个BIS。The method of claim 4, wherein the BIS received by the first broadcast receiver includes at least one BIS in the BIG other than the first BIS.
  6. 根据权利要求4或5所述的方法,其特征在于,所述配置信息包括由所述第一广播接收者发送和/或接收的BIS的索引。The method according to claim 4 or 5, characterized in that the configuration information includes the index of the BIS sent and/or received by the first broadcast receiver.
  7. 根据权利要求1-6中任一项所述的方法,其特征在于,在所述第一广播接收者使能第一广播同步流BIS对应的第一传输路径之前,所述方法还包括:The method according to any one of claims 1-6, wherein before the first broadcast receiver enables the first transmission path corresponding to the first broadcast synchronization stream BIS, the method further comprises:
    所述第一广播接收者从所述广播发送者接收查询消息,所述查询消息用于查询所述广播接收者支持成帧模式或非成帧模式。The first broadcast receiver receives a query message from the broadcast sender, and the query message is used to query whether the broadcast receiver supports a framed mode or an unframed mode.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,在所述第一广播接收者使能第一广播同步流BIS对应的第一传输路径之前,所述方法还包括:The method according to any one of claims 1-7, wherein before the first broadcast receiver enables the first transmission path corresponding to the first broadcast synchronization stream BIS, the method further comprises:
    所述第一广播接收者同步到所述第一BIS。The first broadcast receiver is synchronized to the first BIS.
  9. 一种通信方法,其特征在于,包括:A communication method, characterized in that, comprising:
    广播发送者配置广播同步组BIG,所述BIG包括第一广播同步流BIS,所述第一BIS对应第一传输路径,所述第一传输路径用于第一广播接收者向所述广播发送者和/或其他广播接收者发送数据。The broadcast sender configures a broadcast synchronization group BIG, the BIG includes a first broadcast synchronization stream BIS, and the first BIS corresponds to a first transmission path, and the first transmission path is used for the first broadcast receiver to send the broadcast synchronization stream to the broadcast sender and/or other broadcast receivers to send data.
  10. 根据权利要求9所述的方法,其特征在于,所述BIG包括多个BIS,所述第一 BIS为所述多个BIS中的一个BIS。The method according to claim 9, wherein the BIG includes a plurality of BISs, and the first BIS is a BIS in the plurality of BISs.
  11. 根据权利要求9或10所述的方法,其特征在于,还包括:The method according to claim 9 or 10, further comprising:
    所述广播发送者向所述第一广播接收者发送配置信息,所述配置信息用于配置所述第一BIS。The broadcast sender sends configuration information to the first broadcast receiver, where the configuration information is used to configure the first BIS.
  12. 根据权利要求11所述的方法,其特征在于,所述配置信息还用于配置由所述第一广播接收者接收的BIS。The method according to claim 11, wherein the configuration information is also used to configure a BIS received by the first broadcast receiver.
  13. 根据权利要求12所述的方法,其特征在于,所述由第一广播接收者接收的BIS包括所述BIG中的除所述第一BIS之外的至少一个BIS。The method of claim 12, wherein the BIS received by the first broadcast receiver includes at least one BIS in the BIG other than the first BIS.
  14. 根据权利要求12或13所述的方法,其特征在于,所述配置信息包括由所述第一广播接收者发送和/或接收的BIS的索引。The method according to claim 12 or 13, characterized in that said configuration information includes an index of a BIS sent and/or received by said first broadcast receiver.
  15. 根据权利要求9-14中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 9-14, wherein the method further comprises:
    所述广播发送者向所述第一广播接收者发送查询消息,所述查询消息用于查询所述第一广播接收者支持成帧模式或非成帧模式。The broadcast sender sends a query message to the first broadcast receiver, where the query message is used to query whether the first broadcast receiver supports a framed mode or an unframed mode.
  16. 根据权利要求9-15中任一项所述的方法,其特征在于,在所属广播发送者配置广播同步组BIG之后,所述方法还包括以下步骤中的至少一项:The method according to any one of claims 9-15, characterized in that, after the affiliated broadcast sender configures the broadcast synchronization group BIG, the method further includes at least one of the following steps:
    所述广播发送者启动周期广播;The broadcast sender starts a periodic broadcast;
    所述广播发送者启动所述BIG;The broadcast sender activates the BIG;
    所述广播发送者使能第二BIS对应的第二传输路径,所述第二BIS为所述BIG中除了所述第一BIS的任一BIS;The broadcast sender enables a second transmission path corresponding to a second BIS, and the second BIS is any BIS in the BIG except the first BIS;
    所述广播发送者基于所述第二传输路径向所述第一广播接收者和/或所述其他广播接收者发送数据。The broadcast sender sends data to the first broadcast receiver and/or the other broadcast receivers based on the second transmission path.
  17. 一种通信装置,其特征在于,所述通信装置为第一广播接收者,包括:A communication device, characterized in that the communication device is a first broadcast receiver, comprising:
    使能单元,用于使能第一广播同步流BIS对应的第一传输路径,所述第一BIS属于广播发送者配置的广播同步组BIG,所述第一传输路径用于第一广播接收者向所述广播发送者和/或其他广播接收者发送数据;An enabling unit, configured to enable a first transmission path corresponding to the first broadcast synchronization stream BIS, the first BIS belongs to the broadcast synchronization group BIG configured by the broadcast sender, and the first transmission path is used for the first broadcast receiver send data to said broadcast sender and/or other broadcast receivers;
    第一发送单元,用于基于所述第一传输路径发送数据。A first sending unit, configured to send data based on the first transmission path.
  18. 根据权利要求17所述的通信装置,其特征在于,所述BIG包括多个BIS,所述第一BIS为所述多个BIS中的一个BIS。The communication device according to claim 17, wherein the BIG includes multiple BISs, and the first BIS is one BIS among the multiple BISs.
  19. 根据权利要求17或18所述的通信装置,其特征在于,还包括:The communication device according to claim 17 or 18, further comprising:
    第一接收单元,用于从所述广播发送者接收配置信息,所述配置信息用于配置所述第一BIS。A first receiving unit, configured to receive configuration information from the broadcast sender, where the configuration information is used to configure the first BIS.
  20. 根据权利要求19所述的通信装置,其特征在于,所述配置信息还用于配置由所述第一广播接收者接收的BIS。The communication device according to claim 19, wherein the configuration information is also used to configure a BIS received by the first broadcast receiver.
  21. 根据权利要求20所述的通信装置,其特征在于,所述由所述第一广播接收者接收的BIS包括所述BIG中的除所述第一BIS之外的至少一个BIS。The communication device according to claim 20, wherein the BIS received by the first broadcast receiver includes at least one BIS in the BIG other than the first BIS.
  22. 根据权利要求20或21所述的通信装置,其特征在于,所述配置信息包括由所述第一广播接收者发送和/或接收的BIS的索引。The communication device according to claim 20 or 21, wherein the configuration information includes an index of the BIS sent and/or received by the first broadcast receiver.
  23. 根据权利要求17-22中任一项所述的通信装置,其特征在于,还包括:The communication device according to any one of claims 17-22, further comprising:
    第二接收单元,用于从所述广播发送者接收查询消息,所述查询消息用于查询所述广播接收者支持成帧模式或非成帧模式。The second receiving unit is configured to receive a query message from the broadcast sender, and the query message is used to query whether the broadcast receiver supports a framed mode or an unframed mode.
  24. 根据权利要求17-23中任一项所述的通信装置,其特征在于,还包括:The communication device according to any one of claims 17-23, further comprising:
    同步单元,用于同步到所述第一BIS。A synchronization unit, configured to synchronize to the first BIS.
  25. 一种通信装置,其特征在于,所述通信装置为广播发送者,所述通信装置包括:A communication device, characterized in that the communication device is a broadcast sender, and the communication device includes:
    配置单元,用于配置广播同步组BIG,所述BIG包括第一广播同步流BIS,所述第一BIS对应第一传输路径,所述第一传输路径为第一广播接收者向广播发送者和/或至少一个其他广播接收者发送数据的传输路径。The configuration unit is used to configure the broadcast synchronization group BIG, the BIG includes the first broadcast synchronization stream BIS, and the first BIS corresponds to the first transmission path, and the first transmission path is from the first broadcast receiver to the broadcast sender and and/or at least one other broadcast receiver's transmission path for sending data.
  26. 根据权利要求25所述的通信装置,其特征在于,所述BIG包括多个BIS,所述第一BIS为所述多个BIS中的一个BIS。The communication device according to claim 25, wherein the BIG includes multiple BISs, and the first BIS is one BIS in the multiple BISs.
  27. 根据权利要求25或26所述的通信装置,其特征在于,还包括:The communication device according to claim 25 or 26, further comprising:
    第一发送单元,用于向所述第一广播接收者发送配置信息,所述配置信息用于配置所述第一BIS。A first sending unit, configured to send configuration information to the first broadcast receiver, where the configuration information is used to configure the first BIS.
  28. 根据权利要求27所述的通信装置,其特征在于,所述配置信息还用于配置由所述第一广播接收者接收的BIS。The communication device according to claim 27, wherein the configuration information is also used to configure the BIS received by the first broadcast receiver.
  29. 根据权利要求28所述的通信装置,其特征在于,所述由所述第一广播接收者接收的BIS为所述BIG中的除所述第一BIS之外的至少一个BIS。The communication device according to claim 28, wherein the BIS received by the first broadcast receiver is at least one BIS in the BIG other than the first BIS.
  30. 根据权利要求28或29所述的通信装置,其特征在于,所述配置信息包括由所述第一广播接收者发送和/或接收的BIS的索引。The communication device according to claim 28 or 29, wherein the configuration information includes an index of the BIS sent and/or received by the first broadcast receiver.
  31. 根据权利要求25-30中任一项所述的通信装置,其特征在于,还包括:The communication device according to any one of claims 25-30, further comprising:
    第二发送单元,用于向所述第一广播接收者发送查询消息,所述查询消息用于查询所述第一广播接收者支持成帧模式或非成帧模式。The second sending unit is configured to send a query message to the first broadcast receiver, where the query message is used to query whether the first broadcast receiver supports a framed mode or an unframed mode.
  32. 根据权利要求25-31中任一项所述的方法,其特征在于,还包括以下单元中的至少一项:The method according to any one of claims 25-31, further comprising at least one of the following units:
    第一启动单元,用于启动周期广播;a first starting unit, configured to start periodic broadcasting;
    第二启动单元,用于启动所述BIG;a second starting unit, configured to start the BIG;
    使能单元,用于使能第二BIS对应的第二传输路径,所述第二BIS为所述BIG中除了所述第一BIS的任一BIS;An enabling unit, configured to enable a second transmission path corresponding to a second BIS, where the second BIS is any BIS in the BIG except the first BIS;
    传输单元,用于基于所述第二传输路径向所述第一广播接收者和/或所述其他广播接收者发送数据。A transmission unit, configured to send data to the first broadcast receiver and/or the other broadcast receivers based on the second transmission path.
  33. 一种通信装置,其特征在于,包括存储器和处理器,所述存储器用于存储程序,所述处理器用于调用所述存储器中的程序,以执行如权利要求1-8中任一项所述的方法。A communication device, characterized by comprising a memory and a processor, the memory is used to store a program, and the processor is used to call the program in the memory to execute the program described in any one of claims 1-8. Methods.
  34. 一种通信装置,其特征在于,包括存储器和处理器,所述存储器用于存储程序,所述处理器用于调用所述存储器中的程序,以执行如权利要求9-16中任一项所述的方法。A communication device, characterized by comprising a memory and a processor, the memory is used to store a program, and the processor is used to call the program in the memory to execute the program described in any one of claims 9-16. Methods.
  35. 一种装置,其特征在于,包括处理器,用于从存储器中调用程序,以执行如权利要求1-8中任一项所述的方法。An apparatus, characterized by comprising a processor, configured to call a program from a memory to execute the method according to any one of claims 1-8.
  36. 一种装置,其特征在于,包括处理器,用于从存储器中调用程序,以执行如权利要求9-16中任一项所述的方法。An apparatus, characterized by comprising a processor, configured to call a program from a memory to execute the method according to any one of claims 9-16.
  37. 一种芯片,其特征在于,包括处理器,用于从存储器调用程序,使得安装有所述芯片的设备执行如权利要求1-8中任一项所述的方法。A chip, characterized by comprising a processor, configured to call a program from a memory, so that a device installed with the chip executes the method according to any one of claims 1-8.
  38. 一种芯片,其特征在于,包括处理器,用于从存储器调用程序,使得安装有所述芯片的设备执行如权利要求9-16中任一项所述的方法。A chip, characterized by comprising a processor, configured to call a program from a memory, so that a device installed with the chip executes the method according to any one of claims 9-16.
  39. 一种计算机可读存储介质,其特征在于,其上存储有程序,所述程序使得计算机执行如权利要求1-8中任一项所述的方法。A computer-readable storage medium, characterized in that a program is stored thereon, and the program causes a computer to execute the method according to any one of claims 1-8.
  40. 一种计算机可读存储介质,其特征在于,其上存储有程序,所述程序使得计算机执行如权利要求9-16中任一项所述的方法。A computer-readable storage medium, which is characterized in that a program is stored thereon, and the program causes a computer to execute the method according to any one of claims 9-16.
  41. 一种计算机程序产品,其特征在于,包括程序,所述程序使得计算机执行如权利要求1-8中任一项所述的方法。A computer program product, characterized by comprising a program, the program causes a computer to execute the method according to any one of claims 1-8.
  42. 一种计算机程序产品,其特征在于,包括程序,所述程序使得计算机执行如权利要求9-16中任一项所述的方法。A computer program product, characterized by comprising a program, the program causes a computer to execute the method according to any one of claims 9-16.
  43. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行如权利要求1-8中任一项所述的方法。A computer program, characterized in that the computer program causes a computer to execute the method according to any one of claims 1-8.
  44. 一种计算机程序,其特征在于,所述计算机程序使得计算机执行如权利要求9-16中任一项所述的方法。A computer program, characterized in that the computer program causes a computer to execute the method according to any one of claims 9-16.
PCT/CN2021/113098 2021-08-17 2021-08-17 Communication method and communication device WO2023019446A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202180097734.4A CN117242758A (en) 2021-08-17 2021-08-17 Communication method and communication device
PCT/CN2021/113098 WO2023019446A1 (en) 2021-08-17 2021-08-17 Communication method and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/113098 WO2023019446A1 (en) 2021-08-17 2021-08-17 Communication method and communication device

Publications (1)

Publication Number Publication Date
WO2023019446A1 true WO2023019446A1 (en) 2023-02-23

Family

ID=85239982

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/113098 WO2023019446A1 (en) 2021-08-17 2021-08-17 Communication method and communication device

Country Status (2)

Country Link
CN (1) CN117242758A (en)
WO (1) WO2023019446A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851594A (en) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 A kind of broadcast transmission method, device and terminal
CN107070866A (en) * 2016-12-30 2017-08-18 北京奇虎科技有限公司 The transmission method and device of a kind of flow data
CN108737967A (en) * 2018-06-28 2018-11-02 广州通导信息技术服务有限公司 A kind of communication device and communication means based on Bluetooth broadcast
US20200084697A1 (en) * 2018-09-11 2020-03-12 Qualcomm Incorporated Broadcast isochronous relay over esco

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107070866A (en) * 2016-12-30 2017-08-18 北京奇虎科技有限公司 The transmission method and device of a kind of flow data
CN106851594A (en) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 A kind of broadcast transmission method, device and terminal
CN108737967A (en) * 2018-06-28 2018-11-02 广州通导信息技术服务有限公司 A kind of communication device and communication means based on Bluetooth broadcast
US20200084697A1 (en) * 2018-09-11 2020-03-12 Qualcomm Incorporated Broadcast isochronous relay over esco

Also Published As

Publication number Publication date
CN117242758A (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US10798548B2 (en) Method for controlling device by using Bluetooth technology, and apparatus
US10694307B2 (en) Dynamically changing master audio playback device
US20220263883A1 (en) Adaptive audio processing method, device, computer program, and recording medium thereof in wireless communication system
KR102396745B1 (en) Ring network of bluetooth speakers
US20220321368A1 (en) Method, device, computer program, and recording medium for audio processing in wireless communication system
CN103368935A (en) Method and apparatus for providing an enhanced Wi-Fi display session in a Wi-Fi display network
US10306072B2 (en) Method and device for controlling further device in wireless communication system
WO2023125350A1 (en) Audio data pushing method, apparatus and system, and electronic device and storage medium
JP2019525235A (en) Synchronized audio playback device
CN111049709B (en) Bluetooth-based interconnected loudspeaker box control method, equipment and storage medium
US11140480B2 (en) Indirect sourced cognitive loudspeaker system
US20220353616A1 (en) Method, device, and computer program for controlling and managing state of peripheral device in wireless communication system, and recording medium therefor
WO2023019446A1 (en) Communication method and communication device
US20220229628A1 (en) Method, device and computer program for controlling audio data in wireless communication system, and recording medium therefor
KR20210000228A (en) Method for quick service discovery in wireless communication system, apparatus for the same, computer program for the same, and recording medium storing computer program thereof
WO2020093204A1 (en) Data synchronization method and device, and storage medium
US11907613B2 (en) Method, device, and computer program for audio routing in wireless communication system, and recording medium therefor
US20220256314A1 (en) Method, apparatus and computer program for broadcast discovery service in wireless communication system, and recording medium therefor
TWI798890B (en) Bluetooth voice communication system and related computer program product for generating stereo voice effect
US20230080122A1 (en) Method, device and computer program for cloud-authenticated pairing in wireless communication system, and recording medium therefor
US11888911B1 (en) Synchronizing playback between nearby devices
US20240098413A1 (en) Audio Synchronization Using Bluetooth Low Energy
US20240098131A1 (en) Audio Synchronization Using Broadcast Messages
WO2023124265A1 (en) Audio switching method, terminal device, and bluetooth device
WO2024001362A1 (en) Display device, bluetooth device, and data processing method

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: 21953697

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE